/* SipME 207 — Maine Pine (CLAUDE.md §2). Light only, like the app. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/Inter-Bold.woff2) format("woff2"); }

:root {
  --pine: #1E5631;
  --pine-dark: #12381F;
  --amber: #E89130;        /* fill only: 2.46:1 on white, never text */
  --amber-hover: #CF7E24;
  --bg: #F8FAF9;
  --surface: #FFFFFF;
  --text: #111827;
  --text-2: #4B5563;
  --border: #E5E7EB;
  --pine-tint: #EEF3EF;
  --r-card: 16px;
  --r-button: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--pine); text-underline-offset: 2px; }
a:hover { color: var(--pine-dark); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* Band: pine-dark is structure */
.band { background: var(--pine-dark); color: #fff; }
.band a { color: #fff; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand .logo { width: 32px; height: 32px; border-radius: 8px; }
.topbar nav a { font-weight: 600; font-size: 15px; text-decoration: none; opacity: .85; }
.topbar nav a:hover { opacity: 1; }

.hero { padding: 28px 0 40px; display: grid; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.hero p { margin: 0; font-size: 18px; color: rgba(255,255,255,.86); max-width: 34em; }
.hero .mark { width: 72px; height: 72px; border-radius: 17px; }
.status { display: inline-block; justify-self: start; padding: 4px 12px; border-radius: 9999px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600; }

main.wrap { padding-top: 32px; padding-bottom: 48px; }  /* .wrap sets the side gutters */
section + section { margin-top: 36px; }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--pine-dark); letter-spacing: -0.01em; }
h3 { margin: 22px 0 6px; font-size: 18px; font-weight: 600; color: var(--pine-dark); }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li + li { margin-top: 6px; }
.muted { color: var(--text-2); }
.small { font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; }
.card.tint { background: var(--pine-tint); border-color: transparent; }

.steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px 18px; }
.steps strong { display: block; color: var(--pine-dark); margin-bottom: 2px; }

/* Amber is the only call to action; its label is text-primary. */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px;
  border-radius: var(--r-button); background: var(--amber); color: var(--text); font-weight: 600; text-decoration: none; }
.cta:hover { background: var(--amber-hover); color: var(--text); }

.pill { display: inline-block; padding: 2px 10px; border-radius: 9999px; font-size: 14px; font-weight: 600;
  background: var(--pine); color: #fff; }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 15px; color: var(--text-2); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
footer nav a { font-weight: 600; }

/* Long-form pages */
.doc h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--pine-dark); letter-spacing: -0.02em; }
.doc .updated { margin-bottom: 24px; }
.doc h2 { margin-top: 32px; }
.summary { margin-bottom: 8px; }
.doc .summary h2 { margin-top: 0; }
.summary li { margin-top: 4px; }
code { font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--pine-tint); padding: 1px 5px; border-radius: 6px; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero { padding: 40px 0 56px; grid-template-columns: 1fr auto; align-items: center; }
  .hero .mark { width: 96px; height: 96px; border-radius: 22px; grid-column: 2; grid-row: 1 / span 3; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Secondary button: amber stays the one call to action (Email a Tip). */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px;
  border-radius: var(--r-button); background: var(--pine-tint); color: var(--pine-dark); font-weight: 600; text-decoration: none; }
.button:hover { background: #E0EAE3; color: var(--pine-dark); }
