/*
 * SWMY site. Home page: the owner-approved design (Nov 2026, "Main.dc.html"): cream page, leaf green, dark store buttons,
 * the drawn phone, the rolling headline. The text pages (privacy, terms, support, delete) share the header and footer look.
 * Fonts: Baloo Tammudu 2 (display) and Hind Guntur (text) are self-hosted for Telugu and Latin. The other eight scripts use
 * Noto Sans <script> (linked from index.html only), then the system fonts.
 */

@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: #1B1B18;
  --ink-2: #3B3B36;
  --text-2: #4A4A44;
  --muted: #5C5C55;
  --cream: #FBF8F1;
  --chip: #EFEADF;
  --line: #ECE6D8;
  --leaf: #1F6B3A;
  --leaf-dark: #16502B;
  --leaf-tint: #EAF2EC;
  /* per-script fonts: --ff text, --ffd display. Set on any element that carries a lang attribute. */
  --ff: 'Hind Guntur';
  --ffd: 'Baloo Tammudu 2';
  --sys: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
[lang="en"], [lang="te"] { --ff: 'Hind Guntur'; --ffd: 'Baloo Tammudu 2'; }
[lang="hi"], [lang="mr"] { --ff: 'Noto Sans Devanagari'; --ffd: 'Noto Sans Devanagari'; }
[lang="ta"] { --ff: 'Noto Sans Tamil'; --ffd: 'Noto Sans Tamil'; }
[lang="kn"] { --ff: 'Noto Sans Kannada'; --ffd: 'Noto Sans Kannada'; }
[lang="ml"] { --ff: 'Noto Sans Malayalam'; --ffd: 'Noto Sans Malayalam'; }
[lang="gu"] { --ff: 'Noto Sans Gujarati'; --ffd: 'Noto Sans Gujarati'; }
[lang="bn"] { --ff: 'Noto Sans Bengali'; --ffd: 'Noto Sans Bengali'; }
[lang="or"] { --ff: 'Noto Sans Oriya'; --ffd: 'Noto Sans Oriya'; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--ff), 'Hind Guntur', var(--sys); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
[lang] { font-family: var(--ff), 'Hind Guntur', var(--sys); }
.disp, h1, h2 { font-family: var(--ffd), var(--ff), 'Baloo Tammudu 2', var(--sys); }
img, svg { max-width: 100%; }
img { display: block; }
p, h1, h2, h3, ul, ol { 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; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.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; }

/* ================= home: header ================= */
.h-top { max-width: 1160px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.h-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.h-brand img { width: 40px; height: 40px; border-radius: 10px; }
.h-brand span { font-family: 'Baloo Tammudu 2', var(--sys); font-weight: 700; font-size: 24px; letter-spacing: .04em; line-height: 1; padding-top: 4px; }
.h-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.h-nav > a { text-decoration: none; color: var(--ink-2); }
.h-nav > a:hover { color: var(--leaf); }
.h-lang { display: flex; align-items: center; gap: 6px; background: var(--chip); border-radius: 18px; padding: 0 6px 0 12px; min-height: 38px; }
.h-lang svg { flex: none; }
.h-lang select { border: none; background: none; font: 600 14px var(--ff), 'Hind Guntur', 'Noto Sans Devanagari', var(--sys); color: var(--ink); padding: 6px 4px; min-height: 36px; cursor: pointer; }

/* ================= home: hero ================= */
.hero { max-width: 1160px; margin: 0 auto; padding: 36px 24px 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge { align-self: flex-start; background: var(--leaf-tint); color: var(--leaf); border-radius: 16px; padding: 5px 14px; font-size: 14px; font-weight: 600; }

/* The rolling headline: 10 languages plus the first again, one slot each; the strip moves up by 1/11 of its own height
   per step (percentages, so the slot can change size per screen width). 30s, as in the design. */
.hero-h { --slot: 2.2em; margin: 0; font-weight: 700; font-size: clamp(36px, 3.75vw, 48px); line-height: 1; } /* 48px / 76px at 1280 wide */
.roll-win { display: block; height: var(--slot); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); } /* 23 Nov: tall Indic marks never peek */
.roll { display: flex; flex-direction: column; animation: swmyRoll 30s cubic-bezier(.7,0,.3,1) infinite; }
.roll > span { display: block; height: var(--slot); line-height: var(--slot); white-space: nowrap; color: var(--ink);
  font-family: var(--ffd), var(--ff), 'Baloo Tammudu 2', var(--sys); }
.roll > span:nth-child(even) { color: var(--leaf); }
@keyframes swmyRoll {
  0%, 8% { transform: translateY(0); }
  10%, 18% { transform: translateY(-9.0909%); }
  20%, 28% { transform: translateY(-18.1818%); }
  30%, 38% { transform: translateY(-27.2727%); }
  40%, 48% { transform: translateY(-36.3636%); }
  50%, 58% { transform: translateY(-45.4545%); }
  60%, 68% { transform: translateY(-54.5455%); }
  70%, 78% { transform: translateY(-63.6364%); }
  80%, 88% { transform: translateY(-72.7273%); }
  90%, 98% { transform: translateY(-81.8182%); }
  100% { transform: translateY(-90.9091%); }
}
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 520px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: #FFFFFF; text-decoration: none; }
.store:hover { background: #000000; color: #FFFFFF; }
.store svg { flex: none; }
.store-t { display: flex; flex-direction: column; line-height: 1.15; }
.store-s { font-size: 11px; }
.store-n { font-size: 18px; font-weight: 600; font-family: 'Hind Guntur', var(--sys); }
.trial-line { font-size: 14px; color: var(--muted); }

/* the drawn phone */
.hero-phone { flex: 1 1 360px; display: flex; justify-content: center; min-width: 0; }
/* grows past the design's 660px when a language's chat lines run longer, so the mic never drops out of view */
.phone { position: relative; width: 316px; max-width: 100%; min-height: 660px; display: flex; border-radius: 54px; background: linear-gradient(145deg, #5A5A58, #2A2A28 40%, #4A4A47); padding: 4px; box-shadow: 0 40px 80px rgba(40,40,20,.25), 0 8px 20px rgba(40,40,20,.12); }
.ph-btn { position: absolute; width: 3px; background: #3A3A38; }
.ph-b1 { left: -3px; top: 118px; height: 30px; border-radius: 2px 0 0 2px; }
.ph-b2 { left: -3px; top: 168px; height: 56px; border-radius: 2px 0 0 2px; }
.ph-b3 { left: -3px; top: 236px; height: 56px; border-radius: 2px 0 0 2px; }
.ph-b4 { right: -3px; top: 190px; height: 86px; border-radius: 0 2px 2px 0; }
.ph-bezel { flex: 1; width: 100%; display: flex; border-radius: 50px; background: #0B0B0A; padding: 9px; }
.ph-screen { position: relative; flex: 1; width: 100%; border-radius: 42px; overflow: hidden; background: #F6F7F4; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 11px; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; height: 26px; font: 600 14px -apple-system, 'Inter', var(--sys); color: #111; flex: none; }
.ph-icons { display: flex; gap: 5px; align-items: center; }
.ph-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 16px; background: #0B0B0A; }
.ph-title { display: flex; align-items: center; gap: 8px; padding: 6px 0 8px; border-bottom: 1px solid #E8E8E5; flex: none; }
.ph-title img { width: 28px; height: 28px; border-radius: 8px; }
.ph-title span { font-weight: 700; font-size: 15px; }
.bub { border-radius: 16px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.bub-u { align-self: flex-end; max-width: 82%; background: var(--leaf); color: #FFFFFF; border-radius: 16px 16px 4px 16px; }
.bub-s { align-self: flex-start; max-width: 86%; background: #FFFFFF; border: 1px solid #E8E8E5; border-radius: 16px 16px 16px 4px; }
.ph-card { background: #FFFFFF; border: 1px solid #E8E8E5; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ph-card-l { font-size: 12px; font-weight: 600; color: var(--leaf); }
.ph-mantra { font-family: var(--ffd), var(--ff), 'Baloo Tammudu 2', var(--sys); font-size: 17px; line-height: 1.4; }
.ph-card-s { font-size: 12px; color: var(--muted); }
.ph-mic { margin-top: auto; display: flex; justify-content: center; flex: none; }
.ph-mic span { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.ph-home { align-self: center; width: 110px; height: 4px; border-radius: 2px; background: #111; margin-top: 2px; flex: none; }

/* ================= home: sections ================= */
.sec { padding: 72px 24px; }
.sec-white { background: #FFFFFF; }
.sec-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.sec-narrow { max-width: 760px; }
.sec-center { align-items: center; text-align: center; }
.sec h2 { font-size: 38px; line-height: 1.3; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: var(--cream); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--leaf); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; font-family: 'Hind Guntur', var(--sys); }
.step-t { overflow-wrap: anywhere; font-weight: 700; font-size: 22px; line-height: 1.35; }
.step-s { font-size: 16px; line-height: 1.55; color: var(--text-2); }

.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feats li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.f-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-tint); display: flex; align-items: center; justify-content: center; }
.f-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-t { font-weight: 700; font-size: 17px; line-height: 1.35; }
.f-s { font-size: 15px; line-height: 1.5; color: var(--text-2); }

.sec-green { background: var(--leaf); color: #FFFFFF; padding: 56px 24px; }
.sec-green .sec-in.sec-center { gap: 20px; }
.sec-green h2 { font-size: 34px; line-height: 1.3; }
.lang-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lang-chips li { border: 1px solid rgba(255,255,255,.45); border-radius: 22px; padding: 8px 18px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.sec-green p { font-size: 17px; opacity: .92; max-width: 640px; }

.sec-center.sec-in { gap: 22px; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.plan { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.plan-pro { border: 2px solid var(--leaf); }
.plan-n { font-weight: 700; font-size: 22px; line-height: 1.35; }
.plan-p { font-size: 30px; font-weight: 700; line-height: 1.3; font-family: 'Hind Guntur', var(--sys); }
.plan-per { font-size: 16px; font-weight: 400; color: var(--muted); margin-left: .3em; font-family: var(--ff), 'Hind Guntur', var(--sys); }
.plan-s { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.price-note { font-size: 14px; color: var(--muted); }

.sec-priv { background: #FFFFFF; padding: 56px 24px; }
.priv { max-width: 1160px; margin: 0 auto; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: center; }
.priv-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--leaf-tint); display: flex; align-items: center; justify-content: center; flex: none; }
.priv-text { flex: 0 1 640px; display: flex; flex-direction: column; gap: 4px; }
.priv-t { font-weight: 700; font-size: 24px; line-height: 1.35; }
.priv-s { font-size: 16px; line-height: 1.55; color: var(--text-2); }

.sec-end .sec-in { gap: 18px; }
.end-logo { width: 88px; height: 88px; border-radius: 22px; }
.sec-end h2.end-h { font-size: 40px; }
.end-stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.end-stores a { min-height: 52px; display: flex; align-items: center; padding: 0 22px; border-radius: 14px; background: var(--ink); color: #FFFFFF; text-decoration: none; font-weight: 600; }
.end-stores a:hover { background: #000000; color: #FFFFFF; }

/* ================= footer (all pages) ================= */
.h-foot { border-top: 1px solid var(--line); padding: 28px 24px 40px; }
.h-foot-in { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.h-foot nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.h-foot nav a { color: var(--ink-2); }
.h-foot nav a:hover { color: var(--leaf); }

/* ================= text pages (privacy, terms, support, delete) ================= */
/* Telugu or English, chosen by <html data-lang="en">; these pages keep their own two-button language switch. */
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; }
.doc-page { font-size: 17px; line-height: 1.65; }
.doc-page [lang="en"] { line-height: 1.5; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.langs { display: flex; gap: 6px; background: var(--chip); border-radius: 18px; padding: 3px; }
.langs button { min-height: 36px; padding: 0 12px; border-radius: 15px; border: 0; background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }
.langs button[lang="te"] { padding-top: 3px; }
.langs button[aria-pressed="true"] { background: #FFFFFF; color: var(--leaf); font-weight: 700; box-shadow: 0 1px 3px rgba(40,40,20,.12); }
.doc { padding: 24px 0 56px; }
.doc .wrap > div { display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: 34px; line-height: 1.3; margin-bottom: 4px; }
.doc h2 { font-size: 22px; line-height: 1.35; margin-top: 18px; }
.doc h1[lang="en"], .doc [lang="en"] h1 { font-family: 'Baloo Tammudu 2', var(--sys); }
.doc p, .doc li { color: var(--text-2); }
.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); }
.doc [lang="en"] ul li::before, .doc ul[lang="en"] li::before { top: .6em; }
.doc .updated { font-size: 14px; color: var(--muted); }
.h-te { font-family: 'Baloo Tammudu 2', 'Hind Guntur', var(--sys); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ================= smaller screens ================= */
@media (max-width: 899px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  /* two-line slot so the longer languages wrap instead of being cut off */
  .hero-h { font-size: 32px; --slot: 3.4em; }
  .roll > span { white-space: normal; line-height: 1.3; display: flex; align-items: center; }
}
@media (max-width: 640px) {
  .h-top { padding: 14px 16px; gap: 12px; }
  .h-nav { gap: 8px 16px; }
  .hero { padding: 20px 16px 56px; gap: 40px; }
  .hero-text { flex-basis: 100%; gap: 18px; }
  .hero-sub { font-size: 18px; }
  .hero-phone { flex-basis: 100%; }
  .sec { padding: 56px 16px; }
  .sec-green, .sec-priv { padding: 48px 16px; }
  .sec h2 { font-size: 30px; }
  .sec-green h2 { font-size: 28px; }
  .sec-end h2.end-h { font-size: 30px; }
  .steps, .feats, .plans { grid-template-columns: minmax(0, 1fr); }
  .priv { justify-content: flex-start; }
  .h-foot { padding: 24px 16px 36px; }
  .h-foot-in { flex-direction: column; }
  .wrap { padding: 0 16px; }
  .doc h1 { font-size: 28px; }
  .doc h2 { font-size: 20px; }
}
@media (max-width: 360px) {
  .hero-h { font-size: 30px; }
  .store { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .roll { animation: none; }
}
