/* NotchBloom site. Flat fields of colour, one typeface, tokens only. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: optional;
}

:root {
  color-scheme: dark;
  --violet: #5723d5;
  --ink: #131118;
  --paper: #f4f2f0;
  --coral: #ff5b2e;
  --pink: #ff3ea5;
  --white: #ffffff;
  --soft-on-violet: #dccffb;
  --soft-on-ink: #c9c4d4;
  --soft-on-paper: #4f4a58;
  --margin: clamp(20px, 4.4vw, 64px);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-sub: clamp(1.75rem, 3vw, 2.6875rem);
  --step-statement: clamp(1.5rem, 2.5vw, 2.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 7.2vw, 6.5rem);
  --step-display: clamp(3.25rem, 12vw, 10.8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; text-decoration-color: transparent; transition: text-decoration-color 300ms ease; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--pink); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }

.skip { position: absolute; left: var(--margin); top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 12px; font-weight: 600; transition: transform 300ms var(--ease-out); }
.skip:focus { transform: translateY(104px); }

/* Fields */
.field { padding-inline: var(--margin); }
.field-violet { background: var(--violet); color: var(--white); --soft: var(--soft-on-violet); }
.field-ink { background: var(--ink); color: var(--white); --soft: var(--soft-on-ink); }
.field-paper { background: var(--paper); color: var(--ink); --soft: var(--soft-on-paper); }
.field-coral { background: var(--coral); color: var(--ink); --soft: var(--ink); }
.inner { max-width: 1440px; margin-inline: auto; }

/* Type */
.display { font-weight: 800; letter-spacing: -0.05em; line-height: 0.88; text-wrap: balance; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-sub); }
p { text-wrap: pretty; }
.soft { color: var(--soft); }
.small { font-size: var(--step-small); }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  background: var(--coral); color: var(--ink); border: 0; border-radius: 12px; cursor: pointer;
  font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 300ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--step-small); border-radius: 8px; }
.on-coral .btn, .field-coral .btn { background: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--white); } .field-coral .btn:hover { background: var(--white); color: var(--ink); } }
.link { font-weight: 600; text-decoration-color: currentColor; }

/* Bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: var(--step-body); letter-spacing: -0.03em; text-decoration: none; }
.wordmark img { width: 32px; height: 32px; border-radius: 8px; }
.bar nav { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: var(--step-small); }
.bar nav a[aria-current="page"] { text-decoration-color: currentColor; }
@media (max-width: 860px) { .bar nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; min-height: 100svh; padding-bottom: 64px; overflow: hidden; }
.sentence { font-size: var(--step-display); max-width: 11em; margin-top: clamp(8px, 3vw, 48px); }
.sentence .line:first-child { position: relative; z-index: 2; }
.sentence .line { display: block; clip-path: inset(-0.2em -0.1em -0.1em -0.1em); }
.notch {
  position: relative; z-index: 2;
  display: inline-block; vertical-align: -0.01em; width: 2.35em; height: 0.72em; margin-inline: 0.04em;
  background: var(--ink); border: 0; padding: 0; border-radius: 0 0 0.36em 0.36em; cursor: pointer; color: var(--white);
  transition: transform 160ms var(--ease-out), width 400ms var(--ease-out);
}
.notch:active { transform: scale(0.97); }
.notch:focus-visible { outline: 4px solid var(--coral); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .notch:hover { width: 2.6em; } }
.hero-copy { margin-top: clamp(40px, 5.5vw, 80px); max-width: 34rem; display: grid; gap: 32px; justify-items: start; }
.hero-copy .note { max-width: 30rem; }
.hero-art { position: absolute; right: var(--margin); bottom: -40px; width: min(46vw, 720px); pointer-events: none; z-index: 0; }
.hero-art img { width: 100%; height: auto; }
.hero .inner > *:not(.hero-art) { position: relative; z-index: 1; }

/* Static fallback for the live panel, only when scripting is off */
.static-panel { display: none; margin-top: 32px; max-width: 600px; border-radius: 0 0 28px 28px; overflow: hidden; background: #000; }
.static-panel img { width: 100%; height: auto; }
@media (scripting: none) { .static-panel { display: block; } .notch { cursor: default; } .try { display: none; } }

/* The live panel: a 440 x 236 replica of the app, scaled with zoom from script.js */
.live { position: absolute; top: 0; left: 0; z-index: 5; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(0.92); transform-origin: 50% 0; transition: opacity 240ms ease, transform 500ms var(--ease-out), visibility 0s linear 500ms; }
.live.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 240ms ease, transform 500ms var(--ease-out), visibility 0s; }
.live-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: var(--step-small); color: var(--white); }
.live-meta button { min-height: 44px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.live-meta button:hover { background: var(--white); color: var(--ink); }
[data-ui] { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', sans-serif; }
[data-ui].panel { position: relative; width: 440px; height: 236px; background: #000; color: #f2f2f2; border-radius: 0 0 24px 24px; overflow: hidden; font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-align: left; }
[data-ui] button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[data-ui] button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
[data-ui] p, [data-ui] h3 { margin: 0; }
[data-ui] svg { display: block; fill: currentColor; }
[data-ui] .tabs { position: absolute; top: 36px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
[data-ui] .tab { width: 34px; height: 22px; border-radius: 11px; display: grid; place-items: center; color: #b4b4b8; transition: background-color 200ms ease, color 200ms ease; }
[data-ui] .tab svg { width: 15px; height: 15px; }
[data-ui] .tab:hover { color: #fff; }
[data-ui] .tab[aria-selected="true"] { background: #2e2e2e; color: #fff; }
[data-ui] .st, [data-ui] .st * { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
[data-ui] .view { position: absolute; top: 64px; left: 0; right: 0; height: 129px; }
[data-ui] .view[hidden] { display: none; }
[data-ui] .view > * { position: absolute; }
[data-ui] .foot { position: absolute; left: 28px; right: 28px; top: 194px; height: 24px; display: flex; align-items: center; color: #8e8e93; font-size: 10.7px; }
[data-ui] .foot .link { color: #8e8e93; padding: 4px 0; }
[data-ui] .foot .link:hover, [data-ui] .foot .gear:hover { color: #fff; }
[data-ui] .foot .gear { margin-left: 9px; color: #8e8e93; width: 16px; height: 16px; }
[data-ui] .foot .gear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
[data-ui] .foot .quit { margin-left: auto; }
/* now playing */
[data-ui] .art { left: 28px; top: 10px; width: 72px; height: 72px; border-radius: 10px; }
[data-ui] .title { left: 114px; width: 298px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; top: 7px; font-size: 13.2px; font-weight: 700; color: #ececec; }
[data-ui] .artist { left: 114px; width: 298px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; top: 23px; font-size: 11.5px; color: #8e8e93; }
[data-ui] .scrub { left: 114px; width: 298px; top: 43px; height: 5px; border-radius: 3px; background: #3a3a3c; overflow: hidden; }
[data-ui] .scrub i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0.6); }
[data-ui] .t-now, [data-ui] .t-end { top: 50px; font-size: 10.3px; color: #8e8e93; }
[data-ui] .t-now { left: 114px; } [data-ui] .t-end { right: 28px; }
[data-ui] .ctrl { left: 114px; width: 298px; top: 64px; height: 24px; display: flex; justify-content: center; align-items: center; gap: 9px; }
[data-ui] .ctrl button { position: relative; display: grid; place-items: center; width: 36px; height: 24px; color: #e6e6e6; border-radius: 6px; }
[data-ui] .ctrl button:hover { color: #fff; }
[data-ui] .ctrl svg { width: 18px; height: 12px; }
[data-ui] .ctrl #np-play svg { width: 11px; height: 14px; }
[data-ui] #np-play[aria-pressed="true"] .ic-play, [data-ui] #np-play[aria-pressed="false"] .ic-pause { display: none; }
/* shelf */
[data-ui] .drop { left: 28px; right: 28px; top: 0; height: 129px; border: 1px dashed #3a3a3c; border-radius: 14px; }
[data-ui] .drop .clear { right: 6px; top: 1px; position: absolute; color: #8e8e93; font-size: 10.4px; padding: 4px; }
[data-ui] .drop .clear:hover { color: #fff; }
[data-ui] .files { position: absolute; left: 2px; top: 23px; display: flex; gap: 0; width: 100%; }
[data-ui] .file { position: relative; width: 76px; height: 62px; text-align: center; font-size: 10.2px; color: #f2f2f2; }
[data-ui] .file svg { margin: 0 auto; width: 26px; height: 31px; }
[data-ui] .file > span { position: absolute; left: -6px; right: -6px; top: 36px; white-space: nowrap; font-size: 10.2px; }
[data-ui] .file > button { position: absolute; left: 50%; margin-left: 19px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: #8e8e93; color: #000; }
[data-ui] .file > button svg { width: 12px; height: 12px; fill: none; stroke: #000; stroke-width: 1.400; stroke-linecap: round; }
[data-ui] .empty { left: 0; right: 0; top: 50px; text-align: center; color: #8e8e93; padding: 0 24px; }
/* clipboard */
[data-ui] #v-clip .clear { right: 29px; top: -3px; color: #8e8e93; font-size: 10.2px; padding: 2px 0; }
[data-ui] #v-clip .clear:hover { color: #fff; }
[data-ui] .clips { left: 28px; right: 28px; top: 17px; display: grid; gap: 2px; }
[data-ui] .clip { position: relative; display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; height: 24px; background: #1a1a1a; border-radius: 6px; font-size: 11px; color: #f2f2f2; }
[data-ui] .clip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-ui] .clip button { height: 24px; color: #8e8e93; display: grid; place-items: center; }
[data-ui] .clip button:hover { color: #fff; }
[data-ui] .clip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.200; stroke-linecap: round; stroke-linejoin: round; }
[data-ui] .clip .x svg { width: 10px; height: 10px; stroke-width: 1.300; }
[data-ui] .clip .pin[aria-pressed="true"] { color: #0a84ff; }
[data-ui] .clip .pin[aria-pressed="true"] svg { fill: currentColor; }
/* timer */
[data-ui] .clock { left: 0; width: 300px; top: 33px; text-align: center; font-size: 38.2px; font-weight: 300; line-height: 50px; font-variant-numeric: tabular-nums; color: #ececec; }
[data-ui] .phase { left: 0; width: 300px; top: 82.5px; text-align: center; color: #8e8e93; font-size: 10.5px; }
[data-ui] .pill { height: 20px; border-radius: 7px; background: #1c1c1e; color: #f2f2f2; font-size: 11.3px; font-weight: 500; }
[data-ui] .pill:hover { background: #2c2c2e; }
[data-ui] #tm-go { left: 235px; top: 29px; width: 52px; } [data-ui] #tm-reset { left: 295px; top: 29px; width: 50px; }
[data-ui] .mode { top: 55px; height: 16px; font-size: 11.5px; font-weight: 600; color: #8e8e93; }
[data-ui] .mode.on { color: #fff; } [data-ui] #tm-focus { left: 235px; } [data-ui] #tm-break { left: 274px; }
[data-ui] .mins { top: 83px; font-size: 10.5px; color: #ececec; line-height: 14px; }
[data-ui] .m-focus { left: 235px; } [data-ui] .m-break { left: 303px; }
[data-ui] .step { top: 79px; width: 17px; height: 21px; border-radius: 5px; background: #1c1c1e; display: grid; grid-template-rows: 1fr 1fr; }
[data-ui] .s-focus { left: 276px; } [data-ui] .s-break { left: 339px; }
[data-ui] .step button { display: grid; place-items: center; color: #aeaeb2; }
[data-ui] .step button:hover { color: #fff; }
[data-ui] .step svg { width: 8px; height: 5px; fill: none; stroke: currentColor; stroke-width: 1.400; stroke-linecap: round; stroke-linejoin: round; }
[data-ui] .done { left: 235px; top: 104px; color: #ff8f6a; font-size: 11px; font-weight: 600; width: 170px; }
/* today */
[data-ui] .ev { left: 0; right: 0; height: 14px; font-size: 10.5px; }
[data-ui] .ev i { position: absolute; left: 28px; top: 3px; width: 7px; height: 7px; border-radius: 50%; }
[data-ui] .ev .when { position: absolute; left: 41px; color: #8e8e93; white-space: nowrap; }
[data-ui] .ev .what { position: absolute; left: 139px; color: #f2f2f2; font-size: 11.3px; white-space: nowrap; }
[data-ui] .batt { left: 280px; top: 6.5px; display: flex; align-items: center; gap: 3.5px; }
[data-ui] .batt svg { width: 20px; height: 10px; } [data-ui] .batt b { font-size: 11px; font-weight: 600; color: #fff; } [data-ui] .batt small { font-size: 9.3px; margin-left: 2px; color: #8e8e93; }
[data-ui] .meter { left: 280px; width: 132px; height: 22px; font-size: 9.5px; color: #8e8e93; font-variant-numeric: tabular-nums; }
[data-ui] .meter span:nth-child(2) { position: absolute; right: 0; top: 0; }
[data-ui] .meter i { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: #2c2c2e; overflow: hidden; }
[data-ui] .meter i b { display: block; height: 100%; background: #fff; transform-origin: 0 50%; }
/* mirror */
[data-ui] .cam { left: 207px; top: 34px; width: 26px; height: 19px; fill: none; }
[data-ui] .cam-msg { left: 0; right: 0; top: 60px; text-align: center; color: #8e8e93; font-size: 10.3px; }
[data-ui] .allow { left: 176px; top: 79px; width: 88px; height: 20px; font-size: 10.9px; }

/* Features */
.features { padding-block: clamp(80px, 9vw, 144px); }
.features-head { min-height: 50svh; display: grid; align-content: center; padding-bottom: 64px; }
.features-head h2 { max-width: 10em; }
.features-head p { margin-top: 32px; max-width: 34rem; font-size: var(--step-lead); line-height: 1.3; }
.rows { display: grid; gap: clamp(80px, 10vw, 160px); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.row .tile { background: var(--violet); border-radius: 24px; overflow: hidden; }
.row .tile img { width: 100%; height: auto; }
.row .text h3 { max-width: 12em; }
.row .text p { margin-top: 20px; max-width: 32rem; }
.row .ui { border-radius: 20px; overflow: hidden; background: #000; }
.row .ui img { width: 100%; height: auto; }
.row .ui.hang { border-radius: 0 0 24px 24px; }
/* four arrangements, never two the same in a row */
.row.a .tile { grid-column: 1 / span 3; } .row.a .text { grid-column: 4 / span 4; } .row.a .ui { grid-column: 8 / span 5; }
.row.b .ui { grid-column: 1 / span 5; order: 1; } .row.b .text { grid-column: 6 / span 4; order: 2; } .row.b .tile { grid-column: 10 / span 3; order: 3; }
.row.c .text { grid-column: 1 / span 4; } .row.c .tile { grid-column: 5 / span 4; } .row.c .ui { grid-column: 9 / span 4; align-self: end; }
.row.d .tile { grid-column: 1 / span 4; } .row.d .ui { grid-column: 5 / span 5; align-self: start; } .row.d .text { grid-column: 10 / span 3; align-self: end; }
.features-more { margin-top: clamp(80px, 10vw, 144px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.features-more h3 { grid-column: 1 / span 4; }
.features-more p { grid-column: 5 / span 7; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 40rem; }

/* Privacy */
.privacy { padding-block: clamp(80px, 9vw, 144px); }
.privacy .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 24px; align-items: start; }
.privacy h2 { grid-column: 1 / -1; line-height: 0.9; margin-bottom: 40px; }
.privacy .never { grid-column: 1 / span 7; font-size: var(--step-statement); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; margin-top: 0; }
.privacy .never .l { color: #8d879c; transition: color 400ms var(--ease-out); }
.privacy .never .l.lit { color: var(--white); }
.privacy .only { grid-column: 9 / span 4; margin-top: 8px; color: var(--soft); }
.privacy .only a { color: var(--white); font-weight: 600; text-decoration-color: currentColor; }
.privacy .go { grid-column: 1 / span 7; margin-top: 8px; }

/* How it works: the bar */
.how { padding-block: clamp(80px, 9vw, 144px); }
.how h2 { max-width: 9em; margin-bottom: 64px; }
.stages { display: flex; gap: 6px; align-items: stretch; }
.seg { display: flex; flex-direction: column; gap: 16px; border-radius: 16px; padding: 24px; color: var(--ink); transform-origin: 0 50%; min-width: 0; }
.seg > b { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.seg p { font-size: var(--step-body); line-height: 1.4; }
.seg-1 { flex: 2 1 0; background: var(--coral); }
.seg-2 { flex: 4 1 0; background: var(--paper); }
.seg-3 { flex: 2 1 0; background: var(--pink); }

/* Pricing */
.pricing { padding-block: clamp(80px, 9vw, 144px); }
.pricing .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.pricing h2 { grid-column: 1 / -1; line-height: 0.95; letter-spacing: -0.05em; }
.price { display: inline-block; background: var(--coral); color: var(--ink); padding: 0 0.15em; border-radius: 0.12em; line-height: 0.96; }
.pricing .sub { grid-column: 1 / span 5; margin-top: 64px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; align-self: start; }
.pricing .sub small { display: block; margin-top: 16px; font-size: var(--step-body); color: var(--soft); letter-spacing: -0.01em; line-height: 1.45; }
.pricing .buy { grid-column: 6 / span 3; margin-top: 64px; align-self: start; }
.pricing .tile { grid-column: 9 / span 4; background: var(--violet); border-radius: 24px; overflow: hidden; margin-top: 64px; }
.pricing .tile img { width: 100%; height: auto; }

/* FAQ */
.faq { padding-block: clamp(80px, 9vw, 144px); }
.faq .qa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(36px, 5vw, 44px); align-items: start; }
.faq .qa h3 { grid-column: 1 / span 6; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.faq .qa p { grid-column: 8 / span 5; color: var(--soft-on-ink); line-height: 1.55; max-width: 40ch; }
.faq .qa p a { color: var(--white); }
.faq .head h2 { grid-column: 1 / span 6; font-size: var(--step-sub); line-height: 1.08; letter-spacing: -0.03em; color: #8d879c; }
.faq .head .qa-side { grid-column: 8 / span 5; color: var(--soft-on-ink); }

/* Final call */
.cta { display: grid; place-items: center; text-align: center; padding-block: clamp(96px, 11vw, 176px); }
.cta h2 { font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.05em; max-width: 7em; margin-inline: auto; }
.cta p { margin: 32px auto 0; max-width: 32rem; color: var(--soft); }
.cta .btn { margin-top: 32px; }

/* Footer */
.footer { padding-block: 40px 40px; display: flex; flex-direction: column; }
.footer .inner { flex: 1; display: flex; flex-direction: column; width: 100%; }
.footer .top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; font-size: var(--step-small); font-weight: 500; }
.footer .top .brand { grid-column: 1 / span 3; font-weight: 800; }
.footer .top .notes { grid-column: 4 / span 6; display: grid; gap: 4px; }
.footer .top .up { grid-column: 11 / span 2; justify-self: end; }
.footer .top a, .footer .meta a { display: inline-flex; align-items: center; min-height: 44px; }
.footer .mail { margin-top: auto; padding-top: 96px; font-size: var(--step-head); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; text-decoration: none; display: block; word-break: normal; }
.footer .mail span { display: inline; }
.footer .meta { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: var(--step-small); font-weight: 500; }
.footer .meta nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer .meta .mid { text-align: center; }
.footer .meta .end { text-align: right; }
.footer .fine { margin-top: 16px; font-size: var(--step-small); max-width: 60ch; }

/* Document pages */
.doc { padding-block: clamp(48px, 8vw, 112px) clamp(96px, 10vw, 160px); }
.doc .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.doc .copy { grid-column: 1 / span 7; min-width: 0; }
.doc .doc-art { grid-column: 9 / span 4; position: sticky; top: 24px; background: var(--violet); border-radius: 24px; overflow: hidden; }
.doc .doc-art img { width: 100%; height: auto; }
.doc h1 { font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.05em; max-width: 9em; }
.doc .meta { margin-top: 20px; color: var(--soft-on-ink); font-size: var(--step-small); }
.doc .lead-in { margin-top: 32px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }
.doc h2 { margin-top: 64px; font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.1; }
.doc p, .doc li { margin-top: 16px; color: var(--soft-on-ink); }
.doc li { padding-inline-start: 20px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.doc ul { display: grid; gap: 4px; margin-top: 8px; }
.doc a { color: var(--white); text-decoration-color: currentColor; }
.doc strong { color: var(--white); font-weight: 600; }
.doc .actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.doc .actions a.btn { color: var(--ink); text-decoration: none; }
.doc .qa { display: grid; gap: 8px; margin-top: 48px; }
.doc .qa h2 { margin-top: 40px; font-size: var(--step-lead); }
.doc .qa h2 + p { margin-top: 8px; }

/* Motion: everything is visible without it */
@media (prefers-reduced-motion: no-preference) {
  .hero .line > span { display: inline-block; animation: rise 900ms var(--ease-expo) backwards; animation-delay: calc(100ms + var(--i, 0) * 110ms); }
  .hero [data-load] { animation: fadeup 600ms var(--ease-out) backwards; animation-delay: var(--d, 400ms); }
  .hero-art { animation: open 800ms cubic-bezier(0.65, 0, 0.35, 1) backwards; }
  .hero-art img { animation: settle 1200ms var(--ease-expo) backwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .seg[data-grow] { transform: scaleX(0); transition: transform 1000ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js .seg[data-grow].is-in { transform: none; }
  .js .tile[data-reveal] img { transform: scale(1.1); transition: transform 1400ms var(--ease-expo); }
  .js .tile[data-reveal].is-in img { transform: none; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } }
@keyframes open { from { clip-path: inset(0 0 70% 0); } }
@keyframes settle { from { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live, .live.is-open { transition: opacity 200ms ease; transform: none; }
  .privacy .never .l { transition: none; }
}

/* Tablet */
@media (max-width: 1000px) {
  .doc .copy, .doc .doc-art { grid-column: 1 / -1; }
  .doc .doc-art { position: static; max-width: 320px; }
  .doc .inner { grid-template-columns: minmax(0, 1fr); }
  .row, .features-more, .privacy .grid, .pricing .grid, .faq .qa, .footer .top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .row .tile, .row .text, .row .ui, .features-more h3, .features-more p, .privacy h2, .privacy .never, .privacy .only, .privacy .go, .pricing h2, .pricing .sub, .pricing .buy, .pricing .tile, .faq .qa h3, .faq .qa p, .faq .head h2, .faq .head .qa-side, .footer .top .brand, .footer .top .notes, .footer .top .up { grid-column: 1 / -1 !important; order: 0 !important; }
  .row .tile { max-width: 320px; } .row.b .tile, .row.d .tile { margin-inline-start: auto; }
  .row .ui { max-width: 600px; }
  .row .text { order: -1 !important; }
  .row .text + .tile { }
  .footer .top .up { justify-self: start; }
  .pricing .tile { max-width: 360px; margin-top: 32px; }
  .pricing .sub, .pricing .buy { margin-top: 32px; }
  .privacy .never { margin-top: 24px; }
  .faq .qa { gap: 12px; padding-block: 36px; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-art { position: relative; right: auto; bottom: auto; width: 86%; margin: 32px 0 0 auto; }
  .footer { min-height: 0; }
  .footer .mail { padding-top: 96px; }
}

/* Phone */
@media (max-width: 640px) {
  .sentence { font-size: 15vw; }
  h2 { font-size: 2.5rem; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-art { position: relative; right: auto; bottom: auto; width: 112%; margin: 24px -6% 0; }
  .hero-copy { margin-top: 24px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .stages { flex-direction: column; }
  .seg { flex: none !important; }
  .footer { min-height: 0; }
  .footer .mail { padding-top: 48px; font-size: clamp(1.75rem, 9.4vw, 3rem); }
  .footer .mail span { display: block; }
  .footer .meta { grid-template-columns: 1fr; gap: 12px; }
  .footer .meta .mid, .footer .meta .end { text-align: left; }
  .live { position: relative; top: auto !important; left: auto !important; margin-top: 24px; }
  .cta { min-height: 0; padding-block: 80px; }
}
