/* BookFactory.in shared stylesheet
   International editorial system per approved colour scheme:
   warm ivory paper, white cards, deep teal accent, restrained colour,
   Fraunces + Inter + Noto Tamil, fluid type, Tamil-safe line heights. */

:root {
  --paper: #fbf8f3;
  --paper-2: #f4eee4;
  --ink: #221d17;
  --muted: #6e6357;
  --line: #eae1d2;
  --card: #ffffff;
  --accent: #0f5a4e;
  --accent-deep: #0a4239;
  --accent-soft: #3f7a6e;
  --parchment: #d9c9a8;
  --wa: #1fa855;
  --wa-deep: #178043;
  --shadow: 0 1px 2px rgba(34, 29, 23, 0.04), 0 10px 30px rgba(34, 29, 23, 0.06);
  --shadow-lg: 0 20px 50px rgba(34, 29, 23, 0.12);
  --r: 18px;
  --font-head: "Fraunces", "Noto Serif Tamil", Georgia, serif;
  --font-body: "Inter", "Noto Sans Tamil", system-ui, sans-serif;
  --font-tamil: "Noto Serif Tamil", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.14; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.26rem; line-height: 1.3; }
p  { color: var(--muted); }
a  { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }

/* Tamil never clips: larger line-height everywhere Tamil appears */
.tamil, .tamil-line, .tamil-sub, .mb-tamil, .b-tamil, .ta {
  font-family: var(--font-tamil); line-height: 1.55 !important; font-weight: 500;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 78px 0; position: relative; }

/* ---------- Offer bar ---------- */
.offer-bar {
  background: var(--accent-deep);
  color: #f0ebe0; text-align: center; font-weight: 600; font-size: 0.88rem;
  padding: 10px 16px; letter-spacing: 0.02em;
}
.offer-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.offer-bar i { margin-right: 6px; color: var(--parchment); }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; min-height: 70px; max-width: 1188px; margin: 0 auto; gap: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand a { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.brand .dot { color: var(--accent); }
.brand .tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600; }
nav.links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
nav.links a { color: var(--muted); font-weight: 500; font-size: 0.92rem; padding: 4px 1px; border-bottom: 2px solid transparent; }
nav.links a:hover { color: var(--ink); }
nav.links a.active { color: var(--accent); border-bottom-color: var(--accent-soft); }
/* the top Start Your Book button must stay white-on-teal, not inherit link colours */
nav.links a.btn, nav.links a.btn:hover { color: #fff; border-bottom: none; }
nav.links a.btn:hover { background: var(--accent-deep); }
/* grouped dropdown navigation */
.nav-item { position: relative; }
.nav-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav-item .nav-top i { font-size: 0.55rem; margin-left: 4px; opacity: 0.6; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 240px; display: none; z-index: 70;
}
.dropdown a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 0.9rem; white-space: nowrap; border-bottom: none !important; }
.dropdown a:hover { background: var(--paper); color: var(--accent); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
@media (max-width: 900px) {
  .dropdown { position: static; transform: none; display: block; border: none; box-shadow: none; padding: 0 0 0 12px; min-width: 0; background: transparent; }
  .nav-item::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  transition: all .18s ease; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-gold { background: #fff; color: var(--accent); border-color: var(--line); box-shadow: var(--shadow); }
.btn-gold:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #f0ebe0; border-color: rgba(240, 235, 224, 0.45); }
.btn-outline-light:hover { background: #f0ebe0; color: var(--ink); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-deep); transform: translateY(-1px); }
.btn-small { padding: 10px 19px; font-size: 0.9rem; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  background: var(--wa); color: #fff; border-radius: 100px;
  padding: 13px 20px; font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-lg); display: flex; gap: 9px; align-items: center;
}
.fab:hover { background: var(--wa-deep); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0; } .hero-art { margin: 0 auto; } }
.hero .kicker, .kicker {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem;
  font-weight: 600; color: var(--accent-soft); display: inline-block; margin-bottom: 14px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero .ta-head { display: block; color: var(--accent); font-size: clamp(1.4rem, 2.9vw, 2.1rem); margin-bottom: 0.4em; }
.hero .tamil-line { color: var(--accent); font-size: clamp(1.1rem, 2.4vw, 1.45rem); margin-bottom: 20px; }
.hero .sub { font-size: 1.14rem; margin-bottom: 30px; max-width: 540px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; font-size: 0.86rem; color: var(--muted); }
.hero-trust b { color: var(--ink); }
.reply-note { margin-top: 16px; font-size: 0.87rem; color: var(--muted); }
.reply-note i { color: var(--wa); margin-right: 6px; }

/* ---------- Photo slot + book mockup ---------- */
.hero-art { position: relative; width: min(480px, 100%); margin-left: auto; }
.photo-slot {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #f7ede0 0%, #efe2d1 45%, #e7d6bf 100%);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
}
.photo-slot .book { position: relative; width: 56%; aspect-ratio: 3 / 4; }
.photo-note {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-size: 0.7rem; color: #a08a70;
}
.book {
  border-radius: 6px 12px 12px 6px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 65%, #17705f);
  box-shadow: 0 30px 60px rgba(15, 60, 50, 0.35), inset 14px 0 0 rgba(0, 0, 0, 0.12);
  transform: rotate(-6deg); display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 22px; color: #f2ece0; transition: transform .3s ease;
}
.photo-slot:hover .book { transform: rotate(-3deg); }
.book .bk-k, .book .b-foot { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; font-weight: 600; font-family: var(--font-body); }
.book h5, .book .bk-t { font-family: var(--font-tamil); font-size: 1.4rem; line-height: 1.45; font-weight: 600; color: #fdf8ee; }
.book .b-tamil { font-size: 0.9rem; color: #cfe2db; display: block; margin-top: 8px; }

/* ---------- Trust strip (dark) ---------- */
.strip { background: var(--ink); color: #f3ece1; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 17px; padding-bottom: 17px; font-size: 0.89rem; }
.strip span { display: flex; align-items: center; gap: 9px; opacity: 0.92; }
.strip .dot, .strip i { color: var(--parchment); font-size: 0.7rem; }

/* ---------- Art panels: soft photo-slot backdrop with a book mockup ---------- */
.art {
  border-radius: 22px; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #f7ede0 0%, #efe2d1 45%, #e7d6bf 100%);
}
.art.warm { background: radial-gradient(120% 90% at 20% 10%, #f6ece2 0%, #eeddce 45%, #e3ccb8 100%); }
.art.gold { background: radial-gradient(120% 90% at 20% 10%, #f1efe4 0%, #e8e4d2 45%, #d9d3ba 100%); }
.mini-book {
  position: relative; width: 200px; height: 268px; border-radius: 5px 12px 12px 5px;
  background: linear-gradient(135deg, var(--c2, #0a4239), var(--c1, #0f5a4e) 70%);
  box-shadow: 0 26px 50px rgba(34, 29, 23, 0.3), inset 12px 0 0 rgba(0, 0, 0, 0.12);
  color: #f2ece0; padding: 20px 16px; transform: rotate(-5deg); transition: transform .3s ease;
  display: flex; flex-direction: column; justify-content: space-between;
}
.art:hover .mini-book { transform: rotate(-2deg) translateY(-4px); }
.mini-book .inner { display: contents; }
.mini-book h5 { font-family: var(--font-tamil); font-size: 1.18rem; line-height: 1.4; font-weight: 600; color: #fdf8ee; }
.mini-book .mb-tamil { font-size: 0.85rem; color: #d8e4de; display: block; margin-top: 8px; }
.mini-book .mb-foot { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; opacity: 0.85; text-align: center; font-family: var(--font-body); }
.mini-book .badge {
  position: absolute; top: -15px; right: -15px; width: 50px; height: 50px; border-radius: 50%;
  background: #fff; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}

/* ---------- Tamil ticker ---------- */
.ticker-wrap { overflow: hidden; background: var(--ink); padding: 13px 0; }
.ticker { display: inline-flex; gap: 56px; white-space: nowrap; will-change: transform; animation: ticker 36s linear infinite; }
.ticker span { font-family: var(--font-tamil); color: #e9dfc9; font-size: 1rem; line-height: 1.55; }
.ticker span::after { content: "◆"; color: var(--accent-soft); margin-left: 56px; font-size: 0.65rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; text-align: center; }
.stat .n { font-family: var(--font-head); font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 500; color: var(--accent); }
.stat .n em { color: var(--accent-soft); font-style: normal; }
.stat .l { font-size: 0.88rem; font-weight: 500; color: var(--muted); }

/* ---------- Offers section ---------- */
.offers { background: var(--ink); }
.offers .sec-head h2, .offers h3 { color: #f7f2e7; }
.offers .sec-head p { color: #c9bda9; }
.offer-card {
  position: relative; border-radius: var(--r); padding: 28px 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 201, 168, 0.3);
  overflow: hidden;
}
.offer-card::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(217, 201, 168, 0.1), transparent);
  animation: sweep 5s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 55% { left: 130%; } 100% { left: 130%; } }
.offer-card .tagchip {
  display: inline-block; background: var(--parchment); color: var(--ink);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 13px; border-radius: 100px; margin-bottom: 16px;
}
.offer-card p { color: #c9bda9; font-size: 0.95rem; }
.offer-card h3 { margin-bottom: 10px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcd0bd; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 16px; color: var(--accent);
  background: #e6edea; border: none;
}
/* cool pastel chip tints, cycling; colour only on the chip, never the box */
.grid .card:nth-child(6n+2) .icon { background: #e7efe6; }
.grid .card:nth-child(6n+3) .icon { background: #efe8ee; }
.grid .card:nth-child(6n+4) .icon { background: #e7eef0; }
.grid .card:nth-child(6n+5) .icon { background: #e8edf3; }
.grid .card:nth-child(6n)   .icon { background: #ece9f1; }
.card h3 { margin-bottom: 6px; }
.card .tamil-sub { color: var(--accent); font-size: 0.96rem; margin-bottom: 10px; display: block; }
.card p { font-size: 0.94rem; flex-grow: 1; }
.card .price { margin-top: 16px; font-weight: 600; font-size: 0.95rem; color: var(--ink); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card .price small, .price small { font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.card .price b, .price b { color: var(--accent); font-size: 1.12rem; font-weight: 700; }
.price { font-weight: 600; color: var(--ink); }
.card .link-more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); }
.card .link-more::after { content: " →"; }

.card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.badge-float {
  position: absolute; top: -1px; right: 24px;
  background: var(--accent); color: #fff;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 0 0 10px 10px;
}

/* ---------- Ask-on-WhatsApp chip ---------- */
.ask {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: rgba(31, 168, 85, 0.07); border: 1px solid rgba(31, 168, 85, 0.32);
  color: var(--wa-deep); font-weight: 600; font-size: 0.83rem;
  padding: 8px 15px; border-radius: 100px; transition: all .18s ease; align-self: flex-start;
}
.ask:hover { background: var(--wa); color: #fff; }

/* ---------- Section headers ---------- */
.sec-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.sec-head .eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft); display: block; margin-bottom: 12px;
}
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { font-size: 1.06rem; }
.sec-head .tamil-line { color: var(--accent); font-size: 1.06rem; margin-bottom: 10px; }

/* ---------- Alt bands ---------- */
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: linear-gradient(145deg, var(--accent-deep), var(--accent)); color: #eaf1ee; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #cfe0da; }
.band-dark .tamil-line { color: #bcd6cd; }
.band-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.band-dark .card p { color: #cfe0da; }
.band-dark .card h3 { color: #f0f6f3; }

/* ---------- Steps / process ---------- */
/* two equal rows of three on desktop (3 + 3) */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-head);
  margin-bottom: 14px; font-size: 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ---------- QC checklist ---------- */
.qc-list { list-style: none; display: grid; gap: 13px; max-width: 760px; margin: 0 auto; }
.qc-list li {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--parchment);
  border-radius: 14px; padding: 17px 21px; display: flex; gap: 14px; align-items: flex-start;
}
.qc-list .tick { color: var(--parchment); font-weight: 700; font-size: 1rem; }
.qc-list b { display: block; color: #fff; }
.qc-list span.desc { font-size: 0.92rem; color: #cfe0da; }

/* ---------- Tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); font-size: 0.94rem; border: 1px solid var(--line); }
.price-table th { background: var(--accent); color: #fff; text-align: left; padding: 13px 18px; font-family: var(--font-head); font-weight: 500; letter-spacing: 0.01em; }
.price-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--paper); }
.price-table td b { color: var(--ink); }
.price-table td.price { white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* ---------- Quote / moment cards ---------- */
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.quote-card .mark { font-family: var(--font-head); font-size: 2.4rem; color: var(--accent-soft); line-height: 1; }
.quote-card p.q { font-style: italic; margin: 6px 0 18px; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.quote-card .who { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.quote-card .who span { display: block; font-weight: 400; color: var(--muted); font-size: 0.83rem; }
.honesty-note { text-align: center; font-size: 0.86rem; color: var(--muted); margin-top: 24px; }

/* ---------- Hear the story ---------- */
.hear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 880px) { .hear-grid { grid-template-columns: 1fr; } }
.hear-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hear-step .stage-tag {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft);
}
.hear-step .stage-tag .n {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0; flex-shrink: 0;
}
.hear-step .voice, .hear-step .crafted, .hear-step .spread { margin-top: auto; margin-bottom: auto; }
.voice { background: #eef4f2; border-radius: 16px 16px 16px 4px; padding: 18px; }
.voice .wave { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-bottom: 12px; }
.voice .wave i { width: 4px; background: var(--accent); border-radius: 2px; display: block; }
.voice p { font-family: var(--font-tamil); color: var(--ink); font-size: 0.97rem; line-height: 1.75; }
.hear-step .crafted { font-family: var(--font-head); font-style: italic; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #ddd4c2; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.spread .pg { background: #fffdf8; padding: 16px 14px; min-height: 180px; font-size: 0.6rem; color: var(--muted); line-height: 1.8; }
.spread .pg h6 { font-family: var(--font-head); font-size: 0.78rem; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.spread .ph { background: linear-gradient(140deg, #e8dcc6, #d9c9a8); border-radius: 4px; height: 54px; margin: 8px 0; }
.spread .qr { font-size: 0.9rem; color: var(--accent); margin-top: 6px; }

/* ---------- Sample gallery ---------- */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.samp {
  aspect-ratio: 3 / 4; border-radius: 14px;
  background: linear-gradient(160deg, #efe4d4, #e4d3bd); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; border: 1px solid var(--line); overflow: hidden;
}
.samp .mini-book { transform: scale(0.9) rotate(-4deg); }
.samp:hover .mini-book { transform: scale(0.93) rotate(-1deg); }
@media (max-width: 700px) { .samples { grid-template-columns: 1fr 1fr; } }

/* ---------- Start form ---------- */
.start-form {
  max-width: 640px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); padding: 38px 34px;
  box-shadow: var(--shadow-lg); text-align: left;
}
.start-form label { display: block; font-weight: 600; font-size: 0.85rem; margin: 18px 0 6px; color: var(--ink); }
.start-form input, .start-form select, .start-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); background: var(--paper);
  transition: border-color .18s ease;
}
.start-form input:focus, .start-form select:focus, .start-form textarea:focus { outline: none; border-color: var(--accent); }
.start-form textarea { resize: vertical; min-height: 84px; }
.start-form .form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.start-form .fine { font-size: 0.79rem; color: var(--muted); margin-top: 16px; }
.start-form .fine a { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 13px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 19px 24px; font-weight: 600; color: var(--ink);
  font-size: 1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-head); font-size: 1.4rem; color: var(--accent-soft); flex-shrink: 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--line); color: var(--accent); }
.faq-list .a { padding: 18px 24px 24px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 14px; color: var(--accent); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal .updated { font-size: 0.84rem; color: var(--muted); font-style: italic; margin-bottom: 30px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .tamil-line { font-size: 1.15rem; margin-bottom: 26px; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 68px 0 56px; text-align: center;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumb { font-size: 0.84rem; margin-bottom: 18px; color: var(--muted); }
.page-hero .crumb a { font-weight: 600; color: var(--accent); }
.page-hero h1 { max-width: 860px; margin: 0 auto 14px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .tamil-line { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--accent); margin-bottom: 18px; }
.page-hero .sub { max-width: 660px; margin: 0 auto 30px; font-size: 1.06rem; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature-row.reverse > .art { order: 2; }
.feature-row h2 { margin-bottom: 14px; }
.feature-row .tamil-sub { color: var(--accent); display: block; margin-bottom: 10px; }
.feature-row ul { margin: 16px 0 0 2px; color: var(--muted); list-style: none; }
.feature-row ul li { margin-bottom: 8px; font-size: 0.95rem; padding-left: 24px; position: relative; }
.feature-row ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-soft); font-weight: 700; }
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse > .art { order: 0; }
}

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 19px; font-size: 0.88rem; font-weight: 500; color: var(--muted);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--accent-soft); color: var(--accent); transform: translateY(-2px); }
.chip.tamil { color: var(--accent); }

/* ---------- Guarantee strip ---------- */
.guarantee {
  display: flex; gap: 26px; flex-wrap: wrap; justify-content: center;
  padding: 24px 26px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); max-width: 980px; margin: 0 auto; box-shadow: var(--shadow);
}
.guarantee div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.guarantee i { color: var(--accent-soft); font-size: 1rem; }

/* ---------- Footer ---------- */
footer.site { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--muted); padding: 52px 0 30px; font-size: 0.92rem; }
footer.site .cols { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; max-width: 1140px; margin: 0 auto 34px; padding: 0 24px; }
footer.site h4 { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 12px; }
footer.site a { color: var(--muted); display: block; padding: 3px 0; }
footer.site a:hover { color: var(--accent); }
footer.site .brandline { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); margin-bottom: 10px; font-weight: 600; }
footer.site .brandline .dot { color: var(--accent); }
footer.site .tamil-line { color: var(--accent-soft); margin-top: 10px; }
footer.site address { font-style: normal; line-height: 1.7; margin-bottom: 10px; }
footer.site .bottom { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; font-size: 0.84rem; }
footer.site .bottom a { display: inline; margin: 0 4px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
