/* ── Tokens ─────────────────────────────────────────── */
:root {
  --cream:       #FAF5EA;
  --warm-white:  #FFFDF7;
  --indigo:      #1D2B5E;
  --indigo-mid:  #2B3D7A;
  --vermillion:  #C8402A;
  --sakura:      #F2B8C6;
  --sky:         #9FD8E8;
  --amber:       #C8853A;
  --ink:         #1C1714;
  --ink-mid:     rgba(28, 23, 20, 0.58);
  --ink-faint:   rgba(28, 23, 20, 0.38);
  --washi:       #c8a882;

  --pill-radius: 9999px;
  --card-radius: 24px;
  --font-display: "Baloo 2", sans-serif;
  --font-body:    "Nunito", sans-serif;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Sakura petals ──────────────────────────────────── */
.sakura-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -60px;
  width: 22px;
  opacity: 0;
  animation: fall linear infinite, sway ease-in-out infinite;
}
.petal svg { width: 100%; height: auto; }

.p1 { left: 8%;  animation-duration: 9s,  4s;  animation-delay: 0s,   0s;   width: 18px; }
.p2 { left: 22%; animation-duration: 12s, 5s;  animation-delay: 2s,   1s;   width: 24px; }
.p3 { left: 38%; animation-duration: 10s, 3.5s;animation-delay: 4s,   2s;   width: 16px; }
.p4 { left: 55%; animation-duration: 14s, 4.5s;animation-delay: 1s,   0.5s; width: 20px; }
.p5 { left: 70%; animation-duration: 11s, 5.5s;animation-delay: 6s,   3s;   width: 22px; }
.p6 { left: 82%; animation-duration: 9s,  3s;  animation-delay: 3s,   1.5s; width: 14px; }
.p7 { left: 92%; animation-duration: 13s, 4s;  animation-delay: 5s,   2.5s; width: 19px; }

@keyframes fall {
  0%   { top: -60px; opacity: 0; transform: rotate(0deg) translateX(0); }
  5%   { opacity: 0.85; }
  90%  { opacity: 0.5; }
  100% { top: 105vh;  opacity: 0; transform: rotate(300deg) translateX(30px); }
}
@keyframes sway {
  0%, 100% { margin-left: 0; }
  50%       { margin-left: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .petal { animation: none; display: none; }
}

.cf-turnstile {
  margin: 0.5rem 0;
}

/* ── Nav ────────────────────────────────────────────── */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--indigo);
  letter-spacing: -0.01em;
}

.nav-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--indigo);
  border: 2.5px solid var(--indigo);
  border-radius: var(--pill-radius);
  padding: 0.5rem 1.35rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.nav-btn:hover { background: var(--indigo); color: var(--cream); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  background: #FAF5EA;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 3rem 5.5rem;
  min-height: 90vh;
}

/* Hanko seal */
.hanko {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  transform: rotate(-8deg);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--vermillion);
  position: relative;
  display: inline-block;
}
/* Brush-stroke underline */
.highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8 Q50 3 100 7 Q150 11 200 6 Q250 2 298 8' stroke='%23F2B8C6' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity: 0.8;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-mid);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,64,42,.08);
  color: var(--vermillion);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  background: var(--vermillion);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--pill-radius);
  text-decoration: none;
  transition: filter 0.18s, transform 0.18s;
  box-shadow: 0 6px 22px rgba(200, 64, 42, 0.32);
}
.cta-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }

.hero-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-family: var(--font-body);
}

/* ── Postcard scene ─────────────────────────────────── */
.postcard-scene {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-56%, -50%) rotate(-4deg);
  filter: drop-shadow(0 14px 32px rgba(0,0,0,0.12));
  z-index: 2;
}

.card-small {
  position: absolute;
  right: 0;
  top: 10%;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.09));
  z-index: 1;
  transform: rotate(5deg);
}

.flight-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.flight-path {
  stroke: var(--washi);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  opacity: 0.35;
}

/* Washi tape strips */
.washi {
  position: absolute;
  width: 56px;
  height: 20px;
  border-radius: 3px;
  opacity: 0.82;
  z-index: 3;
}
.washi-tl {
  top: -10px; left: 14px;
  background: repeating-linear-gradient(90deg, #9FD8E8 0, #9FD8E8 8px, #b8e4f0 8px, #b8e4f0 16px);
  transform: rotate(-6deg);
}
.washi-tr {
  top: -10px; right: 14px;
  background: repeating-linear-gradient(90deg, #F2B8C6 0, #F2B8C6 8px, #f7cdd8 8px, #f7cdd8 16px);
  transform: rotate(5deg);
}

/* ── Animations ─────────────────────────────────────── */
@keyframes bob-main {
  0%, 100% { transform: translate(-56%, -50%) rotate(-4deg); }
  50%       { transform: translate(-56%, -58%) rotate(-2deg); }
}
@keyframes bob-small {
  0%, 100% { transform: rotate(5deg); }
  50%       { transform: translateY(-9px) rotate(3deg); }
}

.bob   { animation: bob-main  4.2s ease-in-out infinite; }
.bob-2 { animation: bob-small 3.8s ease-in-out 1s infinite; }

@media (prefers-reduced-motion: reduce) {
  .bob, .bob-2 { animation: none; }
}

/* ── Wave dividers ──────────────────────────────────── */
.wave-top {
  margin-bottom: -2px;
}
.wave-bottom {
  line-height: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 82px;
}

/* ── How section ────────────────────────────────────── */
.how-section {
  background: var(--indigo);
  padding: 4rem 3rem 5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-label-light {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sakura);
  margin-bottom: 0.75rem;
}

.how-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--warm-white);
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255,253,247,0.06);
  border: 1.5px solid rgba(255,253,247,0.1);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: background 0.2s;
}
.step:hover { background: rgba(255,253,247,0.1); }

/* CHANGED: was .step-icon, now .step-num — bigger and vermillion */
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--vermillion);
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.03em;
}

.step-connector {
  flex-shrink: 0;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  opacity: 0.65;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--warm-white);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.93rem;
  color: rgba(255,253,247,0.62);
  line-height: 1.7;
  flex-grow: 1;
}

/* ── Warmth section ──────────────────────────────────── */
.warmth-section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.warmth-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.6;
  color: var(--sakura);
  margin-bottom: 1.25rem;
  display: block;
}

.warmth-quote p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.warmth-bridge {
  font-style: normal !important;
  color: var(--ink) !important;
  font-weight: 600;
}

.warmth-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feat {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--warm-white);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1.5px solid rgba(200, 168, 130, 0.2);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.feat-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 1px; }

.feat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.feat span {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

/* ── Waitlist ────────────────────────────────────────── */
.waitlist-section {
  padding: 2rem 2rem 7rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.waitlist-card {
  background: var(--warm-white);
  border-radius: var(--card-radius);
  padding: 3.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 48px rgba(0,0,0,0.09);
  border: 1.5px solid rgba(200, 168, 130, 0.22);
  position: relative;
  overflow: hidden;
}

/* Subtle washi-paper watermark in card corner */
.waitlist-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(242,184,198,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.waitlist-sakura {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.waitlist-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.waitlist-sub {
  font-size: 0.97rem;
  color: var(--ink-mid);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

#waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

#waitlist-form input {
  border: 2px solid rgba(200, 168, 130, 0.3);
  border-radius: var(--pill-radius);
  padding: 0.95rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}
#waitlist-form input:focus {
  border-color: var(--vermillion);
  background: #fff;
}
#waitlist-form input::placeholder { color: rgba(28,23,20,0.33); }

#submit-btn {
  margin-top: 0.25rem;
  width: 100%;
  background: var(--vermillion);
  color: #fff;
  border: none;
  border-radius: var(--pill-radius);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: filter 0.18s, transform 0.18s;
  box-shadow: 0 5px 20px rgba(200, 64, 42, 0.28);
}
#submit-btn:hover    { filter: brightness(1.08); transform: translateY(-2px); }
#submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.error-msg { font-size: 0.875rem; color: #b03020; min-height: 1.2em; margin-top: 0.25rem; }

.fine-print {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.success-emoji { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.hidden { display: none !important; }

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: var(--indigo);
  padding: 2rem 3rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--warm-white);
}

footer span:last-child {
  font-size: 0.82rem;
  color: rgba(255,253,247,0.45);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.footer-tagline {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

.footer-right {
  display: flex;
  gap: 1.2rem;
}

.footer-right a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--warm-white);
  text-decoration: none;
  transition: opacity .2s ease;
}

.footer-right a:hover {
  transform: translateY(-2px);
  opacity: .8;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }

  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 4rem;
    min-height: auto;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hanko { display: none; }

  .postcard-scene {
    height: 240px;
    order: -1;
  }
  .card-wrap {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  @keyframes bob-main {
    0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
    50%       { transform: translate(-50%, -58%) rotate(-1deg); }
  }

  .how-section { padding: 3.5rem 1.5rem 4rem; }
  .steps { flex-direction: column; align-items: center; max-width: 360px; gap: 1rem; }
  .step-connector { display: none; }

  .warmth-section { padding: 4rem 1.5rem; }
  .warmth-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .waitlist-card { padding: 2.5rem 1.75rem; }

  footer { padding: 1.75rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .card-small { display: none; }
  .hero h1 { font-size: 2.2rem; }
}
