/* ─── Self-hosted fonts (first-party, no Google CDN) ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-italic.woff2') format('woff2');
}

/* ─── Palette — calm-clinical teal/sage, harmonised with the app (#2f6f5e) ─── */
:root {
  --bg:        #04130e;
  --ink:       rgba(255, 255, 255, .96);
  --muted:     rgba(255, 255, 255, .56);
  --faint:     rgba(255, 255, 255, .40);
  --hair:      rgba(255, 255, 255, .08);
  --glass:     rgba(255, 255, 255, .05);

  --sage:      #74cba3;
  --mint:      #a7f3cf;
  --teal:      #3a8770;
  --deep:      #2f6f5e;
  --cyan:      #67e8d6;

  --grad-cta:  linear-gradient(135deg, #34a37e 0%, #74cba3 100%);
  --grad-text: linear-gradient(90deg, #a7f3cf 0%, #74cba3 48%, #67e8d6 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }

/* ── Icons (inline SVG sprite) ── */
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2;
        stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
/* Flag glyph (EU): a coloured, filled sprite — opt out of the line-icon stroke so its
   own fill colours show and no sage outline is drawn around the field and stars. */
.icon.flag { stroke: none; }

/* ── Shell + ambient background ── */
.shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(ellipse 90% 60% at 84% 4%,  rgba(116, 203, 163, .26) 0%, transparent 54%),
    radial-gradient(ellipse 65% 52% at 8%  92%, rgba(47, 111, 94, .42)  0%, transparent 56%),
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(58, 135, 112, .12) 0%, transparent 66%),
    radial-gradient(ellipse 46% 40% at 2%  14%, rgba(103, 232, 214, .12) 0%, transparent 52%),
    var(--bg);
}
.shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.orb { position: absolute; border-radius: 50%; filter: blur(95px); pointer-events: none; z-index: 0; }
.orb-a { width: 620px; height: 620px; background: rgba(116, 203, 163, .26); top: -16%; right: -10%; animation: drift-a 19s ease-in-out infinite alternate; }
.orb-b { width: 520px; height: 520px; background: rgba(47, 111, 94, .40);  bottom: -14%; left: -10%; animation: drift-b 23s ease-in-out infinite alternate; }
.orb-c { width: 380px; height: 380px; background: rgba(103, 232, 214, .12); top: 44%; left: 34%; animation: drift-c 27s ease-in-out infinite alternate; }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 52px;
  background: rgba(4, 19, 14, .58);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hair);
}
.tb-brand { display: flex; align-items: center; gap: 10px; }
.tb-logo  { width: 30px; height: 30px; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(116, 203, 163, .45)); }
.tb-name  { font-size: 16px; font-weight: 700; letter-spacing: -.25px; color: rgba(255, 255, 255, .92); }
.tb-nav   { flex: 1; display: flex; justify-content: center; gap: 32px; }
.tb-nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.tb-nav a:hover { color: #fff; }

.btn-signin {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 20px; border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(12px);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-signin .icon { width: 16px; height: 16px; }
.btn-signin:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 32px; border: none; cursor: pointer;
  border-radius: 28px; font-family: inherit; font-size: 16px; font-weight: 700; color: #06231a;
  background: var(--grad-cta);
  box-shadow: 0 0 0 1px rgba(116, 203, 163, .4), 0 6px 28px rgba(52, 163, 126, .5),
              inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: box-shadow .22s ease, transform .18s ease;
}
.btn-primary .icon { width: 19px; height: 19px; stroke-width: 2.4; transition: transform .2s; }
.btn-primary:hover { transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(116, 203, 163, .6), 0 12px 48px rgba(52, 163, 126, .7),
              0 0 90px rgba(116, 203, 163, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .8);
  font-size: 15px; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ── Hero ── */
.hero { position: relative; z-index: 1; display: flex; justify-content: center; padding: 92px 52px 84px; }
.hero-inner { max-width: 840px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--mint);
  background: rgba(116, 203, 163, .12);
  border: 1px solid rgba(116, 203, 163, .3);
  border-radius: 40px; padding: 9px 18px; margin-bottom: 34px;
}
.hero-badge-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, .5); animation: pulse-dot 2.2s ease-out infinite;
}

.hero-headline {
  font-size: clamp(44px, 7.4vw, 86px); font-weight: 800; letter-spacing: -2.6px;
  line-height: 1.03; margin: 0 0 26px;
}
.hero-headline em {
  font-style: italic; font-weight: 700; letter-spacing: -2px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 0 38px; max-width: 600px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; justify-content: center; }

/* staggered hero entrance */
.hero-badge    { animation: fade-up .7s .02s both cubic-bezier(.16, 1, .3, 1); }
.hero-headline { animation: fade-up .7s .10s both cubic-bezier(.16, 1, .3, 1); }
.hero-sub      { animation: fade-up .7s .18s both cubic-bezier(.16, 1, .3, 1); }
.hero-cta      { animation: fade-up .7s .26s both cubic-bezier(.16, 1, .3, 1); }

/* ── Hero preview: a live zorgnota ── */
.preview-card {
  width: 100%; max-width: 660px; border-radius: 20px; overflow: hidden; text-align: left;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .1), 0 36px 90px rgba(0, 0, 0, .6);
  animation: fade-up .9s .34s cubic-bezier(.16, 1, .3, 1) both;
}
.pv-chrome {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.pv-dot { width: 10px; height: 10px; border-radius: 50%; }
.pv-dot.r { background: #ff5f57; } .pv-dot.a { background: #ffbd2e; } .pv-dot.g { background: #28c840; }
.pv-url {
  flex: 1; text-align: center; margin-right: 38px; font-size: 12px; font-weight: 500;
  color: var(--faint); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* paper */
.pv-paper { margin: 18px; border-radius: 14px; background: #fbfdfc; color: #16221d;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .35); overflow: hidden; }
.pv-top { display: flex; justify-content: space-between; align-items: flex-start;
          padding: 22px 24px 18px; border-bottom: 1px solid #e8f0eb; }
.pv-prac { display: flex; align-items: center; gap: 11px; }
.pv-mark { width: 38px; height: 38px; border-radius: 10px; }
.pv-pracname { font-weight: 700; font-size: 15px; letter-spacing: -.2px; }
.pv-pracsub  { font-size: 11.5px; color: #6b7d74; margin-top: 1px; }
.pv-doc { text-align: right; }
.pv-doctitle { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #2f6f5e; }
.pv-docnum   { font-size: 12px; color: #6b7d74; margin-top: 3px; font-family: ui-monospace, monospace; }

.pv-meta { display: flex; gap: 30px; padding: 14px 24px; font-size: 12px; }
.pv-meta .k { color: #98a8a0; display: block; margin-bottom: 2px; font-size: 10.5px;
              text-transform: uppercase; letter-spacing: .6px; }
.pv-meta .v { color: #2c3a33; font-weight: 600; }

.pv-lines { padding: 4px 24px 6px; }
.pv-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
           padding: 9px 0; border-bottom: 1px dashed #e8f0eb; }
.pv-line:last-child { border-bottom: none; }
.pv-ldesc { font-size: 13px; font-weight: 600; color: #1f2c26; }
.pv-lsub  { font-size: 11px; color: #8a9a91; margin-top: 1px; }
.pv-lamt  { font-size: 13px; font-weight: 700; color: #1f2c26; font-variant-numeric: tabular-nums; }

.pv-total { display: flex; justify-content: space-between; align-items: center;
            margin: 4px 24px 0; padding: 14px 0 18px; }
.pv-total .tl { font-size: 13px; font-weight: 700; color: #16221d; }
.pv-total .tr { font-size: 20px; font-weight: 800; letter-spacing: -.5px; color: #2f6f5e;
                font-variant-numeric: tabular-nums; }

.pv-status { display: flex; align-items: center; gap: 8px; padding: 12px 24px;
             background: #eafaf2; border-top: 1px solid #d4efe1; color: #1d7a52;
             font-size: 12.5px; font-weight: 700; }
.pv-status .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.pv-ideal { margin-left: auto; font-weight: 800; letter-spacing: .3px; color: #cc0066; }

/* ── Trust strip ── */
.trust-strip { position: relative; z-index: 1; padding: 20px 52px;
               background: rgba(116, 203, 163, .04);
               border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
               justify-content: center; gap: 14px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
              color: rgba(255, 255, 255, .74); white-space: nowrap; }
.trust-item .icon { width: 17px; height: 17px; color: var(--sage); }
.trust-item .icon.leaf { color: #4ade80; }
.trust-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .2); }

/* ── Shared section pattern ── */
.section-inner { max-width: 1040px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
           letter-spacing: 1.3px; color: var(--sage); margin-bottom: 16px; }
.section-title { font-size: clamp(30px, 4.5vw, 47px); font-weight: 800; letter-spacing: -1.4px;
                 line-height: 1.12; margin: 0 0 18px; color: rgba(255, 255, 255, .96); max-width: 760px; }
.section-title em { font-style: italic; font-weight: 700;
                   background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
                   -webkit-text-fill-color: transparent; }
.section-lede { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 660px; margin: 0 0 48px; }

/* ── Problem ── */
.problem { padding: 96px 52px; position: relative; z-index: 1; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.problem-item { padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--hair); }
.problem-item .icon { width: 24px; height: 24px; color: #f0a98c; margin-bottom: 14px; }
.problem-item h4 { font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .92); margin: 0 0 8px; letter-spacing: -.2px; }
.problem-item p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.problem-item .scrib { color: #f0a98c; font-style: italic; }

/* ── How it works ── */
.how { padding: 96px 52px; position: relative; z-index: 1; }
.steps { list-style: none; padding: 0; margin: 0;
         display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { position: relative; overflow: hidden; padding: 30px 26px; border-radius: 16px;
        background: rgba(255, 255, 255, .04); border: 1px solid var(--hair);
        display: flex; flex-direction: column; gap: 16px; }
.step::before { content: ''; position: absolute; inset: 0;
                background: linear-gradient(180deg, rgba(116, 203, 163, .06) 0%, transparent 58%); pointer-events: none; }
.step-num { font-size: 38px; font-weight: 800; letter-spacing: -1.5px; line-height: 1;
            background: linear-gradient(135deg, #a7f3cf 0%, #67e8d6 100%);
            -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h4 { font-size: 16.5px; font-weight: 700; color: rgba(255, 255, 255, .95); margin: 0 0 8px; letter-spacing: -.3px; }
.step p  { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── Features ── */
.features { position: relative; z-index: 1; padding: 96px 52px; }
.features-inner { max-width: 1040px; margin: 0 auto;
                  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.feat-card { padding: 32px; border-radius: 20px; background: rgba(255, 255, 255, .055);
             border: 1px solid rgba(255, 255, 255, .09);
             backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
             box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .07), 0 8px 32px rgba(0, 0, 0, .35);
             transition: background .2s, border-color .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.feat-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(116, 203, 163, .3); transform: translateY(-4px); }
.feat-icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 20px;
             display: flex; align-items: center; justify-content: center;
             background: linear-gradient(135deg, rgba(116, 203, 163, .32), rgba(47, 111, 94, .32));
             border: 1px solid rgba(116, 203, 163, .3); box-shadow: 0 0 22px rgba(116, 203, 163, .2); }
.feat-icon .icon { width: 22px; height: 22px; color: var(--mint); }
.feat-card h3 { font-size: 18.5px; font-weight: 700; color: rgba(255, 255, 255, .95); margin: 0 0 11px; letter-spacing: -.3px; }
.feat-card p  { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.feat-card em { font-style: italic; font-weight: 600; color: rgba(167, 243, 207, .9); }

/* ── Comparison ── */
.compare { padding: 96px 52px; position: relative; z-index: 1; }
.compare-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .035); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare-table thead th { text-align: center; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7);
                          padding: 18px 14px; border-bottom: 1px solid var(--hair); }
.compare-table thead th:first-child { text-align: left; padding-left: 24px; color: transparent; }
.compare-table thead th.t-us { color: var(--mint); background: rgba(116, 203, 163, .1); }
.compare-table tbody td { padding: 16px 14px; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .04); color: var(--muted); }
.compare-table tbody td:first-child { text-align: left; padding-left: 24px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .t-us { background: rgba(116, 203, 163, .07); }
.compare-table .t-us .icon { width: 19px; height: 19px; color: #6ee7b7; vertical-align: middle; }
.compare-table .t-no { color: rgba(255, 255, 255, .24); }

/* ── Value block ── */
.value { padding: 40px 52px 96px; position: relative; z-index: 1; }
.value-inner { max-width: 1040px; margin: 0 auto; padding: 38px;
               border-radius: 20px; border: 1px solid rgba(116, 203, 163, .22);
               background: rgba(116, 203, 163, .05);
               box-shadow: 0 0 0 1px rgba(116, 203, 163, .08), 0 20px 60px rgba(0, 0, 0, .3); }
.value-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
               letter-spacing: 1.3px; color: var(--sage); margin-bottom: 22px; }
.value-list { list-style: none; padding: 0; margin: 0;
              display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 24px; }
.value-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.value-list .icon { width: 18px; height: 18px; color: #6ee7b7; }

/* ── Bottom CTA ── */
.bottom-cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
              gap: 34px; padding: 80px 52px 110px; text-align: center; }
.bottom-headline { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -1.4px;
                   line-height: 1.1; color: rgba(255, 255, 255, .94); margin: 0; }
.bottom-headline em { font-style: italic; font-weight: 700;
                      background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Footer ── */
.footer { position: relative; z-index: 1; text-align: center; padding: 0 52px 44px;
          font-size: 12px; color: rgba(255, 255, 255, .26);
          display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-links { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.footer-links a { color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-sep { color: rgba(255, 255, 255, .2); }

/* ── Scroll-reveal (progressive enhancement; visible without JS) ── */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ── Animations ── */
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, .55); } 70% { box-shadow: 0 0 0 14px rgba(110, 231, 183, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drift-a { to { transform: translate(-40px, 30px) scale(1.05); } }
@keyframes drift-b { to { transform: translate(50px, -40px) scale(.95); } }
@keyframes drift-c { to { transform: translate(-30px, -28px) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .topbar { padding: 12px 20px; gap: 12px; }
  .tb-nav { display: none; }
  .hero { padding: 56px 20px; }
  .problem, .how, .features, .compare { padding: 64px 20px; }
  .value { padding: 24px 20px 64px; }
  .value-inner { padding: 26px; }
  .bottom-cta { padding: 64px 20px 84px; }
  .footer { padding: 0 20px 32px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; }
  .pv-meta { flex-wrap: wrap; gap: 14px 30px; }
}
