/* ==========================================================================
   StoreMore website design (November 2026): stacked rounded boards on a soft grey backdrop, a
   night-blue board for each page's opening and the footer, StoreMore Blue for actions, Onest 800
   headlines, and real recordings of the app. Loaded after styles.css, presets.css and pages.css
   on every page, so it restyles their shared parts (header, page hero, content, footer) without
   changing how forms, the Subscribe popup or the consent card work.
   The look is the same whatever style is saved: the style only matters to the app now.
   ========================================================================== */

:root[data-preset] {
  --backdrop: #e7e7ec;
  --night: #07101f;
  --night-2: #0d2350;
  --sky: #59b8ff;
  --blue: #0071e3;
  --verified: #1d8a3a;
  --verified-tint: #e6f4e9;
  --on-dark: #f5f5f7;
  --on-dark-2: #a3a6b3;
  --dark-line: #262a38;
  --board-r: 32px;
  --board-gap: clamp(10px, 1.4vw, 18px);
  --board-pad: clamp(24px, 5vw, 80px);
  --header-room: 76px;
  --primary: #0071e3;
  --primary-hover: #0062c4;
  --primary-active: #0058b0;
  --on-primary: #ffffff;
}
:root[data-preset][data-theme="dark"] {
  --backdrop: #050608;
  --verified: #45c46c;
  --verified-tint: #12291a;
}

html { scroll-padding-top: 104px; }
body { background: var(--backdrop); }

/* ---------- Header: a floating glass bar ---------- */

.nav {
  position: fixed;
  top: calc(var(--board-gap) + 8px);
  left: 50%;
  translate: -50% 0;
  width: min(100% - 2 * var(--board-gap) - 16px, 1240px);
  border: 0;
  border-radius: 999px;
  background: rgb(7 16 31 / 0.62);
  color: var(--on-dark);
  box-shadow: 0 12px 40px -22px rgb(0 0 0 / 0.65), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled { border: 0; }
.nav.on-light {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--ink);
  box-shadow: 0 12px 40px -26px rgb(13 35 80 / 0.45), inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
}
/* The bar's own padding keeps the logo and the button inside its rounded ends (this beats the
   container padding the header element also carries). */
.nav > .nav-inner { height: 56px; gap: 16px; padding: 0 8px 0 20px; }
.nav .brand { color: inherit; font-size: 1.125rem; }
.nav:not(.on-light) .brand-r, .footer .brand-r { color: var(--sky); }
.nav .brand-mark { width: 28px; height: 28px; }
.nav-menu a { color: inherit; opacity: 0.8; font-weight: 500; }
.nav-menu a:hover { background: rgb(255 255 255 / 0.1); color: inherit; opacity: 1; }
.nav.on-light .nav-menu a:hover { background: var(--surface-2); }
.nav .btn-primary { min-height: 40px; padding-inline: 18px; font-size: 0.875rem; }
@media (min-width: 861px) { .nav-menu a { padding: 7px 12px; font-size: 0.875rem; } }
.nav .icon-btn { border: 1px solid rgb(255 255 255 / 0.2); background: transparent; color: inherit; }
.nav.on-light .icon-btn { border-color: var(--line-strong); }
@media (max-width: 860px) {
  .nav > .nav-inner { padding-left: 14px; }
  .nav-menu {
    top: calc(100% + 8px);
    padding: 10px;
    border: 0;
    border-radius: 24px;
    background: var(--night);
    box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  }
  .nav.on-light .nav-menu { background: var(--surface); box-shadow: 0 30px 60px -30px rgb(13 35 80 / 0.45), inset 0 0 0 1px var(--line); }
  .nav-menu a { border-radius: 14px; opacity: 1; }
}

/* ---------- Boards ---------- */

main#main { display: grid; gap: var(--board-gap); padding: var(--board-gap); }

.board {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--board-r);
  padding: var(--board-pad);
  background: var(--surface);
  color: var(--ink);
}
.board > .board-inner, .board > .container { max-width: 1240px; margin-inline: auto; padding-inline: 0; }
.tone-night { background: radial-gradient(70% 60% at 85% 10%, rgb(0 113 227 / 0.5), transparent 60%), radial-gradient(50% 50% at 10% 95%, rgb(255 79 139 / 0.18), transparent 60%), var(--night); color: var(--on-dark); }
.tone-paper { background: var(--surface-2); }
.tone-blue { background: radial-gradient(80% 70% at 100% 0%, rgb(89 184 255 / 0.5), transparent 60%), linear-gradient(150deg, var(--blue), var(--night-2) 70%); color: #fff; }
.tone-soft { background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 88%, #6aa8ff) 60%, color-mix(in srgb, var(--surface) 90%, #ff9b7a) 100%); }
.tone-ai { background: radial-gradient(60% 70% at 0% 0%, rgb(89 184 255 / 0.22), transparent 60%), radial-gradient(50% 60% at 100% 100%, rgb(255 79 139 / 0.2), transparent 60%), #0c0f1a; color: var(--on-dark); }

.board-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 64px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.board-meta span:last-child { opacity: 0.7; }
.board-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.board-title { margin: 10px 0 0; font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; text-wrap: balance; }
.board-title .soft { color: var(--ink-3); }
.board-copy { max-width: 32em; margin: 0; color: var(--ink-3); font-size: 1.05rem; text-wrap: pretty; }
.board-copy + .board-copy { margin-top: 14px; }
.board-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
:is(.tone-night, .tone-ai) :is(.board-meta) { color: var(--on-dark-2); border-color: var(--dark-line); }
:is(.tone-night, .tone-ai) :is(.board-kicker, .board-copy) { color: var(--on-dark-2); }
:is(.tone-night, .tone-ai) .board-title .soft { color: #5d6170; }
.tone-blue .board-meta { color: rgb(255 255 255 / 0.78); border-color: rgb(255 255 255 / 0.22); }
.tone-blue :is(.board-kicker, .board-copy) { color: rgb(255 255 255 / 0.84); }
@media (max-width: 860px) { .board-head { grid-template-columns: 1fr; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-onDark { border: 1px solid rgb(255 255 255 / 0.26); background: transparent; color: var(--on-dark); }
.btn-onDark:hover { background: rgb(255 255 255 / 0.08); }
.btn-light { background: #fff; color: var(--night-2); }
.btn-light:hover { background: #eef3fb; }

/* ---------- Devices ---------- */

.device-phone {
  --w: 260px;
  position: relative;
  flex: none;
  width: var(--w);
  margin: 0;
  aspect-ratio: 390 / 844;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(145deg, #2a2b31, #0b0c10 40%, #1b1c21);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.65), inset 0 0 0 1.5px rgb(255 255 255 / 0.14);
}
.device-phone :is(video, img) { width: 100%; height: 100%; border-radius: calc(var(--w) * 0.132); background: #f4f4f6; object-fit: cover; object-position: top; }
.device-browser { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 60px 120px -50px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(13 35 80 / 0.08); }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #e4e4ea; background: #f1f1f4; }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; }
.device-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar b { margin-inline: auto; padding: 4px 18px; border-radius: 8px; background: #fff; color: #6b6c75; font-size: 0.8rem; font-weight: 500; }
.device-browser video { width: 100%; aspect-ratio: 1280 / 800; object-fit: cover; object-position: top; }

/* ---------- Home: hero ---------- */

.board.hero { min-height: min(100vh, 1000px); display: flex; flex-direction: column; padding-top: calc(var(--board-pad) + var(--header-room)); text-align: left; }
.board.hero::before { display: none; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgb(89 184 255 / 0.2); }
.board.hero h1 { margin: 22px 0; color: var(--on-dark); font-size: clamp(3.4rem, 8.4vw, 8.4rem); font-weight: 800; letter-spacing: -0.058em; line-height: 0.88; }
.board.hero h1 em { color: var(--sky); font-style: normal; }
.board.hero .board-copy { max-width: 30em; font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.assurances { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.assurances li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark-2); font-size: 0.86rem; }
.assurances .i { width: 15px; height: 15px; color: #5fd38b; }
.hero-stage { position: relative; height: clamp(460px, 58vw, 720px); }
.hero-stage .device-phone { position: absolute; top: 50%; left: 50%; }
.hero-stage .p-left { --w: clamp(150px, 14vw, 220px); transform: translate(-126%, -46%) rotate(-8deg); }
.hero-stage .p-centre { --w: clamp(190px, 18.5vw, 285px); z-index: 2; transform: translate(-50%, -50%); }
.hero-stage .p-right { --w: clamp(150px, 14vw, 220px); transform: translate(26%, -46%) rotate(8deg); }
.hero-glow { position: absolute; inset: 15% 10%; z-index: -1; background: radial-gradient(closest-side, rgb(89 184 255 / 0.35), transparent); filter: blur(30px); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgb(255 255 255 / 0.95); color: #0b0c10; box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.55); font-size: 0.8rem; line-height: 1.3; }
.float-card strong { display: block; font-size: 0.9rem; }
.float-card > span:first-child { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.float-card .i { width: 18px; height: 18px; }
.float-ok { left: 4%; bottom: 10%; }
.float-ok > span:first-child { background: #e6f4e9; color: #1d8a3a; }
.float-free { right: 3%; top: 8%; }
.float-free > span:first-child { background: #e5f0fd; color: #0071e3; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--dark-line); color: var(--on-dark-2); font-size: 0.85rem; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { height: clamp(420px, 118vw, 640px); }
  .hero-stage .p-left, .hero-stage .p-right { --w: clamp(112px, 29vw, 200px); }
  .hero-stage .p-centre { --w: clamp(150px, 40vw, 250px); }
  .hero-stage .p-left { transform: translate(-116%, -46%) rotate(-8deg); }
  .hero-stage .p-right { transform: translate(16%, -46%) rotate(8deg); }
  .float-card { font-size: 0.74rem; }
  .float-card > span:first-child { width: 28px; height: 28px; }
}

/* ---------- Home: promise and facts ---------- */

.statement { margin: 0; font-size: clamp(2.6rem, 6.2vw, 5.8rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.94; text-wrap: balance; }
.statement em { color: var(--primary); font-style: normal; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.facts > div { padding: 24px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.facts span { display: block; margin-top: 10px; color: var(--ink-3); font-size: 0.92rem; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
}

/* ---------- Home: features, with the app's own parts moving ---------- */

.feat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.feat { grid-column: span 4; min-width: 0; min-height: 280px; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.feat.wide { grid-column: span 8; }
.feat.half { grid-column: span 6; }
.feat h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
.feat p { margin: 0; color: var(--ink-3); font-size: 0.96rem; }
.feat-demo { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-top: 14px; }
.demo-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center; width: 100%; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.status .i { width: 15px; height: 15px; }
.status-ok { background: var(--verified-tint); color: var(--verified); }
.status-wait, .status-skip { background: var(--surface-2); color: var(--ink-3); }
.file-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; width: 100%; min-width: 0; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 0.88rem; }
.file-row .thumb { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.file-row .name { flex: 1 1 0; min-width: 0; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file-row .state { display: grid; justify-items: end; min-width: 100px; }
.file-row .state > * { grid-area: 1 / 1; }
.thumb-1 { background: linear-gradient(180deg, #ffb88c, #de6262 55%, #3a1c71); }
.thumb-2 { background: linear-gradient(180deg, #a1c4fd, #c2e9fb 45%, #1b4965); }
.thumb-3 { background: linear-gradient(180deg, #fceabb, #f8b500 50%, #2d4a2b); }
.thumb-4 { background: linear-gradient(180deg, #c1dfc4, #6b8f71 70%, #33533a); }
.thumb-5 { background: linear-gradient(180deg, #ffecd2, #fcb69f 55%, #3e2723); }
.thumb-6 { background: linear-gradient(180deg, #89f7fe, #66a6ff 55%, #0b1a3a); }
.thumb-7 { background: linear-gradient(180deg, #d4fc79, #96e6a1 55%, #14402a); }
:root[data-motion="on"] .file-row .state .wait { animation: sm-wait 6s infinite; }
:root[data-motion="on"] .file-row .state .done { animation: sm-done 6s infinite; }
:root[data-motion="off"] .file-row .state .wait { opacity: 0; }
.file-row:nth-child(2) .state > * { animation-delay: 0.7s !important; }
.file-row:nth-child(3) .state > * { animation-delay: 1.4s !important; }
@keyframes sm-wait { 0%, 30% { opacity: 1; } 36%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sm-done { 0%, 30% { opacity: 0; transform: scale(0.9); } 36%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.space-card { padding: 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 20px 40px -25px rgb(13 35 80 / 0.35), 0 0 0 1px var(--line); }
.space-card b { display: block; }
.space-card > span { display: block; margin: 3px 0 12px; color: var(--ink-3); font-size: 0.88rem; }
.space-meter { height: 8px; overflow: hidden; border-radius: 99px; background: var(--surface-2); }
.space-meter i { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--primary); }
:root[data-motion="on"] .space-meter i { animation: sm-fill 5s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
@keyframes sm-fill { 0%, 10% { width: 2%; } 60%, 88% { width: 64%; } 100% { width: 2%; } }
.space-kinds { display: grid; gap: 8px; margin-top: 14px; color: var(--ink-3); font-size: 0.82rem; }
.space-kinds div { display: flex; align-items: center; gap: 8px; }
.space-kinds i { width: 10px; height: 10px; border-radius: 3px; }
.select-demo { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 300px; }
.select-demo > span { position: relative; aspect-ratio: 1; border-radius: 10px; }
.select-demo > span::after { content: ""; position: absolute; top: 6px; right: 6px; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: rgb(0 0 0 / 0.15); }
.select-demo > span.on { outline: 2px solid var(--primary); outline-offset: -2px; }
.select-demo > span.on::after { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
:root[data-motion="on"] .select-demo > span.on::after { animation: sm-pick 4s infinite; }
:root[data-motion="on"] .select-demo > span.on:nth-child(2)::after { animation-delay: 0.3s; }
@keyframes sm-pick { 0%, 15% { opacity: 0; transform: scale(0.4); } 25%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.select-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; padding: 9px 12px; border-radius: 12px; background: var(--night); color: #fff; font-size: 0.8rem; font-weight: 600; }
.select-bar em { font-style: normal; font-weight: 500; opacity: 0.7; }
.tile-row { display: flex; justify-content: center; gap: 12px; }
.app-tile { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; color: #fff; box-shadow: 0 14px 26px -14px rgb(0 0 0 / 0.45); }
.app-tile .i { width: 26px; height: 26px; }
:root[data-motion="on"] .app-tile { animation: sm-bob 3.6s ease-in-out infinite; }
:root[data-motion="on"] .app-tile:nth-child(2) { animation-delay: 0.25s; }
:root[data-motion="on"] .app-tile:nth-child(3) { animation-delay: 0.5s; }
@keyframes sm-bob { 50% { transform: translateY(-6px); } }
.tile-gallery { background: linear-gradient(160deg, #57b6ff, #0071e3); }
.tile-activity { background: linear-gradient(160deg, #6fe0a5, #1fa25a); }
.tile-memories { background: linear-gradient(160deg, #ffa07a, #ff4f8b); }
@media (max-width: 1060px) { .feat, .feat.half { grid-column: span 6; } .feat.wide { grid-column: span 12; } }
@media (max-width: 680px) { .feat-grid { grid-template-columns: 1fr; } .feat, .feat.wide, .feat.half { grid-column: auto; } .demo-split { grid-template-columns: 1fr; } }

/* ---------- Home: recordings beside text ---------- */

.motion-split { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.motion-split.flip { grid-template-columns: auto 1fr; }
.motion-split .device-phone { --w: clamp(240px, 24vw, 330px); }
.done-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.done-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.12); font-size: 0.86rem; }
.done-chips .i { width: 14px; height: 14px; }
.steps-timeline { margin: 26px 0 0; padding: 0; list-style: none; }
.steps-timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 0.2); opacity: 0.55; transition: opacity 0.35s; }
.steps-timeline li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.steps-timeline li.on { opacity: 1; }
.steps-timeline .num { padding-top: 3px; font-size: 0.85rem; font-weight: 600; }
.steps-timeline b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.steps-timeline span { display: block; color: rgb(255 255 255 / 0.82); font-size: 0.94rem; }
.steps-timeline .progress { grid-column: 2; height: 3px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / 0.2); }
.steps-timeline .progress i { display: block; width: 0; height: 100%; background: #fff; }
.points { display: grid; gap: 10px; margin-top: 28px; }
.point { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #1a1c24; }
.point b { display: block; }
.point span { color: var(--on-dark-2); font-size: 0.92rem; }
.point i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.8rem; font-style: normal; font-weight: 700; }
@media (max-width: 920px) {
  .motion-split, .motion-split.flip { grid-template-columns: 1fr; justify-items: center; }
  .motion-split > div { justify-self: stretch; }
  .motion-split .device-phone { order: -1; }
}

.desk { position: relative; max-width: 1180px; margin: 0 auto; }
.callout { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--night); color: #fff; box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.6); font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
.callout b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--blue); font-size: 0.75rem; }
.callout-1 { top: 21%; left: -2%; }
.callout-2 { top: 46%; right: -2%; }
.callout-3 { bottom: 8%; left: 6%; }
@media (max-width: 860px) { .callout { position: static; display: inline-flex; margin: 12px 8px 0 0; white-space: normal; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); justify-items: center; }
.trio figure { display: grid; gap: 18px; justify-items: center; margin: 0; }
.trio .device-phone { --w: clamp(200px, 22vw, 300px); }
.trio figure:nth-child(2) { transform: translateY(clamp(0px, 4vw, 56px)); }
.trio figcaption { max-width: 22em; text-align: center; }
.trio figcaption b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.trio figcaption span { color: var(--ink-3); font-size: 0.93rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; gap: 48px; } .trio figure:nth-child(2) { transform: none; } }

/* ---------- Home: AI (coming soon) ---------- */

.soon-badge { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(89 184 255 / 0.16); color: var(--sky); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; vertical-align: middle; }
.ask-box { display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 28px; padding: 14px 14px 14px 20px; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 20px; background: rgb(255 255 255 / 0.06); color: var(--on-dark-2); }
.ask-box .typed { flex: 1; color: var(--on-dark); }
:root[data-motion="on"] .ask-box .typed::after { content: "|"; margin-left: 2px; color: var(--sky); animation: sm-caret 1s steps(1) infinite; }
@keyframes sm-caret { 50% { opacity: 0; } }
.ask-box .go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #2a2d3a; color: #8c90a0; }
.ask-box .go .i { width: 18px; height: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.principles > div { padding: 22px; border: 1px solid rgb(255 255 255 / 0.08); border-radius: 18px; background: rgb(255 255 255 / 0.05); }
.principles b { display: block; margin-bottom: 6px; }
.principles span { color: var(--on-dark-2); font-size: 0.94rem; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Home: privacy promises ---------- */

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; background: var(--surface-2); }
.promise > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 15px; color: #fff; }
.promise > span .i { width: 24px; height: 24px; }
.promise h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.promise p { margin: 0; color: var(--ink-3); font-size: 0.96rem; }
.p-blue { background: linear-gradient(160deg, var(--sky), var(--blue)); }
.p-green { background: linear-gradient(160deg, #6fe0a5, #1d8a3a); }
.p-coral { background: linear-gradient(160deg, #ffa07a, #ff4f8b); }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.doc-links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 0.93rem; font-weight: 500; transition: border-color 0.2s; }
.doc-links a:hover { border-color: var(--ink); }
.doc-links .i { width: 14px; height: 14px; opacity: 0.6; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- Home: closing call ---------- */

.closing-title { margin: 0; max-width: 9.5em; font-size: clamp(3rem, 9vw, 8.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.closing-title em { color: #bfe0ff; font-style: normal; }

/* ---------- Other pages: the opening becomes a night board, each block below a white one ---------- */

.page-hero {
  overflow: hidden;
  padding: calc(var(--board-pad) + var(--header-room)) var(--board-pad) var(--board-pad);
  border-radius: var(--board-r);
  background: radial-gradient(70% 70% at 90% 0%, rgb(0 113 227 / 0.5), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgb(255 79 139 / 0.16), transparent 60%), var(--night);
  color: var(--on-dark);
  text-align: left;
}
.page-hero::before { display: none; }
.page-hero > .container { max-width: 1240px; padding-inline: 0; }
.page-hero .kicker { color: var(--on-dark-2); letter-spacing: 0.16em; }
.page-hero h1 { max-width: 14em; margin: 14px 0 0; color: var(--on-dark); font-size: clamp(2.8rem, 7vw, 6.2rem); font-weight: 800; letter-spacing: -0.055em; line-height: 0.92; text-align: left; text-wrap: balance; }
.page-hero .page-lede { max-width: 40em; margin: 22px 0 0; color: var(--on-dark-2); text-align: left; }
.page-hero .page-meta { color: var(--on-dark-2); }
.page-hero a:not(.btn) { color: #bfe0ff; }
.page-hero .chip { border-color: var(--dark-line); background: rgb(255 255 255 / 0.06); color: var(--on-dark); }
.page-hero .chip:hover, .page-hero .chip[aria-current], .page-hero .chip.is-active { background: rgb(255 255 255 / 0.14); color: #fff; }
.page-hero .help-count { color: var(--on-dark-2); text-align: left; }
.page-hero .help-search { margin-inline: 0; }
.page-hero .help-cats { justify-content: flex-start; }
/* Each block spans the full width as a board; its content keeps the width it was designed for. */
body:not([data-page="home"]) main#main > :not(.page-hero):not(script):not(template) {
  --content: 1120px;
  max-width: none;
  margin: 0;
  padding: var(--board-pad) max(var(--board-pad), calc((100% - var(--content)) / 2));
  border-radius: var(--board-r);
  background: var(--surface);
}
body:not([data-page="home"]) main#main > .help-body { --content: 820px; }
body:not([data-page="home"]) main#main > .pricing-section { --content: 920px; }
body:not([data-page="home"]) main#main > :not(.page-hero) > .container { max-width: 1240px; padding-inline: 0; }
.toc { top: 104px; }

/* ---------- Footer: the closing board on every page ---------- */

.footer {
  margin: 0 var(--board-gap) var(--board-gap);
  padding: var(--board-pad);
  border: 0;
  border-radius: var(--board-r);
  background: radial-gradient(60% 80% at 100% 100%, rgb(0 113 227 / 0.45), transparent 60%), radial-gradient(40% 50% at 0% 0%, rgb(63 207 136 / 0.12), transparent 60%), var(--night);
  color: var(--on-dark);
}
.footer > .container { max-width: 1240px; padding-inline: 0; }
.footer .brand { color: var(--on-dark); }
.footer-brand p, .footer h3, .footer-bottom { color: var(--on-dark-2); }
.footer li a { color: var(--on-dark); opacity: 0.86; }
.footer li a:hover, .footer a[aria-current="page"] { color: #fff; opacity: 1; }
.footer-bottom { border-top-color: var(--dark-line); }

/* ---------- Popups and the consent card, rounded to match ---------- */

.panel { border-radius: 28px; }
.consent-banner { border-radius: 22px; }

/* ---------- Reveal on scroll ---------- */

:root[data-motion="on"] .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
:root[data-motion="on"] .reveal.in { opacity: 1; transform: none; }

/* ---------- Home: sources and the backup pipeline (styled in styles.css, placed on boards here) ---------- */

.sources { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.board .provider-list { justify-content: flex-start; }
.board .allow { max-width: none; }
.board .allow summary { justify-content: flex-start; }
.pipeline-wrap { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.pipeline-wrap .pipeline { max-width: none; margin-top: 28px; }
.family-note { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; color: var(--ink-3); font-size: 0.95rem; }
.family-note .i { width: 18px; height: 18px; flex: none; }

/* ---------- Page not found (src/app/not-found.tsx), on either host ---------- */

.not-found .page-hero { padding-top: var(--board-pad); }
.not-found-brand { display: flex; width: fit-content; margin-bottom: clamp(32px, 5vw, 64px); color: var(--on-dark); }
.not-found-brand .brand-r { color: var(--sky); }
.not-found-links ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.not-found-links a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); transition: border-color 0.2s; }
.not-found-links a:hover { border-color: var(--ink); }
.not-found-links b { display: block; font-size: 1.05rem; }
.not-found-links span { display: block; margin-top: 4px; color: var(--ink-3); font-size: 0.9rem; }
