/* Nanga Kathai marketing site. Colours match lib/app/theme.dart (NkColors). */
:root {
  --ground: #0B1A14;
  --surface: #14281F;
  --raised: #1F3A2B;
  --outline: #2A4537;
  --emblem: #1F4A2E;
  --tea: #7FA857;
  --sun: #F5B335;
  --cream: #FBF7EE;
  --muted: #9FB3A6;
  --on-photo: #DCE5DF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--on-photo);
  font: 17px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: Sora, Manrope, sans-serif; color: var(--cream); line-height: 1.12; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
a { color: var(--sun); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--sun); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
section { padding: 96px 0 0; scroll-margin-top: 40px; }
.center-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.center-head p.muted { margin: 14px 0 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 26, 20, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(42, 69, 55, .5); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font: 700 18px Sora, sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.top nav a:not(.btn) { color: var(--on-photo); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:not(.btn):hover { color: var(--sun); }
@media (max-width: 760px) { .top nav a.opt { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn.sm { padding: 9px 18px; font-size: 14px; }
.btn.primary { background: var(--sun); color: var(--ground); }
.btn.primary:hover { background: #ffc552; }
.btn.ghost { background: rgba(251,247,238,.08); color: var(--cream); border: 1px solid rgba(251,247,238,.25); }
.btn.ghost:hover { background: rgba(251,247,238,.16); }
.link { color: var(--sun); font-weight: 700; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 18px; border-radius: 14px;
  background: var(--cream); color: var(--ground); text-decoration: none; font: 700 18px/1.15 Sora, sans-serif; min-width: 190px;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font: 600 11px Manrope, sans-serif; opacity: .7; }
.store-badge:hover { background: #fff; }
.store-badge.soon { cursor: default; }
.store-badge.soon:hover { background: var(--cream); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ground) 20%, rgba(11,26,20,.6) 60%, rgba(11,26,20,.35)), linear-gradient(180deg, transparent 70%, var(--ground)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); }
.hero h1 em { font-style: normal; color: var(--sun); }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 580px; margin: 22px 0 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--cream); font: 700 24px Sora, sans-serif; margin-right: 4px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .phone { margin: 0 auto; } }

/* Phone preview */
.phone {
  width: 300px; border-radius: 44px; padding: 12px; background: #050d09;
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 2px #2a3a31; justify-self: center; transform: rotate(2deg);
}
.phone-screen { position: relative; border-radius: 34px; overflow: hidden; background: var(--ground); padding: 28px 22px 26px; text-align: center; }
.phone-photo { position: absolute; inset: 0 0 45% 0; }
.phone-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.phone-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,20,.2), var(--ground)); }
.phone-screen > *:not(.phone-photo) { position: relative; }
.phone-label { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-photo); }
.phone-art { width: 196px; margin: 0 auto 20px; }
.phone-art .cover { border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.phone-art .cover span { font-size: 64px; }
.phone-screen > b { display: block; color: var(--cream); font: 700 19px Sora, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-screen > span { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-progress { height: 4px; border-radius: 4px; background: rgba(251,247,238,.18); margin: 20px 0 6px; overflow: hidden; }
.phone-progress i { display: block; height: 100%; width: 0; background: var(--sun); }
.phone-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.phone-controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 10px; }
.phone-controls button { background: none; border: 0; color: var(--cream); padding: 6px; display: grid; place-items: center; border-radius: 999px; }
.phone-controls button svg { width: 26px; height: 26px; }
.phone-controls .big { width: 60px; height: 60px; background: var(--sun); color: var(--ground); }
.phone-controls .big:hover { background: #ffc552; }

/* Covers */
.cover { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6%; min-height: 3px; background: var(--cream); opacity: .9; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover span { color: rgba(251,247,238,.75); font-size: 22px; }

/* Song samples */
.listen-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.listen-grid h2 { margin-bottom: 16px; }
.listen-grid p { margin: 0 0 20px; }
@media (max-width: 860px) { .listen-grid { grid-template-columns: 1fr; gap: 28px; } }
.samples { list-style: none; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--outline); border-radius: 22px; }
.sample { display: grid; grid-template-columns: 40px 48px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; cursor: pointer; }
.sample:hover, .sample.playing { background: var(--raised); }
.sample-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(251,247,238,.1); color: var(--cream); display: grid; place-items: center; }
.sample:hover .sample-btn, .sample.playing .sample-btn { background: var(--sun); color: var(--ground); }
.sample-btn svg { width: 18px; height: 18px; }
.sample .t { min-width: 0; }
.sample b { display: block; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sample.playing b { color: var(--sun); }
.sample .t span { display: block; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 35%, transparent); color: var(--cream); white-space: nowrap; }
.dur { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .sample { grid-template-columns: 40px 44px minmax(0, 1fr) auto; } .sample .tag { display: none; } }
.skeleton { list-style: none; height: 64px; margin: 6px 0; border-radius: 14px; background: linear-gradient(90deg, var(--surface), var(--raised), var(--surface)); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { color: var(--muted); padding: 20px; }

/* Occasions */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: 18px; padding: 24px 22px 30px; background: var(--c); min-height: 160px; }
.tile:first-child { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--cream); opacity: .9; }
.tile b { display: block; font: 700 22px Sora, sans-serif; color: var(--cream); margin-bottom: 6px; }
.tile span { font-size: 15px; color: rgba(251,247,238,.85); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile:first-child { grid-row: auto; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--outline); border-radius: 20px; padding: 28px; }
.feature i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(245,179,53,.14); color: var(--sun); font-style: normal; font-size: 22px; margin-bottom: 18px; }
.feature b { display: block; color: var(--cream); font: 700 19px Sora, sans-serif; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.story img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story h2 { margin-bottom: 20px; }
.story p { margin: 0 0 16px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story img { aspect-ratio: 16 / 10; } }

/* Places */
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.places span { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--outline); background: var(--surface); color: var(--cream); font-weight: 600; font-size: 15px; }
.places span:nth-child(-n+4) { border-color: rgba(127,168,87,.6); color: var(--tea); }

/* Creators */
.creator-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 24px; border: 1px dashed rgba(245,179,53,.5); background: rgba(245,179,53,.05); }
.creator-band > div { max-width: 640px; }
.creator-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.creator-band p { margin: 0; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--outline); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; color: var(--cream); font: 600 19px Sora, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--sun); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--on-photo); }

/* Download */
.app-band { border-radius: 28px; padding: 56px; background: radial-gradient(circle at 85% 20%, rgba(245,179,53,.18), transparent 50%), linear-gradient(120deg, var(--emblem), var(--surface)); display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.app-band .icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.app-band p { margin: 10px 0 24px; font-size: 19px; }
@media (max-width: 700px) { .app-band { grid-template-columns: 1fr; padding: 32px; } .app-band .icon { width: 96px; height: 96px; } }

/* Footer */
footer { margin-top: 96px; border-top: 1px solid var(--outline); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
footer .brand { font-size: 16px; }
footer .brand img { width: 28px; height: 28px; border-radius: 7px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer nav a { color: var(--on-photo); text-decoration: none; }
footer nav a:hover { color: var(--sun); }
footer .copy { width: 100%; }
