/* UX Field Guide marketing site. Self-hosted fonts, no third-party requests. */

@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "PlexMono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #121316; --surface: #191B1E; --raised: #202327;
  --text: #ECEDEB; --text-2: #C8CACD; --muted: #969BA1;
  --hair: #2D3035; --accent: #E6A92B; --accent-text: #F1C56C; --on-accent: #17181B;
  --wrap: 1080px; --radius: 14px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F1F1EE; --surface: #FFFFFF; --raised: #ECECE9;
    --text: #1B1C1F; --text-2: #45484D; --muted: #5E636A;
    --hair: #E2E2DD; --accent: #C8881A; --accent-text: #8F6410; --on-accent: #FFFFFF;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Plex", system-ui, sans-serif; font-weight: 400;
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
.kicker, .eyebrow, .mono { font-family: "PlexMono", monospace; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--muted); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Archivo"; font-weight: 800; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--accent-text); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.app-icon-lg { width: 76px; height: 76px; border-radius: 17px; margin-bottom: 22px; border: 1px solid var(--hair); }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--accent-text); }
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.lead { color: var(--text-2); font-size: 19px; margin-top: 18px; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 16px; font-family: "PlexMono", monospace; letter-spacing: 0.04em; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 11px; font-weight: 600; font-size: 15px; text-decoration: none; background: var(--accent); color: var(--on-accent); border: 1px solid transparent; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--hair); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-text); }

/* Phone mockups */
.phone-stack { display: flex; justify-content: center; }
.phone { width: 270px; max-width: 70vw; border-radius: 34px; padding: 9px; background: var(--raised); border: 1px solid var(--hair); }
.phone img { width: 100%; display: block; border-radius: 26px; border: 1px solid var(--hair); }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 10px; }
.section-head p { color: var(--text-2); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: var(--raised); border: 1px solid var(--hair); margin-bottom: 14px; }
.feature h3 { font-family: "Archivo"; font-weight: 700; font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature .t-accent { color: var(--accent-text); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 22px; border: 1px solid var(--hair); border-radius: var(--radius); }
.step .num { font-family: "Archivo"; font-weight: 800; font-size: 15px; color: var(--on-accent); background: var(--accent); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

.showcase { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shots .phone { width: 100%; }
.cap { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.cap b { display: block; color: var(--text); font-family: "Archivo"; font-weight: 700; font-size: 15px; margin-bottom: 3px; }

.band { background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 40px; text-align: center; }
.band h2 { font-size: clamp(24px, 3vw, 32px); }
.band p { color: var(--text-2); max-width: 60ch; margin: 14px auto 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.pill { font-family: "PlexMono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); border: 1px solid var(--hair); border-radius: 999px; padding: 7px 13px; }

/* Footer */
footer { border-top: 1px solid var(--hair); padding: 40px 0; margin-top: 16px; }
.foot-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--accent-text); }
.copy { color: var(--muted); font-size: 13px; margin-top: 22px; }
.copy a { color: var(--text-2); }

/* Document pages (privacy / support / terms) */
.doc { max-width: 760px; margin: 48px auto 0; padding-bottom: 24px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.doc h2 { font-family: "Archivo"; font-weight: 700; font-size: 21px; margin: 34px 0 10px; }
.doc h3 { font-family: "Archivo"; font-weight: 700; font-size: 16px; margin: 18px 0 6px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc a { color: var(--accent-text); }
.updated { color: var(--muted); font-family: "PlexMono", monospace; font-size: 12px; letter-spacing: 0.06em; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 22px; }
.back:hover { color: var(--accent-text); }
.callout { background: var(--surface); border: 1px solid var(--hair); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 18px 0 24px; color: var(--text-2); }
.callout strong { color: var(--text); }
.faq { border-top: 1px solid var(--hair); padding: 16px 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .features, .steps, .shots { grid-template-columns: 1fr; }
}
