/* Kirvik — brand stylesheet. Forest green + warm ivory, editorial serif. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&family=Tiro+Devanagari+Hindi&display=swap');

:root {
  --forest: #1B3A2F;
  --forest-soft: #2a4d40;
  --ivory: #F5F1E8;
  --ivory-dim: #ece7da;
  --sage: #5a7266;
  --gold: #b08d57;
  --ink: #1a1a1a;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1120px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dev: 'Tiro Devanagari Hindi', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--forest { background: var(--forest); color: var(--ivory); }
.section--ivory-dim { background: var(--ivory-dim); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--sage); max-width: 640px; }
.section--forest .lead { color: #cdd6cf; }

/* Wordmark */
.wordmark { font-size: 1.7rem; line-height: 1; letter-spacing: .5px; }
.wordmark .dev { font-family: var(--dev); }
.wordmark .lat { font-family: var(--serif); font-weight: 600; }
.wordmark--hero { font-size: clamp(3.4rem, 9vw, 6rem); }
.romanization { font-family: var(--serif); font-weight: 500; letter-spacing: .45em; font-size: .85rem; color: var(--sage); text-transform: uppercase; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(245,241,232,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ivory-dim); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 12px; color: var(--forest); }
.nav__brand:hover { text-decoration: none; }
.nav__links { display: flex; gap: 28px; align-items: center; font-size: .95rem; font-weight: 500; }
.nav__links a { color: var(--forest); }
.brandmark { width: 34px; height: 34px; border-radius: 9px; background: var(--forest); display: grid; place-items: center; }
.brandmark svg { width: 22px; height: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, opacity .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--forest); color: var(--ivory); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--forest); }
.section--forest .btn--ghost { color: var(--ivory); }

/* Hero */
.hero { padding: 84px 0 96px; text-align: center; }
.hero .romanization { margin: 14px 0 26px; }
.hero__badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Store badges (coming soon) */
.storebadge { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; background: var(--forest); color: var(--ivory); opacity: .55; font-size: .82rem; line-height: 1.15; cursor: default; }
.storebadge svg { width: 24px; height: 24px; flex: none; }
.storebadge small { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.storebadge b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.storebadge__note { display: block; text-align: center; margin-top: 14px; font-size: .82rem; color: var(--sage); letter-spacing: .04em; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--ivory-dim); border-radius: var(--radius); padding: 28px; }
.section--forest .card { background: var(--forest-soft); border-color: rgba(255,255,255,.08); color: var(--ivory); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--sage); margin: 0; font-size: .98rem; }
.section--forest .card p { color: #cdd6cf; }
.card .ic { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }

/* Story */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story__mark { background: var(--forest); color: var(--ivory); border-radius: 20px; padding: 56px 32px; text-align: center; }
.story__mark .wordmark { font-size: clamp(2.6rem, 7vw, 4rem); }
.story__mark .romanization { color: #b9c5ba; margin-top: 16px; }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--ivory-dim); padding: 20px 0; }
.faq summary { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--sage); margin: 14px 0 0; }

/* Footer */
.footer { background: var(--forest); color: var(--ivory); padding: 64px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer a { color: #cdd6cf; }
.footer a:hover { color: var(--ivory); }
.footer__links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer__col a { display: block; margin-bottom: 8px; font-size: .95rem; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: #a9b6ab; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal .updated { color: var(--sage); font-size: .95rem; margin-top: -.4em; margin-bottom: 2.2em; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4em; }
.legal p, .legal li { color: #33383a; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; }
.legal th, .legal td { border: 1px solid var(--ivory-dim); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--ivory-dim); }
.legal .note { background: #fff8e8; border: 1px solid #f0e2bf; border-radius: 10px; padding: 14px 18px; font-size: .9rem; }
.legal code { background: var(--ivory-dim); padding: 1px 6px; border-radius: 5px; font-size: .9em; }

/* Split hero + app mockup */
.hero--split { text-align: left; padding: 72px 0 88px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero--split h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 6px; }
.hero__copy .lead { margin: 22px 0 0; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__note { font-size: .86rem; color: var(--sage); margin-top: 16px; letter-spacing: .02em; }

.storebadge--live { opacity: 1; cursor: pointer; transition: transform .12s ease, box-shadow .15s ease; }
.storebadge--live:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,58,47,.22); }

/* Phone mockup (recreated app UI, no external assets) */
.phone { justify-self: center; width: 300px; height: 610px; background: #12241c; border-radius: 42px; padding: 12px; box-shadow: 0 30px 70px rgba(20,30,24,.32); }
.phone__screen { width: 100%; height: 100%; background: var(--ivory); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; padding: 22px 18px 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-greeting { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.app-weather { font-size: .85rem; color: var(--sage); }
.app-card { margin-top: 16px; background: var(--white); border: 1px solid var(--ivory-dim); border-radius: 16px; padding: 16px; flex: 1; }
.app-card__label { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.app-card__name { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink); margin: 2px 0 12px; }
.app-collage { height: 220px; border-radius: 12px; position: relative; overflow: hidden; background: linear-gradient(160deg,#F6F4F1,#EFEBE6 60%,#E7E2DB); }
.app-collage .g { position: absolute; border-radius: 6px; box-shadow: 0 5px 13px rgba(20,20,20,.12); }
.app-collage .g1 { left: 18%; top: 6%; width: 50%; height: 40%; background: #bcc7dc; transform: rotate(-3deg); }
.app-collage .g2 { left: 26%; top: 44%; width: 46%; height: 44%; background: #24242d; }
.app-collage .g3 { left: 6%; top: 14%; width: 30%; height: 44%; background: #8a5a3c; transform: rotate(4deg); }
.app-swatches { display: flex; gap: 8px; margin-top: 14px; }
.app-swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ivory-dim); }
.app-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.app-chips span { font-size: .72rem; color: var(--forest); background: var(--ivory-dim); padding: 4px 10px; border-radius: 999px; }
.app-nav { display: flex; justify-content: space-between; padding: 14px 6px 18px; font-size: .68rem; color: #9a9a90; }
.app-nav .on { color: var(--forest); font-weight: 600; }

/* How-it-works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step { background: var(--forest-soft); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 30px 26px; }
.step__n { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--forest); background: var(--gold); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { color: var(--ivory); }
.step p { color: #cdd6cf; margin: 0; font-size: .98rem; }

/* Pricing plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: start; }
.plan { background: var(--white); border: 1px solid var(--ivory-dim); border-radius: 18px; padding: 30px 26px; position: relative; }
.plan--featured { border: 2px solid var(--forest); box-shadow: 0 16px 40px rgba(27,58,47,.12); }
.plan__flag { position: absolute; top: -13px; left: 26px; background: var(--forest); color: var(--ivory); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan__name { font-size: 1.5rem; margin-bottom: 6px; }
.plan__price { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.plan__price span { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--sage); margin-left: 4px; }
.plan__list { list-style: none; padding: 0; margin: 22px 0 26px; }
.plan__list li { position: relative; padding-left: 24px; margin-bottom: 11px; color: #3a4a41; font-size: .95rem; }
.plan__list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan__list li:first-child { font-weight: 600; color: var(--forest); }
.plan__list li:first-child::before { content: ''; }
.plan__cta { width: 100%; justify-content: center; }

/* Closing CTA band */
.cta-band { padding: 72px 0; text-align: center; }
.cta-band h2 { max-width: 620px; margin: 0 auto .3em; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero--split { text-align: center; }
  .hero__cta { justify-content: center; }
  .steps, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links a:not(.btn) { display: none; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}
