/* Skolzen — website styles. Tokens follow the Skolzen Brand Guidelines. */
:root {
  --lagoon: #0F5257;
  --teal: #2A8C82;
  --teal-text: #1F6F67;
  --sea: #7CC6B5;
  --sea-2: #A7DCCF;
  --sea-3: #CDEBE4;
  --sun: #F2A65A;
  --mist: #EEF6F4;
  --ink: #0E2A30;
  --slate: #4A6168;
  --line: #DCEAE6;
  --white: #FFFFFF;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--teal-text); }
a:hover { color: var(--lagoon); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lagoon); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lagoon); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--lagoon); border-color: var(--lagoon); }
.btn-outline:hover { background: var(--lagoon); color: var(--white); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #F7BC80; color: var(--ink); }
.btn-link { padding: 0 8px; color: var(--lagoon); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { width: 150px; height: auto; margin-left: -8px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; }
.site-nav a:not(.btn):hover { color: var(--teal-text); }
.site-nav .nav-login { color: var(--lagoon); padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .site-nav .nav-login { padding-left: 0; border-left: 0; } }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; cursor: pointer; border-radius: var(--r-sm);
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .25s var(--ease), background-color .2s;
  }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--mist); font-size: 18px; }
  .site-nav .btn { margin-top: 16px; min-height: 52px; }
}

/* ---------- Hero + cairn ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; max-width: 11ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); margin-top: 24px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.hero-fine { margin-top: 28px; font-size: 15px; color: var(--slate); }

.cairn-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.cairn-hint { font-size: 15px; color: var(--slate); margin-bottom: 18px; }
.cairn {
  position: relative; width: min(100%, 440px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-top: 8px;
}
.sun {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sun);
  margin-bottom: 6px; transform: translateX(6px);
}
.stone {
  --x: 0%;
  display: flex; align-items: center; justify-content: center;
  height: 66px; border: 0; border-radius: 999px; padding: 0 24px;
  font: 500 17px/1.2 var(--font); letter-spacing: -0.005em;
  cursor: pointer; position: relative;
  transform: translateX(var(--x));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stone:hover { transform: translateX(var(--x)) translateY(-4px); }
.stone[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--sun); }
.st5 { width: 46%; --x: 3%;  background: var(--sea-3); color: var(--ink); }
.st4 { width: 62%; --x: -3%; background: var(--sea-2); color: var(--ink); }
.st3 { width: 75%; --x: 2%;  background: var(--sea);   color: var(--ink); }
.st2 { width: 88%; --x: -2%; background: var(--teal-text); color: var(--white); }
.st1 { width: 100%; --x: 0%; background: var(--lagoon); color: var(--white); height: 74px; }
.ground { width: 100%; height: 18px; margin-top: -4px; border-radius: 50%; background: var(--mist); }

.stone-detail {
  width: min(100%, 440px); margin-top: 24px; min-height: 150px;
  background: var(--mist); border-radius: var(--r-md); padding: 22px 24px;
}
.sd-title { font-size: 20px; letter-spacing: -0.01em; }
.sd-text { margin-top: 8px; color: var(--slate); font-size: 16px; }
.stone-detail.swap .sd-title, .stone-detail.swap .sd-text { animation: swapIn .35s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* The one orchestrated moment: the cairn settles on load */
@media (prefers-reduced-motion: no-preference) {
  .js .stone, .js .sun { opacity: 0; }
  .js .loaded .stone { animation: settle .8s var(--ease) both; }
  .js .loaded .st1 { animation-delay: .05s; }
  .js .loaded .st2 { animation-delay: .2s; }
  .js .loaded .st3 { animation-delay: .35s; }
  .js .loaded .st4 { animation-delay: .5s; }
  .js .loaded .st5 { animation-delay: .65s; }
  .js .loaded .sun { animation: rise 1s var(--ease) 1s both; }
  .loaded .stone:hover { transition-delay: 0s; }
}
@keyframes settle {
  0%   { opacity: 0; transform: translateX(var(--x)) translateY(-90px) rotate(-3deg); }
  60%  { opacity: 1; transform: translateX(var(--x)) translateY(4px) rotate(.6deg); }
  100% { opacity: 1; transform: translateX(var(--x)) translateY(0) rotate(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateX(6px) translateY(30px) scale(.6); }
  to   { opacity: 1; transform: translateX(6px) translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 13ch; }
  .stone { height: 56px; font-size: 16px; }
  .st1 { height: 62px; }
}
@media (max-width: 420px) {
  .stone { font-size: 15px; padding: 0 14px; }
  .st5 { width: 52%; }
  .st4 { width: 70%; }
}

/* ---------- Before / after ---------- */
.shift { background: var(--mist); padding: clamp(56px, 8vw, 104px) 0; }
.shift-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.shift-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shift-col { padding: 26px; border-radius: var(--r-md); }
.shift-col h3 { font-size: 18px; margin-bottom: 14px; }
.shift-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shift-col li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; }
.shift-col:not(.calm) { color: var(--slate); border: 1.5px dashed #B9CFCB; }
.shift-col:not(.calm) li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 2px; background: #9DB6B2; border-radius: 2px;
  box-shadow: 0 -5px 0 -0.5px #C9DAD7, 0 5px 0 -0.5px #C9DAD7;
}
.shift-col.calm { background: var(--white); }
.shift-col.calm li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 9px; border-radius: 999px; background: var(--teal);
}
@media (max-width: 900px) { .shift-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .shift-cols { grid-template-columns: 1fr; } }

/* ---------- School-day timeline ---------- */
.day { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.day-head p { color: var(--slate); max-width: 30em; }
.timeline-nav { display: flex; gap: 8px; }
.tl-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--lagoon);
  transition: background-color .2s, border-color .2s;
}
.tl-btn:hover { border-color: var(--lagoon); }
.tl-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.tl-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.timeline {
  list-style: none; margin: 40px 0 0; padding: 0 0 24px;
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--sea-2) transparent;
}
.timeline:focus-visible { outline-offset: -3px; }
.tl-item {
  flex: 0 0 290px; scroll-snap-align: start; position: relative;
  padding: 34px 4px 0 0;
}
.tl-item::before { /* the day's line */
  content: ""; position: absolute; top: 9px; left: 0; right: -20px; height: 2px; background: var(--line);
}
.tl-item::after { /* a small stone on the line */
  content: ""; position: absolute; top: 2px; left: 0; width: 30px; height: 16px; border-radius: 999px;
  background: var(--sea); border: 3px solid var(--white);
}
.tl-item:first-child::after { background: var(--sun); }
.tl-item:last-child::before { right: 0; }
.tl-item time { display: block; font-size: 30px; font-weight: 300; color: var(--lagoon); letter-spacing: -0.02em; line-height: 1; }
.tl-item h3 { margin-top: 14px; font-size: 20px; }
.tl-item p { margin-top: 8px; font-size: 16px; color: var(--slate); line-height: 1.55; }
.tl-tag { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--teal-text); background: var(--mist); border-radius: 999px; padding: 4px 12px; }
.also { margin-top: 32px; color: var(--slate); font-size: 16px; max-width: 46em; }

@media (max-width: 700px) {
  .timeline-nav { display: none; }
  .timeline {
    flex-direction: column; gap: 0; overflow: visible; scroll-snap-type: none;
    padding-inline: var(--gutter); margin-top: 32px;
  }
  .tl-item { flex: none; padding: 0 0 32px 44px; }
  .tl-item::before { top: 0; bottom: 0; left: 11px; right: auto; width: 2px; height: auto; }
  .tl-item:last-child::before { bottom: auto; height: 24px; }
  .tl-item::after { top: 2px; left: 0; width: 24px; height: 24px; }
  .tl-item time { font-size: 26px; }
}

/* ---------- Roles ---------- */
.roles { background: var(--mist); padding: clamp(64px, 9vw, 120px) 0; }
.tabs { margin-top: 36px; }
.tablist {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px;
  background: var(--white); border-radius: 999px; border: 1px solid var(--line);
}
.tablist [role="tab"] {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent;
  font: 500 16px/1 var(--font); color: var(--slate); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--lagoon); color: var(--white); }
.tabpanel {
  margin-top: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px);
}
.tabpanel[hidden] { display: none; }
.tabpanel:not([hidden]) .panel-copy, .tabpanel:not([hidden]) .phone { animation: swapIn .4s var(--ease); }
.panel-copy h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; max-width: 16em; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231F6F67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.phone {
  justify-self: center; width: 100%; max-width: 280px; min-height: 360px;
  background: var(--white); border: 10px solid var(--ink); border-radius: 36px;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
}
.ph-head { font-weight: 600; font-size: 17px; padding-bottom: 6px; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; background: var(--mist); border-radius: 12px; padding: 12px 14px; }
.ph-row span { color: var(--slate); }
.ph-meter { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; margin-top: -4px; }
.ph-meter i { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.ph-note { margin-top: auto; display: flex; align-items: center; gap: 10px; background: var(--lagoon); color: var(--white); border-radius: 12px; padding: 12px 14px; }
.ph-note b { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: none; }
.ph-roll { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-roll span { padding: 10px 12px; border-radius: 12px; background: #FDEBD8; color: var(--ink); }
.ph-roll span.on { background: var(--mist); }
@media (max-width: 800px) {
  .tabpanel { grid-template-columns: 1fr; }
  .tablist { display: flex; width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 999px; }
  .tablist [role="tab"] { flex: 0 0 auto; padding: 0 16px; }
}

/* ---------- How it works ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: end; }
.step-stone { display: block; height: 22px; border-radius: 999px; margin-bottom: 26px; background: var(--sea-2); }
.step:nth-child(1) .step-stone { width: 46%; background: var(--sea-2); box-shadow: none; }
.step:nth-child(2) .step-stone { width: 46%; background: var(--sea); box-shadow: 0 30px 0 0 var(--sea-2); margin-bottom: 56px; transform: translateY(-30px); }
.step:nth-child(3) .step-stone { width: 46%; background: var(--sun); border-radius: 999px; box-shadow: 0 30px 0 0 var(--sea), 0 60px 0 0 var(--sea-2); margin-bottom: 86px; transform: translateY(-60px); }
.step h3 { display: flex; align-items: baseline; gap: 12px; }
.step-n { font-weight: 300; font-size: 34px; color: var(--teal-text); line-height: 1; }
.step p { margin-top: 10px; color: var(--slate); font-size: 16px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step-stone, .step:nth-child(n) .step-stone { display: none; }
}

/* ---------- Trust ---------- */
.trust { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 112px) 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); }
.trust h2 { max-width: 12em; }
.trust-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.trust-list dt { font-weight: 600; font-size: 19px; color: var(--sea); }
.trust-list dd { margin: 6px 0 0; color: #C6D9D6; font-size: 16px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 120px) 0; }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; }
.pricing-head p { color: var(--slate); max-width: 28em; }
.plans { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; }
.plan h3 { font-size: 24px; }
.plan-for { margin-top: 8px; color: var(--slate); font-size: 16px; }
.plan .ticks { margin-bottom: 32px; }
.plan .btn { margin-top: auto; }
.plan-main { background: var(--lagoon); color: var(--white); border-color: var(--lagoon); padding-top: 40px; padding-bottom: 40px; margin-block: -12px; }
.plan-main .plan-for { color: #CFE5E1; }
.plan-main .ticks li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23A7DCCF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-flag { align-self: flex-start; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--sun); border-radius: 999px; padding: 4px 12px; }
.price { margin-top: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price .amt { font-size: 46px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price .per { font-size: 15px; color: var(--slate); }
.price-note { margin-top: 6px; font-size: 14px; color: var(--slate); }
.plan-main .price .per, .plan-main .price-note { color: #CFE5E1; }
.launch-offer {
  margin-top: 32px; display: flex; align-items: center; gap: 14px;
  background: #FDF1E4; border-radius: var(--r-md); padding: 16px 22px;
}
.launch-offer p { font-size: 16px; }
.lo-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); }
.was { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--slate); }
.price-fine { margin-top: 28px; font-size: 14px; color: var(--slate); max-width: 52em; }
.onprem {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  border: 1.5px dashed #B9CFCB; border-radius: var(--r-lg); padding: 28px 32px;
}
.onprem > div { flex: 1 1 420px; }
.onprem h3 { font-size: 22px; }
.onprem p { margin-top: 8px; color: var(--slate); font-size: 16px; max-width: 42em; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan-main { margin-block: 0; }
}

/* ---------- FAQ ---------- */
.faq-sec { background: var(--mist); padding: clamp(64px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq details { background: var(--white); border-radius: var(--r-md); margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 500; font-size: 18px; border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%230F5257' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--slate); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Demo ---------- */
.demo { padding: clamp(64px, 9vw, 120px) 0; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo-copy p { margin-top: 18px; color: var(--slate); font-size: 19px; max-width: 26em; }
.mini-cairn { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mini-cairn i { display: block; height: 22px; border-radius: 999px; }
.mini-cairn i:nth-child(1) { width: 22px; background: var(--sun); margin-left: 64px; }
.mini-cairn i:nth-child(2) { width: 90px; background: var(--sea); margin-left: 30px; }
.mini-cairn i:nth-child(3) { width: 130px; background: var(--teal); margin-left: 14px; }
.mini-cairn i:nth-child(4) { width: 170px; background: var(--lagoon); }
.demo-form { background: var(--mist); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 500; font-size: 15px; }
.opt { color: var(--slate); font-weight: 400; }
.field input, .field select {
  min-height: 50px; width: 100%; padding: 0 16px; border-radius: var(--r-sm);
  border: 1.5px solid #C4D8D4; background: var(--white); font: 400 16px var(--font); color: var(--ink);
  transition: border-color .2s;
}
.field input:hover, .field select:hover { border-color: var(--teal); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 1px; border-color: var(--lagoon); }
.field input[aria-invalid="true"] { border-color: #B3412E; }
.err { color: #A3341F; font-size: 14px; min-height: 0; }
.err:empty { display: none; }
.form-status { font-size: 16px; color: var(--teal-text); font-weight: 500; }
.form-status:empty { display: none; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } .mini-cairn { display: none; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C6D9D6; padding: 64px 0 28px; }
.site-footer a { color: #E4F0EE; text-decoration: none; }
.site-footer a:hover { color: var(--sea); }
.site-footer :focus-visible { outline-color: var(--sea); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 160px; margin-left: -10px; }
.footer-brand p { margin-top: 8px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav h2 { font-size: 16px; color: var(--white); letter-spacing: 0; margin-bottom: 4px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Apps ---------- */
.apps { padding: clamp(64px, 9vw, 120px) 0; }
.apps-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.apps-copy > p { margin-top: 16px; color: var(--slate); font-size: 18px; max-width: 34em; }
.app-cards { margin-top: 32px; display: grid; gap: 16px; }
.app-card { display: flex; gap: 18px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.app-card img { flex: none; border-radius: 14px; }
.app-card h3 { font-size: 20px; }
.app-meta { margin: 6px 0 16px; color: var(--slate); font-size: 15px; }
.install-help { margin-top: 20px; background: var(--mist); border-radius: var(--r-md); padding: 4px 22px; }
.install-help summary { cursor: pointer; padding: 14px 0; font-weight: 500; }
.install-help ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; color: var(--ink); }
.checksum { font-size: 13px; color: var(--slate); padding-bottom: 16px; overflow-wrap: anywhere; }
.checksum code { font-size: 12px; }
.phone-lg { max-width: 300px; min-height: 420px; }
@media (max-width: 860px) {
  .apps-grid { grid-template-columns: 1fr; }
  .apps-phone { display: none; }
}
@media (max-width: 480px) { .app-card { flex-direction: column; } }
