/* behrupiya.com — the landing page. Same tokens as the app: warm paper by day, graphite by night. */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #f7f1e9; --surface: #fffcf7; --surface-2: #eee5dd; --line: #d9cbc7; --text: #302735; --muted: #6a5d6a;
  --accent: #a4503a; --accent-ink: #ffffff; --accent-text: #a4503a; --focus: #7a344d;
  --ink: #26222b; --sand: #e7d2b0; --terracotta: #c9694f; --cream: #f4ead9;
  --r: 22px; --shadow: 0 1px 2px rgb(48 39 53 / 6%), 0 12px 32px rgb(48 39 53 / 8%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214; --surface: #1b1d20; --surface-2: #242629; --line: #37393d; --text: #f2efea; --muted: #b5b3af;
    --accent: #dda18a; --accent-ink: #171718; --accent-text: #dda18a; --focus: #f0be9d;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; }
.skip:focus { display: inline-flex; align-items: center; min-height: 44px; left: 12px; top: 12px; z-index: 10; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 12px; font-weight: 700; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: calc(env(safe-area-inset-top, 0px) + 14px) 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand .light { display: block; } .brand .dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .light { display: none; } .brand .dark { display: block; } }
.wordmark { font: 400 28px/1 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; font-size: 15px; font-weight: 600; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font-family: "Instrument Serif", Georgia, serif; line-height: 1.04; letter-spacing: -0.015em; }
h1.display { font-size: clamp(40px, 9.5vw, 76px); max-width: 12em; margin-top: 10px; }
h1 em { color: var(--accent-text); }
h2.display { font-size: clamp(30px, 6vw, 44px); max-width: 16em; }
h3 { font: 700 18px/1.3 "Manrope", system-ui, sans-serif; }
p { margin: 0; }
.lede { margin-top: 14px; max-width: 34em; font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); }
.muted { color: var(--muted); }

.hero { display: grid; gap: 28px; padding-block: 18px 44px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; padding-block: 48px 80px; } }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.quiet { border-color: var(--line); background: var(--surface); }
.btn:hover { filter: brightness(1.04); }
.status { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 34em; }
.status strong { color: var(--text); }

/* An illustration of a work as it appears in the app. Not a real work or a real artist. */
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; max-width: 440px; width: 100%; justify-self: center; }
.work .cover { border-radius: 16px; aspect-ratio: 5 / 4; width: 100%; }
.work .meta { padding: 14px 6px 6px; display: grid; gap: 6px; }
.work .kind { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.work .title { font: 400 28px/1.1 "Instrument Serif", Georgia, serif; }
.work .by { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.work .mask { width: 28px; height: 28px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; width: 72%; background: var(--accent); border-radius: 999px; }
.work .count { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.caption { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }

section { padding-block: 44px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { section { padding-block: 72px; } }
.steps, .paths, .modes { display: grid; gap: 14px; margin-top: 26px; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .paths, .modes { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 700; }
.card p { color: var(--muted); font-size: 16px; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 16px; display: grid; gap: 4px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 12px; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; max-width: 44em; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 32px calc(env(safe-area-inset-bottom, 0px) + 40px); font-size: 15px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--text); text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.prose { max-width: 44em; padding-block: 24px 64px; display: grid; gap: 14px; }
.prose h1 { font: 400 clamp(36px, 7vw, 52px)/1.05 "Instrument Serif", Georgia, serif; }
.prose h2 { font: 700 19px/1.3 "Manrope", system-ui, sans-serif; margin-top: 14px; }
.draft { border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 14px 16px; font-size: 15.5px; }
