/* =========================================================
   Kite-O — minimal site styles
   ========================================================= */

:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #d2d2d7;
  --orange: #ff6412;
  --orange-dark: #e85400;
  --blue: #0759a8;

  --radius: 28px;
  --radius-sm: 18px;
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  font-family: Inter, var(--script-font, Inter), -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.muted { color: var(--faint); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: scale(.97); }
.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.link-more {
  color: var(--blue);
  font-weight: 500;
}
.link-more:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }

.nav-inner {
  max-width: var(--max);
  height: 60px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { margin-right: auto; }
.nav-logo img { width: 108px; }

.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a { white-space: nowrap; }
html:not([lang="en"]) .nav-links { gap: 20px; font-size: 13px; }
html:not([lang="en"]) .nav-inner { gap: 20px; }
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
}
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-alt { background: var(--bg-alt); }
/* Cards flip to white on grey sections so they stay visible */
.section-alt .steps li,
.section-alt .box-item { background: var(--bg); }

.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hero .lead {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}
.hero-product {
  max-width: 980px;
  margin: clamp(40px, 6vw, 72px) auto 0;
  will-change: transform;
}
.hero-product img {
  width: 100%;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .12));
}

/* ---------- Highlights ---------- */

.highlights {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hl {
  padding: 8px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.hl:first-child { border-left: 0; }
.hl strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.hl span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Icons ---------- */

.icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Features (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile .icon { margin-bottom: auto; }
.tile h3 { margin-top: 40px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.tile-wide {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
}
.tile-wide .tile-copy { position: relative; z-index: 1; max-width: 340px; }
.tile-wide .tile-copy .icon { margin-bottom: 0; }
.tile-wide h3 { font-size: 32px; margin-top: 28px; }
.tile-wide img {
  width: 105%;
  margin: 24px -12% -8% auto;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .12));
}

/* ---------- Comparison ---------- */

.compare-visual {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .15);
}
.compare-visual img { width: 100%; }

/* Product video under the comparison picture (track.js: thumbnail first, YouTube player only after a tap) */
.product-video { max-width: 1080px; margin: 48px auto 0; text-align: center; }
.product-video[hidden] { display: none; }
.product-video-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; }
.product-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25); }
.product-video-frame iframe, .product-video-frame button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.product-video-frame button { padding: 0; cursor: pointer; background: #000; }
.product-video-frame button picture { display: block; width: 100%; height: 100%; }
.product-video-frame button img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.product-video-frame button:hover img { opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); display: grid; place-items: center; transition: transform .2s; }
.product-video-frame button:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
@media (max-width: 720px) { .product-video { margin-top: 32px; } .video-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; } }

/* ---------- Product focus ---------- */

.product-shot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: radial-gradient(circle at 55% 50%, #ffffff 0, var(--bg-alt) 70%);
  overflow: hidden;
}
/* Close-up on the forward / reverse control head */
.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.9);
  transform-origin: 55% 52%;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .15));
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: clamp(40px, 6vw, 72px);
  text-align: center;
}
.spec-row strong { display: block; font-size: 19px; font-weight: 600; }
.spec-row span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.step-num {
  display: block;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--orange);
  margin-bottom: 28px;
}
.steps h3 { font-size: 26px; }
.steps p { margin-top: 8px; color: var(--muted); }

/* ---------- In the box ---------- */

.box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.box-item {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  text-align: center;
}
.box-item .icon { width: 44px; height: 44px; margin: 0 auto 20px; }
.box-item strong { display: block; font-weight: 600; }
.box-item span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.safety {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.safety strong { color: var(--text); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 40px 26px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); }

/* ---------- Order ---------- */

.order-card {
  background: var(--bg-alt);
  border-radius: 36px;
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.order-copy h2 { font-size: clamp(32px, 4vw, 48px); }
.order-copy > p:last-child { margin-top: 20px; color: var(--muted); }

form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 89, 168, .12); }
input.is-invalid { border-color: #d70015; }
.form-msg { min-height: 1.5em; font-size: 14px; text-align: center; color: var(--muted); }
.form-msg.is-error { color: #d70015; }
.form-msg.is-ok { color: #1a7f37; }
.form-msg .link-more { display: inline-block; margin-top: 6px; }

/* Honeypot: invisible to people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* DB-IP licence credit (CC BY 4.0): kept visible, but small and light */
.footer-credit { font-size: 11px; color: #b8b8bf; }
.footer-credit a { color: inherit; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* Privacy note under forms */
.privacy-note { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); text-align: center; }
.privacy-note a { color: var(--blue); text-decoration: underline; }

/* PWA: "Install app" buttons (shown only when the browser allows installing) */
.pwa-install {
  border: 0; background: none; padding: 0; font: inherit; color: var(--blue);
  cursor: pointer; text-align: left;
}
.pwa-install:hover { text-decoration: underline; }
.pwa-install[hidden] { display: none !important; }

/* PWA: one-time iPhone tip */
.ios-tip {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: #1d1d1f; color: #fff; font-size: 14px; line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.ios-tip button { margin-left: auto; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* Privacy page */
.privacy .q p, .privacy .q li { color: var(--muted); line-height: 1.6; }
.privacy .q ul { margin: 0; padding-left: 20px; }
.privacy .q li { margin-bottom: 8px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg);
  border-top: 1px solid #e8e8ed;
  font-size: 14px;
  color: var(--muted);
  padding: 64px var(--gutter) 32px;
}
.footer-inner,
.footer-bottom { max-width: var(--max); margin: 0 auto; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { width: 140px; }
.footer-brand p { margin-top: 12px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col b { color: var(--text); font-weight: 600; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 14px; margin-top: 4px; }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- WhatsApp floating button ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .12); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa-label { display: none; }
}

/* ---------- "I'm interested" floating button ---------- */

.interest-float {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(255, 100, 18, .35), 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease), background-color .2s;
}
.interest-float:hover { transform: translateY(-3px); background: var(--orange-dark); }
.interest-float svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
  .interest-float { right: 16px; bottom: 84px; height: 44px; padding: 0 16px; font-size: 14px; }
}

/* =========================================================
   Survey page (interested.html)
   ========================================================= */

.survey-page { background: var(--bg-alt); }
.survey-page .nav { background: rgba(255, 255, 255, .85); }
.survey-page .nav .link-more { font-size: 14px; }

.progress { height: 3px; background: transparent; }
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--orange);
  border-radius: 0 3px 3px 0;
  transition: width .4s var(--ease);
}

.survey {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) var(--gutter) 96px;
}
.survey-head { text-align: center; margin-bottom: 40px; }
.survey-head h1 { font-size: clamp(40px, 7vw, 64px); }
.survey .lead { margin-top: 16px; font-size: 18px; color: var(--muted); }

.q {
  background: var(--bg);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 32px);
  margin-bottom: 14px;
  transition: box-shadow .2s;
}
.q.has-error { box-shadow: inset 0 0 0 2px #d70015; }
.q-follow:not([hidden]) { animation: q-in .35s var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(-6px); } }

.q-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 10px;
}
.q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-label {
  display: block;
  padding: 0;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.35;
}
.q-hint { display: inline-block; margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--faint); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-field { font-size: 15px; font-weight: 600; color: var(--text); gap: 8px; }
.q-field .q-label { margin-bottom: 4px; }
.q-err { margin-top: 10px; font-size: 14px; color: #d70015; }
.q-err:empty { display: none; }

textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 89, 168, .12); }

/* Option chips (real radios/checkboxes, visually replaced) */
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  display: inline-flex;
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.opt span {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  transition: background-color .15s, border-color .15s, color .15s;
}
.opt:hover span { border-color: var(--faint); }
.opt input:checked + span {
  background: #fff1e8;
  border-color: var(--orange);
  color: var(--orange-dark);
  font-weight: 600;
}
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt-other { margin-top: 14px; }

.btn-lg { padding: 18px 28px; font-size: 18px; margin-top: 10px; }
.btn-wa { width: 22px; height: 22px; fill: currentColor; }
.survey-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
#surveyMsg { margin-top: 8px; }

.survey-done { text-align: center; padding: 40px 0; }
.done-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
}
.done-check svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-links {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (max-width: 600px) {
  .q-row { grid-template-columns: 1fr; }
  .opt span { padding: 10px 15px; font-size: 14px; }
}

/* ---------- Language picker ---------- */

.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--faint); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 180px;
  padding: 6px;
  display: grid;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15), 0 0 0 1px rgba(0, 0, 0, .05);
}
.lang-menu button {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button[aria-checked="true"] { color: var(--orange-dark); font-weight: 600; }
.lang-menu button[aria-checked="true"]::after { content: "✓"; }

/* ---------- Indian scripts: looser spacing, slightly smaller headings ---------- */

html:not([lang="en"]) h1,
html:not([lang="en"]) h2 { letter-spacing: -0.01em; line-height: 1.25; }
html:not([lang="en"]) h3 { letter-spacing: 0; }
html:not([lang="en"]) h1 { font-size: clamp(38px, 6.5vw, 84px); }
html:not([lang="en"]) h2 { font-size: clamp(30px, 4.6vw, 56px); }
html[lang="ta"] h1, html[lang="te"] h1 { font-size: clamp(32px, 5.5vw, 72px); }
html[lang="ta"] h2, html[lang="te"] h2 { font-size: clamp(26px, 4vw, 48px); }
html:not([lang="en"]) h1, html:not([lang="en"]) h2 { overflow-wrap: break-word; }

@media (max-width: 600px) {
  .nav-inner { gap: 12px; }
  .lang-btn { padding: 0 10px; }
  .survey-page .nav-back [data-i18n] { display: none; }
  .survey-page .nav-back { font-size: 28px; line-height: 1; padding: 0 6px; }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .btn { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav .btn-sm { order: 1; }
  .nav-toggle { order: 2; }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-links a { padding: 14px 0; color: var(--text); border-bottom: 1px solid #f0f0f2; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }

  .highlights { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .hl:nth-child(3) { border-left: 0; }

  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; grid-row: auto; }
  .tile-wide img { width: 80%; margin: 24px -6% -6% auto; }

  .box-grid { grid-template-columns: 1fr 1fr; }
  .order-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .bento,
  .steps,
  .spec-row { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile-wide img { width: 100%; margin: 24px -10% -10% auto; }
  .tile { padding: 28px; }
  .compare-visual { border-radius: var(--radius-sm); }
  .product-video-frame { border-radius: var(--radius-sm); }
  .tile { min-height: 0; }

  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
