:root {
  --bg: #FBF6EE;
  --bg-alt: #F4EADB;
  --surface: #FFFFFF;
  --text: #2A1416;
  --muted: #6E5C53;
  --brand: #7C1D2E;
  --brand-dark: #5A1320;
  --gold: #C49A3A;
  --gold-2: #E2BE63;
  --gold-soft: #E9D7A8;
  --border: #E7D9C2;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 18px 40px -24px rgba(90, 19, 32, 0.35);
  --shadow-sm: 0 6px 18px -12px rgba(90, 19, 32, 0.3);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
/* Slightly roomier track — the pricing cards carry two prices side by side */
.container-wide { max-width: 1240px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--brand); text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s ease; }
.nav-links > a:not(.btn):hover { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; gap: 5px; flex-direction: column; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brand); border-radius: 2px; transition: .2s ease; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .08s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--brand-dark); box-shadow: var(--shadow-sm);
}
.btn-gold:hover { box-shadow: 0 12px 26px -12px rgba(196, 154, 58, .7); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 78px 0 84px;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(196,154,58,.20), transparent 70%),
    radial-gradient(760px 420px at 0% 0%, rgba(124,29,46,.12), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--surface); border: 1px solid var(--gold-soft);
  color: var(--brand); font-weight: 600; font-size: .85rem; padding: 7px 15px; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.lede { max-width: 540px; color: var(--muted); font-size: 1.14rem; margin-bottom: 30px; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero-note strong { color: var(--brand); }

/* ---------- Phone mockup ---------- */
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone {
  position: relative; width: 268px; height: 540px; border-radius: 40px;
  background: linear-gradient(160deg, #3a1117, #200a0e);
  padding: 12px; box-shadow: 0 40px 80px -36px rgba(42,20,22,.7), inset 0 0 0 2px rgba(226,190,99,.25);
}
.phone-cam { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 56px; height: 7px; background: #000; border-radius: 999px; z-index: 2; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column;
}
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 26px 16px 12px; background: var(--brand); color: #fff; }
.app-store { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.app-cart { font-size: 1.1rem; }
.app-banner {
  margin: 12px; padding: 14px; border-radius: 12px; text-align: center; font-weight: 600; font-size: .85rem;
  color: var(--brand-dark); background: linear-gradient(135deg, var(--gold-soft), #f7ead0);
  border: 1px solid var(--gold-soft);
}
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.tile {
  position: relative; aspect-ratio: 3/4; border-radius: 12px; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end;
}
.tile span {
  margin: 8px; font-size: .72rem; font-weight: 700; color: #fff;
  background: rgba(42,20,22,.55); padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(2px);
}
.tile.t1 { background: linear-gradient(140deg, #b22a4a, #7c1d2e); }
.tile.t2 { background: linear-gradient(140deg, #2f6e63, #16403a); }
.tile.t3 { background: linear-gradient(140deg, #d98a3d, #a85a1f); }
.tile.t4 { background: linear-gradient(140deg, #6a4f86, #3d2a52); }
.app-nav {
  margin-top: auto; display: flex; justify-content: space-around; padding: 12px 0;
  border-top: 1px solid var(--border); background: var(--surface); font-size: .78rem; color: var(--muted);
}
.app-nav .active { color: var(--brand); font-weight: 700; }
.art-badge {
  background: var(--surface); border: 1px solid var(--gold-soft); color: var(--brand);
  font-weight: 600; font-size: .85rem; padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.band { padding: 76px 0; background: var(--bg-alt); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; text-align: center; }
.section h2, .band h2, .built-for h2 { position: relative; padding-bottom: 18px; margin-bottom: 10px; }
.section h2::after, .band h2::after, .built-for h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 640px; font-size: 1.05rem; }
.section-sub strong { color: var(--brand); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .ic { font-size: 1.7rem; margin-bottom: 12px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--brand-dark); }
.card p { color: var(--muted); }
.card.mini h3 { font-size: 1.15rem; }
.card code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--brand); background: rgba(196,154,58,.14); padding: 1px 7px; border-radius: 6px; font-size: .9em; }

/* ---------- Steps ---------- */
.steps .step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px;
  color: var(--brand-dark); background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--brand-dark); }
.step p { color: var(--muted); }

/* ---------- Built for ---------- */
.built-for .pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.built-for .pills li {
  background: var(--surface); border: 1px solid var(--border); color: var(--brand-dark);
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm);
}

/* ---------- Pricing ---------- */
.pricing { gap: 20px; align-items: stretch; }
.pricing .plan { display: flex; flex-direction: column; position: relative; }
.pricing .card { padding: 30px 20px 28px; }

.plan-head { text-align: center; margin-bottom: 18px; }
.plan-head h3 { font-size: 1.3rem; margin-bottom: 4px; color: var(--brand-dark); }
.plan-tag { color: var(--muted); font-size: .87rem; }

/* Monthly + yearly side by side on desktop, stacked on small screens */
.plan-pricing {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  padding: 4px 12px 14px; margin-bottom: 22px;
}
.price-split { display: grid; grid-template-columns: 1fr 1fr; }
.price-cell {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 4px; min-width: 0; text-align: center;
}
.price-cell + .price-cell { border-left: 1px dashed var(--border); }
.price-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
/* Sans + tabular figures — the display serif's hairline strokes made the
   digits hard to read at this size, and the amounts didn't align */
.price-value {
  font-family: var(--sans); font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  color: var(--brand); white-space: nowrap; line-height: 1.2;
}
/* Side by side, the label above already reads MONTHLY / YEARLY */
.price-period { display: none; font-size: .72rem; font-weight: 600; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.price-save {
  margin-top: 12px; text-align: center; font-size: .78rem; font-weight: 700;
  color: var(--brand-dark); padding: 7px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: var(--shadow-sm);
}
.price-save-flat {
  background: none; box-shadow: none; color: var(--brand);
  border: 1px dashed var(--gold-soft); font-weight: 600;
}

.plan ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); }
.plan ul li { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.plan ul li:last-child { border-bottom: 0; }
.plan ul li strong { color: var(--brand-dark); }
.pricing-note {
  margin: 34px auto 0; max-width: 720px; text-align: center; color: var(--muted);
  font-size: .98rem; line-height: 1.65;
}
.pricing-note strong { color: var(--brand); }
.plan ul li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }

.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset, var(--shadow); }
.plan.featured .plan-pricing { border-color: var(--gold-soft); background: linear-gradient(180deg, var(--surface), #FBF1DC); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--brand-dark);
  font-size: .76rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ---------- Waitlist CTA ---------- */
.waitlist-card {
  text-align: center; border-radius: 24px; padding: 56px 28px;
  background:
    radial-gradient(600px 240px at 50% -10%, rgba(226,190,99,.28), transparent 70%),
    linear-gradient(160deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: var(--shadow); border: 1px solid rgba(226,190,99,.3);
}
.waitlist-card h2 { color: #fff; }
.waitlist-card h2::after { background: var(--gold); }
.waitlist-card > p { color: rgba(255,255,255,.88); max-width: 560px; margin: 16px auto 28px; font-size: 1.08rem; }
.waitlist-card > p strong { color: var(--gold-2); }
.waitlist-fine { font-size: .9rem; color: rgba(255,255,255,.7) !important; margin-top: 18px !important; }

/* ---------- Contact ---------- */
.contact-panel {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 34px 38px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.contact-panel::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.contact-person { display: flex; align-items: center; gap: 20px; }
.contact-avatar {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.7rem;
  letter-spacing: .02em; box-shadow: var(--shadow-sm);
  border: 3px solid var(--surface); outline: 1px solid var(--gold-soft);
}
.contact-avatar span { line-height: 1; transform: translateY(1px); }
.contact-panel .role { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-panel .contact-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--brand-dark); margin: 0 0 2px; }
.contact-panel .phone-no { font-weight: 600; font-size: 1.15rem; color: var(--text); margin: 0; }
.contact-panel .contact-hint { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-tag { color: var(--muted); margin-top: 8px; max-width: 280px; font-size: .95rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-label { color: var(--brand-dark); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-contact a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-contact a:hover { color: var(--brand); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--muted); text-align: center; font-size: .9rem; }

/* ---------- Responsive ---------- */
/* Drop the plans to 2-up early so the side-by-side prices keep their room */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing { row-gap: 34px; }
  .price-value { font-size: 1.55rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 14px 22px 22px; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 10px 4px; }
  .nav-links .btn { text-align: center; margin-top: 6px; }

  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Single column: stack the two prices as label/value rows */
  .price-split { grid-template-columns: 1fr; }
  .price-cell {
    flex-direction: row; align-items: baseline; justify-content: space-between;
    text-align: left; gap: 10px; padding: 11px 2px;
  }
  .price-cell + .price-cell { border-left: 0; border-top: 1px dashed var(--border); }
  .price-value { font-size: 1.35rem; }
  .price-period { display: inline; }
  .section, .band { padding: 60px 0; }

  .contact-panel { flex-direction: column; align-items: flex-start; gap: 22px; padding: 30px 26px; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .card:hover, .btn-gold:hover { transform: none; }
}
