/* Tech Learning Momentum: multi-page corporate site.
 *
 * Static HTML + CSS, no build step, zero external requests (system fonts,
 * favicon as a data URI). Deploys by uploading files.
 *
 * LIGHT THEME (founder, 2026-09-07): a light grey ground, ink text, amber only
 * as an accent. Palette is the brand mark's own: ink #1f2a44, amber #f4a01c
 * (marketing-agent/tech-learning-momentum/brand/BRAND.md). Not the Cheat Code
 * palette and never mixed with it.
 */

:root {
  --bg:      #eef2f7;   /* light grey-blue ground */
  --panel:   #ffffff;   /* cards */
  --ink:     #1f2a44;   /* text and the primary button */
  --muted:   #5b6473;
  --amber:   #f4a01c;   /* accent only */
  --rule:    #dbe2ec;
  --measure: 74ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; }
.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: 1.25rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 4px;
}

/* ---------------------------------------------------------------- top nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-in {
  max-width: var(--measure); margin-inline: auto;
  padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 56px; height: 56px; flex: none; }
.brand .name { font-weight: 700; font-size: 1.06rem; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.brand .tag {
  display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-top: 3px;
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 680px) { .nav-links a:not(.btn) { display: none; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: .62rem 1.1rem;
  background: var(--ink); color: #fff; font-weight: 650;
  text-decoration: none; border-radius: 7px; border: 0; cursor: pointer; font-size: .95rem;
}
.btn:hover { background: #2b3a5f; }
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-ghost:hover { background: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--panel); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(55% 80% at 88% -20%, rgba(244,160,28,.16), transparent 60%);
}
.hero-in { position: relative; z-index: 1; max-width: var(--measure); margin-inline: auto; padding: 4rem 1.25rem 3rem; }
.badge {
  display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); font-weight: 700; margin-bottom: .9rem;
}
.hero h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 5.5vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; }
.hero .lede { font-size: 1.16rem; margin: 0 0 1.4rem; max-width: 60ch; color: var(--ink); }

/* ---------------------------------------------------------------- sections */
.section { padding: 3rem 0; }
.section h2 { font-size: 1.5rem; letter-spacing: -.01em; margin: 0 0 1.4rem; }
.page-lead { font-size: 1.12rem; color: var(--ink); margin: 0 0 1.2rem; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column;
  position: relative; transition: border-color .12s, box-shadow .12s;
}
/* The whole card is the link. The 'Read more' anchor is stretched to cover the
   card via ::after, so there is still ONE real link (no nested anchors) and the
   entire box is clickable. */
.card:hover { border-color: #b9c6d8; box-shadow: 0 3px 14px rgba(31,42,68,.08); }
.card .more::after { content: ""; position: absolute; inset: 0; }
.card h3 { margin: .1rem 0 .5rem; font-size: 1.08rem; }
.card p { margin: 0 0 1rem; font-size: .96rem; color: var(--muted); }
.card .more { margin-top: auto; font-size: .9rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.card .more:hover { color: var(--amber); }

ul.plain { margin: .3rem 0 1.2rem; padding-left: 1.1rem; }
ul.plain li { margin: .3rem 0; }

/* ---------------------------------------------------------------- forms */
.two { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }
.box { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: 1.5rem; }
.box h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.box p.note { color: var(--muted); font-size: .92rem; margin: 0 0 1.1rem; }
label { display: block; font-size: .85rem; font-weight: 600; margin: .8rem 0 .3rem; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; padding: .6rem .7rem; background: #fff; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 7px; font: inherit; font-size: .95rem;
}
textarea { min-height: 88px; resize: vertical; }
.inline { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline input { flex: 1; min-width: 0; }
.pending { margin-top: 1rem; font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--rule); padding-top: .8rem; }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; padding: 2rem 0 3rem; background: var(--panel); }
.fine { font-size: .82rem; margin-top: .6rem; }

.center { padding: 5rem 0; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Honeypot: off-screen, not a real field. Bots fill it; people do not. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
