@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #090909;
  --ink-soft: #121212;
  --ink-muted: #191919;
  --paper: #f4f2ed;
  --paper-deep: #e9e5dc;
  --white: #fcfbf8;
  --gold: #f4bf22;
  --gold-bright: #ffd84e;
  --gold-deep: #9c6f05;
  --silver: #bfc2c5;
  --muted: #8b8b87;
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(9,9,9,.14);
  --shadow: 0 22px 70px rgba(0,0,0,.18);
  --radius: 2px;
  --container: 1240px;
  --ease: cubic-bezier(.2,.85,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 80px), var(--container)); margin: 0 auto; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; transition: top .2s ease; }
.skip-link:focus { top: 18px; }

/* Type and shared details */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold); font: 500 10px/1.2 'DM Mono', monospace; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--gold-deep); }
.eyebrow-line { width: 34px; height: 1px; display: inline-block; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; }
h1, h2 { font-weight: 800; }
h1 { margin-bottom: 26px; font-size: clamp(3.6rem, 7.4vw, 7.8rem); line-height: .94; white-space: pre-line; }
h2 { margin-bottom: 26px; font-size: clamp(2.3rem, 4.4vw, 5rem); line-height: .98; }
h3 { margin-bottom: 10px; font-size: 1.3rem; line-height: 1.1; }
.body-large { max-width: 740px; color: #4e4d49; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.65; }
.section { padding: 140px 0; }
.section-light { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal]:nth-child(2) { transition-delay: .08s; }
[data-reveal]:nth-child(3) { transition-delay: .16s; }
[data-reveal]:nth-child(4) { transition-delay: .24s; }
.lucide { width: 19px; height: 19px; stroke: currentColor; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(244,191,34,.75); border-radius: 50%; box-shadow: 0 0 0 4px rgba(244,191,34,.08); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; gap: 4px; align-items: baseline; font-size: 13px; letter-spacing: .15em; line-height: 1; }
.brand-copy strong { color: var(--white); font-weight: 800; }
.brand-copy em { color: var(--gold); font-style: normal; font-weight: 800; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a, .footer-links a { color: #afaeaa; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 13px; }
.language-toggle, .menu-toggle { appearance: none; border: 1px solid var(--line-dark); background: transparent; color: var(--white); cursor: pointer; }
.language-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 11px; color: var(--gold); font: 500 10px 'DM Mono', monospace; letter-spacing: .12em; }
.language-toggle:hover { border-color: var(--gold); background: rgba(244,191,34,.08); }
.language-toggle .lucide { width: 15px; height: 15px; }
.header-social { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; color: var(--ink); background: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .04em; transition: background .2s ease, transform .2s ease; }
.header-social:hover { background: var(--gold-bright); transform: translateY(-2px); }
.menu-toggle { display: none; width: 38px; height: 38px; place-items: center; }
.mobile-nav { display: none; }

/* Hero */
.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-noise { position: absolute; inset: 0; opacity: .065; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); align-items: center; gap: 60px; padding: 100px 0 120px; }
.hero-copy { max-width: 770px; }
.hero-intro { max-width: 650px; margin-bottom: 35px; color: #bebdb8; font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 53px; padding: 0 20px; border: 1px solid transparent; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-4px); }
.button .lucide { width: 17px; height: 17px; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--gold-bright); }
.button-ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-note { max-width: 500px; display: flex; gap: 9px; align-items: flex-start; margin: 0; color: #8e8c86; font-size: 11px; line-height: 1.5; }
.hero-note .lucide { flex: 0 0 auto; width: 15px; height: 15px; color: var(--gold); margin-top: 2px; }
.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(244,191,34,.24), rgba(244,191,34,.04) 48%, transparent 69%); filter: blur(10px); animation: pulse 5.5s ease-in-out infinite; }
.logo-frame { position: relative; width: min(100%, 440px); aspect-ratio: 1; padding: 23px; border: 1px solid rgba(244,191,34,.42); border-radius: 50%; box-shadow: 0 0 0 15px rgba(244,191,34,.025), 0 0 75px rgba(244,191,34,.18); animation: float 7s ease-in-out infinite; }
.logo-frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.logo-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(1.05) contrast(1.03); }
.logo-frame-corner { position: absolute; z-index: 2; width: 25px; height: 25px; border-color: var(--gold); border-style: solid; }
.top-left { top: 2%; left: 22%; border-width: 1px 0 0 1px; }
.bottom-right { bottom: 2%; right: 22%; border-width: 0 1px 1px 0; }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid rgba(244,191,34,.55); background: rgba(9,9,9,.74); color: var(--gold); font: 500 9px 'DM Mono', monospace; letter-spacing: .12em; backdrop-filter: blur(8px); }
.floating-chip .lucide { width: 13px; height: 13px; }
.chip-top { top: 12%; right: 6%; animation: float 5s 1.2s ease-in-out infinite; }
.chip-bottom { right: 0; bottom: 12%; color: var(--white); border-color: rgba(255,255,255,.25); animation: float 5.5s .4s ease-in-out infinite; }
.chip-bottom .lucide { color: var(--gold); }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 760px; height: 360px; top: 9%; right: -24%; transform: rotate(-32deg); }
.hero-orbit-two { width: 730px; height: 300px; bottom: -9%; right: -12%; transform: rotate(-32deg); border-color: rgba(244,191,34,.12); }
.hero-scroll { position: absolute; z-index: 3; right: 38px; bottom: 35px; display: flex; align-items: center; gap: 12px; color: #777570; font: 500 9px 'DM Mono', monospace; letter-spacing: .16em; transform: rotate(90deg); transform-origin: right center; }
.scroll-line { display: block; width: 58px; height: 1px; background: var(--gold); }
@keyframes pulse { 0%,100% { transform: scale(.92); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trust */
.trust-ribbon { background: var(--gold); color: var(--ink); }
.ribbon-grid { min-height: 72px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.ribbon-grid span { display: flex; justify-content: center; align-items: center; gap: 10px; border-right: 1px solid rgba(9,9,9,.2); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; }
.ribbon-grid span:last-child { border-right: 0; }
.ribbon-grid .lucide { width: 18px; height: 18px; }

/* About and categories */
.about-grid { display: grid; grid-template-columns: 90px 1fr 180px; gap: 50px; align-items: start; }
.section-index { display: flex; flex-direction: column; gap: 14px; color: var(--gold-deep); font: 500 10px 'DM Mono', monospace; letter-spacing: .1em; }
.index-rule, .aside-line { width: 1px; height: 90px; background: var(--gold); opacity: .7; }
.about-aside { padding-top: 20px; color: #777570; font: 500 10px/1.7 'DM Mono', monospace; letter-spacing: .1em; text-align: right; }
.about-aside .aside-line { width: 100%; height: 1px; margin-bottom: 19px; }
.about-aside span { color: var(--gold-deep); }
.section-heading { margin-bottom: 65px; }
.split-heading { display: grid; grid-template-columns: 1fr minmax(290px, 430px); align-items: end; gap: 70px; }
.split-heading h2 { max-width: 630px; margin-bottom: 0; }
.split-heading > p { margin: 0; color: #60605a; font-size: 15px; line-height: 1.7; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.category-card { min-height: 345px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s ease; }
.category-card:hover { transform: translateY(-9px); box-shadow: var(--shadow); }
.category-card::after { content: ''; position: absolute; right: -58px; bottom: -76px; width: 180px; height: 180px; border: 1px solid currentColor; border-radius: 50%; opacity: .23; }
.category-gold { background: var(--gold); color: var(--ink); }
.category-silver { background: var(--silver); color: var(--ink); }
.category-dark { background: var(--ink); color: var(--white); }
.card-top { display: flex; justify-content: space-between; align-items: center; font: 500 10px 'DM Mono', monospace; letter-spacing: .12em; }
.card-top .lucide { width: 29px; height: 29px; }
.category-card h3 { position: relative; z-index: 1; margin: auto 0 12px; font-size: clamp(1.9rem, 3vw, 3rem); }
.category-card p { position: relative; z-index: 1; max-width: 290px; margin-bottom: 0; font-size: 13px; line-height: 1.65; }
.card-number { position: absolute; right: 25px; bottom: 20px; color: currentColor; font: 500 11px 'DM Mono', monospace; opacity: .65; }

/* Process */
.section-process { background: var(--ink-soft); color: var(--white); }
.process-intro { max-width: 740px; margin-bottom: 70px; }
.process-intro h2 { max-width: 600px; }
.process-intro > p:last-child { max-width: 540px; margin-bottom: 0; color: #a09e98; font-size: 16px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; min-height: 300px; padding: 25px 25px 30px 0; border-top: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.step + .step { padding-left: 25px; }
.step:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 56px; color: var(--gold); font: 500 11px 'DM Mono', monospace; letter-spacing: .1em; }
.step > .lucide { width: 30px; height: 30px; margin-bottom: 26px; color: var(--gold); }
.step h3 { margin-bottom: 13px; font-size: 1.45rem; }
.step p { max-width: 230px; margin: 0; color: #a09e98; font-size: 13px; line-height: 1.65; }

/* Clarity */
.clarity-section { background: var(--paper-deep); }
.clarity-grid { display: grid; grid-template-columns: 250px 1fr; gap: 70px; align-items: center; }
.clarity-mark { display: flex; flex-direction: column; gap: 17px; color: var(--gold-deep); font: 500 11px/1.6 'DM Mono', monospace; letter-spacing: .15em; }
.clarity-mark .lucide { width: 44px; height: 44px; color: var(--ink); }
.clarity-copy { max-width: 740px; }
.clarity-copy h2 { max-width: 650px; }
.clarity-copy > p:not(.eyebrow) { color: #55544e; font-size: 17px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--gold-deep); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: color .2s ease, gap .2s ease; }
.text-link:hover { color: var(--gold-deep); gap: 15px; }
.text-link .lucide { width: 16px; height: 16px; }

/* Rules */
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.rule-card { min-height: 280px; padding: 29px 28px; border: 1px solid var(--line-light); background: rgba(255,255,255,.26); transition: background .3s ease, border-color .3s ease, transform .3s var(--ease); }
.rule-card:hover { background: var(--white); border-color: var(--gold); transform: translateY(-7px); }
.rule-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 31px; background: var(--ink); color: var(--gold); }
.rule-card h3 { font-size: 1.45rem; }
.rule-card p { margin: 0; color: #62615b; font-size: 13px; line-height: 1.7; }
.rules-link { margin-top: 38px; }

/* CTA / Footer */
.final-cta { position: relative; overflow: hidden; }
.final-cta-inner { position: relative; z-index: 1; max-width: 850px; padding: 54px 0 62px; }
.final-cta h2 { max-width: 850px; }
.final-cta p:not(.eyebrow) { max-width: 560px; margin-bottom: 31px; color: #a09e98; font-size: 15px; }
.cta-spark { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(244,191,34,.15); border-radius: 50%; }
.cta-spark-one { right: -90px; top: -180px; }
.cta-spark-two { right: 150px; bottom: -300px; border-color: rgba(255,255,255,.08); }
.site-footer { background: #050505; color: var(--white); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 120px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-links { display: flex; gap: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 82px; color: #76746e; font-size: 10px; }
.footer-bottom p { max-width: 580px; margin: 0; line-height: 1.6; }

/* Legal pages */
.legal-hero { padding: 112px 0 100px; }
.legal-hero-inner { max-width: 960px; }
.legal-hero h1 { max-width: 850px; margin-bottom: 29px; font-size: clamp(3.3rem, 7vw, 7rem); }
.legal-hero p:not(.eyebrow) { max-width: 790px; margin-bottom: 35px; color: #bcbab4; font-size: 17px; line-height: 1.75; }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; color: #7e7c76; font: 500 10px 'DM Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.draft-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(244,191,34,.5); color: var(--gold); }
.draft-pill .lucide { width: 14px; height: 14px; }
.legal-body { padding: 100px 0 140px; }
.legal-layout { display: grid; grid-template-columns: 200px minmax(0, 790px); justify-content: space-between; gap: 80px; }
.legal-aside { position: sticky; top: 28px; align-self: start; color: #777570; font: 500 10px/1.7 'DM Mono', monospace; letter-spacing: .13em; }
.aside-label { display: block; margin-bottom: 17px; color: var(--gold-deep); }
.legal-aside .aside-line { height: 64px; margin-bottom: 21px; }
.legal-aside p { margin-bottom: 34px; }
.legal-aside p strong { color: var(--ink); }
.legal-aside .text-link { font-size: 9px; }
.legal-content article { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line-light); }
.legal-content article h2 { margin-bottom: 15px; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -.04em; }
.legal-content article p { max-width: 750px; margin-bottom: 0; color: #5f5e58; font-size: 15px; line-height: 1.85; }
.inline-source { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--gold-deep); font: 500 10px 'DM Mono', monospace; }
.inline-source .lucide { width: 14px; height: 14px; }
.legal-notice { display: flex; align-items: flex-start; gap: 16px; padding: 21px; margin-top: 10px; background: var(--ink); color: #bbb9b3; }
.legal-notice .lucide { flex: 0 0 auto; color: var(--gold); }
.legal-notice p { margin: 0; font-size: 12px; line-height: 1.7; }

@media (max-width: 1000px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .desktop-nav { gap: 18px; }
  .header-social { display: none; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 30px; }
  .hero-visual { min-height: 400px; }
  .logo-frame { width: min(100%, 360px); }
  .about-grid { grid-template-columns: 60px 1fr; gap: 30px; }
  .about-aside { display: none; }
  .split-heading { gap: 35px; }
  .legal-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 45px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { min-height: 72px; gap: 18px; }
  .desktop-nav, .header-social { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: flex; max-height: 0; overflow: hidden; flex-direction: column; gap: 0; padding: 0 18px; background: var(--ink-soft); transition: max-height .4s var(--ease), padding .4s var(--ease); }
  .mobile-nav.is-open { max-height: 350px; padding: 7px 18px 17px; border-top: 1px solid var(--line-dark); }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); color: #bbb9b3; font-size: 13px; }
  .mobile-nav a:last-child { border: 0; color: var(--gold); }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 80px 0 105px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 6rem); }
  .hero-visual { min-height: 370px; margin-top: -10px; }
  .logo-frame { width: min(88vw, 350px); }
  .hero-orbit-one { right: -70%; }
  .hero-orbit-two { right: -65%; }
  .hero-scroll { right: 18px; bottom: 21px; }
  .ribbon-grid { grid-template-columns: 1fr; padding: 14px 0; }
  .ribbon-grid span { justify-content: flex-start; padding: 11px 0; border-right: 0; border-bottom: 1px solid rgba(9,9,9,.16); }
  .ribbon-grid span:last-child { border-bottom: 0; }
  .section { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-index { flex-direction: row; align-items: center; }
  .index-rule { width: 55px; height: 1px; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 24px; }
  .section-heading { margin-bottom: 42px; }
  .category-grid, .rules-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 280px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { min-height: 280px; border-bottom: 1px solid var(--line-dark); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: 0; }
  .step:nth-child(3) { padding-left: 0; }
  .clarity-grid { grid-template-columns: 1fr; gap: 40px; }
  .clarity-mark { flex-direction: row; align-items: center; }
  .clarity-mark .lucide { width: 35px; height: 35px; }
  .final-cta-inner { padding: 25px 0 35px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 27px 0; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
  .legal-hero { padding: 82px 0 75px; }
  .legal-hero h1 { font-size: clamp(3.2rem, 16vw, 5.5rem); }
  .legal-hero p:not(.eyebrow) { font-size: 15px; }
  .legal-body { padding: 75px 0 90px; }
  .legal-layout { display: block; }
  .legal-aside { position: static; display: flex; align-items: center; gap: 16px; margin-bottom: 60px; }
  .legal-aside .aside-label, .legal-aside p { margin: 0; }
  .legal-aside .aside-line { width: 45px; height: 1px; margin: 0; }
  .legal-aside .text-link { margin-left: auto; }
  .legal-notice { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* Cross-browser resilience and device-safe layout */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  min-width: 280px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
button, a { touch-action: manipulation; }
button { -webkit-appearance: none; appearance: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* Fallbacks for engines without min(), clamp() or aspect-ratio support. */
.container { width: calc(100% - 80px); max-width: var(--container); }
h1 { font-size: 72px; }
h2 { font-size: 54px; }
.hero-intro { font-size: 18px; }
.body-large { font-size: 23px; }
.logo-frame { width: 100%; max-width: 440px; height: 440px; }
.hero-glow { height: 70%; }
@supports (width: min(1px, 2px)) {
  .container { width: min(calc(100% - 80px), var(--container)); }
  .logo-frame { width: min(100%, 440px); }
}
@supports (font-size: clamp(1rem, 2vw, 2rem)) {
  h1 { font-size: clamp(3.6rem, 7.4vw, 7.8rem); }
  h2 { font-size: clamp(2.3rem, 4.4vw, 5rem); }
  .hero-intro { font-size: clamp(1rem, 1.4vw, 1.22rem); }
  .body-large { font-size: clamp(1.1rem, 1.5vw, 1.45rem); }
}
@supports not (aspect-ratio: 1) {
  .logo-frame { border-radius: 50%; }
}

/* Keep fixed-looking controls inside notched displays. */
.site-header,
.site-footer {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .logo-frame { max-width: 360px; height: 360px; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .header-inner { padding-top: env(safe-area-inset-top, 0px); }
  h1 { font-size: 58px; }
  h2 { font-size: 42px; }
  .logo-frame { width: 88vw; max-width: 350px; height: 88vw; max-height: 350px; }
  @supports (font-size: clamp(1rem, 2vw, 2rem)) {
    h1 { font-size: clamp(3.25rem, 17vw, 6rem); }
    h2 { font-size: clamp(2.3rem, 11vw, 4rem); }
  }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .header-inner { gap: 9px; }
  .brand { gap: 8px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy { font-size: 11px; letter-spacing: .1em; }
  .language-toggle { padding: 0 8px; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero-grid { padding-top: 60px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-note { font-size: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(3) { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .step:last-child { border-bottom: 0; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(220px, .75fr); padding-top: 54px; padding-bottom: 70px; }
  .hero { min-height: 0; }
  .hero-visual { min-height: 270px; }
  .logo-frame { max-width: 270px; height: 270px; }
  .hero-scroll { display: none; }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover, .category-card:hover, .rule-card:hover, .header-social:hover { transform: none; }
  .button, .header-social, .language-toggle, .menu-toggle, .text-link { min-height: 44px; }
  .text-link { padding-top: 8px; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .hero-scroll, .floating-chip, .menu-toggle, .language-toggle, .header-social { display: none !important; }
  .section, .legal-body, .legal-hero { padding: 28px 0; }
  .section-dark, .final-cta { color: #000; background: #fff; }
  .legal-content article, .category-card, .rule-card { break-inside: avoid; }
  a { text-decoration: underline; }
}
