/* ==========================================================================
   Johnson Registered Agent — styles
   Design system: DESIGN-claude.md (warm cream canvas, serif display, coral CTAs)
   ========================================================================== */

:root {
  /* colors */
  --primary: #cc785c;
  --primary-active: #a9583e;
  --primary-disabled: #e6dfd8;
  --ink: #141413;
  --body: #3d3d3a;
  --body-strong: #252523;
  --muted: #6c6a64;
  --muted-soft: #8e8b82;
  --hairline: #e6dfd8;
  --hairline-soft: #ebe6df;
  --canvas: #faf9f5;
  --surface-soft: #f5f0e8;
  --surface-card: #efe9de;
  --surface-cream-strong: #e8e0d2;
  --surface-dark: #181715;
  --surface-dark-elevated: #252320;
  --surface-dark-soft: #1f1e1b;
  --on-primary: #ffffff;
  --on-dark: #faf9f5;
  --on-dark-soft: #a09d96;

  /* type */
  --font-display: "Cormorant Garamond", "Tiempos Headline", Garamond, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* radius */
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  /* spacing */
  --sp-section: 96px;
  --nav-h: 64px;

  /* six-point sparkle, used instead of a unicode star glyph for consistent cross-platform rendering */
  --star-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='1.5' x2='12' y2='22.5'/%3E%3Cline x1='3.9' y1='6' x2='20.1' y2='18'/%3E%3Cline x1='20.1' y1='6' x2='3.9' y2='18'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
section { scroll-margin-top: 12px; }

::selection { background: rgba(204, 120, 92, 0.28); }

/* ---------- typography ---------- */
.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.display-xl { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(32px, 4vw, 48px);   line-height: 1.1;  letter-spacing: -0.02em; }
.display-md { font-size: clamp(26px, 3vw, 36px);   line-height: 1.15; letter-spacing: -0.015em; }
.display-sm { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2;  letter-spacing: -0.01em; }

.display-xl em, .display-lg em, .display-md em, .display-sm em {
  font-style: italic;
  color: var(--primary);
}

.title-lg { font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.title-md { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.title-sm { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); }

.lead { font-size: 18px; line-height: 1.6; color: var(--body-strong); }

.caption-upper {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.caption-coral { color: var(--primary); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow-on-dark { color: var(--primary); }

/* split-word reveal helpers (JS-driven; no content hidden without JS) */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split-words .wi { display: inline-block; }

/* ---------- layout ---------- */
.section-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section { padding: var(--sp-section) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 560px; }

.band-dark { position: relative; background: var(--surface-dark); overflow: hidden; }
.band-dark::before {
  content: "";
  position: absolute;
  inset: -120px;
  background-image: radial-gradient(rgba(250, 249, 245, 0.05) 1px, transparent 1.6px);
  background-size: 34px 34px;
  animation: dot-drift 70s linear infinite;
  pointer-events: none;
}
@keyframes dot-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(120px, 120px); }
}
.band-dark .display-lg, .band-dark .display-md, .band-dark .title-md { color: var(--on-dark); }
.band-dark .section-sub { color: var(--on-dark-soft); }
.band-dark p { color: var(--on-dark-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 20px;
  min-height: 40px;
  border-radius: var(--r-md);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn-lg { padding: 15px 26px; min-height: 48px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover, .btn-primary:active { background: var(--primary-active); }

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover { background: var(--surface-soft); }

.btn-cream { background: var(--canvas); color: var(--ink); }
.btn-cream:hover { background: var(--surface-card); }

.text-link { color: var(--primary); }
.text-link:hover { text-decoration: underline; }

/* ---------- top notice ---------- */
.top-notice-wrap { padding-top: calc(var(--nav-h) + 24px); }
.top-notice {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 20px 24px;
}
.top-notice .notice-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 4px;
}
.notice-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: dot-pulse 2.2s ease-in-out infinite;
}
.top-notice p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
.top-notice p + p { margin-top: 8px; }
.top-notice .notice-highlight { color: var(--primary); font-weight: 500; }
.top-notice .text-link { color: var(--primary); }
.top-notice .text-link:hover { text-decoration: underline; }

/* ---------- top nav ---------- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease;
}
.top-nav.scrolled { box-shadow: 0 1px 0 var(--hairline), 0 4px 16px rgba(20, 20, 19, 0.05); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 45;
  background: var(--canvas);
  display: none;
  padding: 48px 32px;
}
body.nav-open .mobile-menu { display: block; }
body.nav-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 28px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
}
.mobile-menu a.btn {
  font-family: var(--font-body);
  font-size: 15px;
  align-self: flex-start;
  margin-top: 8px;
}

/* ---------- flight layer ---------- */
#flight-svg {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
#flight-path {
  stroke: var(--muted-soft);
  stroke-width: 1.6;
  stroke-dasharray: 0.5 12;
  stroke-linecap: round;
  opacity: 0.55;
}
#paper-plane .plane-body {
  fill: var(--canvas);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
#paper-plane .plane-fold { stroke: var(--primary); stroke-width: 1.5; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 36px 0 88px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.line-mask { display: block; overflow: hidden; }
.line { display: block; }
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-fineprint {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted-soft);
  max-width: 460px;
}
.hero-fineprint strong { color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; }
.hero-scene-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-height: 620px;
  background:
    radial-gradient(115% 80% at 50% 6%, #fbf7ef 0%, rgba(251, 247, 239, 0) 58%),
    var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.hero-scene-card canvas { width: 100%; height: 100%; display: block; }

.scene-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(250, 249, 245, 0.92);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(20, 20, 19, 0.07);
  backdrop-filter: blur(4px);
}
.scene-chip-a { top: 13%; left: 7%; animation: chip-bob 5.2s ease-in-out infinite; }
.scene-chip-a svg { color: var(--primary); }
.scene-chip-b { bottom: 11%; right: 7%; color: var(--ink); animation: chip-bob 6.1s ease-in-out 1.2s infinite; }
.scene-chip-b svg { color: var(--primary); }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 120, 92, 0.45); }
  55%      { box-shadow: 0 0 0 7px rgba(204, 120, 92, 0); }
}

#flight-start {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  height: 1px;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--primary);
  color: var(--on-primary);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i.star-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.75;
  background-color: currentColor;
  -webkit-mask-image: var(--star-svg);
  mask-image: var(--star-svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- why section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(20, 20, 19, 0.06);
}
.feature-card p { margin-top: 12px; font-size: 15px; color: var(--body); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--canvas);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--on-primary);
  transform: rotate(-6deg) scale(1.06);
}
.feature-icon svg { width: 22px; height: 22px; }

/* ---------- simplicity band ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}
.compare-col.usual {
  background: var(--surface-dark-elevated);
  border-radius: var(--r-lg);
  padding: 32px;
}
.usual ul { list-style: none; margin-top: 20px; }
.usual li {
  position: relative;
  padding: 10px 0;
  font-size: 16px;
  color: var(--on-dark-soft);
  border-bottom: 1px solid rgba(250, 249, 245, 0.07);
  width: fit-content;
  padding-right: 8px;
  transition: opacity 0.4s ease;
}
.usual li .strike {
  position: absolute;
  left: 0; top: 50%;
  height: 2px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: 2px;
}
.usual li.struck { opacity: 0.45; }

.compare-col.ourway { padding: 32px 0 0 8px; }
.ourway-line { margin-top: 20px; opacity: 0; transform: translateY(30px); }
.ourway-line em { color: var(--primary); }
.ourway-sub {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 440px;
  opacity: 0;
  transform: translateY(24px);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(250, 249, 245, 0.1);
  padding-top: 56px;
}
.steps-line {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 16px;
}
.step p { margin-top: 10px; font-size: 15px; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
}
.pricing-card {
  position: relative;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.pricing-card-featured {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
}
.pricing-card-featured .plan-name,
.pricing-card-featured .price,
.pricing-card-featured .title-lg { color: var(--on-dark); }
.pricing-card-featured .plan-blurb,
.pricing-card-featured .per,
.pricing-card-featured .plan-features li { color: var(--on-dark-soft); }

.badge-coral {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  animation: badge-breathe 3.2s ease-in-out infinite;
}
@keyframes badge-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
.plan-name { display: block; margin-bottom: 12px; }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price-mask { display: block; overflow: hidden; }
.price { display: block; font-size: clamp(52px, 5vw, 68px); }
.per { font-size: 16px; color: var(--muted); }
.plan-blurb { margin-top: 12px; font-size: 15px; color: var(--body); }
.plan-features {
  list-style: none;
  margin: 24px 0 32px;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--body);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.checkout-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.checkout-note a { color: var(--primary); }
.checkout-note a:hover { text-decoration: underline; }

.callout-coral {
  position: relative;
  margin-top: 64px;
  background: linear-gradient(155deg, #d4835f 0%, var(--primary) 42%, var(--primary-active) 100%);
  color: var(--on-primary);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 60px);
  overflow: hidden;
  box-shadow:
    0 24px 60px -16px rgba(90, 46, 30, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.callout-coral::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 8% -10%, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}
.callout-star {
  position: absolute;
  right: -24px;
  top: 50%;
  width: 220px;
  height: 220px;
  margin-top: -110px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-mask-image: var(--star-svg);
  mask-image: var(--star-svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: star-spin 60s linear infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.callout-coral .display-sm {
  position: relative;
  color: var(--on-primary);
  font-size: clamp(26px, 2.9vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.callout-coral p {
  position: relative;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}
.callout-coral strong { color: #fff; }

/* ---------- contact ---------- */
.contact-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--surface-card);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.contact-aside {
  position: relative;
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  padding: clamp(36px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.contact-aside .display-sm { color: var(--on-dark); }
.contact-aside > p { position: relative; font-size: 15.5px; line-height: 1.65; max-width: 360px; }
.contact-email {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 23px);
  color: var(--primary);
  overflow-wrap: anywhere;
  width: fit-content;
  border-bottom: 1px solid rgba(204, 120, 92, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.contact-email:hover { border-color: var(--primary); }
.contact-extra {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 249, 245, 0.1);
}
.contact-extra h4 { color: var(--muted-soft); }
.contact-extra p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; max-width: 340px; }
.aside-envelope {
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 190px;
  height: 190px;
  color: rgba(250, 249, 245, 0.14);
  animation: chip-bob 7s ease-in-out infinite;
  pointer-events: none;
}

.contact-form { padding: clamp(36px, 4.5vw, 56px); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.15);
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field ::placeholder { color: var(--muted-soft); }
.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-soft);
  text-align: center;
}

/* ---------- footer ---------- */
.footer {
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.1);
}
.brand-on-dark { color: var(--on-dark); }
.footer-tag {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--on-dark-soft);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--muted-soft); margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--on-dark-soft); }
.footer-col a:hover { color: var(--on-dark); }
nav.footer-col {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 20px;
  row-gap: 12px;
}
nav.footer-col h4 { grid-column: 1 / -1; }
.footer-legal { padding-top: 32px; font-size: 13px; color: var(--muted-soft); }
.footer-legal p + p { margin-top: 12px; }
.footer-legal strong { color: var(--on-dark-soft); font-weight: 500; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 60;
  background: var(--surface-dark);
  color: var(--on-dark);
  font-size: 14px;
  padding: 14px 22px;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 30px rgba(20, 20, 19, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: min(90vw, 480px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal defaults (JS overrides) ---------- */
[data-reveal], [data-reveal-stagger] > * { will-change: transform, opacity; }
[data-hero] { opacity: 0; }
.no-js [data-hero], .no-js [data-reveal] { opacity: 1 !important; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col.ourway { padding: 8px 0 0; }
  .contact-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sp-section: 72px; }
  section { scroll-margin-top: 16px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 0; padding-top: 28px; }
  .top-notice-wrap { padding-top: calc(var(--nav-h) + 16px); }
  .top-notice { padding: 16px 18px; }
  .top-notice p { font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .hero-scene-card { aspect-ratio: 1 / 0.9; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { order: -1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  #flight-svg { display: none; }
  .callout-star { width: 130px; height: 130px; right: -32px; margin-top: -65px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scene-chip-a, .scene-chip-b, .notice-dot,
  .badge-coral, .callout-star, .aside-envelope, .band-dark::before { animation: none; }
  #flight-svg { display: none; }
  [data-hero], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ourway-line, .ourway-sub { opacity: 1 !important; transform: none !important; }
  .steps-line { transform: scaleX(1); }
  * { transition-duration: 0.01ms !important; }
}
