/* FirstGig hype site. One stylesheet for all pages; the few per-page rules sit inline.
   The look: a bright, open room with one warm light from above. Dark type on warm white, amber
   for anything that can be pressed (and a deeper amber for amber words, so they stay readable),
   red only for the recording dot. */
:root {
  color-scheme: light;
  --bg: #faf8f3;
  --card: #ffffff;
  --line: rgba(24, 19, 10, 0.09);
  --line-strong: rgba(24, 19, 10, 0.2);
  --text: #15120d;
  --muted: #5f5a52;
  --dim: #8d877c;
  --accent: #f0b54a;
  --accent-dark: #e0a233;
  --accent-ink: #171106;
  --accent-text: #a86d0a;
  --rec: #e5484d;
  --radius: 0.875rem;
  --shadow: 0 1px 2px rgba(24, 19, 10, 0.04), 0 0.625rem 1.75rem rgba(24, 19, 10, 0.06);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; position: relative; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
/* A jump to a section stops just below the pinned nav instead of under it, and glides there. */
[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Film grain over everything, barely there. */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.035; filter: invert(1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E"); }
/* The one light: it falls from above onto the top of every page and scrolls away with it. */
body::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40rem; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 68% 62% at 50% -10%, rgba(240, 181, 74, 0.24), rgba(240, 181, 74, 0.07) 46%, transparent 72%); }
nav, .wrap, footer { position: relative; z-index: 1; }
.wrap { max-width: 35rem; margin: 0 auto; padding: 0 1.25rem; }

/* Nav: the mark and the name on the left, links and the Join button on the right. It stays
   pinned to the top while the page scrolls, and grows a hairline once the page has moved. */
nav { position: sticky; top: 0; z-index: 20; padding: 0 1.25rem; background: rgba(250, 248, 243, 0.84); backdrop-filter: saturate(1.2) blur(0.625rem); -webkit-backdrop-filter: saturate(1.2) blur(0.625rem); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
nav.scrolled { border-bottom-color: var(--line); }
.navin { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.875rem 0; max-width: 37.5rem; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 0.5625rem; font-family: var(--display); font-weight: 700; font-size: 1.3125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand .mark { width: 1.75rem; height: 1.75rem; flex: 0 0 1.75rem; display: block; }
.navlinks { display: flex; gap: 0.875rem; align-items: center; }
.navlinks a { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.navlinks a:hover, .navlinks a.current { color: var(--text); }
.navlinks a.join { color: var(--accent-ink); background: var(--accent); border-radius: 0.5rem; padding: 0.5rem 0.75rem; font-weight: 500; }
.navlinks a.join:hover { background: var(--accent-dark); color: var(--accent-ink); }
/* On a narrow phone the mark stands alone, so the links keep their room. */
@media (max-width: 430px) { nav { padding: 0 1rem; } .brand .word { display: none; } .navlinks { gap: 0.8125rem; } }

/* The index of the page's sections. It lives inside the heading block and only shows on wide
   screens, where it follows the scroll. */
.index { display: none; }


/* Page heading */
.hero { position: relative; text-align: center; padding: 2.5rem 0 0.5rem; }
.kicker { display: block; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-text); }
h1 { font-family: var(--display); font-weight: 800; font-size: min(4rem, 10.4vw); line-height: 0.94; letter-spacing: 0.02em; text-transform: uppercase; margin-top: 0.875rem; }
h1 .hollow { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.sub { font-size: 1rem; color: var(--muted); line-height: 1.6; margin: 1.125rem auto 0; max-width: 25rem; }

/* The home page heading sits in a viewfinder: four corner marks, a recording dot, a running clock. */
.hero.frame { margin-top: 0.875rem; padding: 3.125rem 0.875rem 2.125rem; }
.vf { position: absolute; inset: 0; pointer-events: none; }
.hero.frame::before, .hero.frame::after, .vf::before, .vf::after { content: ""; position: absolute; width: 1.25rem; height: 1.25rem; border: 0 solid var(--line-strong); }
.hero.frame::before { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hero.frame::after { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.vf::before { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.vf::after { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.vf .rec, .vf .tc { position: absolute; top: 0.75rem; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.vf .rec { left: 1rem; display: flex; align-items: center; gap: 0.4375rem; }
.vf .rec i { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--rec); animation: rec 1.8s ease-in-out infinite; }
.vf .tc { right: 1rem; font-variant-numeric: tabular-nums; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .vf .rec i { animation: none; } }

/* The two boxes that send something: the waitlist on the home page and the feedback box on the
   Contact page. Inputs are 1rem so a phone does not zoom in when one is tapped. */
.waitlist, .feedback { display: flex; flex-direction: column; gap: 0.5rem; }
.waitlist { margin: 1.75rem auto 0; max-width: 27.5rem; }
.feedback { margin-top: 1rem; }
.waitlist .row, .feedback .row { display: flex; gap: 0.5rem; }
.waitlist input, .waitlist select, .feedback input, .feedback select, .feedback textarea { background-color: var(--bg); border: 1px solid var(--line-strong); border-radius: 0.6875rem; padding: 0.875rem; color: var(--text); font-size: 1rem; font-family: inherit; outline: none; min-width: 0; }
.waitlist input, .feedback input { flex: 1; }
.feedback textarea { resize: vertical; line-height: 1.5; }
.waitlist ::placeholder, .feedback ::placeholder { color: var(--dim); }
.waitlist select, .feedback select { flex: 0 0 auto; appearance: none; -webkit-appearance: none; padding-right: 2.25rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8a297' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8125rem center; }
.waitlist select:invalid, .feedback select:invalid { color: var(--dim); }
.waitlist select option, .feedback select option { color: var(--text); background: var(--card); }
.waitlist input:focus, .waitlist select:focus, .feedback input:focus, .feedback select:focus, .feedback textarea:focus { border-color: var(--accent); }
.waitlist button, .feedback button { background: var(--accent); color: var(--accent-ink); border: none; cursor: pointer; border-radius: 0.6875rem; padding: 0.875rem 1.125rem; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.14em; text-transform: uppercase; }
.waitlist button:hover, .feedback button:hover { background: var(--accent-dark); }
.waitlist button:disabled, .feedback button:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 460px) { .waitlist .row, .feedback .row { flex-direction: column; } }
@media (max-width: 360px) { .waitlist button, .feedback button { font-size: 1rem; letter-spacing: 0.1em; } }
.micro { font-family: var(--mono); font-size: 0.6563rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-top: 0.875rem; line-height: 1.7; }
.micro.on { color: var(--text); margin-top: 1.375rem; }

.rule { height: 1px; background: linear-gradient(to right, transparent, var(--line-strong), transparent); margin: 3rem auto; max-width: 35rem; }
.eyebrow { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 1.125rem; }

/* Cards */
.cards { display: grid; gap: 0.75rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.card .n { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.card .t { font-family: var(--display); font-weight: 700; font-size: 1.5625rem; line-height: 1.05; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.375rem; }
.card .d { font-size: 0.9063rem; color: var(--muted); line-height: 1.6; margin-top: 0.5rem; }
.card .addr { font-family: var(--mono); font-size: 0.6563rem; letter-spacing: 0.04em; color: var(--dim); margin-top: 0.75rem; overflow-wrap: anywhere; }

/* Buttons used inside cards */
.btn { display: inline-block; margin-top: 0.875rem; border: 1px solid var(--line-strong); border-radius: 0.5625rem; padding: 0.625rem 1rem; font-family: var(--display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.btn:hover { border-color: var(--accent); color: var(--accent-text); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--accent-ink); }

/* The two audiences, side by side */
.audiences { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; } }
/* The two buttons line up at the bottom even when one card has more text. */
.audiences .card { display: flex; flex-direction: column; align-items: flex-start; }
.audiences .card .d { margin-bottom: 0.875rem; }
.audiences .card .btn { margin-top: auto; }

/* A clapper stripe along the top edge. Used on the roadmap teaser and the launch card, nowhere else. */
.slate { position: relative; overflow: hidden; }
.slate::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.4375rem;
  background: repeating-linear-gradient(-45deg, var(--text) 0 0.75rem, var(--bg) 0.75rem 1.5rem); }

/* Teaser to the roadmap */
.teaser { display: block; background: var(--card); border: 1px solid var(--line-strong); border-radius: 1rem; padding: 2rem 1.375rem 1.625rem; text-align: center; }
.teaser .t { font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.teaser .d { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; line-height: 1.6; }
.teaser .go { display: inline-block; margin-top: 0.875rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }

/* The Founding badge: an amber pill above a card's title. */
.badge { display: inline-block; font-family: var(--mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 62.4375rem; padding: 0.3125rem 0.625rem; }

/* The feedback card: the one card with the light on it. */
.card.spot { border-color: var(--accent); box-shadow: 0 0 0 0.25rem rgba(240, 181, 74, 0.22), var(--shadow); }
.card.spot .t { font-size: 1.75rem; }

/* A one-line nudge toward the feedback box, used on the pages that do not carry it. */
.nudge { display: block; margin-top: 2.5rem; padding: 1.125rem 1.25rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.nudge .t { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.05em; text-transform: uppercase; }
.nudge .d { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
.nudge .go { display: inline-block; margin-top: 0.625rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }

footer { margin-top: 3.5rem; padding: 1.625rem 1.25rem 2.75rem; border-top: 1px solid var(--line); }
.foot { max-width: 35rem; margin: 0 auto; text-align: center; }
.foot .links { display: flex; gap: 1.125rem; justify-content: center; margin-bottom: 0.875rem; }
.foot .links a { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot .links a:hover { color: var(--text); }
.foot .fine { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); line-height: 1.9; }

/* Wide screens: two columns. The heading block (and on the home page the sign-up) stays pinned
   on the left while the rest of the page scrolls on the right. These rules come last on purpose:
   they override the single-column rules above. */
@media (min-width: 1100px) {
  .wrap { max-width: 73.75rem; padding: 0 2rem; display: grid; grid-template-columns: minmax(27.5rem, 1fr) minmax(0, 37.5rem); column-gap: 4rem; align-items: start; }
  .hero { position: sticky; top: 5.625rem; text-align: left; padding: 3.5rem 0 0; }
  .hero.frame { margin-top: 1.5rem; padding: 3.5rem 1.125rem 2.25rem; }
  .page { min-width: 0; padding-top: 1.5rem; }
  h1 { font-size: 3.5rem; }
  .sub { font-size: 1.0625rem; max-width: 27.5rem; margin-left: 0; }
  .waitlist { margin-left: 0; }
  .eyebrow { text-align: left; }
  .rule { margin: 2.25rem 0; }
  .page > .rule:first-child { margin-top: 0; }
  .card .d { font-size: 1rem; }
  .index { display: block; margin-top: 2.25rem; }
  .index a { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.75rem; margin-left: -0.75rem; border-radius: 0.5rem; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
  .index a::before { content: ""; width: 0.875rem; height: 1px; background: var(--line-strong); transition: width 0.2s, background-color 0.2s; }
  .index a:hover { color: var(--text); background: rgba(24, 19, 10, 0.05); }
  .index a.on { color: var(--text); }
  .index a.on::before { width: 1.5rem; background: var(--accent); }
  .index a.go { color: var(--accent-text); margin-top: 0.5rem; }
  .index a.go::before { display: none; }
}
@media (min-width: 1500px) {
  .wrap { max-width: 78.75rem; }
  h1 { font-size: 4.25rem; }
}

/* Large monitors: the base size grows and every measurement follows it, so the type stays
   readable at a distance. Plain scaling, no CSS zoom: zoom breaks click targets in pinned blocks. */
@media (min-width: 1900px) { html { font-size: 18.4px; } }
@media (min-width: 2300px) { html { font-size: 20.8px; } }
