/* ===== WishBaker landing — clean / warm-minimal ===== */

:root {
  /* Warm neutral ground */
  --cream:      #FBF9F5;
  --cream-2:    #F4F0E8;
  --card:       #FFFFFF;

  /* Ink (from the app's Minimal theme) */
  --ink:        #17181A;
  --ink-soft:   #3A3B3E;
  --muted:      #6B6D70;
  --line:       #E7E2D8;

  /* Brand — from the app icon */
  --navy:       #141B32;
  --amber:      #F2A93B;
  --amber-deep: #E0871B;
  --coral:      #C0503C;   /* app accent */
  --success:    #2E7D4F;

  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 1px 2px rgba(20,27,50,.04), 0 12px 30px rgba(20,27,50,.06);
  --shadow-lg:  0 20px 60px rgba(20,27,50,.14);

  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-disp:  'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink); color: var(--cream);
  box-shadow: 0 8px 20px rgba(20,27,50,.18);
}
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 18px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,245,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow); }
.brand-name { font-family: var(--font-disp); font-weight: 600; font-size: 1.28rem; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: .96rem; color: var(--ink-soft); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--amber-deep); }
.nav .btn-primary { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-disp);
  font-weight: 600; font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.04; letter-spacing: -.02em;
  margin: 0 0 22px;
}
.ink-accent {
  background: linear-gradient(120deg, var(--amber), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 30em; margin: 0 0 30px; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding: 0; margin: 0; font-size: .92rem; color: var(--muted);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
}

/* Hero visual — phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; padding: 12px;
  background: linear-gradient(160deg, #23263a, var(--navy));
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.phone-screen {
  background: var(--cream); border-radius: 30px;
  padding: 24px 22px 28px;
  min-height: 440px;
  display: flex; flex-direction: column;
}
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.app-day { font-size: .82rem; font-weight: 600; color: var(--muted); }
.streak {
  font-size: .88rem; font-weight: 700; color: var(--amber-deep);
  background: #FCEFD7; padding: 4px 12px; border-radius: 999px;
}
.app-goal {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.app-goal-label { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.app-goal-title { font-family: var(--font-disp); font-weight: 600; font-size: 1.2rem; }
.app-task {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px; font-weight: 500;
  box-shadow: var(--shadow);
}
.app-task .check {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; flex: none;
  background: var(--success); color: #fff; font-size: .9rem; font-weight: 700;
}
.app-task.done span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.app-hint { font-size: .82rem; color: var(--muted); margin: 12px 2px 0; font-style: italic; }
.app-progress { margin-top: auto; padding-top: 22px; }
.app-progress-bar { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.app-progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--coral)); border-radius: 999px; }
.app-progress-label { font-size: .76rem; color: var(--muted); }

.hero-mark {
  position: absolute; width: 96px; height: 96px; border-radius: 24px;
  right: 4px; top: -22px; z-index: 3;
  box-shadow: var(--shadow-lg);
  transform: rotate(8deg);
}

/* ---------- Trust strip ---------- */
.strip { background: var(--navy); color: #EBE7DD; }
.strip-inner { padding: 20px 24px; text-align: center; }
.strip-inner p { margin: 0; font-size: .98rem; letter-spacing: .01em; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head h2 {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1;
  letter-spacing: -.015em; margin: 0 0 14px;
}
.section-sub { font-size: 1.08rem; color: var(--ink-soft); margin: 0; }

/* Features */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(150deg, #FDEFD6, #FBE4CB);
  margin-bottom: 18px;
}
.card h3 { font-family: var(--font-disp); font-weight: 600; font-size: 1.28rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative;
}
.step-n {
  font-family: var(--font-disp); font-weight: 700; font-size: 1.1rem;
  color: var(--cream); background: var(--coral);
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-family: var(--font-disp); font-weight: 600; font-size: 1.2rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme {
  border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.theme h3 { font-family: var(--font-disp); font-weight: 600; font-size: 1.3rem; margin: 18px 0 6px; }
.theme p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.theme-swatch { display: flex; gap: 8px; }
.theme-swatch span { width: 34px; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.theme-minimal { background: #fff; }
.theme-minimal .theme-swatch span:nth-child(1){ background:#17181A; }
.theme-minimal .theme-swatch span:nth-child(2){ background:#9A9A9E; }
.theme-minimal .theme-swatch span:nth-child(3){ background:#F4F4F5; }
.theme-bold { background: #12131A; color: #EDEEF2; border-color:#262838; }
.theme-bold p { color:#B7BAC6; }
.theme-bold .theme-swatch span:nth-child(1){ background:#3A8DFF; }
.theme-bold .theme-swatch span:nth-child(2){ background:#F2A93B; }
.theme-bold .theme-swatch span:nth-child(3){ background:#1B1D28; }
.theme-feminine { background: linear-gradient(160deg,#FDF3F7,#F7EEFB); }
.theme-feminine .theme-swatch span:nth-child(1){ background:#C77D9B; }
.theme-feminine .theme-swatch span:nth-child(2){ background:#D9A7CE; }
.theme-feminine .theme-swatch span:nth-child(3){ background:#F3E1EC; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 22px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--amber-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Final CTA */
.cta { padding: 100px 0; text-align: center; }
.cta-inner {
  background: linear-gradient(165deg, #23263a, var(--navy));
  border-radius: 32px; padding: 64px 32px;
  color: #F4F1EA; box-shadow: var(--shadow-lg);
}
.cta-mark { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow-lg); }
.cta h2 { font-family: var(--font-disp); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 12px; letter-spacing: -.015em; }
.cta p { font-size: 1.1rem; color: #C9CAD6; margin: 0 0 28px; }
.cta .btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 10px 28px rgba(242,169,59,.32); }
.cta .btn-primary:hover { background: #FFB84D; }
.cta-note { font-size: .9rem !important; color: #9A9CAB !important; margin-top: 16px !important; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-tag { color: var(--ink-soft); margin: 4px 0 0; }
.footer-copy { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .cards, .steps, .themes { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .cards, .steps, .themes { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav .btn-primary { display: none; }
}
