/* Niyamam AI — public site. Source: scripts/site/static/style.css (built by build_site.py). */
:root {
  --green: #0e3b2c;
  --green-2: #14503c;
  --green-3: #1d6a4f;
  --leaf: #24784f;
  --ivory: #f5efe2;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --gold: #d4af6a;
  --gold-deep: #b8893a;
  --ink: #12241c;
  --muted: #56665d;
  --line: #e6dfcf;
  --radius: 20px;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Malayalam", "Noto Sans Devanagari", sans-serif;
  --shadow: 0 24px 60px -24px rgba(14, 59, 44, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(34px, 5.4vw, 60px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 14px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* --- Header ---------------------------------------------------------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 241, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
header.site.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 59, 44, .5); }
header.site .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand small { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--gold-deep); margin-left: 3px; vertical-align: 6px; }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
header.site nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--green); background: rgba(14, 59, 44, .07); }
header.site nav a.btn { color: #fff; margin-left: 8px; padding: 10px 18px; }
header.site nav a.btn:hover { background: var(--green-2); color: #fff; }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .menu { display: block; }
  header.site nav {
    position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; display: none;
  }
  header.site.open nav { display: flex; }
  header.site nav a { padding: 12px 14px; font-size: 16px; }
  header.site nav a.btn { margin: 8px 0 0; text-align: center; }
  header.site.open .menu span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  header.site.open .menu span:nth-child(2) { opacity: 0; }
  header.site.open .menu span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 600; padding: 14px 24px; border-radius: 999px;
  border: 1px solid var(--green); cursor: pointer; font-family: var(--body);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(14, 59, 44, .8); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn.gold:hover { background: #e0bd7c; }
.btn.secondary { background: transparent; color: var(--green); border-color: rgba(14, 59, 44, .25); }
.btn.secondary:hover { background: rgba(14, 59, 44, .06); box-shadow: none; }
.btn.ghost { background: rgba(245, 239, 226, .08); color: var(--ivory); border-color: rgba(245, 239, 226, .3); }
.btn.ghost:hover { background: rgba(245, 239, 226, .16); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.store { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 26px 0 0; }

/* --- Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(212, 175, 106, .20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(36, 120, 79, .55), transparent 60%),
    var(--green);
  padding: 72px 0 88px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(245, 239, 226, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--ivory); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero h1 em[lang="ml"] { font-family: "Noto Sans Malayalam", var(--body); font-style: normal; font-weight: 700; font-size: .82em; letter-spacing: 0; line-height: 1.5; white-space: nowrap; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { font-size: 19px; color: rgba(245, 239, 226, .82); max-width: 560px; margin: 0; }
.hero .fine { font-size: 13.5px; color: rgba(245, 239, 226, .6); margin: 18px 0 0; }
.typed {
  margin: 26px 0 0; max-width: 540px; min-height: 64px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(245, 239, 226, .08); border: 1px solid rgba(245, 239, 226, .2);
  border-radius: 18px; padding: 14px 18px; font-size: 16.5px;
}
.typed .dot { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--green); display: grid; place-items: center; }
.typed .dot svg { width: 16px; height: 16px; }
.typed .text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--gold); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; }
.langs li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245, 239, 226, .22); color: rgba(245, 239, 226, .85); }

/* phone frame */
.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto; aspect-ratio: 9 / 19.5;
  border-radius: 42px; padding: 10px; background: #0a1c15;
  box-shadow: 0 0 0 1.5px rgba(245, 239, 226, .18), 0 50px 90px -30px rgba(0, 0, 0, .65);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0a1c15; z-index: 2; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; background: #f6faf7; }
.phone.light { background: #12241c; box-shadow: 0 0 0 1.5px rgba(14, 59, 44, .1), var(--shadow); }
.hero-visual { position: relative; }
.hero-visual .phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip {
  position: absolute; z-index: 3; background: var(--ivory); color: var(--green);
  font-size: 13.5px; font-weight: 600; padding: 10px 14px; border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); display: flex; gap: 8px; align-items: center;
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 16px; height: 16px; color: var(--gold-deep); }
.chip.a { top: 14%; left: -12%; animation-delay: -2s; }
.chip.b { bottom: 20%; right: -6%; animation-delay: -4s; }
.chip.c { bottom: 6%; left: 2%; animation-delay: -1s; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .chip.a { left: 0; } .chip.b { right: 0; }
}
@media (max-width: 600px) { .typed { min-height: 86px; } }
@media (max-width: 480px) { .chip { font-size: 12px; padding: 8px 10px; } .chip.c { display: none; } }

/* --- Marquee --------------------------------------------------------- */
.marquee { background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { white-space: nowrap; font-size: 14.5px; font-weight: 500; color: var(--green); padding: 7px 14px; border: 1px solid rgba(14, 59, 44, .16); border-radius: 999px; background: rgba(255, 255, 255, .6); }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- Sections -------------------------------------------------------- */
section.block { padding: 88px 0; }
section.block.tint { background: var(--ivory); }
section.block.dark { background: var(--green); color: var(--ivory); }
section.block.dark h2, section.block.dark h3 { color: var(--ivory); }
section.block.dark .muted, section.block.dark p { color: rgba(245, 239, 226, .8); }
section.block.dark .eyebrow { color: var(--gold); }
.head { max-width: 720px; margin: 0 0 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head p { font-size: 18.5px; color: var(--muted); margin: 0; }
@media (max-width: 700px) { section.block { padding: 60px 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--display); font-size: 22px; font-weight: 600;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green); color: var(--gold); margin-bottom: 16px;
}
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .shot { order: 2; }
.feature .shot { position: relative; display: grid; place-items: center; padding: 34px 0; }
.feature .shot::before {
  content: ""; position: absolute; inset: 6% 12%; border-radius: 40px;
  background: linear-gradient(150deg, rgba(212, 175, 106, .35), rgba(36, 120, 79, .18));
  filter: blur(2px); transform: rotate(-4deg);
}
.feature.flip .shot::before { transform: rotate(4deg); }
.feature .phone { width: min(270px, 70vw); }
.feature h2 { font-size: clamp(25px, 3vw, 34px); }
.feature p { color: var(--muted); font-size: 17.5px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af6a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tag { font-size: 13.5px; font-weight: 600; color: var(--green); background: rgba(14, 59, 44, .07); padding: 6px 12px; border-radius: 999px; }
.quote {
  margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--gold);
  background: rgba(212, 175, 106, .12); border-radius: 0 14px 14px 0; font-size: 16px;
}
.quote b { color: var(--green); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .feature.flip .shot { order: 0; }
}

/* cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 59, 44, .25); }
.card .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(14, 59, 44, .08); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .topic, .post-item .topic { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--leaf); }
section.block.dark .card { background: rgba(245, 239, 226, .06); border-color: rgba(245, 239, 226, .16); }
section.block.dark .card .ico { background: rgba(212, 175, 106, .16); color: var(--gold); }

/* video */
.reel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.player { position: relative; width: min(310px, 80vw); margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); background: #000; aspect-ratio: 9 / 16; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player button {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45));
  display: grid; place-items: center; color: var(--green);
}
.player button span { width: 78px; height: 78px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(212, 175, 106, .25); transition: transform .2s; }
.player button:hover span { transform: scale(1.08); }
.player button svg { width: 28px; height: 28px; margin-left: 4px; }
.player.playing button { display: none; }
@media (max-width: 860px) { .reel { grid-template-columns: 1fr; gap: 34px; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.plan.best { background: var(--green); color: var(--ivory); border-color: var(--green); box-shadow: var(--shadow); }
.plan.best h3, .plan.best .price { color: var(--ivory); }
.plan.best p, .plan.best li { color: rgba(245, 239, 226, .82); }
.plan .badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--green); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.plan .price { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; margin: 6px 0 4px; color: var(--ink); }
.plan .price small { font-family: var(--body); font-size: 14.5px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.plan.best .price small { color: rgba(245, 239, 226, .7); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 15.5px; color: var(--muted); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
.plan.best li::before { color: var(--gold); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.band {
  background: radial-gradient(600px 300px at 90% 0%, rgba(212, 175, 106, .25), transparent 60%), var(--green);
  color: var(--ivory); border-radius: 30px; padding: 54px 44px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.band h2 { color: var(--ivory); margin: 0 0 10px; }
.band p { color: rgba(245, 239, 226, .8); margin: 0; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 38px 26px; } }

/* notices, tables (legal pages and guides) */
.notice { background: #fff8ec; border: 1px solid #efdcb8; border-left: 4px solid var(--gold-deep); border-radius: 14px; padding: 16px 18px; margin: 24px 0; }
.notice p { margin: 0; }
.notice p + p { margin-top: 10px; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
th { background: var(--ivory); font-weight: 600; }
.scroll { overflow-x: auto; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--ivory), var(--paper)); padding: 60px 0 34px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); max-width: 860px; }
.page-hero .lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0; }
main.page { padding: 44px 0 80px; }
main.page h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 40px 0 12px; }
main.page h3 { margin: 28px 0 8px; }
main.page h1 { font-size: clamp(32px, 4.6vw, 46px); }
.updated { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.crumb { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--green); }

/* blog */
.post-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); margin: 10px 0 30px; }
.post-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-item h2, .post-item h3 { font-size: 20.5px; margin: 0 0 10px; line-height: 1.28; }
.post-item h2 a, .post-item h3 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover, .post-item h3 a:hover { color: var(--leaf); }
.post-item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.post-item .updated { margin: 14px 0 0; font-size: 13.5px; margin-top: auto; padding-top: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filters button { font: inherit; font-size: 14.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.filters button.on { background: var(--green); border-color: var(--green); color: var(--ivory); }
.article { max-width: 760px; margin: 0 auto; }
.article p, .article li { font-size: 17.5px; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin-bottom: 9px; }
.article ol > li::marker { font-weight: 700; color: var(--gold-deep); }
.article ul > li::marker { color: var(--gold-deep); }
.asked { background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 30px; }
.asked h2 { font-family: var(--body); font-size: 12.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 8px !important; }
.asked p { margin: 0; font-style: italic; color: var(--muted); font-size: 16.5px; }
.cta { background: var(--green); color: var(--ivory); border-radius: 22px; padding: 30px 28px; margin: 40px 0 10px; }
.cta h2 { color: var(--ivory); margin: 0 0 8px !important; font-size: 24px !important; }
.cta p { color: rgba(245, 239, 226, .82); margin: 0 0 18px; font-size: 16.5px; }
.cta p:last-child { margin: 0; }
.related { margin-top: 54px; }
.related h2 { font-size: 24px; }

/* footer */
footer.site { background: var(--green); color: rgba(245, 239, 226, .75); padding: 60px 0 34px; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
footer.site h4 { font-family: var(--body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
footer.site a { color: rgba(245, 239, 226, .82); text-decoration: none; display: block; padding: 4px 0; }
footer.site a:hover { color: var(--gold); }
footer.site .brand span { color: var(--ivory); }
footer.site .legal { border-top: 1px solid rgba(245, 239, 226, .14); margin-top: 38px; padding-top: 22px; font-size: 13.5px; color: rgba(245, 239, 226, .6); }
footer.site .legal p { margin: 0 0 6px; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* Malayalam pages */
:lang(ml) body, body:lang(ml) { font-family: "Noto Sans Malayalam", var(--body); }
:lang(ml) h1, :lang(ml) h2, :lang(ml) h3 { font-family: "Noto Sans Malayalam", var(--body); letter-spacing: 0; line-height: 1.35; font-weight: 700; }
:lang(ml) h1 { font-size: clamp(30px, 4.6vw, 50px); }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 22px; }
.lost .num { font-family: var(--display); font-size: 110px; line-height: 1; color: var(--gold-deep); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
