:root {
  color-scheme: dark;
  --ink-950: #17100d;
  --ink-900: #211713;
  --ink-800: #33231c;
  --cream-50: #fffaf2;
  --cream-100: #f8eddc;
  --cream-200: #eadac1;
  --sand-300: #d7bc90;
  --gold-400: #efc678;
  --gold-500: #d9a953;
  --text-light: #fffaf2;
  --text-muted: rgba(255, 250, 242, 0.76);
  --text-dark: #2d201a;
  --text-dark-muted: #67564c;
  --surface-dark: rgba(33, 23, 19, 0.68);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-dark: rgba(45, 32, 26, 0.14);
  --shadow-sm: 0 10px 30px rgba(31, 20, 14, 0.08);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.28);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 1180px;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --space-section: clamp(5rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--ink-950); color: var(--text-light); font-family: var(--font-body); line-height: 1.6; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.container { width: min(calc(100% - 2.5rem), var(--content-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1000; padding: .75rem 1rem; transform: translateY(-180%); border-radius: .5rem; background: var(--cream-50); color: var(--ink-950); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.is-scrolled { border-color: var(--border-light); background: rgba(23,16,13,.82); backdrop-filter: blur(16px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.75rem; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: clamp(10.5rem, 17vw, 14.5rem); height: auto; }
.header__nav { display: flex; align-items: center; gap: 2rem; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.main-nav a, .site-footer nav a { color: var(--text-muted); text-decoration: none; font-size: .9rem; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--text-light); }
.language-switcher { display: flex; align-items: center; gap: .2rem; padding: .2rem; border: 1px solid var(--border-light); border-radius: 999px; background: rgba(13,8,6,.28); }
.language-switcher a { padding: .38rem .62rem; border-radius: 999px; text-decoration: none; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.language-switcher a[aria-current="page"] { background: var(--cream-50); color: var(--ink-950); }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: .7rem; border: 1px solid var(--border-light); border-radius: 50%; background: rgba(13,8,6,.3); color: var(--text-light); }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; background-image: linear-gradient(90deg, rgba(20,12,9,.94) 0%, rgba(20,12,9,.67) 46%, rgba(20,12,9,.18) 100%), url("../images/background-home.webp"); background-position: center; background-size: cover; }
.hero::after { position: absolute; inset: auto 0 0; z-index: -1; height: 40%; content: ""; background: linear-gradient(transparent, var(--ink-950)); }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(20rem,.95fr); align-items: end; min-height: 100vh; min-height: 100svh; gap: clamp(1rem,4vw,4rem); padding-top: 6rem; }
.hero__content { align-self: center; max-width: 43rem; padding-block: 5rem 7rem; }
.eyebrow { margin-bottom: 1rem; color: var(--gold-400); font-size: .78rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--dark { color: #9a682d; }
.hero h1 { max-width: 11ch; margin-bottom: 1.5rem; font-family: var(--font-display); font-size: clamp(3.8rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.hero__lead { max-width: 38rem; margin-bottom: 2rem; color: var(--text-muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--gold-400); color: var(--ink-950); }
.button--primary:hover { background: #f6d38e; }
.button--ghost { border-color: var(--border-light); background: rgba(23,16,13,.3); color: var(--text-light); backdrop-filter: blur(10px); }
.hero__note { display: flex; align-items: center; gap: .65rem; margin: 1.5rem 0 0; color: var(--text-muted); font-size: .88rem; }
.hero__note span { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 .32rem rgba(239,198,120,.14); }
.hero__visual { align-self: end; justify-self: end; width: min(100%, 38rem); margin: 0; }
.hero__visual img { width: 100%; height: auto; aspect-ratio: 590 / 626; object-fit: contain; filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.28)); }

.section { padding-block: var(--space-section); }
.section--light { background: var(--cream-50); color: var(--text-dark); }
.section--warm { background: var(--cream-100); color: var(--text-dark); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.split h2, .section-heading h2, .app-panel h2, .contact-panel h2 { margin-bottom: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.75rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.prose { padding-top: .3rem; color: var(--text-dark-muted); font-size: clamp(1.05rem,1.5vw,1.2rem); }
.prose p:last-child { margin-bottom: 0; }
.section-heading { max-width: 45rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1.25rem; }
.section-heading > p:last-child { max-width: 39rem; margin-bottom: 0; color: var(--text-dark-muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.feature-card { min-height: 21rem; padding: clamp(1.5rem,3vw,2.25rem); border: 1px solid var(--border-dark); border-radius: var(--radius-md); background: rgba(255,250,242,.68); box-shadow: var(--shadow-sm); }
.feature-card__number { display: inline-block; margin-bottom: 5rem; color: #9a682d; font-size: .78rem; font-weight: 850; letter-spacing: .15em; }
.feature-card h3 { margin-bottom: .8rem; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; }
.feature-card p { margin: 0; color: var(--text-dark-muted); }

.app-section { position: relative; overflow: hidden; background: var(--ink-950); }
.app-section::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 85% 20%, rgba(239,198,120,.13), transparent 30%); pointer-events: none; }
.app-panel { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(18rem,.72fr); gap: clamp(2rem,7vw,7rem); align-items: center; }
.app-panel__content h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.app-panel__content > p:not(.eyebrow) { max-width: 38rem; color: var(--text-muted); font-size: 1.08rem; }
.check-list { display: grid; gap: .65rem; margin: 1.75rem 0; padding: 0; list-style: none; color: var(--text-muted); }
.check-list li { display: flex; align-items: center; gap: .75rem; }
.check-list li::before { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; border: 1px solid rgba(239,198,120,.5); border-radius: 50%; color: var(--gold-400); content: "✓"; font-size: .72rem; }
.status-pill { display: inline-flex; padding: .45rem .75rem; border: 1px solid var(--border-light); border-radius: 999px; color: var(--gold-400); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.quote-card { margin: 0; padding: clamp(2rem,4vw,3rem); border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--surface-dark); box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); }
.quote-card p { margin-bottom: 2rem; font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.15; }
.quote-card footer { color: var(--gold-400); font-size: .8rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(18rem,.55fr); gap: clamp(2rem,7vw,7rem); align-items: end; }
.contact-panel p:last-child { margin: 0; color: var(--text-dark-muted); font-size: 1.08rem; }

.site-footer { padding: 4rem 0 1.5rem; background: #100b09; }
.footer__grid { display: grid; grid-template-columns: .8fr 1fr .6fr; gap: 2rem; align-items: start; padding-bottom: 3rem; }
.brand--footer img { width: 12rem; }
.footer__grid > p { max-width: 24rem; margin: .35rem 0 0; color: var(--text-muted); }
.site-footer nav { display: grid; gap: .65rem; justify-self: end; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border-light); color: rgba(255,250,242,.52); font-size: .78rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .header__nav { position: fixed; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 2.5rem; padding: 7rem 2rem 3rem; background: rgba(23,16,13,.98); opacity: 0; visibility: hidden; transform: translateY(-1rem); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav { display: grid; justify-items: center; gap: 1.2rem; }
  .main-nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero__grid { grid-template-columns: 1fr .72fr; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card__number { margin-bottom: 2.5rem; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 2rem), var(--content-width)); }
  .header__inner { min-height: 5rem; }
  .brand img { width: 10.5rem; }
  .hero { background-image: linear-gradient(180deg, rgba(20,12,9,.9) 0%, rgba(20,12,9,.55) 58%, rgba(20,12,9,.88) 100%), url("../images/background-home.webp"); background-position: 58% center; }
  .hero__grid { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding-top: 5rem; }
  .hero__content { position: relative; z-index: 2; order: 1; padding: 4rem 0 2rem; }
  .hero h1 { font-size: clamp(3.4rem,16vw,5rem); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero__visual { position: absolute; right: -3rem; bottom: 0; width: min(86vw,29rem); opacity: .45; }
  .split, .app-panel, .contact-panel, .footer__grid { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 2rem; }
  .quote-card { margin-top: 1rem; }
  .site-footer nav { justify-self: start; }
  .footer__bottom { flex-direction: column; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Internal pages */
.page-hero { padding: clamp(9rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(circle at 80% 10%, rgba(239,198,120,.13), transparent 28%), var(--ink-950); }
.page-hero__inner { max-width: 52rem; }
.page-hero h1 { margin-bottom: 1.25rem; font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.page-hero__lead { max-width: 44rem; margin: 0; color: var(--text-muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.content-layout { display: grid; grid-template-columns: minmax(12rem,.35fr) minmax(0,1fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.content-nav { position: sticky; top: 7rem; display: grid; gap: .4rem; }
.content-nav a { padding: .65rem .8rem; border-radius: .5rem; color: var(--text-dark-muted); text-decoration: none; font-size: .9rem; font-weight: 700; }
.content-nav a:hover { background: var(--cream-100); color: var(--text-dark); }
.rich-text { max-width: 48rem; color: var(--text-dark-muted); font-size: 1.06rem; }
.rich-text h2 { margin: 3.2rem 0 1rem; color: var(--text-dark); font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.rich-text h2:first-child { margin-top: 0; }
.rich-text h3 { margin: 2rem 0 .6rem; color: var(--text-dark); font-size: 1.12rem; }
.rich-text ul { padding-left: 1.25rem; }
.rich-text li + li { margin-top: .45rem; }
.notice { margin: 0 0 2rem; padding: 1rem 1.15rem; border: 1px solid #c99f61; border-radius: var(--radius-sm); background: #fff5df; color: #674719; font-size: .93rem; }
.faq-list { display: grid; gap: .8rem; max-width: 52rem; }
.faq-item { border: 1px solid var(--border-dark); border-radius: var(--radius-sm); background: rgba(255,250,242,.72); }
.faq-item summary { padding: 1.2rem 1.3rem; cursor: pointer; color: var(--text-dark); font-weight: 800; }
.faq-item p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--text-dark-muted); }
.contact-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.info-card { padding: 1.6rem; border: 1px solid var(--border-dark); border-radius: var(--radius-md); background: rgba(255,250,242,.72); }
.info-card h2 { margin-bottom: .7rem; color: var(--text-dark); font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; }
.info-card p { margin: 0; color: var(--text-dark-muted); }
@media (max-width: 760px) { .content-layout { grid-template-columns: 1fr; } .content-nav { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); } .contact-cards { grid-template-columns: 1fr; } }
