/* Course48 site: design G1 "F3 refined" from the homepage canvas (2026-11-18). Geist, black/white/warm grays, one green accent. */
:root {
  --a: #067A55;          /* accent: logo 48, main buttons, active tab, Standard tier */
  --ink: #0a0a0a;
  --ink-2: #5c5c58;
  --muted: #6b6b66;
  --faint: #8a8a84;
  --line: #ececea;
  --line-2: #e3e3df;
  --soft: #f7f7f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Geist, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }

.mono { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; }
.lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.sec { padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); }

/* Header and footer (shared by every page) */
.site-head { border-bottom: 1px solid var(--line); }
.site-head nav { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-head .left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.site-head .links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.site-head .links a { color: var(--ink-2); text-decoration: none; }
.site-head .links a:hover { color: var(--ink); }
.logo { text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.06em; color: var(--ink); }
.logo span { color: var(--a); }

.btn { display: inline-block; text-decoration: none; padding: 13px 20px; border-radius: 6px; font-weight: 500; font-size: 15px;
  line-height: 1.2; text-align: center; }
.btn-primary { background: var(--a); color: #fff; }
.btn-primary:hover { background: #05684a; }
.btn-line { border: 1px solid #d0d0cb; color: var(--ink); padding: 12px 20px; }
.btn-line:hover { border-color: var(--ink); }
.btn-dark { border: 1px solid var(--ink); color: var(--ink); padding: 12px 20px; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 14px; font-size: 14px; }
.text-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.text-link:hover { text-decoration: underline; }

.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 20px 48px;
  justify-content: space-between; font-size: 14px; color: var(--muted); }
.site-foot .brand { display: flex; flex-direction: column; gap: 6px; }
.site-foot .brand .logo { font-size: 17px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

/* Starting-point tabs */
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; font-family: inherit;
  padding: 16px 0 18px; background: none; border: 0; border-top: 2px solid var(--line); color: var(--faint); cursor: pointer; }
.tab:hover { color: var(--ink-2); }
.tab[aria-selected="true"] { color: var(--ink); border-top-color: var(--a); }
.tab .t { font-size: 16px; font-weight: 500; }
.tab .s { font-size: 14px; line-height: 1.4; }

/* Pricing cards */
.tier { border: 1px solid var(--line-2); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tier.featured { border: 1.5px solid var(--a); }
.tier .name { font-size: 14px; color: var(--muted); font-weight: 500; }
.tier.featured .name { color: var(--a); }
.tier .len { font-size: 18px; font-weight: 500; }
.tier .price { font-size: 36px; font-weight: 500; letter-spacing: -0.04em; }
.tier .btn { margin-top: auto; }
.tier .lead { margin-bottom: 8px; }

/* Brief page */
.brief { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.brief h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 500; }
.brief iframe { width: 100%; min-height: 1250px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }

/* Legal pages (generated by scripts/build_site.py) */
.legal { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); max-width: 820px; font-size: 16px; line-height: 1.65; color: #2a2a28; }
.legal h1 { margin: 0 0 24px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 500; color: var(--ink); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.legal h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.legal p, .legal ul, .legal ol, .legal table { margin: 0 0 14px; }
.legal a { color: var(--a); }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
