/* Waitlist Forms — static site styles. No JS, no tracking, no third-party requests.
   Styled to match the GR8BR& homepage (same fonts, the dark terminal palette: #060a08 stage,
   #3dff8f phosphor-green accent). The pages are deployed in a subfolder of that homepage (https://waitlist-forms.pages.dev/),
   so the fonts come from the homepage's own self-hosted font folder one level up. If the pages are ever
   hosted on their own, that import simply 404s and every font falls back to the system stack below. */
@import url("../fonts/fonts.css");

:root {
  --bg: #060a08;
  --bg-rgb: 6, 10, 8;
  --fg: #e2f5e8;
  --fg-rgb: 226, 245, 232;
  --muted: rgba(226, 245, 232, .72);
  --line: rgba(226, 245, 232, .14);
  --accent: #3dff8f;
  --accent-fg: #060a08;
  --soft: rgba(226, 245, 232, .045);
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--fg);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse at 85% -10%, rgba(61, 255, 143, .14), transparent 55%),
    linear-gradient(rgba(var(--fg-rgb), .045) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(var(--fg-rgb), .045) 1px, transparent 1px) 0 0 / 150px 100%,
    var(--bg);
}

::selection { background: var(--accent); color: var(--bg); }

.wrap { max-width: 820px; margin: 0 auto; padding: 24px 16px 80px; }

/* header: back to the homepage (optional, see homeUrl in values.json), product name, section links */
header.site {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
header.site .home {
  flex-basis: 100%; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); text-decoration: none; opacity: .75; transition: opacity .2s;
}
header.site .home::before {
  content: "&"; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: italic 22px var(--serif); letter-spacing: 0; text-transform: none; color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .4s, box-shadow .3s;
}
header.site .home:hover { opacity: 1; }
header.site .home:hover::before { transform: rotate(-12deg); box-shadow: inset 0 0 0 1.5px var(--accent); }
header.site .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--fg);
}
header.site .brand::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); }
header.site nav { display: flex; flex-wrap: wrap; gap: 6px; }
header.site nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); padding: 7px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, color .2s;
}
header.site nav a:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* type */
h1 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 7vw, 62px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--accent); margin: 8px 0 18px;
}
h2 {
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
}
h3 { font-size: 17px; letter-spacing: -.01em; margin: 24px 0 6px; }
p, li { color: var(--fg); }
.lede { font-size: 19px; color: var(--muted); }
a { color: var(--accent); text-underline-offset: 3px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
li::marker { color: var(--accent); }
strong { font-weight: 600; }

/* boxes */
.card {
  background: var(--soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin: 20px 0;
}
.plans { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.plan {
  flex: 1 1 260px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px;
}
.plan h3 { margin-top: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.plan.pro { border: 2px solid var(--accent); box-shadow: 0 24px 60px -34px rgba(61, 255, 143, .55); }
.plan.pro h3 { color: var(--accent); }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0; }
.plan .period { font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--muted); }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-fg); text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 99px; margin: 8px 0;
  transition: box-shadow .3s;
}
.button:hover { box-shadow: 0 10px 30px -10px var(--accent); }

.note { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

table { border-collapse: collapse; width: 100%; margin: 16px 0; background: var(--soft); border-radius: 12px; overflow: hidden; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; font-size: 15px; }
th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(226, 245, 232, .05); }

code {
  font-family: var(--mono); font-size: 13px; background: rgba(226, 245, 232, .06);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}

footer.site {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
footer.site p { color: var(--muted); }
