:root {
  --ink: #1f2a44; --muted: #5f6b85; --line: #e6dcc6; --cream: #fff7e6; --paper: #ffffff;
  --coral: #ef6c57; --coral-dark: #d9523d; --teal: #0f8b8d; --amber: #e9a21b; --violet: #7c5cc4;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Baloo 2', system-ui, sans-serif; color: var(--ink); background: var(--cream); font-size: 18px; line-height: 1.45; }
.te { font-family: 'Noto Sans Telugu', sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: inline-flex; gap: 10px; align-items: baseline; background: var(--ink); color: #fff; border-radius: 99px; padding: 7px 18px 4px; font-weight: 700; text-decoration: none; font-size: 17px; }
.brand .te { font-weight: 600; }
.bar a.mini { font-weight: 700; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--coral); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 26px 0 44px; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -0.01em; }
h1 .te { color: var(--coral); font-weight: 700; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: #3d4760; margin: 16px 0 22px; max-width: 34em; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--coral); color: #fff; font-weight: 800; font-size: 21px; padding: 13px 26px 10px; border-radius: 16px; text-decoration: none; box-shadow: 0 5px 0 var(--coral-dark); transition: transform 0.08s, box-shadow 0.08s; cursor: pointer; }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coral-dark); }
.cta.off { background: #b8bfcc; box-shadow: 0 5px 0 #98a2b3; cursor: not-allowed; }
.cta.ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--line); border: 2px solid var(--ink); font-size: 18px; padding: 11px 20px 8px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { font-size: 15px; color: var(--muted); margin-top: 14px; }
.fine a { font-weight: 700; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; list-style: none; }
.ticks li { background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 3px 14px 0; font-weight: 700; font-size: 15px; }

.stack { position: relative; height: min(118vw, 540px); }
.stack img { position: absolute; width: 62%; border-radius: 10px; box-shadow: 0 14px 34px rgba(31, 42, 68, 0.22); background: #fff; }
.stack img:nth-child(1) { right: 0; top: 9%; transform: rotate(7deg); }
.stack img:nth-child(2) { left: 0; top: 14%; transform: rotate(-7deg); }
.stack img:nth-child(3) { left: 19%; top: 0; transform: rotate(-1deg); z-index: 2; }

section { padding: 48px 0; }
section.white { background: #fff; }
h2 { font-size: clamp(27px, 4.4vw, 40px); line-height: 1.1; font-weight: 800; margin-bottom: 10px; }
h2 .te { color: var(--teal); font-weight: 700; }
.sub { color: var(--muted); max-width: 40em; margin-bottom: 26px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cardx { background: var(--cream); border-radius: 20px; padding: 22px 20px 18px; }
section:not(.white) .cardx { background: #fff; }
.cardx b.n { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; font-size: 21px; padding-top: 3px; margin-bottom: 10px; }
.cardx h3 { font-size: 21px; line-height: 1.15; margin-bottom: 6px; }
.cardx p { color: #3d4760; font-size: 17px; }

.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 0 -20px; }
.gallery figure { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
.gallery img { border-radius: 10px; box-shadow: 0 8px 22px rgba(31, 42, 68, 0.16); background: #fff; }
.gallery figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; text-align: center; font-weight: 600; }

.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; list-style: none; }
.inside li { display: flex; gap: 12px; align-items: baseline; border-bottom: 2px dashed var(--line); padding: 8px 0 5px; }
.inside b { font-size: 24px; color: var(--coral); min-width: 46px; font-weight: 800; }

.fit { list-style: none; display: grid; gap: 10px; max-width: 760px; }
.fit li { background: #fff; border-radius: 16px; padding: 13px 18px 10px; display: flex; gap: 12px; }
.fit li::before { content: '✓'; color: var(--teal); font-weight: 800; }

.buy { background: var(--ink); color: #fff; border-radius: 28px; padding: 34px 28px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.buy h2 { color: #fff; }
.buy p { color: #cfd6e6; }
.buy .box { background: #fff; color: var(--ink); border-radius: 22px; padding: 24px; text-align: center; }
.buy .price { font-size: 62px; font-weight: 800; line-height: 1; }
.buy .tag { display: inline-block; background: #ffe9a8; border-radius: 99px; padding: 2px 14px 0; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.buy .box .cta { width: 100%; margin: 14px 0 10px; }
.buy .box small { display: block; color: var(--muted); font-size: 15px; line-height: 1.35; }
.buy .box a.sw { font-weight: 700; font-size: 15px; display: inline-block; margin-top: 10px; }

details { background: #fff; border-radius: 16px; padding: 14px 18px 11px; margin-bottom: 10px; max-width: 760px; }
summary { font-weight: 700; cursor: pointer; font-size: 19px; }
details p { color: #3d4760; margin-top: 8px; }

footer { padding: 30px 0 110px; color: var(--muted); font-size: 15px; }
footer a { font-weight: 700; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 2px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 12px; z-index: 20; }
.sticky b { font-size: 18px; line-height: 1.1; }
.sticky small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.sticky .cta { font-size: 18px; padding: 10px 18px 7px; white-space: nowrap; }

.note-page { max-width: 720px; margin: 0 auto; padding: 30px 20px 80px; }
.note-page h1 { font-size: 40px; margin: 18px 0 12px; }
.note-page h2 { font-size: 24px; margin: 26px 0 6px; }
.note-page p, .note-page li { color: #3d4760; margin-bottom: 8px; }
.note-page ul { padding-left: 22px; }
/* Until the payment page link is set in config.js, show the free sample only. */
body.nobuy [data-buy], body.nobuy #buy, body.nobuy .sticky { display: none !important; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 8px; }
  .three, .inside, .buy { grid-template-columns: 1fr; }
  .stack { height: 96vw; max-height: 520px; margin-top: 8px; }
  .sticky { display: flex; }
  section { padding: 38px 0; }
  .buy { padding: 26px 18px; }
}
