/* Sealbreak: playful sticker style on a light page.
   Ink is the logo's indigo; lavender and purple from the logo; coral and lime as small pops. */
:root {
  color-scheme: light;
  --bg: #fbfafc;
  --bg-2: #f3f2f6;
  --card: #ffffff;
  --ink: #19143e;
  --ink-2: #4d4870;
  --ink-3: #8b87a3;
  --line: #19143e;
  --soft-line: #e4e1ec;
  --lavender: #c4aeff;
  --purple: #7f69d0;
  --coral: #ff6a4d;
  --lime: #d9ff6a;
  --font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --stroke: 2.5px solid var(--line);
  --pop: 0 5px 0 var(--line);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.2vw, 52px); }
h2 { font-size: clamp(26px, 2.9vw, 36px); max-width: 640px; }
h3 { font-size: 21px; letter-spacing: -0.02em; }
.hl { display: inline-block; background: var(--coral); color: #fff; padding: 0 .14em .04em; border-radius: .2em; transform: rotate(-2deg); }
.hl.lav { background: var(--lavender); color: var(--ink); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav nav a:hover { color: var(--ink); background: var(--bg-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; text-decoration: none; font: 700 15px var(--font); padding: 12px 20px; border-radius: 999px; border: var(--stroke); box-shadow: 0 5px 0 var(--coral); transition: transform .15s ease, box-shadow .15s ease; }
a.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--coral); }
.btn svg { width: 17px; height: 17px; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--pop); }
.btn[aria-disabled="true"] { cursor: default; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* sections */
/* every section is one full screen (below the 64px nav), content centred */
main > section { min-height: calc(100svh - 64px - env(safe-area-inset-top, 0px)); display: flex; align-items: center; padding: 64px 0; scroll-snap-align: start; position: relative; }
main > section > .wrap { width: 100%; }
.band { background: var(--card); border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }
.tag { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--lime); transform: rotate(-3deg); margin-bottom: 16px; }
.tag.lav { background: var(--lavender); }
.tag.white { background: var(--card); }
.sub { color: var(--ink-2); font-size: 17px; max-width: 58ch; margin: 14px 0 0; }

/* hero */
main > .hero { padding: 28px 0 72px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-decoration: none; }
.scroll-cue svg { width: 22px; height: 22px; color: var(--ink); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(5px); } }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 42ch; margin: 16px 0 24px; }
.stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; padding: 18px 0 8px; }
.stk { position: absolute; z-index: 2; padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: 12.5px; white-space: nowrap; border: var(--stroke); box-shadow: var(--pop); }
.stk.s1 { left: -34px; top: 0; background: var(--lavender); transform: rotate(-8deg); }
.stk.s2 { right: -58px; top: 92px; background: var(--ink); color: #fff; transform: rotate(7deg); box-shadow: 0 4px 0 var(--coral); }
.stk.s3 { left: -84px; top: 222px; background: var(--lime); transform: rotate(-5deg); }

/* phone mock */
.phone { width: 316px; max-width: 100%; margin: 0 auto; background: var(--card); border: 3px solid var(--line); border-radius: 36px; padding: 10px; box-shadow: 0 8px 0 var(--line); transform: rotate(2.5deg); }
.screen { background: var(--bg-2); border-radius: 26px; padding: 18px 10px 10px; }
.screen .top { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 12px; }
.screen .top b { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.screen .top span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 8px 10px; margin-bottom: 7px; }
.item:last-child { margin-bottom: 0; }
.swatch { width: 26px; height: 32px; border-radius: 8px; flex: none; border: 2px solid var(--line); }
.swatch.round { border-radius: 13px 13px 6px 6px; }
.item .t { flex: 1; min-width: 0; }
.item .n { font-size: 13.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .m { font-size: 11.5px; color: var(--ink-3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; white-space: nowrap; border: 1.5px solid var(--line); }
.pill.ok { background: var(--lavender); }
.pill.soon { background: var(--lime); }
.pill.exp { background: var(--coral); color: #fff; }

/* PAO section */
.pao { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.pao > * { min-width: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.steps > * { min-width: 0; }
.step { background: var(--card); border: var(--stroke); border-radius: 24px; padding: 24px; box-shadow: var(--pop); }
.step .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 2px solid var(--line); margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.quote { margin-top: 16px; background: var(--bg-2); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); }

/* private */
.private { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.private > * { min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 600; }
.checks li:nth-child(2) { transform: rotate(-1deg); }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--purple); }

/* closing */
.closing { text-align: center; }
.closing h2 { margin: 0 auto; }
.closing .sub { margin: 14px auto 28px; }
.closing .cta { justify-content: center; }
.closing img { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 22px; transform: rotate(-6deg); box-shadow: 0 5px 0 var(--coral); }

/* footer */
main > .closing { min-height: calc(100svh - 64px - 96px - env(safe-area-inset-top, 0px)); }
footer { border-top: 1px solid var(--soft-line); padding: 28px 0 40px; height: 96px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
footer a:hover { color: var(--ink); }

/* prose pages (privacy, support) */
.prose { max-width: 700px; padding: 52px 20px 88px; margin: 0 auto; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 10px; }
.prose .updated { color: var(--ink-3); font-size: 15px; margin: 0 0 32px; font-weight: 500; }
.prose h2 { font-size: 24px; margin: 38px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .card { background: var(--card); border: var(--stroke); border-radius: 22px; padding: 20px 24px; margin: 24px 0; box-shadow: 0 5px 0 var(--lavender); }
.prose .card p { margin: 0; }
.prose details { border-bottom: 2px solid var(--soft-line); padding: 16px 0; }
.prose summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; font-weight: 800; font-size: 20px; line-height: 1; color: var(--purple); }
.prose details[open] summary::after { content: "–"; }
.prose details p { margin: 10px 0 0; }

@media (max-width: 860px) {
  /* phones and small tablets: sections flow naturally instead of one per screen */
  html { scroll-snap-type: none; }
  main > section { padding: 56px 0; min-height: 0; }
  main > .closing { min-height: 0; padding: 72px 0; }
  main > .hero { padding: 24px 0 48px; min-height: 0; }
  .scroll-cue { display: none; }
  .hero .wrap, .private, .pao { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .pao .clock { max-width: 200px; margin: 0 auto; }
  .stk.s1 { left: -14px; } .stk.s2 { right: -18px; } .stk.s3 { left: -20px; }
}
@media (max-width: 520px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .nav nav a:not(:last-child) { display: none; }
  .lede, .sub { font-size: 16px; }
  .stk { font-size: 11.5px; padding: 4px 9px; }
  .stk.s1 { left: -6px; } .stk.s2, .stk.s3 { display: none; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue svg { animation: none; }
  .btn { transition: none; }
}
