@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/fonts/Quicksand_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* The four colours of the logo; navy doubles as the ink. */
:root {
  --navy: #1B3A5C;
  --coral: #E8554E;
  --teal: #1D9E8F;
  --saffron: #F5AE2E;
  --bg: #ffffff;
  --mist: #F3F6F9;
  --ink: #1B3A5C;
  --soft: #4F6478;
  --line: #DDE4EB;
  --card: #ffffff;
  --on-primary: #ffffff;
  --display: 'Quicksand', ui-rounded, system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #7FA3D1;
    --bg: #0F1B2A;
    --mist: #15263A;
    --ink: #EEF2F6;
    --soft: #A9B6C4;
    --line: #26394F;
    --card: #ffffff;
    --on-primary: #ffffff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}
img, canvas, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; z-index: 10; }

h1, h2, h3, .brand, .btn, .eyebrow, .plan { font-family: var(--display); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }

/* Header -------------------------------------------------------------------------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.top-right { display: flex; align-items: center; gap: 6px; }
.social { display: flex; gap: 6px; }
.lang {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 22px;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-decoration: none;
  color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
}
.lang:hover { background: var(--mist); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.social a:hover { background: var(--mist); }
.social svg, .pillar svg, .who svg, .btn svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.social svg { width: 22px; height: 22px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.follow .btn { gap: 9px; }

/* Hero ---------------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.618fr 1fr; gap: 56px; align-items: center; /* golden ratio: text 61.8 %, demo 38.2 % (owner, 2026-11-22) */
  max-width: 1120px; margin: 0 auto; padding: 40px 24px 88px;
}
.eyebrow { margin: 0 0 18px; font-weight: 700; font-size: 15px; color: var(--teal); letter-spacing: 0.01em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
.lede { font-size: 20px; color: var(--soft); max-width: 34em; margin: 24px 0 32px; }
.follow { display: flex; flex-wrap: wrap; gap: 12px; }
.follow.center { justify-content: center; }
.note { margin: 14px 0 0; font-size: 15px; color: var(--soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--coral); color: var(--on-primary); }
.btn-primary:hover { background: #D6463F; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--mist); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

/* The signature: a picture that sharpens only when both people agree. */
.reveal { margin: 0; }
.reveal-card {
  background: var(--card); color: #1B3A5C;
  border-radius: 28px; padding: 18px;
  box-shadow: 0 1px 0 rgba(27,58,92,.06), 0 24px 60px -24px rgba(27,58,92,.35);
  max-width: 400px; margin: 0 auto;
}
.reveal-frame { border-radius: 18px; overflow: hidden; background: #fff; aspect-ratio: 1; }
.reveal-frame canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.reveal-progress { height: 6px; border-radius: 3px; background: #E6ECF2; margin: 16px 2px 8px; overflow: hidden; }
.reveal-progress span { display: block; height: 100%; width: 0; background: var(--coral); border-radius: 3px; transition: width .6s ease; }
.reveal-status { margin: 0 2px 12px; font: 600 15px/1.3 var(--display); font-variant-numeric: tabular-nums; }
.consent { display: flex; gap: 8px; margin-bottom: 14px; }
.who {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; border-radius: 999px; border: 1.5px dashed #C9D3DD;
  font: 600 14px var(--display); color: #6B7F92; transition: all .25s ease;
}
.who svg { width: 16px; height: 16px; opacity: 0; transition: opacity .25s ease; }
.who.on { border-style: solid; border-color: var(--teal); color: #12695F; background: #E7F5F3; }
.who.on svg { opacity: 1; }
.reveal figcaption { max-width: 400px; margin: 14px auto 0; font-size: 14px; line-height: 1.5; color: var(--soft); text-align: center; }

/* Compare ------------------------------------------------------------------------- */
.compare, .plans { max-width: 960px; margin: 0 auto; padding: 88px 24px; }
.compare { border-top: 1px solid var(--line); }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
.section-lede { font-size: 19px; color: var(--soft); max-width: 36em; margin: 16px 0 40px; }

.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1.618fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row span:first-child { color: var(--soft); }
.row span:last-child b { font-weight: 700; }
.row.head span { font: 700 14px var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--soft); }
.row.head span:last-child { color: var(--coral); }

/* Pillars ------------------------------------------------------------------------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1120px; margin: 0 auto; padding: 0 24px 40px;
}
.pillar { background: var(--mist); border-radius: 24px; padding: 28px; border-top: 5px solid var(--c); }
.pillar svg { width: 30px; height: 30px; color: var(--c); margin-bottom: 18px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { margin: 0 0 10px; font-size: 16px; color: var(--soft); }
.pillar p:last-child { margin-bottom: 0; }

/* Plans --------------------------------------------------------------------------- */
.plan-names { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-names li { border: 1.5px solid var(--line); border-radius: 20px; padding: 20px 22px; color: var(--soft); font-size: 16px; }
.plan { display: block; font-weight: 700; font-size: 28px; color: var(--coral); margin-bottom: 4px; }

/* Closing + footer ----------------------------------------------------------------- */
.closing { text-align: center; padding: 88px 24px 96px; background: var(--mist); }
.closing img { margin: 0 auto 24px; width: 132px; height: 132px; padding: 16px; background: #fff; border-radius: 32px; box-shadow: 0 16px 40px -20px rgba(27,58,92,.45); }
.closing p { font-size: 19px; color: var(--soft); margin: 12px 0 28px; }
/* Footer (2026-11-04): two groups with one rhythm — 6 px inside a group, 28 px
   between them; the legal links are separated by evenly spaced dots. */
.foot { max-width: 1120px; margin: 0 auto; padding: 40px 24px 48px; text-align: center; color: var(--soft); font-size: 15px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; }
.foot p { margin: 0; }
.foot-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.foot-group.small { font-size: 13px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; }
.foot-legal a + a::before { content: "·"; display: inline-block; margin: 0 10px; text-decoration: none; }
.foot-legal .foot-lang { flex-basis: 100%; margin-top: 6px; }  /* "(în engleză)" on its own line, same 6 px rhythm */
/* "by Lumenfold": the company lockup at the height of the text, sitting on the baseline */
.foot .lf { display: inline-block; margin-left: 2px; vertical-align: -1px; line-height: 0; }
.foot .lf img { height: 11px; width: auto; }

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 16px 16px 64px; }
  .pillars { grid-template-columns: 1fr 1fr; padding: 0 16px 32px; }
  .compare, .plans { padding: 64px 16px; }
  .top { padding: 14px 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .pillars, .plan-names { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row.head { display: none; }
  .row span:first-child { font-size: 15px; }
  .follow { flex-wrap: nowrap; gap: 8px; }
  .follow .btn { flex: 1 1 0; min-width: 0; padding: 0 6px; gap: 6px; font-size: 15px; }
  .follow .btn svg { width: 17px; height: 17px; }
  .closing { padding: 64px 16px 72px; }
}
/* Narrow phones (iPhone SE): the logo above the name, so all three still fit in one row. */
@media (max-width: 374px) {
  .follow .btn { flex-direction: column; gap: 4px; min-height: 64px; border-radius: 22px; font-size: 14px; padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.c-teal { --c: var(--teal); }
.c-coral { --c: var(--coral); }
.c-navy { --c: var(--navy); }
.c-saffron { --c: var(--saffron); }

/* Site menu (2026-11-15, option B1): Guide + Follow us as text, the language pill and the
   waitlist button always visible; on phones the two links go into a <details> menu (no script).
   Social accounts live in the footer (.foot-social) and on /links. */
.top-nav { display: flex; gap: 4px; margin-right: 6px; }
.top-nav a, .menu nav a {
  font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink);
  padding: 10px 12px; border-radius: 12px;
}
.top-nav a:hover, .menu nav a:hover { background: var(--mist); }
.top-nav a[aria-current="page"] { color: var(--teal); }
.top-cta { min-height: 44px; padding: 0 18px; font-size: 15px; margin-left: 4px; }
.top-cta .short { display: none; }
.menu { position: relative; display: none; }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu[open] summary { background: var(--mist); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 200px; padding: 6px;
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 27, 42, .14);
}
.foot-social { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--soft); }
.foot-social a:hover { background: var(--mist); color: var(--ink); }
.foot-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .top { padding: 14px 16px; }
  .top-nav { display: none; }
  .menu { display: block; }
  .top-cta { padding: 0 14px; }
  .top-cta .long { display: none; }
  .top-cta .short { display: inline; }
}
@media (max-width: 374px) {
  .brand span { display: none; }
}
