/*
 * Swamy landing site. Direction "A · Leaf line".
 * Colours: apps/ios/Swamy/Core/Theme.swift and apps/android/.../ui/Theme.kt (object C).
 * Type, radii and cards: design/cards_v6/project (column A), design/screens/v5/Welcome.dc.html.
 */

@font-face { font-family: 'Hind Guntur'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/HindGuntur-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Hind Guntur'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('fonts/HindGuntur-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Hind Guntur'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/HindGuntur-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Baloo Tammudu 2'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/BalooTammudu2-Bold.woff2') format('woff2'); }

:root {
  --ink: #141414;
  --leaf: #1F6B3A;
  --leaf-dark: #16502B;
  --leaf-tint: #EAF4EC;
  --leaf-pale: #F6FBF7;
  --turmeric: #F2B705;
  --turmeric-tint: #FFF4CC;
  --turmeric-soft: #FFF8DD;
  --turmeric-ink: #6B4E00;
  --grey: #6B6B6B;
  --grey-text: #3A3A38;
  --line: #E6E6E3;
  --line-soft: #F0F0EE;
  --line-btn: #D9D9D5;
  --bubble: #F4F4F2;
  --card-head: #FAFAF8;
  --te: 'Hind Guntur', 'Noto Sans Telugu', 'Telugu Sangam MN', 'Gautami', system-ui, sans-serif;
  --te-display: 'Baloo Tammudu 2', 'Hind Guntur', 'Noto Sans Telugu', system-ui, sans-serif;
  --sys: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--te); font-size: 17px; line-height: 1.65; }
[lang="en"] { font-family: var(--sys); line-height: 1.5; }
[lang="te"] { font-family: var(--te); line-height: 1.65; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-dark); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--turmeric); }

/* language: Telugu is in the page; English is shown when <html data-lang="en"> */
html:not([data-lang="en"]) [data-l="en"], html[data-lang="en"] [data-l="te"] { display: none !important; }
html:not(.js) .needs-js { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; background: #FFFFFF; padding: 8px 14px; border: 2px solid var(--leaf); border-radius: 12px; font-weight: 700; z-index: 10; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* header */
.top { border-bottom: 1px solid var(--line-soft); }
.top .wrap { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { flex: none; }
.brand-name { font-family: var(--te-display); font-weight: 700; font-size: 20px; line-height: 1.3; padding-top: 4px; white-space: nowrap; }
.langs { display: flex; gap: 6px; }
.langs button { min-height: 40px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.langs button[lang="te"] { padding-top: 3px; }
.langs button[aria-pressed="true"] { border: 2px solid var(--leaf); background: var(--leaf-tint); color: var(--leaf); font-weight: 700; padding-left: 10px; padding-right: 10px; }

/* type */
h1, h2, h3 { font-weight: 700; }
h1[lang="te"], h2[lang="te"], .h-te { font-family: var(--te-display); line-height: 1.35; }
h1 { font-size: 34px; }
html[data-lang="en"] h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.01em; }
h1 > span[data-l], h2 > span[data-l] { line-height: inherit; }
h2 { font-size: 26px; }
html[data-lang="en"] h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 18px; line-height: 1.45; }
h3[lang="en"] { font-size: 17px; line-height: 1.35; }
.lead { font-size: 19px; color: var(--grey-text); }
.lead[lang="en"] { font-size: 18px; }
.muted { color: var(--grey); font-size: 15px; }
.label { font-size: 13px; font-weight: 700; color: var(--leaf); }

section { padding: 44px 0; }
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; max-width: 640px; }

/* hero */
.hero { padding: 28px 0 44px; }
.hero .wrap { display: grid; gap: 32px; }
.hero-text { display: flex; flex-direction: column; gap: 14px; }
.cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 4px 28px 0; border-radius: 30px; border: 0; background: var(--leaf); color: #FFFFFF; font-family: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.3; }
html[data-lang="en"] .btn { padding-top: 0; font-size: 17px; }
.btn:hover { background: var(--leaf-dark); color: #FFFFFF; }
.btn[disabled] { background: var(--bubble); color: var(--grey); cursor: not-allowed; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-btn); border-radius: 22px; font-size: 15px; color: var(--ink); text-decoration: none; background: #FFFFFF; }
.store b { font-family: var(--sys); font-weight: 600; }
.store .state { font-size: 13px; font-weight: 700; color: var(--turmeric-ink); background: var(--turmeric-tint); border-radius: 10px; padding: 2px 10px; }
a.store { border-color: var(--leaf); color: var(--leaf); font-weight: 700; }
.store .live, a.store .soon { display: none; }
a.store .live { display: inline; }

/* the drawn app screen */
.phone { width: 100%; max-width: 340px; margin: 0 auto; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #FFFFFF; font-size: 14px; }
.phone [lang="te"] { line-height: 1.5; }
.phone [lang="en"] { line-height: 1.4; }
.ph-nav { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 1px solid var(--line-soft); }
.ph-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--leaf-tint); color: var(--leaf); font-weight: 700; font-size: 13px; border-radius: 16px; padding: 5px 12px 3px; white-space: nowrap; }
.ph-pill[data-l="en"], .ph-pill [lang="en"] { padding-top: 0; }
.ph-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); flex: none; margin-bottom: 2px; }
.ph-body { padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 12px; }
.row-done { display: flex; align-items: center; gap: 10px; padding: 9px 14px 7px; border: 1px solid var(--line-soft); border-radius: 14px; }
.row-done .tick { width: 22px; height: 22px; border-radius: 11px; background: var(--leaf-tint); display: flex; align-items: center; justify-content: center; flex: none; }
.row-done .t { flex: 1; color: var(--grey); }
.row-done .s { font-size: 12px; font-weight: 600; color: var(--leaf); }
.step { border: 2px solid var(--leaf); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.num { width: 40px; height: 40px; border-radius: 12px; background: var(--leaf); color: #FFFFFF; font-family: var(--te-display); font-weight: 700; font-size: 20px; line-height: 1; padding-top: 5px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-title { font-size: 16px; font-weight: 700; line-height: 1.3; display: block; }
.step-of { font-size: 12px; color: var(--grey); display: block; }
.bars { display: flex; gap: 4px; }
.bars span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.bars .d { background: var(--leaf); }
.bars .c { background: var(--turmeric); }
.step p { color: var(--grey-text); }
.step-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pillbtn { display: inline-flex; align-items: center; min-height: 38px; padding: 2px 16px 0; border-radius: 20px; background: var(--bubble); font-weight: 700; font-size: 14px; }
.pillbtn[lang="en"] { padding-top: 0; }
.step-act .or { font-size: 12.5px; color: var(--grey); }
.said { align-self: flex-end; background: var(--bubble); border-radius: 18px; padding: 9px 14px 6px; max-width: 85%; }
.said[lang="en"] { padding: 8px 14px; }
.swamy-line { display: flex; gap: 10px; align-items: flex-start; }
.swamy-line svg { flex: none; margin-top: 1px; }
.ph-dock { padding: 10px 14px 16px; }
.composer { display: flex; align-items: center; gap: 8px; height: 52px; border: 1px solid #E2E2DE; border-radius: 26px; padding: 0 5px 0 18px; box-shadow: 0 2px 12px rgba(20,20,20,.06); }
.composer .t { flex: 1; color: var(--grey); font-size: 14px; padding-top: 3px; }
.composer .t[lang="en"] { padding-top: 0; }
.composer .v { width: 42px; height: 42px; border-radius: 21px; background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.caption { font-size: 14px; color: var(--grey); text-align: center; margin-top: 10px; }

/* how it goes */
.steps3 { display: grid; gap: 12px; }
.steps3 li { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; gap: 14px; align-items: flex-start; }
.steps3 .body { display: flex; flex-direction: column; gap: 2px; }
.steps3 p { color: var(--grey-text); font-size: 16px; }

/* what Swamy does */
.does { display: grid; gap: 12px; }
.does li { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.does p { color: var(--grey-text); font-size: 16px; }

/* in the app */
.tint { background: var(--leaf-pale); }
.shots { display: grid; gap: 28px; align-items: start; }
.shot { display: flex; flex-direction: column; align-items: center; }
.shot img { width: 100%; max-width: 300px; aspect-ratio: 645 / 1250; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; }
.mantra { width: 100%; max-width: 340px; background: var(--ink); color: #FFFFFF; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 13px; font-size: 14px; }
.mantra-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mantra-top .l { font-size: 12px; font-weight: 600; color: #BDBDB8; }
.badge { font-size: 11px; font-weight: 700; color: var(--ink); background: var(--turmeric); border-radius: 8px; padding: 3px 8px 1px; white-space: nowrap; }
.badge[lang="en"] { padding: 2px 8px; }
.chips { display: flex; gap: 6px; }
.chips span { font-size: 12px; font-weight: 600; background: #2A2A28; color: #D9D9D5; border-radius: 12px; padding: 3px 10px; line-height: 1.5; }
.chips .on { background: #FFFFFF; color: var(--ink); font-weight: 700; }
.mantra-text { font-family: var(--te); font-size: 21px; font-weight: 600; line-height: 1.6; }
.mantra-text[lang="sa-Latn"] { font-family: var(--sys); font-size: 18px; }
.ai-voice { font-size: 12px; font-weight: 600; color: var(--turmeric); }
.player { display: flex; align-items: center; gap: 12px; }
.player .pp { width: 44px; height: 44px; border-radius: 22px; background: var(--turmeric); display: flex; align-items: center; justify-content: center; flex: none; }
.player .track { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.player .bar { height: 4px; border-radius: 2px; background: #3A3A38; }
.player .bar i { display: block; width: 58%; height: 4px; border-radius: 2px; background: var(--turmeric); }
.player .say { font-size: 12px; font-weight: 600; color: #BDBDB8; }

/* plain truths */
.truths { display: grid; gap: 10px; }
.truths li { background: var(--turmeric-tint); color: var(--turmeric-ink); border-radius: 18px; padding: 15px 16px 13px; font-size: 16px; }
.truths b { font-weight: 700; display: block; color: var(--turmeric-ink); }

/* waitlist */
.wait { border: 2px solid var(--leaf); border-radius: 18px; padding: 20px 16px; display: grid; gap: 20px; }
.wait-text { display: flex; flex-direction: column; gap: 8px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--grey); }
.field input[type="text"] { height: 52px; border: 1px solid #8A8A86; border-radius: 14px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background: #FFFFFF; width: 100%; }
.field input[type="text"]:focus-visible { outline: 3px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }
fieldset[disabled] input[type="text"] { background: var(--card-head); border-color: var(--line); }
.radios { display: flex; gap: 8px; }
.radios label { flex: 1; position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radios span { display: flex; align-items: center; justify-content: center; height: 52px; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 16px; background: #FFFFFF; }
.radios span[lang="te"] { padding-top: 4px; }
.radios input:checked + span { border: 2px solid var(--leaf); background: var(--leaf-tint); color: var(--leaf); font-weight: 700; }
.radios input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 3px; }
fieldset[disabled] .radios span { color: var(--grey); }
fieldset[disabled] .radios input { cursor: not-allowed; }
.note { background: var(--turmeric-tint); color: var(--turmeric-ink); border-radius: 14px; padding: 12px 14px 10px; font-size: 15px; }
.msg { border-radius: 14px; padding: 12px 14px 10px; font-size: 15px; font-weight: 600; }
.msg.ok { background: var(--leaf-tint); color: var(--leaf-dark); }
.msg.err { background: #FFF6F4; color: #8E2318; }
.msg:empty { display: none; }

/* footer */
.foot { border-top: 1px solid var(--line-soft); padding: 28px 0 40px; font-size: 15px; color: var(--grey); }
.foot .wrap { display: flex; flex-direction: column; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot small { font-size: 13px; }

/* text pages */
.doc { padding: 32px 0 48px; }
.doc .wrap > div { display: flex; flex-direction: column; gap: 14px; }
.doc h1 { margin-bottom: 4px; }
.doc h2 { font-size: 21px; margin-top: 18px; }
html[data-lang="en"] .doc h2 { font-size: 20px; }
.doc p, .doc li { color: var(--grey-text); }
.doc ul { display: flex; flex-direction: column; gap: 8px; }
.doc ul li { padding-left: 20px; position: relative; }
.doc ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
[lang="en"] ul li::before { top: .55em; }
.doc .updated { font-size: 14px; color: var(--grey); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

@media (min-width: 620px) {
  .wrap { padding: 0 24px; }
  .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps3 li { flex-direction: column; }
  .does { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .wait { padding: 28px; }
}
@media (min-width: 900px) {
  h1 { font-size: 46px; }
  html[data-lang="en"] h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  html[data-lang="en"] h2 { font-size: 28px; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; }
  .hero-text { gap: 18px; }
  .lead { font-size: 21px; }
  .lead[lang="en"] { font-size: 20px; }
  .does { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .truths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 379px) { .brand-name { font-size: 18px; } .langs button { padding: 0 9px; } .langs button[aria-pressed="true"] { padding: 0 8px; } }
