/* =============================================================
   Home in Ten — Landing (warm editorial minimalism)
   Palette: ivory paper, ink text, brand teal used as single accent
   Type:    Fraunces (serif, editorial) + Inter (sans, UI)
   Style:   hairline borders, generous whitespace, no heavy shadows
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paper & ink */
  --ivory:       #FAF7F2;
  --ivory-soft:  #F5F1E8;
  --paper:       #FFFFFF;
  --ink:         #141414;
  --ink-soft:    #3A3A3A;
  --ink-muted:   #7A7A7A;
  --ink-faint:   #A8A5A0;

  /* Lines */
  --line:        #E8E3D8;
  --line-soft:   #F0ECE4;

  /* Brand accent — single color, used SPARINGLY */
  --teal:        #2DB8A8;
  --teal-ink:    #1F8478;
  --teal-deep:   #155F55;
  --teal-soft:   #E6F5F2;

  /* Quiet warning tone (for error states — no bright color) */
  --alert:       #8B3A3A;

  /* Legacy aliases (so existing inline styles in HTML don't break) */
  --forest:      var(--ink);
  --green:       var(--teal-ink);
  --sage:        var(--line);
  --pale:        var(--teal-soft);
  --gold:        var(--teal-ink);
  --gold-light:  var(--teal-soft);
  --yellow:      var(--ivory-soft);
  --gray-50:     var(--ivory-soft);
  --gray-100:    var(--line-soft);
  --gray-200:    var(--line);
  --gray-300:    var(--ink-faint);
  --gray-400:    var(--ink-faint);
  --gray-500:    var(--ink-muted);
  --gray-700:    var(--ink-soft);
  --gray-900:    var(--ink);
  --white:       var(--paper);

  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(20,20,20,0.04);
  --shadow-lg:   0 12px 40px rgba(20,20,20,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand-font  { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.script-font { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; }

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo  { font-size: 22px; }
.nav-name  {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-tag   {
  font-size: 10px; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 1.4px; font-weight: 500;
  margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important; color: var(--paper) !important;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-ink) !important; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: var(--ivory);
  min-height: auto;
  padding: 80px 0 100px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line);
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 40px 32px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px; font-weight: 500;
  padding: 0 0 20px;
  border: none;
  text-transform: uppercase; letter-spacing: 2px;
  border-radius: 0;
  margin-bottom: 0;
}
.hero-badge::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}
.hero-headline {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero-accent {
  font-style: italic; font-weight: 400;
  color: var(--teal-ink);
}
.hero-sub {
  font-size: 18px; color: var(--ink-soft);
  line-height: 1.65; max-width: 520px;
  margin-bottom: 20px;
}
.hero-tagline {
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--teal-deep) !important;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--teal-ink); border-color: var(--teal-ink); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--paper); border-color: var(--ink); }

.btn-large { padding: 17px 36px; font-size: 15px; }

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px; font-weight: 500;
  color: var(--ink); line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 1.4px;
  margin-top: 4px; font-weight: 500;
}
.stat-div { width: 1px; height: 36px; background: var(--line); }

/* ── Phone mock (lightened, warm) ──────────────────────── */
.hero-visual { display: flex; justify-content: center; }
.mock-phone {
  background: var(--ink);
  border-radius: 42px;
  padding: 10px;
  width: 280px;
  box-shadow: 0 30px 60px -20px rgba(20,20,20,0.25),
              0 10px 30px -10px rgba(20,20,20,0.15);
}
.mock-screen {
  background: var(--ivory);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.mock-header {
  background: var(--paper);
  padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.mock-brand {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink); font-size: 14px; font-weight: 500;
}
.mock-pct {
  color: var(--teal-ink); font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mock-day-row {
  display: flex; gap: 6px;
  padding: 12px 14px 10px;
  background: var(--paper);
}
.mock-day {
  background: var(--ivory-soft); color: var(--ink-muted);
  font-size: 10px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.mock-day.active { background: var(--ink); color: var(--paper); }
.mock-day.done   { background: var(--teal-soft); color: var(--teal-ink); }

.mock-card {
  background: var(--paper);
  margin: 10px;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
}
.mock-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px; font-weight: 500; color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.mock-task {
  font-size: 11px; color: var(--ink-soft);
  padding: 4px 0; font-weight: 500;
}
.mock-task.done { color: var(--ink-faint); text-decoration: line-through; }

.mock-progress-bar {
  height: 3px; background: var(--line-soft);
  margin: 0 14px 14px;
  border-radius: 999px; overflow: hidden;
}
.mock-progress-fill { height: 100%; background: var(--teal); border-radius: 999px; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 120px 32px; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-label {
  font-size: 11px; font-weight: 600; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--ink-muted);
}
.section-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}
.section-sub {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.6; margin-bottom: 56px;
  max-width: 640px;
}

/* ── Steps ─────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
}
.step:last-child { border-right: none; }
.step-num {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px; font-weight: 500;
  color: var(--ink-muted);
  background: transparent; width: auto; height: auto;
  border-radius: 0; line-height: 1;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.step-num::before { content: "0"; color: var(--ink-faint); }
.step-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(0.1);
}
.step h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 500; color: var(--ink);
  margin-bottom: 14px; line-height: 1.25;
  letter-spacing: -0.01em;
}
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.step-arrow { display: none; }

/* ── Features ──────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 40px 36px;
  transition: background 0.25s;
}
.feature-card:hover {
  background: var(--ivory);
  border-color: var(--line);
  box-shadow: none;
}
.feature-icon {
  font-size: 22px;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 500; color: var(--ink);
  margin-bottom: 10px; line-height: 1.3;
  letter-spacing: -0.005em;
}
.feature-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.pricing-card:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.pricing-featured {
  border-color: var(--ink);
  border-width: 1px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 50px -20px rgba(20,20,20,0.35);
}
.pricing-featured .plan-name,
.pricing-featured .plan-price,
.pricing-featured .plan-desc,
.pricing-featured .plan-features li { color: var(--paper); }
.pricing-featured .plan-price span { color: rgba(255,255,255,0.6); }
.pricing-featured .plan-features li { border-bottom-color: rgba(255,255,255,0.12); }

.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal-ink); color: var(--paper);
  font-size: 10px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 1.4px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 16px; letter-spacing: 0.01em;
  text-transform: uppercase; font-size: 11px; letter-spacing: 2px;
}
.plan-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 56px; font-weight: 400;
  color: var(--ink); line-height: 1;
  margin-bottom: 8px; letter-spacing: -0.03em;
}
.plan-price span {
  font-size: 15px; font-weight: 500; color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
}
.plan-desc {
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 32px; line-height: 1.5;
}
.plan-features { list-style: none; margin-bottom: 32px; flex: 1; }
.plan-features li {
  font-size: 14px; color: var(--ink-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.5;
}
.plan-features li:last-child { border-bottom: none; }

.btn-plan {
  display: block; text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-plan:hover { background: var(--ink); color: var(--paper); }
.btn-plan-featured {
  background: var(--paper); color: var(--ink);
  border-color: var(--paper);
}
.btn-plan-featured:hover { background: var(--teal); color: var(--paper); border-color: var(--teal); }

/* ── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: var(--ivory);
  padding: 120px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-banner p {
  font-size: 17px; color: var(--ink-soft);
  margin-bottom: 36px; line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--ivory);
  padding: 48px 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  color: var(--ink) !important;
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
.footer-brand strong {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 500 !important;
}
.footer-tag {
  color: var(--ink-muted) !important;
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  color: var(--ink-muted); font-size: 13px;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

/* ── Utility: reveal on scroll is out-of-scope; kept crisp. ── */

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero-inner { padding: 24px 20px; gap: 40px; }
  .section { padding: 72px 20px; }
  .cta-banner { padding: 80px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
}
