/*
Theme Name: beta Minimal
Theme URI: https://betaversion.jp/
Author: Team beta version
Author URI:
Description: Ultimate minimal WordPress theme that outputs no extraneous WordPress tags while preserving REST API functionality and wp_head/wp_footer calls.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
*/

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.8;
    padding-top: 64px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.home,
body.error404 {
    padding-top: 0;
}

ul { margin: 0; padding: 0; }
li { list-style: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header-logo {
    display: flex;
    align-items: center;
}

.site-header-logo img {
    height: 36px;
    width: auto;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

.site-header-logo:hover img {
    opacity: 0.6;
}

/* Nav */
.site-nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-list li a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.site-nav-list li a:hover,
.site-nav-list li.current-menu-item a {
    color: #2394ab;
}

/* Language switch */
.site-lang-switch {
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-left: 24px;
    white-space: nowrap;
}

a.site-lang-item {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

a.site-lang-item:hover {
    color: #2394ab;
}

.site-lang-item.is-active {
    color: #2394ab;
}

.site-lang-sep {
    color: #ccc;
    margin: 0 4px;
}

/* Mobile toggle */
.site-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.site-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #555;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.site-nav-toggle span:nth-child(1) { top: 0; }
.site-nav-toggle span:nth-child(2) { top: 9px; }
.site-nav-toggle span:nth-child(3) { top: 18px; }

.site-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Dark pages header */
body.home .site-header.scrolled,
body.page-slug-about-us .site-header.scrolled,
body.page-slug-contact .site-header.scrolled,
body.page-slug-privacy-policy .site-header.scrolled,
body.page-slug-terms-of-use .site-header.scrolled,
body.error404 .site-header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.home .site-header-logo img,
body.page-slug-about-us .site-header-logo img,
body.page-slug-contact .site-header-logo img,
body.page-slug-privacy-policy .site-header-logo img,
body.page-slug-terms-of-use .site-header-logo img,
body.error404 .site-header-logo img {
    filter: none;
}

body.home .site-nav-list li a,
body.page-slug-about-us .site-nav-list li a,
body.page-slug-contact .site-nav-list li a,
body.page-slug-privacy-policy .site-nav-list li a,
body.page-slug-terms-of-use .site-nav-list li a,
body.error404 .site-nav-list li a {
    color: rgba(255, 255, 255, 0.5);
}

body.home .site-nav-list li a:hover,
body.page-slug-about-us .site-nav-list li a:hover,
body.page-slug-contact .site-nav-list li a:hover,
body.page-slug-privacy-policy .site-nav-list li a:hover,
body.page-slug-terms-of-use .site-nav-list li a:hover,
body.error404 .site-nav-list li a:hover,
body.home .site-nav-list li.current-menu-item a,
body.page-slug-about-us .site-nav-list li.current-menu-item a,
body.page-slug-contact .site-nav-list li.current-menu-item a,
body.page-slug-privacy-policy .site-nav-list li.current-menu-item a,
body.page-slug-terms-of-use .site-nav-list li.current-menu-item a,
body.error404 .site-nav-list li.current-menu-item a {
    color: #2394ab;
}

body.home .site-nav-toggle span,
body.page-slug-about-us .site-nav-toggle span,
body.page-slug-contact .site-nav-toggle span,
body.page-slug-privacy-policy .site-nav-toggle span,
body.page-slug-terms-of-use .site-nav-toggle span,
body.error404 .site-nav-toggle span {
    background: rgba(255, 255, 255, 0.6);
}

body.home a.site-lang-item,
body.page-slug-about-us a.site-lang-item,
body.page-slug-contact a.site-lang-item,
body.page-slug-privacy-policy a.site-lang-item,
body.page-slug-terms-of-use a.site-lang-item,
body.error404 a.site-lang-item {
    color: rgba(255, 255, 255, 0.4);
}

body.home a.site-lang-item:hover,
body.page-slug-about-us a.site-lang-item:hover,
body.page-slug-contact a.site-lang-item:hover,
body.page-slug-privacy-policy a.site-lang-item:hover,
body.page-slug-terms-of-use a.site-lang-item:hover,
body.error404 a.site-lang-item:hover {
    color: #2394ab;
}

body.home .site-lang-sep,
body.page-slug-about-us .site-lang-sep,
body.page-slug-contact .site-lang-sep,
body.page-slug-privacy-policy .site-lang-sep,
body.page-slug-terms-of-use .site-lang-sep,
body.error404 .site-lang-sep {
    color: rgba(255, 255, 255, 0.2);
}

/* Mobile nav */
@media (max-width: 768px) {
    .site-nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 80px 32px 40px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    }

    .site-nav.open {
        right: 0;
    }

    .site-nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .site-nav-list li a {
        font-size: 14px;
    }

    body.home .site-nav,
    body.page-slug-about-us .site-nav,
    body.page-slug-contact .site-nav,
    body.page-slug-privacy-policy .site-nav,
    body.page-slug-terms-of-use .site-nav,
    body.error404 .site-nav {
        background: rgba(5, 5, 5, 0.98);
    }
}

/* ==========================================================================
   Dark pages (front page + about etc.)
   ========================================================================== */
body.home,
body.page-slug-about-us,
body.page-slug-contact,
body.page-slug-privacy-policy,
body.page-slug-terms-of-use,
body.error404 {
    background: #050505;
    color: #fff;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 24px;
}

.error-404-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(35,148,171,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35,148,171,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.error-404-inner {
    position: relative;
    z-index: 1;
}

.error-404-code {
    font-family: 'Inter', sans-serif;
    font-size: clamp(120px, 25vw, 280px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
    color: rgba(255,255,255,.04);
    position: relative;
}

.error-404-glitch {
    font-family: 'Inter', sans-serif;
    font-size: clamp(120px, 25vw, 280px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
    color: #2394ab;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    clip-path: inset(0 0 0 0);
    animation: glitch404 4s ease-in-out infinite;
}

@keyframes glitch404 {
    0%, 100% { clip-path: inset(0 100% 0 0); }
    10% { clip-path: inset(40% 0 50% 0); transform: translateX(calc(-50% + 4px)); }
    12% { clip-path: inset(20% 0 60% 0); transform: translateX(calc(-50% - 3px)); }
    14% { clip-path: inset(0 100% 0 0); transform: translateX(-50%); }
    40% { clip-path: inset(0 100% 0 0); }
    42% { clip-path: inset(60% 0 10% 0); transform: translateX(calc(-50% + 6px)); }
    43% { clip-path: inset(30% 0 40% 0); transform: translateX(calc(-50% - 2px)); }
    44% { clip-path: inset(70% 0 5% 0); transform: translateX(calc(-50% + 3px)); }
    46% { clip-path: inset(0 100% 0 0); transform: translateX(-50%); }
    70% { clip-path: inset(0 100% 0 0); }
    72% { clip-path: inset(10% 0 80% 0); transform: translateX(calc(-50% - 5px)); }
    73% { clip-path: inset(0 100% 0 0); transform: translateX(-50%); }
}

.error-404-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: .15em;
    color: #2394ab;
    margin-top: 24px;
    margin-bottom: 24px;
}

.error-404-msg {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.4);
    max-width: 440px;
    margin: 0 auto 40px;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 36px;
    border: 1px solid #2394ab;
    color: #2394ab;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color .3s ease, box-shadow .3s ease;
    background: transparent;
}

.error-404-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #2394ab;
    transition: left .3s ease;
    z-index: 0;
}

.error-404-btn:hover {
    color: #050505;
    box-shadow: 0 0 30px rgba(35,148,171,.3);
}

.error-404-btn:hover::before {
    left: 0;
}

.error-404-btn span {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact {
    --accent: #2394ab;
    --muted: rgba(255,255,255,.4);
    width: 100%;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    text-align: center;
}

.contact-hero {
    padding: 100px 24px 60px;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(35,148,171,.08) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
}

.contact-hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.contact-hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Form wrapper */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 80px 24px 120px;
    text-align: left;
}

/* CF7 overrides */
.contact-form .wpcf7-form label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 8px;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="url"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="url"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: #2394ab;
    box-shadow: 0 0 0 1px #2394ab;
}

.contact-form .wpcf7-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .wpcf7-form p {
    margin-bottom: 24px;
}

.contact-form .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 36px;
    border: 1px solid #2394ab;
    color: #2394ab;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: color .3s ease, background .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.contact-form .wpcf7-form input[type="submit"]:hover {
    color: #050505;
    background: #2394ab;
    box-shadow: 0 0 30px rgba(35,148,171,.3);
}

/* CF7 select */
.contact-form .wpcf7-form select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    transition: border-color .3s ease, box-shadow .3s ease;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232394ab' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contact-form .wpcf7-form select:focus {
    outline: none;
    border-color: #2394ab;
    box-shadow: 0 0 0 1px #2394ab;
}

.contact-form .wpcf7-form select option {
    background: #111;
    color: #fff;
}

/* CF7 consent note */
.contact-form .consent-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .05em;
    color: rgba(255,255,255,.3);
    line-height: 1.8;
}

.contact-form .consent-note a {
    color: #2394ab;
    text-decoration: none;
}

.contact-form .consent-note a:hover {
    opacity: .7;
}

/* CF7 validation */
.contact-form .wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.contact-form .wpcf7-not-valid-tip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #e74c3c;
    margin-top: 6px;
}

.contact-form .wpcf7-response-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .05em;
    padding: 16px;
    margin: 24px 0 0;
    border: 1px solid rgba(35,148,171,.3);
    color: rgba(255,255,255,.6);
}

/* Spinner */
.contact-form .wpcf7-spinner {
    display: inline-block;
    margin-left: 12px;
}

@media (max-width: 768px) {
    .contact-hero { padding: 80px 20px 40px; }
    .contact-form { padding: 60px 20px 80px; }
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about {
    --accent: #2394ab;
    --muted: rgba(255,255,255,.4);
    position: relative;
    width: 100%;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    letter-spacing: -.01em;
    overflow-x: hidden;
    text-align: center;
}

/* Hero */
.about-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(35,148,171,.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
}

.about-hero-title {
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.about-hero-sub {
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 300;
    color: var(--muted);
    max-width: 600px;
}

/* Divider */
.about-divider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35,148,171,.3), transparent);
}

/* Section */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px;
}

.about-section p {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.6em;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section p strong {
    color: #fff;
    font-weight: 700;
}

/* Accent block */
.about-accent {
    text-align: center;
    padding: 80px 24px;
}

.about-accent p {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.03em;
    color: var(--accent);
    max-width: 800px;
    margin: 0 auto;
}

/* Dare block */
.about-dare {
    text-align: center;
    padding: 80px 24px;
}

.about-dare p {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(14px, 1.8vw, 18px);
    letter-spacing: .05em;
    line-height: 2.2;
    color: rgba(255,255,255,.5);
    max-width: 600px;
    margin: 0 auto;
}

.about-dare p strong {
    color: #fff;
    font-weight: 700;
}

/* Rhythm block */
.about-rhythm {
    text-align: center;
    padding: 60px 24px;
}

.about-rhythm p {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 2.4;
    color: var(--muted);
}

.about-rhythm p strong {
    color: var(--accent);
    font-weight: 700;
}

/* Closing */
.about-closing {
    text-align: center;
    padding: 100px 24px 120px;
}

.about-closing-title {
    font-size: clamp(36px, 7vw, 80px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: lowercase;
}

/* Site info */
.about-info {
    padding: 80px 24px 100px;
    max-width: 600px;
    margin: 0 auto;
}

.about-info-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.about-info-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
    text-align: left;
}

.about-info-list dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}

.about-info-list dd {
    font-size: 14px;
    color: rgba(255,255,255,.6);
}

.about-info-list dd a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity .3s ease;
}

.about-info-list dd a:hover {
    opacity: .7;
}

@media (max-width: 768px) {
    .about-hero { min-height: 50vh; padding: 80px 20px 60px; }
    .about-section { padding: 60px 20px; }
    .about-accent { padding: 60px 20px; }
    .about-dare { padding: 60px 20px; }
    .about-rhythm { padding: 40px 20px; }
    .about-closing { padding: 60px 20px 80px; }
    .about-info { padding: 60px 20px 80px; }
    .about-info-list { grid-template-columns: 1fr; gap: 4px 0; }
    .about-info-list dt { margin-top: 16px; }
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy {
    --accent: #2394ab;
    --muted: rgba(255,255,255,.4);
    width: 100%;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.privacy-hero {
    padding: 100px 24px 60px;
    position: relative;
    text-align: center;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(35,148,171,.08) 0%, transparent 60%);
    pointer-events: none;
}

.privacy-hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
}

.privacy-hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: lowercase;
    margin-bottom: 24px;
}

.privacy-hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Content */
.privacy-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 24px 120px;
    text-align: left;
}

.privacy-updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .05em;
    color: rgba(255,255,255,.3);
    margin-bottom: 60px;
}

.privacy-section {
    margin-bottom: 48px;
}

.privacy-section h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(35,148,171,.15);
}

.privacy-section h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255,255,255,.6);
    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-section p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.55);
    margin-bottom: 12px;
}

.privacy-section p strong {
    color: rgba(255,255,255,.85);
    font-weight: 600;
}

.privacy-section ul {
    margin: 8px 0 16px 20px;
    padding: 0;
}

.privacy-section ul li {
    list-style: disc;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.55);
    margin-bottom: 4px;
}

.privacy-section a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity .3s ease;
}

.privacy-section a:hover {
    opacity: .7;
}

@media (max-width: 768px) {
    .privacy-hero { padding: 80px 20px 40px; }
    .privacy-content { padding: 60px 20px 80px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 40px 24px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.site-footer-logo {
    width: 120px;
    height: auto;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.site-footer-logo:hover {
    opacity: 0.7;
}

.site-footer .copyright {
    margin: 0;
}

.site-footer-links {
    display: flex;
    gap: 24px;
}

.site-footer-link {
    color: #888;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-link:hover {
    color: #2394ab;
}

body.home .site-footer-link,
body.page-slug-about-us .site-footer-link,
body.page-slug-contact .site-footer-link,
body.page-slug-privacy-policy .site-footer-link,
body.page-slug-terms-of-use .site-footer-link,
body.error404 .site-footer-link {
    color: rgba(255, 255, 255, 0.3);
}

body.home .site-footer-link:hover,
body.page-slug-about-us .site-footer-link:hover,
body.page-slug-contact .site-footer-link:hover,
body.page-slug-privacy-policy .site-footer-link:hover,
body.page-slug-terms-of-use .site-footer-link:hover,
body.error404 .site-footer-link:hover {
    color: #2394ab;
}

/* Dark footer */
body.home .site-footer,
body.page-slug-about-us .site-footer,
body.page-slug-contact .site-footer,
body.page-slug-privacy-policy .site-footer,
body.page-slug-terms-of-use .site-footer,
body.error404 .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* Light pages: invert the white logo */
body:not(.home):not(.page-slug-about-us):not(.page-slug-contact):not(.page-slug-privacy-policy):not(.page-slug-terms-of-use):not(.error404) .site-footer-logo {
    filter: invert(1);
}
