/* ==========================================================================
   Kya Pehne — kyapehne.in
   Exaggerated minimalism on the app's brand system:
   saffron #E8631A · plum #4A1258 · gold #C9A84C · warm cream ground.
   Fraunces (display, italic) + Manrope (body). No frameworks, no build.
   ========================================================================== */

:root {
  --saffron: #E8631A;
  --saffron-deep: #C4521A;
  --saffron-tint: #FFE8D6;
  --plum: #4A1258;
  --plum-deep: #380D43;
  --plum-tint: #F3E8FF;
  --gold: #C9A84C;
  --gold-text: #8A6D1E;

  --cream: #FAF7F2;
  --surface: #FFFFFF;
  --surface-warm: #F5F0EA;
  --line: #E8E0D5;
  --ink: #1A1A1A;
  --ink-soft: #6B5E52;
  --ink-faint: #9C8E82;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lift: 0 18px 44px -18px rgba(122, 58, 14, 0.28);
  --wrap: 1120px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--saffron-deep); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---- Type scale ---- */
.eyebrow {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }
h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 550;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08;
  letter-spacing: -0.015em; margin-bottom: 40px;
}
h2 em, h1 em { color: var(--saffron); font-style: italic; }
.on-dark { color: var(--cream); }
.on-dark em { color: var(--gold); }
.lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--saffron); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 0.92rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-name {
  display: flex; flex-direction: column; line-height: 1.05;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.35rem;
}
.brand-name em {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint);
  margin-top: 3px;
}
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu > a:not(.btn) {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  transition: color 160ms ease;
}
.nav-menu > a:not(.btn):hover { color: var(--saffron-deep); }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: 48px; padding-top: 72px; padding-bottom: 84px;
}
h1 { font-weight: 500; }
.hero-q {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(3.4rem, 9vw, 6.2rem); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--saffron);
}
.hero-a {
  display: block; margin-top: 18px;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2; color: var(--ink);
}
.hero .lede { margin-top: 22px; }
.hero-note { margin-top: 14px; color: var(--ink-faint); font-size: 0.88rem; font-weight: 600; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-badges-center { justify-content: center; margin-top: 38px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  padding: 11px 22px 12px; border-radius: 14px;
  transition: transform 180ms ease, background 180ms ease;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.05rem; }
.store-badge small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
.store-badge[aria-disabled="true"] { cursor: default; }
.store-badge-light { background: var(--cream); color: var(--ink); }
.store-badge-light:hover { background: #fff; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-blob {
  position: absolute; inset: -8% -6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--saffron-tint) 0%, transparent 62%),
              radial-gradient(circle at 70% 75%, var(--plum-tint) 0%, transparent 58%);
}
.phone {
  position: relative; z-index: 1;
  width: min(320px, 82vw); border-radius: 44px;
  background: #101014; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(26, 12, 4, 0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
  transform: rotate(2.5deg);
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; border-radius: 999px; background: #101014; z-index: 3;
}
.screen {
  background: var(--cream); border-radius: 34px; overflow: hidden;
  padding: 58px 18px 22px; display: flex; flex-direction: column; gap: 16px;
  min-height: 560px;
}
.scr-head { display: flex; flex-direction: column; gap: 2px; }
.scr-greet { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.45rem; }
.scr-sub { color: var(--ink-faint); font-size: 0.8rem; font-weight: 600; }
.scr-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 0.78rem; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}
.chip-on { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.outfit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 12px 28px -18px rgba(122, 58, 14, 0.35);
}
.outfit-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile {
  aspect-ratio: 3 / 4; border-radius: 12px; position: relative; overflow: hidden;
}
.tile span {
  position: absolute; left: 7px; right: 7px; bottom: 7px;
  font-size: 0.58rem; font-weight: 700; color: #fff;
  background: rgba(20, 12, 8, 0.55); border-radius: 6px; padding: 3px 6px;
  backdrop-filter: blur(4px);
}
.tile-kurta   { background: linear-gradient(160deg, #3D5A99 0%, #2A3F73 70%), radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 50%); }
.tile-trouser { background: linear-gradient(160deg, #D9C7A7 0%, #BCA57F 80%); }
.tile-shoe    { background: linear-gradient(160deg, #A9683B 0%, #7E4A26 80%); }
.outfit-why { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; }
.outfit-why strong { color: var(--ink); }
.scr-cta {
  margin-top: auto; background: var(--ink); color: var(--cream);
  text-align: center; font-weight: 800; font-size: 0.95rem;
  padding: 14px; border-radius: 999px;
}

/* ---- Ticker ---- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--surface); padding: 14px 0; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 28px;
  animation: ticker 36s linear infinite;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.15rem; color: var(--ink-soft);
}
.ticker-track i { font-style: normal; color: var(--gold); font-size: 0.85rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Sections ---- */
.section { padding-block: 96px; }
.section-plum { background: var(--plum); }
.section-plum .steps h3 { color: var(--cream); }
.section-plum .steps p { color: #CBB8D6; }
.section-warm { background: var(--surface-warm); }

/* ---- Features ---- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px;
}
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.f-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--saffron-tint); color: var(--saffron-deep);
}
.f-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; }
.feature h3 em { font-style: italic; font-family: var(--font-display); color: var(--saffron); }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Steps ---- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.steps li { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 3.4rem; line-height: 1; color: var(--gold);
}
.steps h3 { font-size: 1.15rem; font-weight: 800; }
.steps p { font-size: 0.95rem; }

/* ---- Reviews ---- */
.review-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.review blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic;
  font-size: 1.12rem; line-height: 1.5; color: var(--ink);
}
.review figcaption { color: var(--ink-faint); font-size: 0.88rem; }
.review figcaption b { color: var(--ink-soft); }
.review-note { margin-top: 26px; color: var(--ink-faint); font-size: 0.88rem; }

/* ---- Pricing ---- */
.price-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px; max-width: 760px;
}
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px;
}
.price-card h3 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.6rem; }
.price { margin-top: 8px; color: var(--ink-soft); font-weight: 600; }
.price span { font-size: 2rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.price s { color: var(--ink-faint); font-weight: 600; font-size: 1.05rem; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; margin-right: 2px; }
.price-yr { margin-top: 2px; }
.price-yr span { font-size: 1.35rem; }
.price-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: 0.97rem; }
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--saffron); border-bottom: 2.5px solid var(--saffron);
  transform: rotate(-45deg);
}
.price-featured { border: 2px solid var(--saffron); box-shadow: var(--shadow-lift); position: relative; }
.price-tag {
  position: absolute; top: -14px; left: 28px;
  background: var(--saffron); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.price-note { margin-top: 24px; color: var(--ink-faint); font-size: 0.85rem; }

/* ---- FAQ ---- */
.faq-wrap h2 { margin-bottom: 32px; }
.faq { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px 0; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; width: 14px; height: 14px; flex: none; }
.faq-x::before, .faq-x::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--saffron);
  transition: transform 200ms ease;
}
.faq-x::before { width: 14px; height: 2.5px; }
.faq-x::after { width: 2.5px; height: 14px; }
.faq details[open] .faq-x::after { transform: rotate(90deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 60%, #A63F0C 100%);
  padding-block: 88px; text-align: center;
}
.cta-band h2 { margin-bottom: 0; }
.cta-band .on-dark em { color: #FFE8B8; }

/* ---- Contact ---- */
.contact { padding-bottom: 110px; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 52px 56px;
}
.contact-card h2 { margin-bottom: 10px; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-sub { color: var(--ink-faint); font-size: 0.86rem; }

/* ---- Footer ---- */
.site-footer { background: var(--plum-deep); color: #CBB8D6; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-block: 56px 40px;
}
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-name em { color: #9B85A8; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: #CBB8D6; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--cream); }
.footer-base { border-top: 1px solid rgba(203, 184, 214, 0.2); padding-block: 22px; }
.footer-base p { font-size: 0.82rem; color: #9B85A8; }

/* ---- Legal / plain pages ---- */
.legal { max-width: 760px; margin-inline: auto; padding: 64px 24px 96px; }
.legal h1 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: 0.88rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 8px; }

/* ---- Reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.in, .js .reveal.no-observer { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 56px; }
  .hero-visual { order: 1; }
  .hero-blob { inset: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 38px 30px; }
}
@media (max-width: 760px) {
  .section { padding-block: 68px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; padding: 12px;
    background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu.nav-simple { display: flex; position: static; flex-direction: row; background: none; border: 0; padding: 0; }
  .nav-menu > a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  .nav-menu .btn { margin-top: 10px; justify-content: center; }
  .store-badge { flex: 1 1 210px; justify-content: center; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store-badge, .feature { transition: none; }
}
