/* Stitch Sprint: brand colours from logo/dist/navy-aqua */
:root {
  --navy: #14213D;
  --navy-deep: #0B1426;
  --navy-soft: #1D2D52;
  --aqua: #2EC4B6;
  --aqua-bright: #62E6D9;
  --aqua-dark: #128377;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #4C5A75;
  --on-dark: #E8EEF7;
  --on-dark-soft: #A9B6CE;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(20, 33, 61, .1);
  --radius: 22px;
  --head: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--navy-deep);
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; position: relative; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--aqua); color: var(--navy-deep); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--aqua-bright); outline-offset: 3px; border-radius: 6px; }

/* Early / regular price states (main.js sets .is-regular after the deadline) */
.regular-only { display: none !important; }
.is-regular .regular-only { display: revert !important; }
.is-regular .early-only { display: none !important; }
.is-regular article.regular-only { display: flex !important; }
/* Founders Edition (offer.js sets .has-founders once its checkout link is filled in) */
.founders-only { display: none !important; }
.has-founders .founders-only { display: revert !important; }
.has-founders article.founders-only { display: grid !important; }
/* The free alpha (offer.js: .is-alpha-open while the download is up and the alpha runs,
   .is-alpha-over after ALPHA_END, neither before there is a download) */
.alpha-only, .alpha-soon-only, .alpha-over-only { display: none !important; }
.is-alpha-open .alpha-only { display: revert !important; }
.is-alpha-open .offer-bar.alpha-only { display: flex !important; }
.is-alpha-open .page-cta.alpha-only { display: flex !important; }
.is-alpha-open .offer-bar:not(.alpha-only) { display: none !important; }
html:not(.is-alpha-open):not(.is-alpha-over) .alpha-soon-only { display: revert !important; }
.is-alpha-over .alpha-over-only { display: revert !important; }
.is-alpha-over .alpha-before-only { display: none !important; }
.alpha-windows-only { display: none !important; }
.has-alpha-windows .alpha-windows-only { display: revert !important; }
.has-alpha-windows a.btn.alpha-windows-only { display: inline-flex !important; }
.has-alpha-windows .alpha-mac-only-note { display: none !important; }
/* Christmas bonus (offer.js sets .is-xmas-over after CHRISTMAS_END) */
.is-xmas-over .xmas-only { display: none !important; }
html:not(.is-xmas-over) .after-xmas-only { display: none !important; }

/* Offer bar */
.offer-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 9px 16px;
  background: linear-gradient(90deg, var(--aqua-dark), var(--aqua) 50%, var(--aqua-dark));
  background-size: 200% 100%;
  animation: slide-bg 8s linear infinite;
  color: var(--navy-deep);
  font-size: 14.5px;
  text-align: center;
}
.offer-bar .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-deep); animation: pulse 1.6s ease-out infinite; }
.mini-count { font-variant-numeric: tabular-nums; background: rgba(11, 20, 38, .14); padding: 2px 10px; border-radius: 99px; font-weight: 500; }
.mini-count b { font-weight: 700; }
.offer-bar a.offer-text { text-decoration: none; }
.offer-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
@keyframes slide-bg { to { background-position: -200% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(11, 20, 38, .5); } 100% { box-shadow: 0 0 0 10px rgba(11, 20, 38, 0); } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 12px max(20px, calc((100% - 1160px) / 2));
  background: rgba(11, 20, 38, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line-dark); background: rgba(11, 20, 38, .9); }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--on-dark-soft); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--white); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  font: 700 16px/1.2 var(--body);
  color: var(--navy-deep);
  background: var(--aqua);
  border: 0; border-radius: 99px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px -8px rgba(46, 196, 182, .7);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); background: var(--aqua-bright); box-shadow: 0 14px 34px -8px rgba(46, 196, 182, .85); }
.btn:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-small { padding: 10px 18px; font-size: 14.5px; }
.btn-big { padding: 17px 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-dark { background: var(--navy-deep); color: var(--white); box-shadow: 0 12px 30px -10px rgba(11, 20, 38, .7); }
.btn-dark:hover { background: var(--navy); box-shadow: 0 16px 36px -10px rgba(11, 20, 38, .8); }
.btn-disabled { background: transparent; color: var(--on-dark-soft); box-shadow: inset 0 0 0 1.5px var(--line-dark); cursor: default; width: 100%; }
.btn-disabled:hover { transform: none; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn-disabled::after { display: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.glow-a { width: 520px; height: 520px; background: #1F8F9E; top: -180px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.glow-b { width: 420px; height: 420px; background: #2A3E86; bottom: -200px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.glow-c { width: 640px; height: 640px; background: #17777F; top: 10%; left: 50%; translate: -50% 0; opacity: .35; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 99px;
  background: rgba(46, 196, 182, .12); color: var(--aqua-bright);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(46, 196, 182, .3);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.hero h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 800; font-style: italic;
  margin: 22px 0 22px;
  color: var(--white);
}
.hero h1 .line { display: block; overflow: hidden; padding: 0 .12em .08em 0; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; }
.hero h1 em { font-style: inherit; color: var(--aqua); }
@keyframes rise { to { transform: none; } }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--on-dark-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.fineprint { font-size: 14.5px; color: var(--on-dark-soft); max-width: 34em; }
.hero-copy > *:not(h1) { opacity: 0; animation: fade-up .8s var(--ease) .35s forwards; }
.hero-copy > .eyebrow { animation-delay: 0s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero art: app window with a live stitch-out */
.hero-art { position: relative; opacity: 0; animation: fade-up 1s var(--ease) .3s forwards; }
.window {
  border-radius: 20px;
  background: linear-gradient(180deg, #1B2A4C, #131F3B);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .09);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.hero-art:hover .window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.window-bar span { margin-left: 10px; font-size: 13px; color: var(--on-dark-soft); font-weight: 500; }
.window-body { padding: 22px; }
.hoop {
  position: relative; aspect-ratio: 1; width: min(100%, 400px); margin: 0 auto;
  border-radius: 50%;
  background:
    repeating-linear-gradient(45deg, rgba(20, 33, 61, .035) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(20, 33, 61, .03) 0 2px, transparent 2px 5px),
    #F1EEE6;
  box-shadow: 0 0 0 9px #D9E2EC, 0 0 0 11px #AEBBCB, 0 0 0 20px #EEF3F8, 0 0 0 22px #9FAEC1, 0 24px 50px -10px rgba(0, 0, 0, .55), inset 0 6px 22px rgba(20, 33, 61, .22);
  margin-block: 22px 30px;
}
.hoop canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.hud { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.hud-item small { display: block; color: var(--on-dark-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.hud-item b { font-variant-numeric: tabular-nums; font-size: 16px; color: var(--white); }
.hud-chips span { display: flex; gap: 5px; padding-top: 4px; }
.hud-chips i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); opacity: .35; transition: opacity .3s, transform .3s; }
.hud-chips i.on { opacity: 1; transform: scale(1.15); }
.hud-check {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px; font-weight: 700;
  background: rgba(46, 196, 182, .16); color: var(--aqua-bright);
  opacity: 0; transform: scale(.85); transition: opacity .4s, transform .4s var(--ease);
}
.hud-check.on { opacity: 1; transform: none; }
.progress { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .09); margin-top: 16px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua-dark), var(--aqua-bright)); border-radius: 99px; }

.float-card {
  position: absolute; padding: 11px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
  font-size: 12.5px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--head); font-size: 14.5px; }
.float-card span { color: var(--ink-soft); }
.fc-1 { top: 15%; left: -34px; }
.fc-2 { bottom: 17%; right: -22px; animation-delay: -3s; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6), inset 0 0 0 2px var(--aqua); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line-dark); background: var(--navy); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-set span { color: var(--aqua); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.marquee-set b { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 26px; color: rgba(255, 255, 255, .82); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 104px 0; position: relative; }
.section.light { background: var(--paper); color: var(--ink); }
.section.dark { background: var(--navy); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--aqua); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.light .kicker { color: var(--aqua-dark); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; }
.section-head h2 + p { margin-top: 16px; font-size: 19px; color: var(--on-dark-soft); }
.light .section-head h2 + p { color: var(--ink-soft); }

/* Product tour: real screenshots */
.tour { background: linear-gradient(180deg, var(--navy-deep), var(--navy) 70%); overflow: hidden; }
.tour-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -16px auto 28px; }
.tour-tabs button {
  font: 700 15px/1.2 var(--body); color: var(--on-dark-soft);
  background: rgba(255, 255, 255, .05); border: 0; border-radius: 99px; padding: 11px 20px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line-dark);
  transition: background .25s, color .25s, box-shadow .25s;
}
.tour-tabs button:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.tour-tabs button[aria-selected="true"] { background: var(--aqua); color: var(--navy-deep); box-shadow: 0 8px 24px -8px rgba(46, 196, 182, .7); }
.shot {
  border-radius: 16px; overflow: hidden; background: #0E1A33;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #0B1426; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.shot-bar span { margin: 0 auto; padding-right: 50px; font-size: 13px; color: var(--on-dark-soft); font-weight: 500; }
.tour-panel { margin: 0; }
.tour-panel img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.tour-panel:not([hidden]) img { animation: fade-in .45s var(--ease); }
.tour-panel figcaption { padding: 16px 22px 18px; font-size: 16px; color: var(--on-dark-soft); text-align: center; border-top: 1px solid var(--line-dark); }
@keyframes fade-in { from { opacity: .2; } to { opacity: 1; } }
.closeups { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: 18px; }
.closeup {
  margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-soft); box-shadow: 0 0 0 1px var(--line-dark);
}
.closeup img { width: 100%; height: 360px; object-fit: cover; object-position: 50% 45%; }
.closeup-report img { object-position: 50% 0; background: #fff; }
.closeup figcaption { padding: 18px 22px 22px; font-size: 16px; color: var(--on-dark-soft); }
.closeup figcaption b { display: block; font-family: var(--head); color: var(--white); font-size: 19px; margin-bottom: 4px; }

/* Feature cards */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -28px rgba(20, 33, 61, .35);
  border: 1px solid var(--line-light);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(46, 196, 182, .6); box-shadow: 0 28px 50px -26px rgba(20, 33, 61, .45); }
.card-wide { grid-column: span 2; background: var(--navy); color: var(--on-dark); border-color: transparent; }
.card.card-wide p { color: #C3CEE2; max-width: 46em; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(46, 196, 182, .14); color: var(--aqua-dark); margin-bottom: 20px;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.card-wide .card-icon { color: var(--aqua-bright); }
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); background: var(--aqua); color: var(--navy-deep); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card-stitch { position: absolute; left: 0; right: 0; bottom: 10px; width: 100%; height: 34px; opacity: .5; pointer-events: none; }
.card-stitch path, .steps-thread path {
  fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 10 8; animation: sew 1.6s linear infinite;
  vector-effect: non-scaling-stroke;
}
@keyframes sew { to { stroke-dashoffset: -36; } }
.card-wide { padding-bottom: 54px; }

.mid-cta {
  margin-top: 52px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 21px; text-align: center;
}
.mid-cta strong { font-family: var(--head); font-weight: 800; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-thread { position: absolute; top: 14px; left: 0; width: 100%; height: 60px; opacity: .55; }
.step {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  margin-top: 44px;
}
.step-num {
  position: absolute; top: -30px; left: 26px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--aqua); color: var(--navy-deep);
  font: italic 800 26px var(--head);
  box-shadow: 0 0 0 7px var(--navy), 0 10px 26px -6px rgba(46, 196, 182, .7);
}
.step h3 { font-size: 22px; margin: 26px 0 10px; color: var(--white); }
.step p { color: var(--on-dark-soft); font-size: 16px; }

/* Christmas bonus: cross-stitch snow over navy, the designs on light fabric swatches */
.xmas {
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 85% 0%, rgba(46, 196, 182, .16), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(42, 62, 134, .35), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
}
.xmas .snow {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cpath d='M18 22l5 5m0-5l-5 5M130 14l5 5m0-5l-5 5M200 70l5 5m0-5l-5 5M70 96l5 5m0-5l-5 5M160 150l5 5m0-5l-5 5M30 180l5 5m0-5l-5 5M110 214l5 5m0-5l-5 5M218 202l5 5m0-5l-5 5' fill='none' stroke='%23fff' stroke-opacity='.28' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='380'%3E%3Cpath d='M60 40l8 8m0-8l-8 8M250 90l8 8m0-8l-8 8M150 200l8 8m0-8l-8 8M330 262l8 8m0-8l-8 8M40 300l8 8m0-8l-8 8' fill='none' stroke='%2362E6D9' stroke-opacity='.22' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 240px 240px, 380px 380px;
  animation: snow 40s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
@keyframes snow { to { background-position: 0 240px, 0 380px; } }
.xmas-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.xmas-copy h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; color: var(--white); }
.xmas-copy h2 em { font-style: italic; color: var(--aqua); }
.xmas-lede { margin-top: 18px; font-size: 19px; color: var(--on-dark-soft); max-width: 30em; }
.xmas-facts { margin: 30px 0 34px; display: grid; }
.xmas-facts > div {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 14px 0; border-bottom: 1.5px dashed rgba(255, 255, 255, .14);
}
.xmas-facts > div:first-child { border-top: 1.5px dashed rgba(255, 255, 255, .14); }
.xmas-facts dt { color: var(--aqua); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.xmas-facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--on-dark); font-size: 16px; }
.chip {
  padding: 3px 11px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--white);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.xmas-wall { margin: 0; }
.xmas-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.xmas-tile {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(20, 33, 61, .025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(20, 33, 61, .02) 0 2px, transparent 2px 5px),
    var(--paper);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(20, 33, 61, .08);
  transition: transform .35s var(--ease);
}
.xmas-tile img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; opacity: 0; transition: opacity .5s; }
.xmas-tile img.loaded { opacity: 1; }
.xmas-tile:hover { transform: translateY(-4px) rotate(-1.5deg); }
.made-with {
  display: flex; align-items: center; gap: 10px; width: fit-content; margin: 22px auto 0;
  padding: 9px 18px 9px 12px; border-radius: 10px;
  background: var(--navy-soft); color: var(--on-dark); font: 700 14px/1.2 var(--head); letter-spacing: .02em;
  outline: 1.5px dashed rgba(46, 196, 182, .55); outline-offset: -5px;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8);
}
.made-with img { width: 22px; height: 22px; border-radius: 5px; }

/* Pricing */
.pricing { background: var(--navy-deep); overflow: hidden; }
.countdown { display: flex; justify-content: center; gap: 12px; margin: -20px 0 48px; }
.countdown div {
  min-width: 92px; padding: 16px 10px 12px; border-radius: 18px; text-align: center;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.countdown b { display: block; font: 800 40px/1 var(--head); color: var(--white); font-variant-numeric: tabular-nums; }
.countdown b.tick { animation: tick .45s var(--ease); }
@keyframes tick { 0% { transform: translateY(-8px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.countdown small { color: var(--on-dark-soft); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.plans { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 360px); justify-content: center; align-items: center; gap: 24px; }
.is-regular .plans { grid-template-columns: minmax(0, 460px); }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 38px 34px 34px; border-radius: 28px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.plan-hot { background: linear-gradient(180deg, #1C2C52, #14213D); isolation: isolate; box-shadow: 0 40px 80px -40px rgba(46, 196, 182, .55); }
.plan-hot::before {
  content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: -2;
  background: conic-gradient(from var(--spin, 0deg), var(--aqua), #2A3E86 25%, var(--aqua-bright) 50%, #2A3E86 75%, var(--aqua));
  animation: spin 6s linear infinite;
}
.plan-hot::after { content: ""; position: absolute; inset: 0; border-radius: 28px; z-index: -1; background: linear-gradient(180deg, #1C2C52, #14213D); }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.plan-later { opacity: .8; }
.badge {
  align-self: flex-start; padding: 6px 13px; border-radius: 99px;
  background: var(--aqua); color: var(--navy-deep);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.badge-muted { background: rgba(255, 255, 255, .1); color: var(--on-dark-soft); }
.plan h3 { font-size: 24px; color: var(--white); }
.price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 12px; flex-wrap: wrap; }
/* The early adopter price rolls down from $149.99: one line each for the old price,
   the price and "per year", so the card doesn't change height as it rolls */
.price-stack { flex-direction: column; align-items: flex-start; gap: 6px; }
.price s { font: 700 26px var(--head); color: var(--on-dark-soft); text-decoration-color: var(--aqua); text-decoration-thickness: 3px; }
.price .amount { font: 800 clamp(58px, 7vw, 78px)/1 var(--head); color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-later .price .amount { font-size: 52px; color: var(--on-dark); }
.price small { color: var(--on-dark-soft); font-size: 16px; }
.lock { display: flex; align-items: center; gap: 8px; color: var(--aqua-bright); font-weight: 700; font-size: 15.5px; }
.lock-muted { color: var(--on-dark-soft); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 30px; color: var(--on-dark); font-size: 16px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(46, 196, 182, .18) 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-7' fill='none' stroke='%2362E6D9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 12px; font-size: 14px; color: var(--on-dark-soft); text-align: center; }

/* Founders Edition: one payment, under the yearly plans */
.founders {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 36px; align-items: center;
  max-width: 844px; margin: 28px auto 0; padding: 34px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 176, 32, .10), rgba(255, 255, 255, .04) 55%);
  box-shadow: inset 0 0 0 1px rgba(255, 196, 92, .45);
}
.founders .badge { display: inline-block; background: #FFC45C; margin-bottom: 14px; }
.founders h3 { font-size: 28px; color: var(--white); }
.founders-lede { margin-top: 10px; color: var(--on-dark); }
.founders ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.founders li { position: relative; padding-left: 30px; color: var(--on-dark); font-size: 16px; }
.founders li::before {
  content: "\2713"; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 196, 92, .2); color: #FFC45C; font: 700 12px/20px var(--body); text-align: center;
}
.founders-buy { text-align: center; }
.founders-buy .price { justify-content: center; margin: 0 0 16px; }
.founders-buy .price .amount { font-size: clamp(52px, 6vw, 68px); }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(46, 196, 182, .7); box-shadow: 0 18px 40px -30px rgba(20, 33, 61, .5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font: 700 18px/1.3 var(--head); letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(46, 196, 182, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%23128377' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 60ch; }

/* Final CTA */
.final {
  padding: 96px 0; text-align: center; color: var(--navy-deep);
  background: linear-gradient(120deg, var(--aqua-bright), var(--aqua) 45%, #1FA99C);
  position: relative; overflow: hidden;
}
.final::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background: repeating-linear-gradient(60deg, var(--navy-deep) 0 2px, transparent 2px 16px);
  animation: slide-diag 3s linear infinite;
}
@keyframes slide-diag { to { background-position: 37px 0; } }
.final h2 { font-size: clamp(34px, 5.4vw, 66px); font-weight: 800; font-style: italic; }
.final p { font-size: 20px; margin: 16px 0 30px; font-weight: 500; }

/* Footer */
.footer { padding: 36px 0 90px; background: var(--navy-deep); border-top: 1px solid var(--line-dark); font-size: 14.5px; color: var(--on-dark-soft); }
.footer-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer img { height: 38px; width: auto; }
.footer nav { display: flex; gap: 22px; margin-left: auto; }
.managed { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-dark); text-align: center; font-size: 13.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
  display: none; justify-content: center; padding: 15px 20px; border-radius: 99px;
  background: var(--aqua); color: var(--navy-deep); font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .7);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.sticky-cta.show { transform: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { width: min(100%, 520px); margin-inline: auto; }
  .window { transform: none; }
  .fc-1 { left: -8px; } .fc-2 { right: -8px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: minmax(0, 480px); }
  .steps { grid-template-columns: 1fr; }
  .steps-thread { display: none; }
  .closeups { grid-template-columns: 1fr 1fr; }
  .xmas-grid { grid-template-columns: 1fr; gap: 48px; }
  .xmas-copy { text-align: center; }
  .xmas-lede { margin-inline: auto; }
  .xmas-facts { max-width: 560px; margin-inline: auto; text-align: left; }
  .xmas-wall { width: min(100%, 640px); margin-inline: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .nav { padding-inline: 16px; gap: 12px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .brand img { height: 46px; }
  .offer-bar { gap: 8px 12px; font-size: 13.5px; }
  .offer-link, .offer-bar .pulse { display: none; }
  .hero { padding: 44px 0 64px; }
  .section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .cta-row .btn { width: 100%; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 0; flex: 1; padding: 14px 4px 10px; }
  .countdown b { font-size: 30px; }
  .countdown small { font-size: 10.5px; letter-spacing: .06em; }
  .plan { padding: 30px 24px 26px; }
  .float-card { display: none; }
  .window-body { padding: 16px; }
  .hoop { width: min(82%, 340px); }
  .footer nav { margin-left: 0; }
  .sticky-cta { display: flex; }
  .mid-cta .btn { width: 100%; }
  .tour-tabs { margin-top: -24px; }
  .tour-tabs button { padding: 9px 14px; font-size: 14px; }
  .shot { border-radius: 12px; }
  .shot-bar { padding: 9px 12px; }
  .tour-panel figcaption { padding: 14px 16px 16px; font-size: 15px; text-align: left; }
  .closeups { grid-template-columns: 1fr; }
  .closeup img { height: 260px; }
  .xmas-copy .btn { width: 100%; padding-inline: 20px; font-size: 16.5px; }
  .xmas-facts > div { grid-template-columns: 74px minmax(0, 1fr); }
  .xmas-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .xmas-tile:first-child { grid-column: span 2; grid-row: span 2; }
  .xmas-tile { border-radius: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .line > span, .hero-copy > *:not(h1), .hero-art, .reveal { opacity: 1; transform: none; }
}

/* ---- Inner pages (privacy, terms, support, ...) -------------------------- */
.page-hero { padding: 72px 0 56px; background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.page-hero p { margin-top: 14px; font-size: 18px; color: var(--on-dark-soft); max-width: 640px; }
.page-body { padding: 64px 0 96px; }
.prose { font-size: 17px; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; font-weight: 800; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--aqua-dark); font-weight: 500; }
.prose a.btn { color: var(--navy-deep); font-weight: 700; }
.prose a.btn-dark { color: var(--white); }
.prose .updated { color: var(--ink-soft); font-size: 15px; }
.todo { background: #FFF3C4; color: #6B4E00; padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.contact-card { padding: 26px 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -24px rgba(20, 33, 61, .35); }
.contact-card h2 { margin-top: 0; }
.page-cta { margin-top: 2em; display: flex; gap: 12px; flex-wrap: wrap; }
.xmas-step .btn { display: flex; width: fit-content; margin-top: 12px; color: var(--navy-deep); }
/* The thanks page: a subscriber's, or a founder's with ?founders=1 */
.founder-only { display: none !important; }
.is-founder .founder-only { display: revert !important; }
.is-founder .sub-only { display: none !important; }
.prose > div > * + * { margin-top: 1em; }

/* The alpha page */
.page-hero .page-cta { margin-top: 28px; align-items: center; }
.page-hero .fine { margin-top: 12px; font-size: 15px; }
.alpha-steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 14px; }
.alpha-steps li {
  counter-increment: step; position: relative; margin: 0 !important; padding: 20px 22px 20px 70px; border-radius: 16px;
  background: var(--white); box-shadow: 0 1px 0 var(--line-light), 0 18px 40px -28px rgba(20, 33, 61, .35);
}
.alpha-steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--aqua); color: var(--navy-deep); font: 800 16px var(--head);
}
.alpha-steps strong { display: block; font: 800 18px var(--head); color: var(--navy); margin-bottom: 2px; }
.gift-tiles { list-style: none; margin: 1.2em 0 0; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gift-tile {
  margin: 0 !important; aspect-ratio: 1; border-radius: 14px; padding: 7%;
  background: var(--white); box-shadow: inset 0 0 0 1px rgba(20, 33, 61, .1);
}
.gift-tile.dark { background: var(--navy-soft); }
.gift-tile img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) {
  .gift-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .alpha-steps li { padding: 64px 18px 18px; }
}
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.not-found h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; }
.not-found p { margin: 16px auto 28px; color: var(--on-dark-soft); font-size: 18px; max-width: 520px; }
.footer nav { flex-wrap: wrap; }

/* Checkout on the page (checkout.js): a light card so Square's card fields sit on white */
.checkout {
  width: min(480px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); overflow: auto;
}
.checkout::backdrop { background: rgba(11, 20, 38, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.co-form { position: relative; display: grid; gap: 14px; padding: 30px 28px 24px; }
.co-form .kicker { color: var(--aqua-dark); margin: 0; }
.co-form h2 { font-size: 30px; color: var(--navy); }
.co-price { color: var(--ink-soft); font-size: 16px; margin-top: -6px; }
.co-price b { color: var(--navy); font: 800 20px var(--head); }
.co-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.co-close:hover { background: #E5EBF2; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-field { display: grid; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--navy); min-width: 0; }
.co-field small { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.co-field input {
  width: 100%; font: 400 16px var(--body); color: var(--ink); background: var(--white);
  border: 1px solid #C9D2E0; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.co-field input:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(46, 196, 182, .25); }
.co-field input[aria-invalid="true"] { border-color: #D64545; }
.co-card { min-height: 92px; }
.co-loading { color: var(--ink-soft); font-weight: 400; font-size: 14.5px; padding: 12px 0; }
.co-msg { border-radius: 12px; padding: 11px 14px; font-size: 14.5px; background: #FDECEC; color: #8A1F1F; }
.co-msg[data-kind="info"] { background: #E6F7F5; color: #0D5C54; }
.co-form .btn { display: block; text-align: center; }
.co-form .btn:disabled { opacity: .55; cursor: wait; transform: none; }
.co-small { font-size: 13px; color: var(--ink-soft); text-align: center; }
.co-small a { color: var(--aqua-dark); }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -6px; }
@media (max-width: 460px) {
  .co-form { padding: 26px 18px 20px; }
  .co-row { grid-template-columns: 1fr; }
}
