/* Case Bound: calm tech. Ink, one cool accent, a grotesk with monospace labels. */
:root {
  --ink: #0b0d17;
  --ink-hover: #1e2f8a;
  --muted: #5a5d6b;
  --page: #ffffff;
  --alt: #f6f7fa;
  --line: #e6e8ef;
  --line-soft: #ecedf2;
  --accent: #5b7cff;
  --accent-ink: #2d47c9;
  --accent-soft: #eef1ff;
  --night: #0a0d1c;
  --on-night: #ffffff;
  --on-night-muted: #aeb3c7;
  --night-accent: #8ea2ff;
  --night-soft: #b9c5ff;
  --sans: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 75rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --row: 2.75rem;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--ink-hover); }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .02em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.125rem; padding: .85rem 1.6rem; border-radius: 999px; border: 0;
  font: 500 1rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: translate .25s var(--ease), scale .2s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { translate: 0 -1px; }
.btn:active { scale: .97; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-hover); color: #fff; box-shadow: 0 12px 32px -12px rgba(45, 71, 201, .6); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 13, 23, .14); }
.btn-ghost:hover { background: rgba(11, 13, 23, .05); color: var(--ink); }
.btn-light { background: #e9edff; color: var(--night); font-weight: 600; }
.btn-light:hover { background: #fff; color: var(--night); box-shadow: 0 12px 32px -12px rgba(142, 162, 255, .7); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .875rem; }
.btn-lg { min-height: 3.5rem; padding: 1rem 2.2rem; font-size: 1.0625rem; }

/* Segmented controls */
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 4px; background: #f1f2f6; border-radius: 999px; }
.seg button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .875rem; padding: .6rem 1.2rem; min-height: 2.75rem; transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11, 13, 23, .12); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(11, 13, 23, .07); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
.mark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.125rem; letter-spacing: -.03em; }
.mark:hover { color: var(--ink); }
.mark svg { width: 1.5rem; height: 1.5rem; }
.nav { display: none; gap: 1.75rem; margin-left: auto; font-size: .875rem; }
.nav a { color: #4a4d5c; text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; margin-left: auto; padding: 3px; background: #f1f2f6; border-radius: 999px; }
.lang button { font: 500 .6875rem/1 var(--mono); letter-spacing: .04em; color: var(--muted); background: none; border: 0; padding: .45rem .6rem; min-width: 2.5rem; min-height: 2.25rem; border-radius: 999px; cursor: pointer; transition: background-color .3s, color .3s; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(11, 13, 23, .12); }
.top-cta { display: none; }
@media (min-width: 40rem) { .top-cta { display: inline-flex; } }
@media (min-width: 62rem) { .nav { display: flex; } .lang { margin-left: 0; } }

/* Hero */
.hero {
  position: relative; text-align: center; padding: 5rem 0 0;
  background-color: #fff;
  background-image: radial-gradient(50rem 26rem at 50% 70%, rgba(91, 124, 255, .16), rgba(91, 124, 255, 0) 70%), radial-gradient(rgba(11, 13, 23, .09) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
}
@media (min-width: 48rem) { .hero { padding-top: 6.5rem; } }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .9rem .35rem .45rem; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 13, 23, .1); text-decoration: none; color: var(--ink); font-size: .875rem; box-shadow: 0 4px 16px -8px rgba(11, 13, 23, .2); transition: translate .25s var(--ease), box-shadow .25s; }
.pill:hover { color: var(--ink); translate: 0 -1px; box-shadow: 0 8px 22px -10px rgba(45, 71, 201, .4); }
.pill svg { width: .8rem; height: .8rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pill-tag { font-size: .6875rem; background: var(--ink); color: #fff; padding: .2rem .5rem; border-radius: 999px; }
.hero h1 { margin: 1.75rem auto 0; max-width: 15ch; font-weight: 600; font-size: clamp(2.9rem, 8.4vw, 6rem); line-height: .98; letter-spacing: -.045em; }
.lede { margin: 1.6rem auto 0; max-width: 39rem; font-size: clamp(1.125rem, 2vw, 1.25rem); color: var(--muted); }
.actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }
.price-chip { margin-top: 1.5rem; color: var(--muted); }

/* Phones on the stage */
.stage { position: relative; height: 45rem; margin-top: 3.5rem; overflow: hidden; --spread: 270px; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; z-index: 5; }
.stage-phone {
  position: absolute; left: 50%; top: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 54px;
  --o: 0; --s: 1;
  transform: translateX(calc(-50% + var(--o) * var(--spread))) scale(var(--s));
  transition: transform .9s var(--ease), opacity .9s ease, filter .9s ease;
}
.stage-phone[data-pos="0"] { z-index: 3; cursor: zoom-in; }
.stage-phone:not([data-pos="0"]) { z-index: 1; opacity: .5; filter: saturate(.6) blur(1px); --s: .84; }
.stage-phone[data-pos="1"] { --o: 1; }
.stage-phone[data-pos="-1"] { --o: -1; }
.bezel { display: block; width: 300px; height: 650px; padding: 10px; border-radius: 54px; background: var(--ink); box-shadow: 0 60px 120px -40px rgba(45, 71, 201, .55), inset 0 0 0 1.5px #3a3d4a; }
.screen { display: block; position: relative; width: 100%; height: 100%; border-radius: 45px; overflow: hidden; background: #fff; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 999px; background: var(--ink); }
@media (max-width: 61.99rem) { .stage { --spread: 170px; } }
@media (max-width: 38.99rem) {
  .stage { --spread: 112px; height: 37rem; }
  .stage-phone { --s: .82; }
  .stage-phone:not([data-pos="0"]) { --s: .7; }
}

.switcher { padding: .25rem 0 6rem; text-align: center; }
.stage-cap { margin: 1.1rem auto 0; max-width: 34rem; font-size: .9375rem; color: var(--muted); }
.stage-cap strong { color: var(--ink); font-weight: 600; }

/* Section heads */
.work, .features, .price, .steps, .faq { padding: 6rem 0; }
@media (min-width: 48rem) { .work, .features, .price, .steps, .faq { padding: 8.5rem 0; } }
.head { max-width: 45rem; margin-bottom: 3.5rem; }
@media (min-width: 48rem) { .head { margin-bottom: 4rem; } }
.head-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { color: var(--accent-ink); margin-bottom: 1rem; }
h2 { font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 3.75rem); line-height: 1.02; letter-spacing: -.045em; }
.sub { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.9vw, 1.25rem); color: var(--muted); }
.sub-sm { margin-top: 1.25rem; color: var(--muted); }

/* Sample sites */
.work { background: var(--alt); border-top: 1px solid var(--line-soft); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.work-card {
  display: grid; align-items: center; gap: 1rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px;
  transition: translate .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.work-card:hover { translate: 0 -4px; box-shadow: 0 40px 80px -40px rgba(11, 13, 23, .25); border-color: rgba(45, 71, 201, .35); }
@media (min-width: 62rem) { .work-card { grid-template-columns: 5fr 7fr; gap: 1.5rem; } }
.work-text { display: grid; gap: .85rem; justify-items: start; padding: 2rem 1.5rem 0; }
@media (min-width: 62rem) { .work-text { padding: 3.5rem 1.5rem 3.5rem 3.5rem; } }
.work-kind { color: var(--muted); }
.work-name { font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.work-does { font-size: 1.125rem; color: var(--muted); max-width: 32rem; }
.work-actions { margin-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.more { font-weight: 500; text-decoration: none; padding: .6rem 0; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.work-visual { position: relative; display: block; padding: 1.5rem 1.5rem 2.5rem; border: 0; background: none; cursor: zoom-in; text-align: left; }
@media (min-width: 40rem) { .work-visual { padding: 3rem 4.5rem 4rem 1.5rem; } }
@media (min-width: 62rem) { .work-visual { padding: 3rem 4.5rem 4rem .5rem; } }
.browser { display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -25px rgba(11, 13, 23, .28), 0 0 0 1px rgba(11, 13, 23, .07); }
.browser-bar { height: 2rem; display: flex; align-items: center; gap: 7px; padding: 0 .9rem; background: #f4f5f8; border-bottom: 1px solid rgba(11, 13, 23, .06); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d5dd; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mini-phone { display: none; position: absolute; right: 1.5rem; bottom: 1.75rem; width: 150px; padding: 6px; border-radius: 28px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(11, 13, 23, .5); }
.mini-phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: 22px; object-fit: cover; object-position: top; }
@media (min-width: 40rem) { .mini-phone { display: block; } }

/* Dark sections */
.night { background-color: var(--night); color: var(--on-night); }
.night .eyebrow { color: var(--night-accent); }
.night .sub { color: var(--on-night-muted); }

/* Bookings */
.bookings {
  padding: 6rem 0;
  background-image: radial-gradient(56rem 30rem at 80% 0%, rgba(91, 124, 255, .28), rgba(91, 124, 255, 0) 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}
@media (min-width: 48rem) { .bookings { padding: 8.5rem 0; } }
.book-demo { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 62rem) { .book-demo { grid-template-columns: 4fr 8fr; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .25rem .35rem 1rem; }
.panel-head > p { font-weight: 600; }
.chip { font-size: .6875rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(142, 162, 255, .16); color: var(--night-soft); }
.chip-light { background: var(--accent-soft); color: var(--accent-ink); }
.requests { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 1.35rem; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.req { display: grid; grid-template-columns: auto 1fr; gap: .9rem .75rem; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 1rem; animation: pop .6s var(--ease) both; }
.req.leaving { animation: leave .35s ease both; }
.avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #1e2547; color: var(--night-soft); display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; animation: pulse 2.4s ease-in-out infinite; }
.req-name { font-weight: 600; font-size: .9375rem; }
.req-what { font-size: .8125rem; color: var(--on-night-muted); margin-top: .1rem; }
.req-actions { grid-column: 1 / -1; display: flex; gap: .5rem; }
.btn-approve, .btn-decline { flex: 1; min-height: 2.75rem; border-radius: 12px; font-size: .875rem; cursor: pointer; transition: background-color .2s, box-shadow .2s, scale .2s; }
.btn-approve:active, .btn-decline:active { scale: .97; }
.btn-approve { border: 0; background: #e9edff; color: var(--night); font-weight: 600; }
.btn-approve:hover { background: #fff; box-shadow: 0 10px 24px -10px rgba(142, 162, 255, .8); }
.btn-decline { border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; font-weight: 500; }
.btn-decline:hover { background: rgba(255, 255, 255, .1); }
.req-done { padding: 1.75rem 1rem; text-align: center; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 16px; display: grid; justify-items: center; gap: .8rem; }
.req-done[hidden] { display: none; }
.req-done p { font-weight: 600; }
.req-done .btn-decline { flex: none; padding: 0 1.2rem; border-radius: 999px; }
.toast { margin: 1rem .35rem .1rem; min-height: 1.1rem; color: var(--night-accent); text-transform: none; font-size: .6875rem; line-height: 1.5; }

.calendar { background: #fff; color: var(--ink); border-radius: 24px; padding: 1.35rem; box-shadow: 0 60px 120px -50px rgba(91, 124, 255, .6); min-width: 0; }
.cal-scroll { overflow-x: auto; margin: 0 -.35rem; padding: 0 .35rem .35rem; }
.cal { min-width: 38rem; display: grid; grid-template-columns: 2.75rem repeat(6, minmax(0, 1fr)); gap: 0 6px; }
.cal-day-name { text-align: center; color: var(--muted); margin-bottom: .5rem; }
.cal-hours { position: relative; height: calc(var(--row) * 10); }
.cal-hours span { position: absolute; left: 0; top: calc(var(--h) * var(--row) - 6px); font-size: .625rem; color: var(--muted); text-transform: none; }
.cal-col { position: relative; height: calc(var(--row) * 10); border-radius: 10px; background-color: var(--alt); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% var(--row); }
.slot { position: absolute; left: 4px; right: 4px; top: calc(var(--start) * var(--row) + 2px); height: calc(var(--len) * var(--row) - 4px); overflow: hidden; border-radius: 8px; padding: .3rem .5rem; background: #e3e8ff; color: var(--ink-hover); font-size: .6875rem; line-height: 1.25; animation: pop .6s var(--ease) both; }
.slot[hidden] { display: none; }
.slot b { display: block; font-size: .75rem; }
.slot.fresh { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -8px var(--accent); }

.flow { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow li { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.1rem; }
.flow .mono { color: var(--night-accent); font-size: .6875rem; }
.flow p + p { margin-top: .5rem; color: #d7dae6; }

/* Features: six equal tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: grid; align-content: start; gap: 1rem; background: var(--alt); border: 1px solid var(--line-soft); border-radius: 24px; padding: 2.25rem; transition: translate .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.tile:hover { translate: 0 -4px; box-shadow: 0 40px 80px -40px rgba(11, 13, 23, .25); border-color: rgba(45, 71, 201, .35); }
.tile svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-weight: 600; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.02em; }
.tile p { color: var(--muted); }

/* Price */
.price { background: var(--alt); border-top: 1px solid var(--line-soft); }
.prices { display: grid; gap: 1rem; max-width: 62.5rem; margin: 0 auto; }
@media (min-width: 48rem) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem; }
.price-card .mono { color: var(--muted); }
.price-card p:last-child { margin-top: 1.25rem; color: var(--muted); }
.amount { margin-top: 1.1rem; font-weight: 600; font-size: clamp(4rem, 9vw, 5.5rem); line-height: 1; letter-spacing: -.06em; }
.amount span { font-size: 1.625rem; letter-spacing: -.02em; color: var(--muted); }
.price-card-night { background-color: var(--night); color: #fff; border-color: var(--night); background-image: radial-gradient(31rem 16rem at 0% 0%, rgba(91, 124, 255, .3), rgba(91, 124, 255, 0) 70%); }
.price-card-night .mono { color: var(--night-soft); }
.price-card-night p:last-child { color: #c9cddc; }
.pay { margin-top: 2.75rem; display: grid; justify-items: center; gap: 1rem; text-align: center; }
.pay-note { display: flex; gap: .5rem; align-items: flex-start; max-width: 33rem; font-size: .875rem; color: var(--muted); text-align: left; }
.pay-note[hidden] { display: none; }
.pay-note svg { width: 1rem; height: 1rem; margin-top: .15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-list li { border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; }
.step-list .mono { color: var(--muted); }
.step-list h3 { margin-top: 2.5rem; font-weight: 600; font-size: 1.3125rem; letter-spacing: -.02em; }
.step-list h3 + p { margin-top: .5rem; color: var(--muted); }
.step-list .is-pay { border-color: var(--accent); background: #f4f6ff; }
.step-list .is-pay .mono { color: var(--accent-ink); }

/* FAQ */
.faq { background: var(--alt); border-top: 1px solid var(--line-soft); }
.faq-in { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .faq-in { grid-template-columns: 4fr 8fr; } }
.faq-list { display: grid; gap: .5rem; align-content: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.35rem 1.6rem; min-height: 4.25rem; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.125rem; transition: background-color .2s; }
.faq summary:hover { background: #fafbfc; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: #f1f2f6; transition: transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; border-radius: 2px; background: var(--ink); translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 1.6rem 1.5rem; color: var(--muted); max-width: 40rem; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Closing invitation */
.cta { text-align: center; background-image: radial-gradient(44rem 25rem at 50% 100%, rgba(91, 124, 255, .35), rgba(91, 124, 255, 0) 70%), radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 100% 100%, 22px 22px; }
.cta-in { max-width: 56rem; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 48rem) { .cta-in { padding-top: 10rem; padding-bottom: 10rem; } }
.cta h2 { font-size: clamp(2.4rem, 6.4vw, 4.75rem); line-height: 1; }
.cta .sub { max-width: 35rem; margin-left: auto; margin-right: auto; }
.cta .actions { margin-top: 2.5rem; }
.cta-mail { color: var(--night-soft); text-transform: none; font-size: .8125rem; text-decoration: none; padding: .9rem .75rem; }
.cta-mail:hover { color: #fff; }

/* Footer */
.foot { background: var(--night); color: #8f94a8; border-top: 1px solid rgba(255, 255, 255, .08); padding: 2.25rem 0 3.25rem; font-size: .8125rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.foot strong { color: #fff; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot a { color: #b9bdcc; text-decoration: none; }
.foot a:hover { color: #fff; }

/* The sample-site viewer */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff; background: rgba(10, 13, 28, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.viewer[open] { display: flex; flex-direction: column; animation: fade .35s ease both; }
.viewer::backdrop { background: transparent; }
.viewer-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.viewer-title { margin-right: auto; min-width: 0; }
.viewer-title p:first-child { font-weight: 600; font-size: 1.0625rem; }
.viewer-title .mono { color: var(--on-night-muted); font-size: .6875rem; margin-top: .1rem; }
.seg-night { background: rgba(255, 255, 255, .08); }
.seg-night button { color: #d7dae6; min-height: 2.5rem; padding: .5rem 1rem; }
.seg-night button:hover { color: #fff; }
.seg-night button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.viewer-out { display: inline-flex; align-items: center; gap: .4rem; color: #d7dae6; text-decoration: none; font-size: .875rem; min-height: 2.75rem; padding: 0 .6rem; border-radius: 999px; }
.viewer-out:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.viewer-out svg, .icon-btn svg, .nav-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.viewer-body { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: stretch; padding: 1.5rem 1rem; }
.viewer-frame { display: flex; flex-direction: column; width: 100%; max-width: 75rem; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 60px 140px -40px rgba(91, 124, 255, .55); animation: pop .55s var(--ease) both; transition: max-width .6s var(--ease), border-radius .6s var(--ease); }
.viewer-chrome { flex: none; height: 2.1rem; display: flex; align-items: center; gap: 7px; padding: 0 .9rem; background: #f4f5f8; border-bottom: 1px solid rgba(11, 13, 23, .06); }
.viewer-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d3d5dd; }
.viewer-frame iframe { flex: 1; width: 100%; border: 0; background: #fff; }
.viewer-body[data-size="phone"] { align-items: center; }
.viewer-body[data-size="phone"] .viewer-frame { max-width: 24.5rem; height: min(52.75rem, 100%); padding: 11px; border-radius: 56px; background: var(--ink); box-shadow: 0 60px 140px -40px rgba(91, 124, 255, .6), inset 0 0 0 1.5px #3a3d4a; }
.viewer-body[data-size="phone"] .viewer-chrome { display: none; }
.viewer-body[data-size="phone"] iframe { border-radius: 46px; }
.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1.25rem 1.25rem; }
.viewer-foot .mono { color: var(--on-night-muted); font-size: .6875rem; }
.nav-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: .875rem; cursor: pointer; transition: background-color .2s; }
.nav-btn:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 39.99rem) { .viewer-foot .mono, .viewer-out span { display: none; } .viewer-body { padding: 1rem .5rem; } }

/* Motion */
@keyframes pop { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes leave { to { opacity: 0; transform: translateX(-1.5rem); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(91, 124, 255, .55); } 50% { box-shadow: 0 0 0 6px rgba(91, 124, 255, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(3.5rem); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scale(.92); border-radius: 3.5rem; } to { transform: none; border-radius: 0; } }
@keyframes grow-card { from { transform: scale(.92); opacity: .5; } to { transform: none; opacity: 1; } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .grow { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .grow-card { animation: grow-card linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Legal and thank-you pages */
.page { padding: 4.5rem 0 6rem; }
.page .wrap { max-width: 46rem; }
.page h1 { font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.page h2 { font-size: 1.5rem; letter-spacing: -.03em; margin-top: 3rem; }
.page p, .page li { margin-top: .85rem; color: #3d404d; }
.page ul { padding-left: 1.25rem; }
.page .btn { margin-top: 2.5rem; }
.page-card { margin-top: 2rem; padding: 2rem; border-radius: 24px; background: var(--alt); border: 1px solid var(--line-soft); }
.page-card p:first-child { margin-top: 0; }
.check { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1.75rem; animation: pop .6s var(--ease) both; }
.check svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
