/* Gamebit — getgamebit.com
   Built to the "Gamebit Landing Page.html" reference. Values below are that
   file's; additions are limited to what the live forms need (labels, status
   lines, the footer contact panel) and are styled to match. */

:root{
  --bg:#ECECEC; --paper:#FAFAFA;
  --ink:#111111; --ink-2:#2A2A2A; --ink-3:#555555;
  --rule:rgba(17,17,17,0.15); --rule-strong:rgba(17,17,17,0.25);
  --red:#E4001B; --red-hover:#C40017; --blue:#A5D1F3;
  --serif:"Source Serif 4",Georgia,serif;
  --sans:"Geist","Helvetica Neue",Helvetica,sans-serif;
  --mono:"Geist Mono",ui-monospace,Menlo,monospace;
  /* one grid, one gutter — everything aligns to this */
  --gutter:80px; --maxw:1280px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--red)}
h1,h2,h3,p,ul,li{margin:0;padding:0}
ul{list-style:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}

.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

.mark{font-family:var(--serif);font-weight:600;font-size:26px;letter-spacing:-0.02em}
.mark .dot{color:var(--red)}

/* ---------- hero ---------- */
.hero{padding:132px 0 96px}
.wordmark{
  font-family:var(--serif);font-weight:600;
  /* fluid, but never dwarfs the headline */
  font-size:clamp(84px,13vw,196px);
  line-height:0.86;letter-spacing:-0.045em;margin-bottom:56px;
}
.wordmark .dot{color:var(--red)}
.herogrid{display:grid;grid-template-columns:1.15fr 0.85fr;gap:96px;align-items:start}
h1{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(38px,4.1vw,56px);line-height:1.06;letter-spacing:-0.022em;
  text-wrap:balance;
}
h1 .red{color:var(--red)}
.subline{
  font-family:var(--sans);font-weight:400;line-height:1.45;
  color:var(--ink-2);margin-top:22px;
  /* Sized so the single line lands on the same right edge as the headline's
     longest line: at 22px it ran 519px against the h1's 475px and overhung by
     44px. 20px brings it to 472px, within 3px of the headline. The vw term
     mirrors h1's 4.1vw (20/56 of it) so the two edges stay together as the
     headline scales instead of drifting apart below 1366px. */
  font-size:clamp(17px,1.46vw,20px);
  max-width:40ch;
  text-wrap:balance;   /* even break where the column is too narrow for one line */
}

/* ---------- signup: quiet surface, red CTA ---------- */
.signup{background:var(--paper);border:1px solid var(--rule-strong);padding:34px}
.signup .say{font-family:var(--sans);font-weight:500;font-size:18px;line-height:1.4;color:var(--ink);margin-bottom:20px}
.row{display:flex;gap:10px}
.signup input,
.signup textarea{
  min-width:0;padding:0 16px;
  font-family:var(--sans);font-size:17px;color:var(--ink);
  background:#fff;border:1px solid var(--rule-strong);border-radius:0;
}
.signup input{flex:1;height:54px}
.signup textarea{padding:14px 16px;line-height:1.45;resize:vertical}
.signup input::placeholder,
.signup textarea::placeholder{color:#8A8A8A}
.signup input:focus,
.signup textarea:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.signup button{
  height:54px;padding:0 26px;border:0;border-radius:0;cursor:pointer;
  background:var(--red);color:#fff;
  font-family:var(--sans);font-weight:600;font-size:17px;letter-spacing:0.01em;
  transition:background 140ms ease;
}
.signup button:hover{background:var(--red-hover)}
.signup button:disabled{background:var(--ink-3);cursor:default}

/* form result line — matches .say, red when the submit failed */
.status{
  font-family:var(--sans);font-weight:500;font-size:18px;line-height:1.4;
  color:var(--ink);margin-top:20px;
}
.status:empty{display:none}
.status.is-error{color:var(--red)}
/* success replaces the form, so the line stands alone in the panel */
.signup .status:only-child{margin-top:0}

:where(a,button,input,textarea):focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* ---------- three points: real edges, equal heights ---------- */
.points{padding-bottom:112px}
.points .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.pt{border-top:2px solid var(--red);padding-top:26px;display:grid;gap:12px;align-content:start}
.pt h3{font-family:var(--serif);font-weight:600;font-size:29px;line-height:1.04;letter-spacing:-0.018em}
.pt p{font-family:var(--sans);font-weight:400;font-size:18px;line-height:1.5;color:var(--ink-2)}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--rule);background:var(--bg)}
.foot .footrow{display:flex;justify-content:space-between;align-items:center;height:96px;gap:24px}
.foot .left{display:flex;align-items:baseline;gap:22px}
.foot .copy{font-family:var(--sans);font-size:15px;color:var(--ink-3)}
.footlink{
  border:0;border-bottom:1px solid var(--rule-strong);background:none;
  padding:0 0 2px;cursor:pointer;color:var(--ink);
  font-family:var(--sans);font-weight:500;font-size:16px;
}
.footlink:hover{color:var(--red);border-color:var(--red)}

.contact{padding-bottom:48px}
.contact .signup{max-width:520px}
.stack{display:grid;gap:10px;justify-items:start}
.stack input,.stack textarea{width:100%}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  :root{--gutter:48px}
  .herogrid{grid-template-columns:minmax(0,1fr);gap:52px}
  .subline{max-width:52ch}
  .hero{padding:88px 0 64px}
  .points .grid{grid-template-columns:minmax(0,1fr);gap:0}
  .pt{border-top:1px solid var(--rule);padding:24px 0}
  .pt:first-child{border-top:2px solid var(--red)}
}
@media (max-width:560px){
  :root{--gutter:24px}
  .wordmark{margin-bottom:36px}
  .row{flex-direction:column}
  /* .row goes column here, which makes `flex:1` on the input resolve against
     the HEIGHT axis (flex-basis:0%) and collapse it to ~24px, well under the
     44px tap-target floor. Reset flex so height:54px applies again. */
  .signup input{flex:none;width:100%}
  .signup button{width:100%}
  .foot .footrow{height:auto;padding:28px 0;flex-direction:column;align-items:flex-start;gap:14px}
}
/* the reference's 84px wordmark floor cannot fit a 320px screen — step it
   down below 375px so nothing scrolls sideways on small phones */
@media (max-width:374px){
  :root{--gutter:20px}
  .wordmark{font-size:72px}
}
