@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a1a2f;
  --ink-soft: #243044;
  --paper: #f5e6c8;
  --paper-2: #fffaf3;
  --line: rgba(20, 33, 38, 0.14);
  --aqua: #00d4c5;
  --aqua-ink: #064e48;
  --gold: #6d3b12;
  --shadow: 0 18px 50px rgba(20, 33, 38, 0.08);
  --buybar: 76px;
  --font: Outfit, "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: calc(var(--buybar) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; }
a { color: #0b4f4a; }
a:hover { color: #073632; }
:focus-visible {
  outline: 3px solid #0b6e68;
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  background: #fff;
  color: var(--ink);
  padding: 12px 16px;
  z-index: 80;
  min-height: 56px;
}
.skip:focus { top: 12px; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 236, 223, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  font-family: var(--display);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
@media (max-width: 420px) {
  .brand { font-size: 0.98rem; }
}
.nav-toggle, .btn, button, .buybar a, .pier-labels a {
  min-height: 56px;
  min-width: 56px;
}
.nav-toggle {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  font: 600 1rem/1 var(--font);
}
.nav {
  display: none;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.nav.is-open { display: grid; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 550;
}
.nav a[aria-current="page"] { background: #e7f7f4; }
.nav-buy { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  background: #c9b089;
  --hero-fade: 1;
}
@media (max-width: 999px) {
  .hero {
    min-height: calc(100svh - var(--buybar) - env(safe-area-inset-bottom, 0px));
  }
}
.hero-media {
  position: absolute;
  inset: 0;
  opacity: var(--hero-fade);
}
.hero-still, .hero-still img, .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-still img {
  object-fit: cover;
  object-position: center 58%;
}
.hero-canvas {
  opacity: 0;
  transition: opacity 0.35s linear;
}
.hero.is-live .hero-canvas { opacity: 1; }
.hero.is-live .hero-still { opacity: 0; }
.hero-copy {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 7vh;
  transform: translateX(-50%);
  width: min(40rem, calc(100% - 32px));
  text-align: center;
  background: rgba(245, 230, 200, 0.94);
  color: #0a1a2f;
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(10, 26, 47, 0.2);
  pointer-events: auto;
}
.hero-copy.tone-navy {
  background: rgba(10, 26, 47, 0.9);
  color: #fff;
}
.hero-copy.tone-navy .hint,
.hero-copy.tone-navy .lede,
.hero-copy.tone-navy .for-line { color: #fff; }
.hero-copy.tone-sand,
.hero-copy.tone-sand .lede,
.hero-copy.tone-sand .for-line,
.hero-copy.tone-sand .hint { color: #0a1a2f; }
.word-glow {
  position: relative;
}
.word-glow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30%;
  height: 46%;
  background: #ffd166;
  opacity: 0.25;
  filter: blur(18px);
  z-index: -1;
  animation: glow-sweep 18s linear infinite;
}
@keyframes glow-sweep {
  0% { transform: translateX(-18%); }
  100% { transform: translateX(18%); }
}
.hero-canvas { pointer-events: auto; }
.brand-label {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--gold);
}
.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto;
  font-size: 32px;
}
.display-color {
  color: #0a1a2f;
  transition: color 0.8s linear;
}
.for-line { margin: 10px 0 0; font-size: 1.2rem; }
.flip {
  display: inline-block;
  min-width: 16ch;
  font-family: var(--display);
  font-weight: 600;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
}
.flip.is-out { transform: translateY(-0.8em); opacity: 0; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lede { font-size: 1.12rem; margin: 12px 0 0; }
.hint { color: var(--ink-soft); margin: 8px 0 0; }
.hero-actions, .pay-row, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 20px;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #f6efe2;
  font: 650 1rem/1 var(--font);
  cursor: pointer;
}
.btn.light {
  background: transparent;
  color: var(--ink);
}
.btn.aqua {
  background: var(--aqua);
  border-color: #00786f;
  color: #042226;
}
.btn.wide { width: 100%; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 64px 0; }
.section h2, .page-lead h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.index-no {
  font-family: var(--display);
  color: #0b6e68;
  margin: 0 0 6px;
}
[data-flutter] {
  transform: translateY(calc(var(--rise, 0) * 12px)) rotate(var(--flutter, 0deg));
}

.cards, .plans, .examples, .steps { display: grid; gap: 16px; }
.card, .plan, .example, .step, .legal, .faq details, .form, .total-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.price { font-family: var(--display); font-size: 3rem; margin: 8px 0; line-height: 1; }
.was { color: #3f3428; font-size: 1.05rem; }
.index-no { color: #085e56; }
.badge { color: #043f3a; background: #d7f3ee; }
.was s { text-decoration-thickness: 2px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 10px;
  background: #e7f7f4;
  color: #064e48;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
ul.clean { padding-left: 1.1rem; }
ul.clean li { margin: 6px 0; }

.steps { counter-reset: step; }
.step h3 { margin-top: 0; }
.jarvis-form, .lead-form, .buy-form { display: grid; gap: 12px; }
label { font-weight: 650; display: grid; gap: 6px; }
input, textarea, select {
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid #244047;
  background: #fff;
  color: var(--ink);
  font: 1rem/1.4 var(--font);
  padding: 12px 14px;
}
textarea { min-height: 140px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.choice input { min-width: 28px; width: 28px; height: 28px; }
.answer, .note {
  background: #e7f6f4;
  border-radius: 16px;
  padding: 14px 16px;
}
.answer a, .note a { font-weight: 700; }
.total {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  margin: 0;
  line-height: 0.95;
}
.pay-status {
  font-weight: 750;
  background: #fff4df;
  border: 1px solid #8a5a12;
  color: #3d2508;
  border-radius: 14px;
  padding: 14px 16px;
}
.faq details { padding: 0; }
.faq summary {
  cursor: pointer;
  min-height: 56px;
  padding: 16px 18px;
  font-weight: 700;
}
.faq details p { margin: 0; padding: 0 18px 16px; }
.example-layout {
  display: grid;
  gap: 8px;
  background: #f6f1e8;
  border-radius: 12px;
  padding: 12px;
  margin-top: 12px;
}
.bar { height: 12px; border-radius: 99px; background: #d7cbb8; }
.bar.short { width: 46%; }
.block { height: 54px; border-radius: 10px; background: #c9b89a; }

.foot {
  padding: 28px 0 12px;
  color: var(--ink-soft);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.flutter-host { position: fixed; inset: 0; pointer-events: none; z-index: 24; overflow: hidden; }
.flutter-bit {
  position: absolute;
  left: -16px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ffd166;
  opacity: 0.8;
  animation: flutter-x 1.2s linear forwards;
}
@keyframes flutter-x { to { transform: translateX(105vw); opacity: 0; } }

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #0a1a2f;
  color: #fff;
}
.buybar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.buybar-link { flex: 1; font-weight: 650; padding-left: 6px; }
.buybar a.buybar-btn {
  background: var(--aqua);
  color: #042226;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
}

.split-title {
  perspective: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  margin: 0 auto 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.split-word { display: inline-flex; }
.split-letter {
  display: inline-block;
  height: 1.05em;
  overflow: hidden;
  perspective: 280px;
  line-height: 1;
}
.split-face {
  display: block;
  height: 1.05em;
  transform-origin: center bottom;
  transform: rotateX(-82deg);
  animation: letter-in 0.78s cubic-bezier(0.16, 0.84, 0.24, 1.12) both;
  animation-delay: inherit;
}
.split-letter.is-set .split-face {
  animation: none;
  transform: none;
  transition: transform 0.48s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.split-letter.is-set.is-hot .split-face { transform: translateY(-100%); }
.split-title.is-still .split-face { animation: none; transform: none; }
@keyframes letter-in {
  0% { transform: rotateX(-88deg) translateY(40%); }
  68% { transform: rotateX(12deg) translateY(0); }
  100% { transform: rotateX(0deg) translateY(0); }
}
.tagline { margin: 4px 0; font-family: var(--display); font-size: 1.05rem; }
.raise-line { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
.feel-bubble {
  position: fixed;
  z-index: 36;
  width: 168px;
  height: 168px;
  margin: -84px 0 0 -84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  padding: 18px;
  background: rgba(255, 250, 243, 0.94);
  color: #0a1a2f;
  box-shadow: 0 0 0 2px #fff, 0 0 32px rgba(255, 209, 102, 0.9);
}
.feel-bubble[hidden] { display: none; }
.feel-bubble p { margin: 0; font-family: var(--display); font-size: 1.02rem; line-height: 1.2; }
.feel-bubble a { font-size: 14px; font-weight: 750; }
#pier-next, a.see-all {
  position: fixed;
  z-index: 40;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  transform: none;
  bottom: calc(var(--buybar) + 128px);
}
.hero:not(.boards-open) #pier-next,
.hero:not(.boards-open) a.see-all { display: none; }
#pier-next {
  right: 12px;
  left: auto;
  top: auto;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #0a1a2f;
  color: #fff;
  font-weight: 700;
}
a.see-all {
  left: 12px;
  right: auto;
  top: auto;
  color: #fff;
  background: rgba(10, 26, 47, 0.88);
  border-radius: 999px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
@media (min-width: 1000px) {
  .split-title { font-size: 48px; }
  #pier-next, a.see-all { bottom: 20px; }
  .raise-line { font-size: 17px; }
}
@media (max-width: 999px) {
  .raise-line { font-size: 13px; margin-bottom: 6px; }
}
.pier-labels .short { display: none; }
.pier-pill { display: none; }
.pier-labels a.pack-link {
  position: fixed;
  z-index: 35;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 56px;
  min-width: 56px;
  background: rgba(10, 26, 47, 0.72);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 212, 197, 0.9);
  max-width: none;
  text-align: center;
  white-space: nowrap;
}

.page-hero {
  padding: 28px 0 0;
}
.band {
  height: 180px;
  background: #c9b089 center/cover no-repeat;
  border-radius: 22px;
}

@media (min-width: 800px) {
  .cards, .plans { grid-template-columns: repeat(3, 1fr); }
  .plans.two { grid-template-columns: 1fr 1fr; }
  .examples { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-copy { top: 8vh; }
}
@media (max-width: 999px) {
  .hero-copy { top: 72px; width: min(22rem, calc(100% - 24px)); padding: 12px 12px 10px; background: rgba(245, 230, 200, 0.9); }
  .hero-copy .kicker,
  .hero-copy .lede,
  .hero-copy .hint { display: none; }
  .hero-copy .display { font-size: 30px; }
  .hero-copy .for-line { margin: 4px 0 8px; font-size: 1.05rem; }
  .hero-actions { margin-top: 8px; justify-content: center; }
  .hero-actions { justify-content: center; }
  .pier-labels .long { display: none; }
  .pier-labels .short { display: inline; }
  .pier-labels a.pack-link { font-size: 15px; }
  .pier-pill {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
    z-index: 4;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(10, 26, 47, 0.78);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
  }
  .hero.boards-open .pier-pill { display: none; }
  .pier-preview {
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    top: auto;
    bottom: calc(var(--buybar) + 8px);
    padding: 8px 10px;
  }
  .pier-preview .clean { display: none; }
  .pier-preview { max-height: 112px; overflow: hidden; }
  .pier-preview .mock-block { height: 12px; }
  .pier-preview .mock-site { padding: 6px; gap: 4px; }
  .pier-preview .badge { margin-bottom: 4px; }
  .preview-pack { margin-bottom: 6px; }
}
.pier-preview {
  position: fixed;
  z-index: 18;
  width: min(240px, 78vw);
  transform: translate(-50%, 0);
  background: rgba(255, 250, 243, 0.96);
  color: #0a1a2f;
  border-radius: 16px;
  padding: 10px 12px 12px;
  box-shadow: 0 12px 28px rgba(10, 26, 47, 0.28);
  pointer-events: none;
}
.pier-preview .badge { margin: 0 0 6px; }
.preview-pack { margin: 0 0 8px; font-weight: 750; }
.mock-site {
  background: #f5e6c8;
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 6px;
}
.mock-nav { height: 8px; width: 46%; border-radius: 99px; background: #0a1a2f; }
.mock-block { height: 42px; border-radius: 8px; background: #00d4c5; }
.mock-line { height: 6px; border-radius: 99px; background: #c9b89a; }
.mock-line.short { width: 62%; }
.touch-layer { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.touch-bubble {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 212, 197, 0.35);
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  backdrop-filter: brightness(1.1);
  animation: bubble-in 0.45s ease-out forwards, bubble-out 0.3s ease-in 1.05s forwards;
}
@keyframes bubble-in {
  to { width: var(--end, 120px); height: var(--end, 120px); transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes bubble-out {
  to { width: 0; height: 0; opacity: 0; }
}
.touch-slit {
  position: fixed;
  height: 20px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  animation: slit-life 0.5s linear forwards;
}
.touch-slit::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: #fff;
}
@keyframes slit-life { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .touch-layer { display: none; }
}
@media (max-width: 999px) {
  .nav-buy { display: none; }
  .top {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(245, 230, 200, 0.92);
  }
}
@media (min-width: 900px) {
  .display { font-size: 48px; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .buybar { display: none; }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 2px;
  }
  .nav a { padding: 0 10px; font-size: 0.95rem; }
  .nav-buy { display: inline-flex; }
  .hero-copy { top: 10vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .display-color { transition: none; color: #0a1a2f; }
  .hero-canvas { display: none !important; }
  .hero.is-live .hero-still { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .flip { transition: none; }
  .word-glow::before { animation: none; }
}
