/* Bolt Sync - brand colors. Use only these. */
:root {
  --navy: #12294A;
  --green: #4FE08A;
  --orange: #FF8A1F;
  --sky: #4A90E2;
  --cream: #F7F3EA;
  --night: #2A3550;
  --ink: #1C2230;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3 { font-weight: 900; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); margin-bottom: 16px; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.wrap-narrow { max-width: 780px; }
section { padding: 64px 0; }
.lead { font-size: 1.2rem; max-width: 32em; }
.center { text-align: center; margin-top: 40px; }

.band-navy { background: var(--navy); color: var(--cream); }
.band-sky { background: var(--sky); border-block: var(--line); }

.card {
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}
.band-navy .card { box-shadow: 6px 6px 0 var(--cream); }

/* Buttons: pill, flat green, solid drop shadow */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  background: var(--green);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 14px 26px;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn-big { font-size: clamp(1.15rem, 4.6vw, 1.4rem); padding: 18px 34px; }
.btn-small { padding: 8px 16px; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-small:hover { box-shadow: 5px 5px 0 var(--ink); }
.band-navy .btn { box-shadow: 5px 5px 0 var(--cream); }
.band-navy .btn:hover { box-shadow: 7px 7px 0 var(--cream); }
.band-navy .btn:active { box-shadow: 1px 1px 0 var(--cream); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.3rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 36px; height: 36px; }

/* 1. Hero: navy, big headline, Bolt floating beside the text */
.hero { padding: 40px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(100px, 33vw, 170px);
  grid-template-areas: "head bolt" "sub sub" "cta cta";
  gap: 20px 12px;
  align-items: center;
}
.hero-head { grid-area: head; font-size: clamp(1.9rem, 9.4vw, 5.5rem); line-height: .98; }
.hl { color: var(--orange); white-space: nowrap; }
.hero-bolt { grid-area: bolt; aspect-ratio: 1; animation: bob 3.6s ease-in-out infinite; }
.hero-bolt video { width: 100%; height: 100%; object-fit: cover; }
.hero-sub { grid-area: sub; font-size: clamp(1.2rem, 3.8vw, 1.6rem); max-width: 26em; }
.hero-cta { grid-area: cta; }
.hero-note { margin-top: 16px; font-weight: 700; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Moving strip of finished tasks */
.ticker { background: var(--cream); border-block: var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 12px 0; }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 0 22px; font-weight: 900; font-size: 1.1rem; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.check {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); border: var(--line); color: var(--ink);
  display: grid; place-items: center;
}
.check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* 2. Trades */
.switch {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  margin: 28px 0 34px;
  padding: 6px;
  background: var(--cream);
  border: var(--line); border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  max-width: 100%;
}
.switch button {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 900; font-size: clamp(1rem, 4vw, 1.2rem); color: var(--ink);
  background: transparent; border: 3px solid transparent; border-radius: 999px;
  padding: 10px clamp(14px, 4vw, 26px); cursor: pointer;
}
.switch button[aria-selected="true"] { background: var(--navy); color: var(--cream); border-color: var(--ink); }
.switch svg, .steps svg, .tag svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.switch svg { width: 24px; height: 24px; }

.trade-panel { display: grid; gap: 30px; }
.trade-panel[hidden] { display: none; }
.trade-copy h3 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); margin-bottom: 10px; color: var(--navy); }
.trade-copy .kicker { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--navy); margin-bottom: 16px; }
.tasks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.tasks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.tasks strong { display: block; font-weight: 900; font-size: 1.25rem; line-height: 1.25; }
.trade-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.media-card { position: relative; aspect-ratio: 9 / 16; background: var(--night); }
.media-card:first-child { rotate: -2deg; }
.media-card:last-child { rotate: 2deg; margin-top: 22px; }
.media-card img, .media-card video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 8px;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-weight: 900; font-size: .95rem; color: var(--ink);
}
.play[hidden] { display: none; }
.play-dot { width: 68px; height: 68px; border-radius: 50%; background: var(--green); border: var(--line); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; transition: transform .1s; }
.play:hover .play-dot { transform: scale(1.08); }
.play-dot svg { width: 28px; height: 28px; fill: var(--ink); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; margin-left: 4px; }
.play-label { background: var(--cream); border: var(--line); border-radius: 999px; padding: 4px 12px; }
.more { margin-top: 34px; font-weight: 700; color: var(--navy); }

/* 3. Before and after: split night / day, side by side even on a phone */
.ba { background: linear-gradient(90deg, var(--night) 50%, var(--cream) 50%); border-block: var(--line); }
.ba .wrap { padding-inline: 10px; }
.ba-head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: clamp(1.45rem, 6vw, 3.4rem); margin-bottom: 22px; }
.ba-head span { padding-inline: 6px; }
.ba-head span:first-child { color: var(--cream); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba-card { margin: 0; display: flex; flex-direction: column; }
.ba-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-bottom: var(--line); }
.ba-card figcaption { padding: 12px; display: grid; gap: 6px; justify-items: start; }
.ba-card strong { font-weight: 900; font-size: clamp(1.05rem, 3.6vw, 1.6rem); line-height: 1.12; }
.ba-text { font-size: .95rem; }
.ba-before { background: var(--navy); color: var(--cream); box-shadow: 6px 6px 0 var(--cream); rotate: -1.2deg; }
.ba-after { rotate: 1.2deg; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: .9rem; color: var(--ink); border: var(--line); border-radius: 999px; padding: 2px 12px 2px 8px; }
.tag svg { width: 17px; height: 17px; }
.tag-warn { background: var(--orange); }
.tag-done { background: var(--green); }

/* 4. How it works */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 34px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 40px 22px 24px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream); }
.steps li::before {
  content: counter(step);
  position: absolute; top: -26px; left: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); color: var(--cream); border: var(--line);
  display: grid; place-items: center; font-weight: 900; font-size: 1.7rem;
}
.steps svg { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; color: var(--sky); }
.steps h3 { font-size: 1.5rem; margin-bottom: 8px; padding-right: 50px; }

/* 5. Founder */
.founder-grid { display: grid; gap: 40px; align-items: center; }
.founder-story { font-size: 1.25rem; margin-top: 8px; }
.founder-story.placeholder { border: 3px dashed var(--orange); border-radius: 14px; padding: 14px; font-weight: 700; }
.founder-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.founder-points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-weight: 900; font-size: 1.1rem; }
.founder-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; margin-inline: auto; width: 100%; }
.founder-photos .card { aspect-ratio: 3 / 4; }
.founder-photos .card:first-child { rotate: -3deg; }
.founder-photos .card:last-child { rotate: 3deg; margin-top: 28px; }
.founder-photos img { width: 100%; height: 100%; object-fit: cover; }

/* 6. FAQ */
.faq { padding-top: 8px; }
.faq details { border: var(--line); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); background: var(--cream); margin-top: 18px; }
.faq details[open] { background: var(--navy); color: var(--cream); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 900; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); margin-top: -6px; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 20px 20px; font-size: 1.1rem; }

/* 7. Final call to action */
.final-grid { display: grid; gap: 28px; }
.final-text { display: grid; grid-template-columns: 120px 1fr; column-gap: 10px; align-items: center; }
.final-bolt { width: 120px; height: 120px; animation: bob 3.6s ease-in-out infinite; }
.final-text .lead { grid-column: 1 / -1; margin-top: 12px; }
.final-text h2 { margin: 0; font-size: clamp(2.1rem, 7vw, 4rem); }
.calendar { min-height: 520px; padding: 6px; }
.calendar iframe { width: 100%; min-height: 640px; border: 0; border-radius: 16px; }
.calendar-fallback { display: block; padding: 14px; font-weight: 700; text-align: center; }

/* 8. Footer */
.footer { background: var(--ink); color: var(--cream); padding: 26px 0; font-size: .95rem; }
.footer-in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 20px; }
.footer a { font-weight: 700; }

/* Privacy and terms pages */
.legal { padding-block: 48px 72px; font-size: 1.05rem; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); color: var(--navy); }
.legal h2 { font-size: clamp(1.4rem, 4.4vw, 1.9rem); margin: 40px 0 12px; color: var(--navy); }
.legal h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--navy); font-weight: 700; }
.legal .updated { font-weight: 700; margin: 10px 0 28px; }
.legal .callout { border: var(--line); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); background: var(--navy); color: var(--cream); padding: 18px 20px; margin-bottom: 12px; }
.legal .callout p { margin: 8px 0 0; }
.legal .lbl, .legal .section-label { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.legal .section-label { margin-bottom: 14px; color: var(--navy); }
.legal .back { display: inline-block; margin-top: 28px; }

/* Slide-in on scroll (added by main.js) */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .5s ease-out, translate .5s ease-out; }
.reveal.in { opacity: 1; translate: 0 0; }

/* Tablet and up */
@media (min-width: 720px) {
  section { padding: 100px 0; }
  .wrap, .ba .wrap { padding: 0 28px; }
  .hero { padding: 56px 0 72px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    grid-template-areas: "head bolt" "sub bolt" "cta bolt";
    grid-template-rows: auto auto 1fr;
    gap: 26px 32px;
  }
  .hero-head { align-self: end; }
  .hero-cta { align-self: start; }
  .hero-bolt { max-width: 500px; justify-self: center; width: 100%; }
  .ticker li { font-size: 1.25rem; padding: 0 30px; }
  .ticker ul { padding: 16px 0; }
  .trade-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
  .trade-media { gap: 26px; }
  .ba-head, .ba-grid { gap: 56px; }
  .ba-head span { padding: 0; }
  .ba-card figcaption { padding: 20px; gap: 8px; }
  .ba-text { font-size: 1.1rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
  .steps li:nth-child(odd) { rotate: -1.2deg; }
  .steps li:nth-child(even) { rotate: 1.2deg; margin-top: 18px; }
  .founder-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .founder-photos { gap: 22px; }
  .faq { padding-top: 0; }
  .final-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .final-text { grid-template-columns: 1fr; position: sticky; top: 96px; }
  .final-bolt { width: 260px; height: 260px; margin: -20px 0 0 -30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .reveal { transition: none; }
  .hero-bolt, .final-bolt, .ticker-track { animation: none; }
  .reveal { opacity: 1; translate: none; }
}
