/* ==========================================================================
   DecSOFT SRL — decsoft.biz
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand:        #83C324;   /* logo lime  */
  --brand-dark:   #6BA318;
  --brand-ink:    #4A7010;   /* lime, darkened for text on light bg */
  --brand-tint:   #F1F8E3;
  --plum:         #6E525E;   /* logo plum  */
  --plum-mid:     #57404A;
  --plum-deep:    #372730;
  --plum-tint:    #F6F3F4;

  --ink:          #23191E;
  --body:         #544850;
  --muted:        #6F6169;
  --line:         #E7E2E4;
  --bg:           #FFFFFF;
  --surface:      #FAF8F9;
  --surface-2:    #F3EFF1;
  --on-dark:      #F7F4F5;
  --on-dark-mute: #C3B7BD;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(35, 25, 30, .06), 0 2px 6px rgba(35, 25, 30, .05);
  --shadow:    0 3px 8px rgba(35, 25, 30, .06), 0 12px 28px rgba(35, 25, 30, .08);
  --shadow-lg: 0 8px 20px rgba(35, 25, 30, .09), 0 28px 60px rgba(35, 25, 30, .12);

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 6.5rem);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink:    #A6DE52;
    --brand-tint:   #232C16;
    --plum-tint:    #241C21;
    --ink:          #F6F2F4;
    --body:         #C5B9BF;
    --muted:        #A2949B;
    --line:         #372B32;
    --bg:           #171216;
    --surface:      #1E171C;
    --surface-2:    #251D23;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:    0 3px 8px rgba(0, 0, 0, .38), 0 12px 28px rgba(0, 0, 0, .34);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, .45), 0 28px 60px rgba(0, 0, 0, .4);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--tint    { background: var(--plum-tint); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > p:last-child { font-size: 1.09rem; color: var(--body); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; flex: none;
  background: var(--brand); border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--plum); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary {
  background: var(--plum); border-color: var(--plum); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; box-shadow: var(--shadow); }

.btn--accent {
  background: var(--brand); border-color: var(--brand); color: #1E2A08;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #16200A; box-shadow: var(--shadow); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-tint); }

.btn--on-dark { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.75rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; flex: none;
}
/* Supplied logo is a small JPEG on white, so it is shown well under its native
   size to stay sharp, and sits on a white chip wherever the surface is dark. */
.brand picture, .logo-chip picture { display: block; }
.brand-logo { width: auto; height: 2.6rem; border-radius: 4px; }
@media (prefers-color-scheme: dark) {
  .site-header .brand-logo { background: #fff; padding: .35rem .5rem; border-radius: 8px; }
}

/* The supplied logo is a JPEG on white, so on dark surfaces it gets a deliberate
   white card with real padding rather than a tight rectangle hugging the artwork. */
.logo-chip {
  display: inline-block; background: #fff;
  padding: .85rem 1.15rem; border-radius: 12px; line-height: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
}
.logo-chip img { width: auto; height: 2.75rem; }

.brand-tag {
  font-size: .66rem; font-weight: 700; line-height: 1.35;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); max-width: 8.5rem;
  padding-left: .8rem; border-left: 1px solid var(--line);
}
@media (max-width: 400px) { .brand-tag { display: none; } }

.nav-toggle {
  display: none;
  width: 2.9rem; height: 2.9rem;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav-links {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  position: relative;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 1rem;
  padding-block: .4rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.15rem;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brand-ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    display: block; padding: .95rem .25rem;
    border-bottom: 1px solid var(--line); font-size: 1.08rem;
  }
  .nav-links a::after { display: none; }
  .header-cta { margin-top: 1.1rem; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 46rem; height: 46rem; right: -14rem; top: -20rem;
  background: radial-gradient(circle, rgba(131,195,36,.16), transparent 68%);
  pointer-events: none;
}
/* Kept clear of the section edge so `overflow: hidden` cannot clip it into a seam. */
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 30rem; height: 30rem; left: -10rem; bottom: 3rem;
  background: radial-gradient(circle, rgba(110,82,94,.13), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid; gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.06fr 1fr; } }

.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--brand-ink); }
.hero-lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); max-width: 46ch; margin-bottom: 1.9rem; }
.hero .btn-row { margin-bottom: 2rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1rem .45rem .55rem;
  font-size: .87rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.hero-badge .yr {
  background: var(--brand); color: #1E2A08;
  font-size: .78rem; font-weight: 800;
  padding: .18rem .55rem; border-radius: 999px;
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-figure::after {
  content: ""; position: absolute; inset: auto -.6rem -.6rem auto;
  width: 62%; height: 62%; z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand), transparent 70%);
  opacity: .5;
}

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  list-style: none; margin: 0; padding: 0;
}
.hero-facts li { margin: 0; }
.hero-facts dt, .fact-k {
  display: block; font-size: 1.6rem; font-weight: 800;
  color: var(--ink); line-height: 1.1; letter-spacing: -.02em;
}
.hero-facts dd, .fact-v {
  margin: .2rem 0 0; font-size: .87rem; font-weight: 600;
  color: var(--muted);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--plum-deep);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.75rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(38rem 30rem at 88% -20%, rgba(131,195,36,.26), transparent 70%),
    radial-gradient(30rem 26rem at 4% 120%, rgba(131,195,36,.10), transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { color: var(--on-dark-mute); max-width: 62ch; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: var(--brand); }
.page-hero .eyebrow::before { background: var(--brand); }

.breadcrumb { margin-bottom: 1.1rem; font-size: .87rem; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--brand); font-weight: 700; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-tint); color: var(--brand-ink);
}
.card-icon svg { width: 1.55rem; height: 1.55rem; }
.card-icon--plum { background: var(--plum-tint); color: var(--plum); }
@media (prefers-color-scheme: dark) { .card-icon--plum { color: #CDAEBD; } }

.card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem; font-weight: 700; font-size: .95rem;
  text-decoration: none; color: var(--brand-ink);
}
.card-link:hover { gap: .6rem; color: var(--plum); }
.card-link svg { width: .95em; height: .95em; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 0;
}
.stat { text-align: center; }
.stat dt {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800;
  color: var(--ink); line-height: 1; letter-spacing: -.03em;
}
.stat dd {
  margin: .45rem 0 0; font-size: .89rem; font-weight: 600; color: var(--muted);
}
.stat dt .unit { color: var(--brand-ink); }

/* ---------- Feature rows (alternating) ---------- */
.feature {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip .feature-media { order: -1; }
}
.feature + .feature { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover;
}
.feature h2, .feature h3 { margin-bottom: .8rem; }

.tick-list { list-style: none; margin: 1.35rem 0 0; padding: 0; }
.tick-list li {
  position: relative; padding-left: 2rem; margin-bottom: .75rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--brand-tint);
}
.tick-list li::after {
  content: ""; position: absolute; left: .34rem; top: .62em;
  width: .52rem; height: .28rem;
  border-left: 2.2px solid var(--brand-ink);
  border-bottom: 2.2px solid var(--brand-ink);
  transform: rotate(-45deg);
}
.tick-list strong { display: block; }

/* ---------- Process steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(1.1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.steps > li {
  position: relative; margin: 0;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps > li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: .8rem;
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  color: var(--brand); letter-spacing: -.03em;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.steps p { font-size: .96rem; margin: 0; }

/* ---------- Tech pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.pills li { margin: 0; }
.pills span {
  display: inline-block;
  padding: .42rem .9rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--plum-deep); color: var(--on-dark);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(36rem 28rem at 82% 0%, rgba(131,195,36,.26), transparent 70%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-inner {
  display: grid; gap: 1.75rem; align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
@media (min-width: 820px) {
  .cta-inner { grid-template-columns: 1.35fr auto; gap: 2.5rem; }
}
.cta-band h2 { color: #fff; margin-bottom: .55rem; }
.cta-band p { color: var(--on-dark-mute); margin: 0; max-width: 54ch; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.05fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list > li {
  display: flex; gap: 1rem; margin: 0;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.contact-list > li:first-child { padding-top: 0; }
.contact-list .ci {
  flex: none; width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand-tint); color: var(--brand-ink);
}
.contact-list .ci svg { width: 1.3rem; height: 1.3rem; }
.contact-list h3 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; font-weight: 800; }
.contact-list a { font-weight: 600; }
.contact-list p { margin: 0; color: var(--ink); }
.contact-list .note { font-size: .89rem; color: var(--muted); margin-top: .2rem; }

/* Contact panel */
.panel {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.panel .btn-row { margin: 1.5rem 0; }
.panel-sub {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 800;
  margin: 1.75rem 0 .25rem;
}
.panel .tick-list { margin-top: .9rem; }
.panel-note {
  font-size: .87rem; color: var(--muted);
  margin: 1.6rem 0 0; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.btn--wide { padding-inline: 1.9rem; font-size: 1.06rem; }

/* Map / location card */
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg);
}
.map-card--spaced { margin-top: 2rem; }
.map-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.map-card .map-body { padding: 1.25rem 1.4rem 1.4rem; }
.map-card h3 { margin-bottom: .35rem; }
.map-card p { font-size: .95rem; margin-bottom: .9rem; }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); margin-bottom: .8rem;
  transition: border-color .18s var(--ease);
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem; cursor: pointer;
  font-weight: 700; color: var(--ink); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: .62rem; height: .62rem;
  border-right: 2.2px solid var(--brand-ink); border-bottom: 2.2px solid var(--brand-ink);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .faq-body { padding: 0 1.35rem 1.25rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep); color: var(--on-dark-mute);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
  font-size: .96rem;
}
.footer-grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer-brand { max-width: 30rem; }
.footer-brand p { margin-top: 1rem; color: var(--on-dark-mute); }

.site-footer h2 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem; font-weight: 800;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: var(--on-dark-mute); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer address { font-style: normal; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.6rem; font-size: .87rem;
}
.footer-legal p { margin: 0; }
.footer-legal .reg { color: rgba(255,255,255,.55); }

/* ---------- Legal / long-form prose ---------- */
.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose .updated {
  display: inline-block; margin-bottom: 2rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .87rem; font-weight: 600; color: var(--muted);
}
.prose dt { font-weight: 700; color: var(--ink); margin-top: 1rem; }
.prose dd { margin: .25rem 0 0; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; z-index: 300;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 46rem; margin-inline: auto;
  background: var(--bg); color: var(--body);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.08rem; margin-bottom: .45rem; }
.cookie-banner p { font-size: .94rem; margin-bottom: 1.1rem; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-banner .btn { padding: .68rem 1.25rem; font-size: .95rem; }
@media (min-width: 620px) {
  .cookie-banner { display: flex; align-items: center; gap: 1.5rem; }
  .cookie-banner .cookie-copy { flex: 1; }
  .cookie-banner p { margin-bottom: 0; }
  .cookie-banner .cookie-actions { flex: none; }
}
.cookie-banner.is-in { animation: cookie-rise .32s var(--ease) both; }
@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner.is-in { animation: none; } }

/* Button styled as a link, for "Cookie settings" in the footer */
.linklike {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.linklike:hover { color: var(--brand); }

.footer-legal-links {
  display: flex; flex-wrap: wrap; gap: .4rem 1.15rem;
  list-style: none; margin: 0; padding: 0;
}
.footer-legal-links li { margin: 0; }

/* ---------- Reveal on scroll ----------
   Content is visible by default. Only below-the-fold elements are armed by
   JavaScript, so nothing can end up permanently hidden if scripting fails. */
.reveal.is-armed { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-armed { opacity: 1; transform: none; }
}
@media print {
  .reveal.is-armed { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-band, .nav-toggle, .hero::before, .hero::after { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; }
  .card, .panel, .steps > li { box-shadow: none; border-color: #999; }
}
