/* KhetVahi web: a bahi-khata (red cloth ledger) on turmeric and paper. */
:root {
  --turmeric: #E8A317;
  --turmeric-deep: #C98A0C;
  --red: #B3261E;
  --red-deep: #8A1A14;
  --leaf: #9BD266;
  --paper: #FBF6EC;
  --paper-2: #F3E8D2;
  --card: #FFFDF8;
  --ink: #2B2118;
  --ink-2: #5E4D3C;
  --rule: #E6DCC8;
  --rule-faint: rgba(181, 82, 43, .09);
  --get: #2E7D32;
  --pay: #C62828;
  --hero-bg: #E8A317;
  --hero-ink: #3A1608;
  --dark-bg: #2B2118;
  --dark-ink: #FBF6EC;
  --shadow: 0 1px 0 rgba(43,33,24,.06), 0 14px 34px -14px rgba(43,33,24,.35);
  --radius: 14px;
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1E1712;
    --paper-2: #2A2019;
    --card: #2E241C;
    --ink: #F3E9D6;
    --ink-2: #CDBBA2;
    --rule: #4A3F35;
    --rule-faint: rgba(232, 163, 23, .07);
    --get: #81C784;
    --pay: #EF9A9A;
    --red: #D9493C;
    --hero-bg: #4A3205;
    --hero-ink: #FBEFD5;
    --dark-bg: #120D09;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 18px 40px -16px rgba(0,0,0,.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--f-body);
  overflow-x: hidden;
}
.lang-en body, body.lang-en { font-size: 18px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; font-weight: 750; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); font-stretch: 88%; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }
.ic { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 60ch; margin-top: 14px; }
section { position: relative; padding-block: clamp(64px, 9vw, 120px); }

/* Ruled ledger paper with a red margin line. */
.paper {
  background:
    linear-gradient(to right, transparent calc(var(--margin, 0px) - 6px), rgba(179,38,30,.28) calc(var(--margin, 0px) - 6px), rgba(179,38,30,.28) calc(var(--margin, 0px) - 4px), transparent calc(var(--margin, 0px) - 4px), transparent calc(var(--margin, 0px) - 1px), rgba(179,38,30,.28) calc(var(--margin, 0px) - 1px), rgba(179,38,30,.28) var(--margin, 0px), transparent var(--margin, 0px)),
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule-faint) 35px 36px),
    var(--paper);
}
@media (min-width: 1000px) { .paper { --margin: max(28px, calc((100vw - var(--wrap)) / 2 - 18px)); } }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--hero-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--hero-ink); transition: box-shadow .2s; }
.top.is-scrolled { box-shadow: 0 6px 20px -12px rgba(0,0,0,.5); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 25px; font-stretch: 95%; }
.nav { display: none; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 1000px) { .nav { display: flex; } }
.langs { display: flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 2px; font-size: 14px; line-height: 1; }
.langs a, .langs .lang-cur { padding: 7px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.langs .lang-cur { background: var(--hero-ink); color: var(--hero-bg); font-weight: 700; }
.langs a:hover { background: rgba(0,0,0,.08); }
.top .btn-sm { display: none; }
@media (min-width: 720px) { .top .btn-sm { display: inline-flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 20px;
  border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; font: 600 17px/1.2 var(--f-body);
  background: var(--red); color: #FFF7EA; box-shadow: 0 3px 0 var(--red-deep);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--red-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-deep); }
.btn .ic { width: 24px; height: 24px; }
.btn small { display: block; font-size: 12.5px; font-weight: 500; opacity: .85; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-play { background: #15110D; color: #fff; box-shadow: 0 3px 0 #000; }
.btn-play .ic { fill: currentColor; stroke: none; }
.btn-play.is-soon { cursor: default; opacity: .9; background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-play.is-soon:hover, .btn-play.is-soon:active { transform: none; }
.btn-share { background: #1F8F4E; box-shadow: 0 3px 0 #136B38; }
.btn-share:hover { box-shadow: 0 4px 0 #136B38; }
.dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dl .btn { flex: 1 1 240px; justify-content: flex-start; }
@media (min-width: 720px) { .dl .btn { flex: 0 1 auto; } }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(60% 70% at 85% 30%, rgba(255,255,255,.35), transparent 70%),
              radial-gradient(40% 50% at 10% 100%, rgba(179,38,30,.25), transparent 70%);
}
.hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .04em; display: inline-block; padding: 6px 14px; border: 1.5px dashed currentColor; border-radius: 999px; margin-bottom: 22px; transform: rotate(-1.5deg); }
.hero h1 { font-size: clamp(44px, 8.4vw, 92px); font-weight: 800; font-stretch: 82%; line-height: 1.02; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--red-deep); display: inline-block; position: relative; }
@media (prefers-color-scheme: dark) { .hero h1 em { color: var(--turmeric); } }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--red); border-radius: 3px; transform-origin: left; animation: ink 1s .5s cubic-bezier(.6,0,.2,1) both; opacity: .9; }
@keyframes ink { from { transform: scaleX(0); } }
.lede { font-size: clamp(19px, 2vw, 22px); margin-top: 22px; max-width: 54ch; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 500; font-size: 16px; }
.chips li { display: flex; align-items: center; gap: 6px; }
.chips .ic { width: 18px; height: 18px; color: var(--red-deep); stroke-width: 3; }
@media (prefers-color-scheme: dark) { .chips .ic { color: var(--leaf); } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--paper);
  -webkit-mask: radial-gradient(28px 22px at 28px 0, transparent 98%, #000) 0 0 / 56px 48px repeat-x;
          mask: radial-gradient(28px 22px at 28px 0, transparent 98%, #000) 0 0 / 56px 48px repeat-x; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both; }
.book { position: absolute; width: min(70%, 330px); left: -12%; top: 2%; transform: rotate(-9deg); filter: drop-shadow(0 30px 30px rgba(60,20,0,.35)); }
.book-svg { width: 100%; height: auto; }
.phone {
  position: relative; width: 290px; border-radius: 40px; padding: 12px; background: #15110D;
  box-shadow: 0 40px 60px -20px rgba(40,15,0,.55), inset 0 0 0 2px #3a302a; transform: rotate(4deg) translateX(14%);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; border-radius: 12px; background: #15110D; transform: translateX(-50%); z-index: 2; }
.screen { background: #FBF6EC; color: #2B2118; border-radius: 30px; overflow: hidden; padding: 44px 14px 16px; font-size: 13.5px; line-height: 1.35; }
.scr-bar span { display: block; font-family: var(--f-display); font-weight: 800; font-size: 24px; }
.scr-bar small { color: #6b5a48; font-size: 12.5px; }
.scr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.scr-tiles div { background: #fff; border: 1px solid #E6DCC8; border-radius: 10px; padding: 7px 7px; }
.scr-tiles small { display: block; color: #6b5a48; font-size: 11px; }
.scr-tiles b { font-size: 13px; white-space: nowrap; }
.get { color: #2E7D32; } .pay { color: #C62828; }
.screen .get { color: #2E7D32; } .screen .pay { color: #C62828; }
.scr-chip { margin-top: 10px; background: #FFDEA6; border-radius: 999px; padding: 6px 10px; font-weight: 600; font-size: 12.5px; }
.scr-list { list-style: none; padding: 0; margin: 10px 0 0; }
.scr-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed #E6DCC8; }
.scr-total { margin-top: 12px; background: #B3261E; color: #FFF7EA; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.scr-total b { font-family: var(--f-display); font-size: 20px; }
@media (max-width: 480px) { .hero-art { min-height: 480px; } .phone { width: 262px; transform: rotate(3deg) translateX(6%); } }

/* Problem notes */
.notes { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 820px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.note { background: var(--card); padding: 26px 24px 28px; border-radius: 4px; box-shadow: var(--shadow); position: relative; border-top: 6px solid var(--turmeric); }
.note:nth-child(1) { transform: rotate(-1.2deg); }
.note:nth-child(2) { transform: rotate(.8deg); border-top-color: var(--red); }
.note:nth-child(3) { transform: rotate(-.4deg); }
.note::after { content: ""; position: absolute; top: -16px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(232,163,23,.45); }
.note h3 { margin-bottom: 8px; }
.note p { color: var(--ink-2); }

/* Features as ledger entries */
.ledger { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 0 48px; }
@media (min-width: 880px) { .ledger { grid-template-columns: 1fr 1fr; } }
.entry { display: grid; grid-template-columns: 44px 48px 1fr; gap: 14px; align-items: start; padding: 22px 0; border-bottom: 1.5px solid var(--rule); }
.entry-no { font-family: var(--f-display); font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; padding-top: 4px; font-stretch: 80%; }
.entry-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--paper-2); color: var(--red); }
.entry-ic .ic { width: 26px; height: 26px; }
.entry h3 { margin-bottom: 4px; }
.entry p { color: var(--ink-2); font-size: 17px; }

/* Calculator */
.calc { background: var(--dark-bg); color: var(--dark-ink); overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(232,163,23,.18), transparent 70%); pointer-events: none; }
.calc .kicker { color: var(--turmeric); }
.calc .sub { color: #D9CBB4; }
.calc-in { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .calc-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.calc-form { margin-top: 30px; display: grid; gap: 16px; }
.calc-form > label { display: grid; gap: 6px; font-weight: 500; color: #E9DCC6; }
.money { display: flex; align-items: center; background: #FBF6EC; color: #2B2118; border-radius: 12px; padding: 0 16px; border: 2px solid transparent; transition: border-color .15s; }
.money:focus-within { border-color: var(--turmeric); }
.money i { font-style: normal; font-weight: 700; font-size: 22px; color: #8a7660; }
.money input { flex: 1; min-width: 0; border: 0; background: transparent; font: 700 24px/1 var(--f-display); padding: 14px 10px; color: inherit; outline: none; }
.calc fieldset { border: 0; padding: 0; margin: 4px 0 0; }
.calc legend { font-weight: 500; color: #E9DCC6; margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; border: 2px solid #5a4a3c; text-align: center; font-size: 15px; transition: background .15s, border-color .15s, color .15s; }
.seg b { font-family: var(--f-display); font-size: 28px; line-height: 1; }
.seg input:checked + span { background: var(--turmeric); border-color: var(--turmeric); color: #2B1A0E; }
.seg input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

.slip {
  position: relative; background: #FFFDF6; color: #2B2118; border-radius: 6px; padding: 28px 26px 26px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(181,82,43,.12) 31px 32px);
  transform: rotate(1.2deg);
}
.slip::before { content: ""; position: absolute; top: 0; bottom: 0; left: 48px; border-left: 2px double rgba(179,38,30,.4); }
.slip > * { position: relative; }
.slip-head { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 22px; padding-left: 36px; }
.slip-logo { width: 30px; height: 30px; position: absolute; left: -4px; }
.slip-crop { margin-left: auto; font-size: 15px; font-weight: 600; background: #FFDEA6; padding: 3px 10px; border-radius: 999px; }
.slip dl { margin: 20px 0 0; padding-left: 36px; }
.slip dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #E0D3BC; }
.slip dt { color: #5E4D3C; }
.slip dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slip-total { margin: 18px 0 0 36px; padding: 14px 16px; border-radius: 12px; background: #B3261E; color: #FFF7EA; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; transition: background .25s; }
.slip-total.is-get { background: #2E7D32; }
.slip-total b { font-family: var(--f-display); font-size: clamp(26px, 4vw, 34px); font-weight: 800; white-space: nowrap; }
.slip-owner { margin: 10px 0 0 36px; display: flex; justify-content: space-between; gap: 12px; color: #5E4D3C; }
.slip-owner b { color: #2B2118; }
.slip-note { margin: 16px 0 0 36px; font-size: 14px; color: #7a6650; line-height: 1.5; }
.stamp { position: absolute; right: -14px; top: -22px; background: #FFFDF6; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: #2E7D32; border: 3px solid currentColor; border-radius: 8px; padding: 4px 12px; transform: rotate(-12deg); opacity: 0; pointer-events: none; }
.stamp.on { animation: stamp .45s cubic-bezier(.2,1.6,.4,1) forwards; }
@keyframes stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } to { opacity: .85; transform: rotate(-12deg) scale(1); } }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 28px; counter-reset: s; position: relative; }
@media (min-width: 880px) {
  .step-list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step-list::before { content: ""; position: absolute; top: 32px; left: 32px; right: 12%; border-top: 3px dotted var(--red); opacity: .5; }
}
.step-list li { position: relative; }
.step-no { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--turmeric); color: #3A1608; font-family: var(--f-display); font-weight: 800; font-size: 30px; margin-bottom: 16px; position: relative; box-shadow: 0 0 0 6px var(--paper); }
.step-list h3 { margin-bottom: 6px; }
.step-list p { color: var(--ink-2); }

/* Crops marquee */
.crops { background: var(--paper-2); overflow: hidden; }
.marquee { margin-top: 44px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 10px 0 20px; display: flex; gap: 18px; width: max-content; animation: slide 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-track li { width: 150px; flex: none; background: #fff; color: #2B2118; padding: 10px 10px 12px; border-radius: 6px; box-shadow: var(--shadow); text-align: center; font-weight: 600; }
.marquee-track li:nth-child(odd) { transform: rotate(-2deg); }
.marquee-track li:nth-child(even) { transform: rotate(1.5deg) translateY(6px); }
.marquee-track img { width: 128px; height: 128px; margin: 0 auto 6px; object-fit: contain; }

/* Screens */
.shots { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 44px var(--gutter) 20px; scroll-padding-inline: var(--gutter); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; scrollbar-width: thin; }
.shot { margin: 0; flex: none; width: 236px; scroll-snap-align: start; }
.shot-frame { aspect-ratio: 9 / 19.5; border-radius: 30px; padding: 9px; background: #15110D; box-shadow: var(--shadow); overflow: hidden; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.shot-ph { height: 100%; border-radius: 22px; background: repeating-linear-gradient(to bottom, #FBF6EC 0 27px, #EFE3CC 27px 28px); display: grid; place-content: center; justify-items: center; gap: 12px; color: #7a6650; font-weight: 600; font-size: 15px; text-align: center; padding: 16px; }
.ph-logo { width: 64px; height: 64px; opacity: .9; }
.shot figcaption { margin-top: 12px; font-weight: 600; font-size: 16px; text-align: center; }

/* Privacy */
.privacy { background: var(--red-deep); color: #FFF3E2; overflow: hidden; }
.privacy::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.privacy .kicker { color: var(--turmeric); }
.privacy .sub { color: #F3D9C4; }
.privacy-in { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .privacy-in { grid-template-columns: 1.1fr .9fr; } }
.locks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.locks li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; font-weight: 600; font-size: 18px; }
.locks .ic { color: var(--leaf); width: 26px; height: 26px; stroke-width: 2.4; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; text-underline-offset: 5px; }
.privacy .link { color: var(--turmeric); }

/* Maker */
.maker-in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 820px) { .maker-in { grid-template-columns: 220px 1fr; gap: 56px; } }
.maker-mark { width: 180px; height: 180px; border-radius: 50%; background: var(--turmeric); display: grid; place-items: center; box-shadow: var(--shadow); }
.maker-mark .logo { width: 110px; height: 110px; }
.maker-body { font-size: clamp(19px, 2vw, 22px); margin-top: 18px; max-width: 60ch; }
.maker-sign { margin-top: 16px; color: var(--ink-2); }
.maker .link { color: var(--red); }

/* FAQ */
.faq-in { display: grid; gap: 30px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: .8fr 1.2fr; gap: 60px; } }
.qa details { border-bottom: 1.5px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--f-display); font-weight: 700; font-size: 21px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 500; color: var(--red); transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* CTA */
.cta { background: var(--hero-bg); color: var(--hero-ink); text-align: center; }
.cta-in { display: grid; justify-items: center; }
.cta-logo { width: 96px; height: 96px; margin-bottom: 20px; transform: rotate(-6deg); filter: drop-shadow(0 14px 14px rgba(60,20,0,.3)); }
.cta h2 { max-width: 18ch; }
.cta .sub { color: inherit; opacity: .85; }
.cta .dl { justify-content: center; }

/* Footer */
.foot { background: var(--dark-bg); color: #D9CBB4; padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); font-size: 16px; }
@media (min-width: 720px) { .foot { padding-bottom: 48px; } }
.foot-in { display: grid; gap: 24px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.4fr 1fr auto; align-items: center; } }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand b { display: block; font-family: var(--f-display); font-size: 22px; color: #FBF6EC; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { text-underline-offset: 4px; }
.foot-langs { justify-self: start; color: #FBF6EC; }
.foot-langs .lang-cur { background: #FBF6EC; color: #2B2118; }
.foot-note { grid-column: 1 / -1; font-size: 14px; opacity: .7; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }

/* Mobile download dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .3s; }
.dock.on { transform: none; }
.dock .btn { width: 100%; justify-content: center; }
@media (min-width: 720px) { .dock { display: none; } }

/* Language suggestion toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 50; display: flex; gap: 10px; align-items: center; background: var(--ink); color: var(--paper); padding: 10px 10px 10px 18px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; max-width: calc(100vw - 32px); animation: rise .4s both; }
.toast a { background: var(--turmeric); color: #2B1A0E; padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.toast button { background: none; border: 0; color: inherit; font-size: 22px; cursor: pointer; padding: 0 6px; }
@media (min-width: 720px) { .toast { bottom: 24px; } }

/* Scroll reveal: content is visible without JS; main.js adds .js to <html>. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .note.reveal.in:nth-child(1) { transform: rotate(-1.2deg); }
.js .note.reveal.in:nth-child(2) { transform: rotate(.8deg); }
.js .note.reveal.in:nth-child(3) { transform: rotate(-.4deg); }

/* Narrow phones */
@media (max-width: 420px) {
  body { font-size: 17px; }
  .brand-name { font-size: 22px; }
  .langs a, .langs .lang-cur { padding: 7px 7px; font-size: 13px; }
  .top-in { gap: 10px; }
  .entry { grid-template-columns: 30px 44px 1fr; gap: 10px; }
  .entry-ic { width: 44px; height: 44px; }
  .slip { padding: 22px 16px; }
  .slip::before { left: 30px; }
  .slip dl { padding-left: 22px; }
  .slip-total, .slip-owner, .slip-note { margin-left: 22px; }
  .stamp { right: 6px; }
  .slip-head { padding-left: 30px; }
}
