/* Rovanta website. One family (Alexandria, Arabic + Latin) set heavy for headlines; the clinic at night (deep navy) with the
   aqua pulse from the logo; light sections are a cool clinic white. Night and day alternate down the page. */
:root {
  --ink: #0A1A2F;
  --night: #06111F;
  --night-2: #0C1F3A;
  --night-3: #12294A;
  --aqua: #2FD4E8;
  --aqua-soft: #A6F4FF;
  --teal: #0A8496;
  --teal-ink: #066473;
  --mist: #F1F6F8;
  --line: #D6E3E8;
  --paper: #FFFFFF;
  --muted: #4A5D72;
  --on-night: #B9CADC;
  --booked: #12935D;
  --font: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 14px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.75; font-weight: 400; overflow-x: hidden; }
[dir="ltr"] body { line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.22rem; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.38; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
bdi { unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-main { background: var(--teal); color: #fff; }
.btn-main:hover { background: var(--teal-ink); color: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-ink); }
.night .btn-main, .band .btn-main, .dark .btn-main, .page-head .btn-main { background: var(--aqua); color: var(--night); }
.night .btn-main:hover, .band .btn-main:hover, .dark .btn-main:hover { background: var(--aqua-soft); color: var(--night); }
.night .btn-line, .band .btn-line, .sec.dark .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.night .btn-line:hover, .band .btn-line:hover, .sec.dark .btn-line:hover { border-color: var(--aqua); color: var(--aqua-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.night .fine { color: var(--on-night); }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top.dark { background: rgba(6,17,31,.9); border-bottom-color: rgba(255,255,255,.07); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: 0; }
.brand svg { width: 34px; height: 34px; flex: none; }
.top.dark .brand { color: #fff; }
.menu { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.menu a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .98rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--mist); color: var(--teal-ink); }
.top.dark .menu a { color: #E4ECF4; }
.top.dark .menu a:hover, .top.dark .menu a[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
.menu .lang { font-weight: 600; }
.menu .btn { min-height: 42px; padding: 8px 16px; margin-inline-start: 8px; }
.top.dark .menu .btn-main { background: var(--aqua); color: var(--ink); }
.top.dark .menu .btn-main:hover { background: var(--aqua-soft); color: var(--ink); }
.burger { display: none; margin-inline-start: auto; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 46px; height: 42px; color: inherit; cursor: pointer; }
.top.dark .burger { border-color: rgba(255,255,255,.3); color: #fff; }
.burger svg { margin: auto; }
@media (max-width: 900px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .top.dark .menu { background: var(--night); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 8px; font-size: 1.05rem; }
  .menu .btn { margin: 10px 0 0; }
}

/* ── hero: the night shift ── */
.night { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% -10%, rgba(47,212,232,.16), transparent 60%),
  radial-gradient(700px 500px at 0% 110%, rgba(19,41,74,.9), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; max-width: 13ch; }
[dir="ltr"] .hero h1 { max-width: 14ch; }
.hero h1::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; background: var(--aqua); margin-top: 22px; box-shadow: 0 0 24px rgba(47,212,232,.55); }
.hero .lead { color: var(--on-night); margin-top: 20px; }
.pulse-bg { position: absolute; inset-inline: 0; bottom: 64px; height: 120px; opacity: .22; pointer-events: none; }
.pulse-bg path { stroke: var(--aqua); stroke-width: 2; fill: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } }

/* chat: a real conversation at 11:42 pm */
.scene { position: relative; justify-self: center; width: min(420px, 100%); }
.chat { background: #F7FAFC; color: var(--ink); border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #E3ECF1; }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; flex: none; }
.chat-head b { display: block; font-size: .95rem; line-height: 1.3; }
.chat-head small { color: var(--muted); font-size: .8rem; }
.chat-head .clock { margin-inline-start: auto; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 52px; min-height: 400px; }
.m { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .93rem; line-height: 1.55; }
.m.p { align-self: flex-start; background: #fff; border: 1px solid #E1EAF0; border-start-start-radius: 6px; }
.m.a { align-self: flex-end; background: #DDF7FB; border-start-end-radius: 6px; }
.m.typing { display: none; }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: #7FA6B5; animation: dot 1s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .15s; } .typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.slip { position: relative; margin: -34px 18px 0; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.35); border-inline-start: 5px solid var(--booked); }
.slip-day { font-size: .8rem; color: var(--muted); }
.slip-row { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.slip-row .t { font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.slip-row .who { font-weight: 600; }
.slip-row .what { color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--teal-ink); font-weight: 500; }
.tag.ok { background: #DDF3E8; color: var(--booked); }
.slip svg.ecg { position: absolute; inset-inline-end: 14px; top: 12px; width: 70px; height: 24px; }
.slip svg.ecg path { fill: none; stroke: var(--booked); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; stroke-dashoffset: 0; }
.scene-cap { margin-top: 18px; font-size: .9rem; color: var(--on-night); text-align: center; }

/* one orchestrated moment: the conversation plays, then the booking lands in the calendar (site.js runs the timing) */
.js .scene .m:not(.typing), .js .scene .slip { opacity: 0; transform: translateY(8px); }
.js .scene .m.on, .js .scene .slip.on { animation: in .45s ease forwards; }
.js .scene .m.typing.on { display: block; animation: none; }
.js .scene .m.typing.off { display: none; }
.js .scene .slip.on svg.ecg path { stroke-dashoffset: 120; animation: draw 1s ease .4s forwards; }
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .scene .m:not(.typing), .js .scene .slip { opacity: 1; transform: none; animation: none !important; }
  .js .scene .m.typing, .js .scene .m.typing.on { display: none !important; }
  .js .scene .slip svg.ecg path { stroke-dashoffset: 0; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── sections ── */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec.mist { background: var(--mist); }
.sec.dark { background: var(--night-2); color: #fff; position: relative; }
.sec.dark .lead, .sec.dark p, .sec.dark .steps p { color: var(--on-night); }
.sec.dark .steps .n { background: var(--aqua); color: var(--night); box-shadow: 0 0 0 6px rgba(47,212,232,.14); }
.sec.dark .checks li { color: #E6EEF6; }
.sec.dark .checks svg { color: var(--aqua); }
.sec.dark a { color: var(--aqua-soft); }
.sec.dark .perm { color: var(--ink); }
.sec.dark .perm p, .sec.dark .perm .sub { color: var(--muted); }
.sec.dark.closing { background: radial-gradient(800px 380px at 50% 0%, rgba(47,212,232,.14), transparent 70%), var(--night); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .lead { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* outcomes: three statements, ruled */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); }
.outcomes > div { padding: 6px clamp(18px, 3vw, 36px); border-inline-start: 1px solid var(--line); }
.outcomes > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.outcomes h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: 12px; }
.outcomes h3::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--teal); margin-bottom: 16px; }
.outcomes p { color: var(--muted); }
@media (max-width: 820px) { .outcomes { grid-template-columns: 1fr; gap: 26px; } .outcomes > div { padding: 0 0 0; border: 0; padding-top: 22px; border-top: 1px solid var(--line); } .outcomes > div:first-child { border-top: 0; padding-top: 0; } }

/* how it works: a real sequence, joined by the pulse */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; }
.steps .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 1.1rem; margin-bottom: 18px; position: relative; z-index: 1; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
.steps-line { position: absolute; top: 4px; inset-inline: 46px 0; height: 38px; z-index: 0; }
.steps-line path { fill: none; stroke: var(--aqua); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
[dir="rtl"] .steps-line { transform: scaleX(-1); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps-line { display: none; } .steps li { padding-inline-start: 62px; } .steps .n { position: absolute; inset-inline-start: 0; top: 0; } }

/* product: real screens */
.product { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(14,35,64,.14); background: #fff; }
.frame .bar { display: flex; gap: 6px; padding: 10px 12px; background: #F2F6F8; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD8DE; }
.frame img { width: 100%; height: auto; }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.callouts li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.callouts svg { width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.callouts b { display: block; }
.callouts span { color: var(--muted); font-size: .95rem; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks svg { width: 22px; height: 22px; color: var(--booked); margin-top: 4px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* what we ask for: the permission, spelled out */
.trust { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.perm { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(14,35,64,.08); }
.perm h3 { font-size: 1.05rem; margin-bottom: 4px; }
.perm .sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.perm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perm li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #F6FAFB; }
.perm li.no { background: #FBF6F6; color: #6C4A4A; }
.perm li svg { width: 22px; height: 22px; }
.perm li.yes svg { color: var(--booked); } .perm li.no svg { color: #B24C4C; }
.soon { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #FFF3D6; color: #8A5A00; margin-inline-start: 6px; white-space: nowrap; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }

/* specialties */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.spec > div { padding: 22px 20px 6px 0; }
[dir="rtl"] .spec > div { padding: 22px 0 6px 20px; }
.spec h3 { font-size: 1.1rem; margin-bottom: 6px; }
.spec .state { font-size: .85rem; font-weight: 600; color: var(--muted); }
.spec .state.now { color: var(--booked); }
.spec p { color: var(--muted); font-size: .93rem; margin-top: 8px; }
@media (max-width: 900px) { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }

/* founding clinics band */
.band { background: var(--night-2); color: #fff; }
.band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.seats { font-size: clamp(3.6rem, 9vw, 6rem); font-weight: 800; line-height: 1; color: var(--aqua); font-variant-numeric: tabular-nums; }
.seats small { display: block; font-size: 1rem; color: var(--on-night); font-weight: 400; margin-top: 8px; }
.band p { color: var(--on-night); margin-top: 8px; max-width: 58ch; }
@media (max-width: 900px) { .band .wrap { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem; display: flex; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; font-size: 1.5rem; font-weight: 400; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* closing call */
.closing { text-align: center; }
.closing .actions { justify-content: center; }

/* ── inner pages ── */
.page-head { padding-block: clamp(52px, 8vw, 96px) clamp(40px, 6vw, 64px); color: #fff;
  background: radial-gradient(900px 420px at 85% -20%, rgba(47,212,232,.16), transparent 60%), var(--night); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; }
.page-head .lead { margin-top: 16px; color: var(--on-night); }
.groups { display: grid; gap: clamp(40px, 6vw, 72px); }
.group { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.group:first-child { border-top: 0; padding-top: 0; }
.group-title { display: flex; flex-direction: column; gap: 14px; }
.group-title svg { width: 40px; height: 40px; color: var(--teal); }
.group-title p { color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
.items b { display: block; margin-bottom: 4px; }
.items span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .group { grid-template-columns: 1fr; } .items { grid-template-columns: 1fr; } }

/* pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); margin-bottom: 28px; }
.billing button { font: inherit; border: 0; background: none; padding: 9px 18px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 500; }
.billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14,35,64,.1); }
.pricing { display: flex; flex-direction: column; align-items: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; width: 100%; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; display: flex; flex-direction: column; }
.plan.main { border: 0; background: var(--night-2); color: #fff; box-shadow: 0 30px 70px rgba(6,17,31,.28); }
.plan.main .for, .plan.main .price .per { color: var(--on-night); }
.plan.main li svg { color: var(--aqua); }
.plan.main .founding { color: #7BE3B4; }
.plan h2 { font-size: 1.5rem; }
.plan .for { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amt { font-size: 2.8rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); }
.founding { margin-top: 10px; font-size: .92rem; color: var(--booked); font-weight: 500; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan li svg { width: 20px; height: 20px; color: var(--teal); margin-top: 4px; }
.plan .btn { margin-top: auto; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; max-width: 980px; width: 100%; }
.note-grid b { display: block; margin-bottom: 4px; }
.note-grid p { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 820px) { .note-grid { grid-template-columns: 1fr; } }

/* forms */
.form-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.input { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(47,212,232,.25); }
textarea.input { min-height: 96px; resize: vertical; }
.form .btn { grid-column: 1 / -1; }
.hp { position: absolute; inset-inline-start: -9999px; }
.side h2 { font-size: 1.4rem; margin-bottom: 18px; }
.side .steps { grid-template-columns: 1fr; gap: 22px; }
.side .steps li { padding-inline-start: 62px; }
.side .steps .n { position: absolute; inset-inline-start: 0; top: 0; }
.side .steps-line { display: none; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* demo page */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.roles b { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.roles p { color: var(--muted); }
@media (max-width: 820px) { .roles { grid-template-columns: 1fr; } }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: #2C3E52; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-inline-start: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: .95rem; }

/* footer */
.foot { background: var(--night); color: var(--on-night); padding-block: 48px 36px; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot p { margin-top: 12px; max-width: 34ch; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-night); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .legal-line { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; margin-top: 8px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }
.plan.main .btn-main { background: var(--aqua); color: var(--night); }
.plan.main .btn-main:hover { background: var(--aqua-soft); color: var(--night); }

.soon-note { background: #FFF3D6; color: #6B4700; border-radius: 11px; padding: 12px 14px; font-weight: 500; }
.form .btn:disabled { opacity: .5; cursor: not-allowed; }

/* tighter sections, the whole system named in the hero, and questions in two columns that use the page width */
.sec { padding-block: clamp(40px, 5.5vw, 72px); }
.hero .wrap { padding-block: clamp(36px, 6vw, 76px) clamp(40px, 6vw, 80px); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 { max-width: 17ch; } [dir="ltr"] .hero h1 { max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-head { padding-block: clamp(40px, 6vw, 68px) clamp(30px, 4.5vw, 46px); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.sec-head { margin-bottom: clamp(22px, 3vw, 34px); }
.mods { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.mods li { font-size: .9rem; font-weight: 500; color: #E3EDF6; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 13px; background: rgba(255,255,255,.05); }
.mods li:last-child { border-color: var(--aqua); color: var(--aqua-soft); }
.faq { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; }
.faq summary { padding: 16px 0; font-size: 1rem; }
.faq details p { padding: 0 0 16px; }
.plan { padding: clamp(20px, 2.4vw, 28px); }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* pricing v2: the yearly price as the headline, what is actually paid under it, the 3-year offer and the refund line */
.plan { position: relative; }
.plan .pop { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--aqua); color: var(--night); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.plan .billed { margin: 6px 0 0; font-size: .92rem; color: var(--muted); font-weight: 500; }
.plan .three { margin: 6px 0 16px; font-size: .86rem; color: var(--teal-ink); font-weight: 600; }
.plan.main .billed { color: var(--on-night); } .plan.main .three { color: var(--aqua-soft); }
.refund-line { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 26px 0 6px; font-weight: 600; color: var(--booked); }
.refund-line svg { width: 20px; height: 20px; flex: none; }
.founding-line { text-align: center; color: var(--muted); margin: 0 0 8px; }
.why { max-width: 820px; } .why .lead { margin-top: 14px; }
