
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('inter.woff2') format('woff2'); }
/* Shared by the static pages (switch, calculator, ramadan). about/ and privacy/ keep their own copy inline. */
:root {
  --bg: #f7f8f6; --surface: #fff; --raise: #f1f3f0; --line: #e8ebe7;
  --fg: #191c19; --muted: #646a64; --accent: #356b52; --accent-soft: #e9f1ec; --good: #2e8556;
  --card: 0 0 0 1px #e8ebe7;
  --f-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121311; --surface: #1b1c19; --raise: #252622; --line: #2f312c; --fg: #ecebe5; --muted: #a29f95; --accent: #7cc49a; --accent-soft: rgba(124,196,154,.14); --good: #7cc49a; --card: inset 0 0 0 1px #2f312c; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 720px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
header { padding-block: max(28px, env(safe-area-inset-top, 0px)) 8px; display: flex; align-items: center; gap: 12px; }
header img { width: 40px; height: 40px; border-radius: 10px; }
header b { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 8vw, 50px); line-height: 1.06; letter-spacing: -0.03em; margin: 28px 0 14px; text-wrap: balance; font-weight: 700; }
h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; font-weight: 650; line-height: 1.2; }
h3 { font-size: 18px; margin: 0 0 4px; font-weight: 650; }
p { margin: 0; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; }
.btn { min-height: 52px; padding: 0 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--bg); }
.btn.ghost { background: var(--surface); box-shadow: var(--card); color: var(--fg); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.small { font-size: 14px; color: var(--muted); }
section { padding-block: 48px 8px; }
.label { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 10px; display: block; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding: 6px max(20px, env(safe-area-inset-left, 0px)) 14px; margin: 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))); scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
figure { margin: 0; flex: none; width: min(70vw, 250px); scroll-snap-align: start; }
figure img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: var(--card); background: var(--surface); aspect-ratio: 390 / 844; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.35; }
figcaption b { color: var(--fg); display: block; font-weight: 600; }
.points { display: grid; gap: 12px; }
.point { background: var(--surface); box-shadow: var(--card); border-radius: 18px; padding: 18px; }
.point p { color: var(--muted); font-size: 16px; }
.vs { display: grid; gap: 10px; }
.vs div { background: var(--surface); box-shadow: var(--card); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.vs s { text-decoration: none; color: var(--muted); font-size: 15px; }
.vs b { font-weight: 600; }
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } .points, .vs { grid-template-columns: 1fr 1fr; } }
.step { background: var(--surface); box-shadow: var(--card); border-radius: 18px; padding: 18px; }
.step ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.step li { margin: 4px 0; }
.step li b { color: var(--fg); font-weight: 600; }
.note { background: var(--accent-soft); border-radius: 14px; padding: 14px 16px; font-size: 15px; margin-top: 14px; }
footer { padding-block: 40px max(32px, env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; display: grid; gap: 8px; }
footer a, .small a { color: var(--fg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

nav.top { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; margin-top: 4px; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover { color: var(--fg); }
.card { background: var(--surface); box-shadow: var(--card); border-radius: 18px; padding: 18px; }
.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
label.f input, label.f select { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 400 17px var(--f-ui); padding: 0 12px; width: 100%; }
.seg { display: grid; grid-auto-flow: column; gap: 4px; background: var(--raise); border-radius: 12px; padding: 4px; }
.seg button { min-height: 40px; border: 0; border-radius: 9px; background: none; font: 600 15px var(--f-ui); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--card); }
.out { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); text-align: center; }
.out div { background: var(--raise); border-radius: 14px; padding: 12px 6px; }
.out b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.out span { font-size: 13px; color: var(--muted); }
.warn { background: #fbf1e3; color: #7a4a0a; border-radius: 14px; padding: 14px 16px; font-size: 15px; }
@media (prefers-color-scheme: dark) { .warn { background: rgba(214,160,80,.14); color: #e3b878; } }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.t th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
table.t td.n, table.t th.n { text-align: right; white-space: nowrap; }
.tablewrap { overflow-x: auto; background: var(--surface); box-shadow: var(--card); border-radius: 18px; padding: 6px 12px; }
details.q { background: var(--surface); box-shadow: var(--card); border-radius: 16px; padding: 14px 16px; }
details.q summary { font-weight: 600; cursor: pointer; }
details.q p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.qs { display: grid; gap: 10px; }
@media (max-width: 420px) { .out { grid-template-columns: 1fr 1fr; } .grid2 { grid-template-columns: 1fr; } table.t { font-size: 13px; } table.t td, table.t th { padding: 8px 2px; } table.t td:first-child, table.t th:first-child { padding-left: 0; } .tablewrap { padding: 4px 6px; } }
