/* EETS plan payment · eets.in/pay. Colours from the guest page (chilli theme). */
:root {
  --bg: #F5F0E8; --card: #FFFDF9; --line: #E6DDD0; --ink: #1A1612; --muted: #6E6458; --faint: #8A7F72;
  --act: #1A1612; --onAct: #F5F0E8; --cta: #D9381E; --onCta: #FFFFFF; --needInk: #B02A14;
  --cookSoft: #FCEFD8; --cookInk: #7A4A06; --ready: #1F7A4D; --readySoft: #E1F2E8; --outer: #E9E1D5;
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --body: Inter, system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--outer); color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--outer); color: var(--ink); font: 15px/1.4 var(--body); }
h1, h2, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #E89A1F; outline-offset: 2px; }
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg); display: flex; flex-direction: column; }
@media (min-width: 500px) { #app { box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(20,20,20,.08); } }
.hero { background: var(--act); color: var(--onAct); padding: 20px 18px 22px; padding-top: max(20px, env(safe-area-inset-top)); border-radius: 0 0 28px 28px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 18px; text-decoration: none; }
.brand span { color: #FF7A5C; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.15; margin-top: 14px; }
.sub { opacity: .8; margin-top: 6px; font-size: 14px; }
.body { padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.offer { background: var(--cookSoft); color: var(--cookInk); border-radius: 16px; padding: 12px 14px; font-size: 14.5px; }
.label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.phone { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.phone:focus-within { outline: 2px solid var(--act); border-color: transparent; }
.cc { padding: 0 4px 0 14px; font-family: var(--mono); font-weight: 700; color: var(--muted); }
.phone input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; padding: 0 12px 0 6px; font: 700 19px var(--mono); color: var(--ink); letter-spacing: .5px; }
.phone input:focus { outline: none; }
.help { font-size: 13px; color: var(--muted); }
.err { font-size: 13.5px; color: var(--needInk); font-weight: 600; }
.plans { border: 0; margin: 0; padding: 0; }
.plan-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.plan { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); cursor: pointer; }
.plan:has(input:checked) { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); }
.plan input { width: 20px; height: 20px; accent-color: var(--act); flex-shrink: 0; margin: 0; }
.pi { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pn { font-weight: 700; font-size: 16px; }
.pd { font-size: 12.5px; color: var(--muted); }
.money { font-family: var(--mono); font-weight: 700; }
.pp { font-size: 16px; }
.term { font-size: 14px; color: var(--muted); margin-top: 4px; }
.term b { color: var(--ink); }
.big-btn { width: 100%; min-height: 56px; border: 0; border-radius: 18px; font: 700 16px var(--body); margin-top: 6px; cursor: pointer; transition: transform .14s; }
.big-btn:active { transform: scale(.97); }
.big-btn.cta { background: var(--cta); color: var(--onCta); box-shadow: 0 12px 26px rgba(20,20,20,.18); }
.big-btn:disabled { background: var(--line); color: var(--muted); box-shadow: none; cursor: default; }
.note { font-size: 12.5px; color: var(--muted); text-align: center; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--readySoft); color: var(--ready); font-size: 34px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 10px auto 2px; }
#done-view h2 { font-family: var(--display); font-weight: 800; font-size: 26px; text-align: center; }
#done-view:focus { outline: none; }
.lead { font-size: 16px; text-align: center; line-height: 1.45; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 14px; margin-top: 6px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); }
.row b { text-align: right; overflow-wrap: anywhere; }
.foot { margin-top: auto; padding: 20px 18px 24px; text-align: center; font-size: 12px; color: var(--faint); display: flex; flex-direction: column; gap: 6px; }
.foot nav { display: flex; justify-content: center; gap: 8px; }
.foot nav a, .foot p a { color: var(--muted); font-weight: 600; }
.foot nav a { min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
