:root {
  --ink: #111318; --ink-2: #1a1d24; --line: #2a2e38;
  --amber: #f5b83d; --cream: #f2efe9; --muted: #a3a6ae; --coral: #ff6b4a;
  --r: 18px; --max: 1080px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--cream); font: 17px/1.6 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; }
.eyebrow { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.hl { color: var(--amber); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-ghost { border: 1px solid var(--line); background: none; color: var(--cream); }
.btn-ghost:hover { background: var(--ink-2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

nav { position: sticky; top: 0; z-index: 10; background: rgba(17,19,24,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 30px; }
nav .links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
nav .links a { text-decoration: none; color: var(--muted); }
nav .links a:hover, nav .links a[aria-current] { color: var(--cream); }
nav .links .btn { color: var(--ink); padding: 9px 18px; }
nav .links .login { white-space: nowrap; }
.fi { display: inline-block; width: 1.333em; height: 1em; flex: none; background: center/cover no-repeat; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.fi-en { background-image: url(/flags/en.svg); } .fi-fr { background-image: url(/flags/fr.svg); } .fi-es { background-image: url(/flags/es.svg); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 30px 0 12px; position: relative; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--cream); border-color: var(--amber); }
.lang summary::after { content: ""; position: absolute; right: 13px; top: 50%; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); }
.lang[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.45); }
.lang li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; color: var(--cream) !important; font-size: 14px; }
.lang li a:hover, .lang li a:focus-visible { background: var(--ink); }
.lang li a[aria-current] { color: var(--amber) !important; }

.hero { padding: 80px 0 72px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(40px, 5.4vw, 66px); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; }
/* Hero: the copy, and the ad in a phone beside it (stacked and centred under 900px). */
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; }
.phone { position: relative; border-radius: 34px; padding: 8px; background: linear-gradient(180deg, var(--line), var(--ink-2)); box-shadow: 0 40px 120px -40px rgba(245,184,61,.45); }
.phone video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 27px; background: var(--ink-2); }
.ad-lang { position: absolute; top: 100%; left: 0; right: 0; margin-top: 12px; text-align: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .phone { width: min(320px, 100%); margin: 0 auto; }
}
#demo { padding-top: 24px; }
#demo .frame { margin-top: 32px; }
.trust { color: var(--muted); font-size: 15px; }
.note { color: var(--muted); font-size: 14px; }
.frame { margin: 56px auto 0; max-width: 960px; border-radius: 22px; padding: 8px; background: linear-gradient(180deg, var(--line), var(--ink-2)); box-shadow: 0 40px 120px -40px rgba(245,184,61,.35); }
.frame { position: relative; }
.frame video, .frame img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; background: var(--ink-2); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; color: var(--muted); font-weight: 500; }
.strip b { color: var(--cream); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; counter-reset: s; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.split .card h3 { display: flex; align-items: center; gap: 10px; }
.vs { list-style: none; padding: 0; margin-top: 14px; }
.vs li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; color: var(--muted); font-size: 16px; }
.vs li::before { position: absolute; left: 0; font-weight: 800; }
.vs.bad li::before { content: "\2715"; color: var(--coral); }
.vs.good li::before { content: "\2713"; color: var(--amber); }
.vs.good li { color: var(--cream); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; color: var(--muted); background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.panel { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }  /* text above, clip at the full width: the captures stay readable */
.panel[hidden] { display: none; }
.panel video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2); cursor: zoom-in; }
.panel h3 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.panel p { color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.pop { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.amt small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.price li { font-size: 15px; color: var(--muted); padding: 5px 0; }
.price .btn { text-align: center; }

.faq { max-width: 760px; margin-top: 36px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; }

.maker { display: flex; gap: 24px; align-items: center; max-width: 760px; }
.maker img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amber); flex: none; }
.maker p { color: var(--muted); }
.maker a { color: var(--amber); }
.maker .logo img { border: 0; border-radius: 0; object-fit: contain; }

.final { text-align: center; }
.final .card { padding: 64px 24px; background: radial-gradient(80% 120% at 50% 0%, rgba(245,184,61,.16), var(--ink-2) 70%); }
.final h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.final .lead { margin: 0 auto 28px; }
.join { display: grid; gap: 12px; max-width: 460px; margin: 0 auto; text-align: left; }
.join label { font-size: 14px; font-weight: 700; color: var(--muted); }
.join input, .join textarea { width: 100%; font: inherit; color: var(--cream); background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.join textarea { min-height: 84px; resize: vertical; }
.join .hp { position: absolute; left: -9999px; }
.join .btn { justify-self: start; }
.join .msg { font-size: 15px; min-height: 1.6em; }
.join .msg.ok { color: var(--amber); }
.join .msg.err { color: var(--coral); }
.join .fine { font-size: 13px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; }
.cols h4 { color: var(--cream); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.cols a { display: block; text-decoration: none; padding: 3px 0; }
.cols a:hover { color: var(--cream); }
.cols .brand { color: var(--cream); margin-bottom: 10px; display: flex; }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

.doc { max-width: 760px; padding: 64px 20px 88px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { padding-left: 20px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .steps, .prices { grid-template-columns: 1fr 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  nav .links > a:not(.btn):not(.login) { display: none; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .steps, .prices, .cols { grid-template-columns: 1fr; }
  .maker { flex-direction: column; align-items: flex-start; }
  nav .links .btn { display: none; }
  nav .links { gap: 10px; }
  .lang summary { font-size: 0; gap: 0; padding: 0 26px 0 10px; }   /* flag only, the menu still names each language */
  .lang summary .fi { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.panel:not(:has(video)) { grid-template-columns: 1fr; max-width: 640px; }
.play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 12px; border: 0; border-radius: 999px; background: rgba(17,19,24,.78); backdrop-filter: blur(8px); color: var(--cream); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 40px rgba(0,0,0,.45); transition: transform .15s; }
.play:hover { transform: scale(1.04); }
.play span { width: 44px; height: 44px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; flex: none; }
.play span::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--ink); }
@media (max-width: 560px) { .play { font-size: 14px; gap: 9px; padding: 7px 15px 7px 7px; } .play span { width: 32px; height: 32px; } .play span::before { border-width: 7px 0 7px 11px; margin-left: 3px; } }

/* Motion. html.motion is set by the page script only when the visitor allows motion, so without it everything is
   visible and still. Reveal uses animations (not transitions) so hover transitions on the same cards stay instant. */
.steps .card { position: relative; transition: border-color .2s; }
.steps .card:hover, .price:hover { border-color: rgba(245,184,61,.45); }
.price { transition: border-color .2s; }
.ico { position: absolute; top: 16px; right: 16px; width: 56px; height: 56px; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes word { from { opacity: 0; transform: translateY(.45em) scale(.8); } }
@keyframes breathe { 50% { opacity: .5; transform: scale(.93); } }
@keyframes spin { to { --a: 360deg; } }
@keyframes drift { from { background-position: 0 0; } to { background-position: 100% 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(245,184,61,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(245,184,61,0); } }
.motion .rv:not(.in) { opacity: 0; }   /* only until revealed: the keyframes end on the element's own opacity */
.motion .rv.in { animation: rise .7s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 90ms) both; }
.motion .hero .w { display: inline-block; animation: word .55s cubic-bezier(.2,.9,.3,1.25) calc(.1s + var(--d) * 110ms) both; }
.motion .hero .eyebrow { animation: rise .6s both; }
.motion .hero :is(.lead, .cta, .trust) { animation: rise .7s cubic-bezier(.2,.7,.2,1) calc(.25s + var(--words) * 110ms) both; }
.motion .hero .phone { animation: rise 1s cubic-bezier(.2,.7,.2,1) calc(.45s + var(--words) * 110ms) both; }
.frame::before { content: ""; position: absolute; inset: 10% 5% -6%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(245,184,61,.32), transparent); filter: blur(40px); pointer-events: none; }
.motion .frame::before { animation: breathe 6s ease-in-out infinite; }
.motion .panel:not([hidden]) { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.price.pop { --a: 0deg; box-shadow: none;   /* --a declared: without @property support the gradient stays valid */
  border: 1.5px solid transparent;
  background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    conic-gradient(from var(--a), var(--amber), rgba(245,184,61,.2) 25%, var(--amber) 50%, rgba(245,184,61,.2) 75%, var(--amber)) border-box; }
.motion .price.pop.in { animation: rise .7s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 90ms) both, spin 5s linear infinite; }
.final .card { background-size: 160% 100%; background-position: 50% 0; }
.motion .final .card.in { animation: rise .7s cubic-bezier(.2,.7,.2,1) both, drift 7s ease-in-out infinite alternate; }
.motion .final .btn-primary { animation: ring 2.4s ease-out 1s infinite; }

/* Phones: steps, prices and feature tabs become swipe rows (the next card peeks), instead of one very long column. */
@media (max-width: 560px) {
  .steps, .prices { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px -20px 0; padding: 4px 20px 14px; scroll-padding: 0 20px; scrollbar-width: none; }
  .steps::-webkit-scrollbar, .prices::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .steps .card, .prices .card { flex: 0 0 84%; scroll-snap-align: start; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 28px -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .hero { padding-top: 56px; }
  .hero .cta .btn { flex: 1 1 100%; text-align: center; }
  .maker img { width: 64px; height: 64px; }
  .final .card { padding: 48px 20px; }
}
