/* ============================================================
   gocushy brand system  —  v2 (2026)
   Single source of truth. Link on every page:
     <link rel="stylesheet" href="/brand/brand.css">
   Palette + type from the 2018 guideline, approved Jul 2026.
   ============================================================ */

@font-face { font-family:'Poppins'; src:url('/brand/fonts/Poppins-Light.woff2') format('woff2');    font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('/brand/fonts/Poppins-Regular.woff2') format('woff2');  font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('/brand/fonts/Poppins-SemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Poppins'; src:url('/brand/fonts/Poppins-Bold.woff2') format('woff2');     font-weight:700; font-style:normal; font-display:swap; }

:root{
  /* Core palette (guideline 2.2) */
  --gc-yellow:#f0ff08;      /* Cyber yellow — Pantone 14-0760 TPX */
  --gc-blue:#d1e8f0;        /* Blue — Pantone 7457 C */
  --gc-black:#1c1c1c;       /* Black — Pantone Neutral Black C */
  --gc-gray:#a6a6a8;        /* Gray — Pantone 422 C */
  --gc-white:#ffffff;

  /* Derived neutrals (black-biased, chosen not defaulted) */
  --gc-ink:#1c1c1c;
  --gc-ink-2:#4a4a4c;       /* secondary text on light */
  --gc-line:#1c1c1c;        /* hairline rules */
  --gc-line-soft:#e4e4e2;   /* faint dividers on white */
  --gc-paper:#ffffff;
  --gc-paper-2:#f6f6f4;     /* off-white section fill */
  --gc-card-dark:#131313;   /* near-black surface */
  --gc-card-dark-2:#2b2b2b; /* raised element on dark */
  --gc-mute-dark:#8f8f90;   /* muted text on dark */

  --gc-radius:0px;          /* the brand is sharp-cornered */
  --gc-font:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --gc-maxw:1120px;
}

/* ---------- resets / base ---------- */
.gc *{ box-sizing:border-box; }
.gc{
  font-family:var(--gc-font); font-weight:400; color:var(--gc-ink);
  background:var(--gc-paper); line-height:1.55; -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.gc-wrap{ max-width:var(--gc-maxw); margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .gc-wrap{ padding:0 20px; } }

/* ---------- logotype ---------- */
.gc-logo{ display:inline-flex; align-items:center; text-decoration:none; }
.gc-logo img{ display:block; height:26px; width:auto; }
.gc-logo--sm img{ height:20px; }
.gc-logo--lg img{ height:34px; }

/* ---------- type scale ---------- */
.gc h1,.gc-h1{ font-weight:600; font-size:clamp(38px,4.6vw,58px); line-height:1.14; letter-spacing:-0.02em; text-wrap:balance; margin:0; }
.gc h2,.gc-h2{ font-weight:600; font-size:clamp(28px,3.4vw,40px); line-height:1.14; letter-spacing:-0.015em; text-wrap:balance; margin:0; }
.gc h3,.gc-h3{ font-weight:600; font-size:22px; line-height:1.2; letter-spacing:-0.01em; margin:0; }
.gc-lead{ font-size:18px; color:var(--gc-ink); }
.gc-muted{ color:var(--gc-ink-2); }
.gc-hl{ background:var(--gc-yellow); color:var(--gc-black); padding:0 .12em; -webkit-box-decoration-break:clone; box-decoration-break:clone; }

/* eyebrow / kicker tags */
.gc-kick{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; background:var(--gc-yellow); color:var(--gc-black); padding:6px 12px; }
.gc-kick--blue{ background:var(--gc-blue); }
.gc-kick--plain{ background:transparent; padding:0; color:var(--gc-ink-2); }

/* ---------- buttons (sharp, black text on yellow) ---------- */
.gc-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--gc-font); font-weight:600; font-size:15px; line-height:1;
  color:var(--gc-black); background:var(--gc-yellow); border:2px solid var(--gc-yellow);
  padding:15px 30px; text-decoration:none; cursor:pointer; border-radius:var(--gc-radius);
  transition:background .12s ease,color .12s ease,border-color .12s ease; }
.gc-btn:hover{ background:var(--gc-black); color:var(--gc-yellow); border-color:var(--gc-black); }
.gc-btn--dark{ background:var(--gc-black); color:var(--gc-yellow); border-color:var(--gc-black); }
.gc-btn--dark:hover{ background:var(--gc-yellow); color:var(--gc-black); border-color:var(--gc-yellow); }
.gc-btn--ghost{ background:transparent; color:var(--gc-black); border-color:var(--gc-black); }
.gc-btn--ghost:hover{ background:var(--gc-black); color:var(--gc-white); }
.gc-btn--sm{ padding:11px 22px; font-size:13.5px; }
.gc-btn--lg{ padding:18px 40px; font-size:16px; }
.gc-btn--block{ display:flex; width:100%; }
.gc-link{ font-weight:600; color:var(--gc-ink); text-decoration:underline; text-underline-offset:5px;
  text-decoration-thickness:2px; text-decoration-color:var(--gc-yellow); }

/* ---------- outlined display numerals (guideline motif) ---------- */
.gc-numeral{ font-weight:700; color:transparent; -webkit-text-stroke:2px var(--gc-black);
  letter-spacing:.02em; }
.gc-numeral--sm{ -webkit-text-stroke-width:1.2px; }
.gc-on-dark .gc-numeral{ -webkit-text-stroke-color:var(--gc-yellow); }

/* ---------- surfaces / blocks ---------- */
.gc-block-yellow{ background:var(--gc-yellow); color:var(--gc-black); }
.gc-block-blue{ background:var(--gc-blue); color:var(--gc-black); }
.gc-block-dark{ background:var(--gc-card-dark); color:var(--gc-white); }
.gc-block-paper2{ background:var(--gc-paper-2); }

.gc-card{ background:var(--gc-white); border:1px solid var(--gc-line); border-radius:var(--gc-radius); }
.gc-card-dark{ background:var(--gc-card-dark); color:var(--gc-white); border-radius:var(--gc-radius); }

/* hairline feature grid */
.gc-grid{ display:grid; gap:0; border-top:1px solid var(--gc-line); }
.gc-grid--3{ grid-template-columns:repeat(3,1fr); }
.gc-grid--2{ grid-template-columns:repeat(2,1fr); }
.gc-grid > .gc-cell{ border-bottom:1px solid var(--gc-line); padding:28px 28px 32px; }
.gc-grid--3 > .gc-cell:not(:nth-child(3n+1)),
.gc-grid--2 > .gc-cell:not(:nth-child(2n+1)){ border-left:1px solid var(--gc-line); }

/* ---------- header / nav ---------- */
.gc-nav{ display:flex; align-items:center; justify-content:space-between; padding:22px 0; }
.gc-nav-links{ display:flex; gap:30px; align-items:center; }
.gc-nav-links a{ font-size:14px; font-weight:400; color:var(--gc-ink); text-decoration:none; }
.gc-nav-links a:hover{ text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--gc-yellow); text-decoration-thickness:2px; }
.gc-nav-burger{ display:none; } /* shown only on phones (see @media below); injected by /brand/nav.js */

/* ---------- footer ---------- */
.gc-footer{ border-top:1px solid var(--gc-line); }
.gc-footer .gc-wrap{ display:flex; justify-content:space-between; align-items:center; gap:20px; padding:26px 32px 30px; flex-wrap:wrap; }
.gc-footer p{ font-size:12.5px; color:var(--gc-gray); margin:0; }

/* ---------- section rhythm ---------- */
.gc-section{ padding:88px 0; }
.gc-section--tight{ padding:56px 0; }

/* ---------- focus / a11y ---------- */
.gc a:focus-visible,.gc button:focus-visible,.gc-btn:focus-visible,.gc input:focus-visible,.gc textarea:focus-visible,.gc select:focus-visible{
  outline:3px solid var(--gc-black); outline-offset:2px; }
.gc-on-dark a:focus-visible,.gc-on-dark .gc-btn:focus-visible{ outline-color:var(--gc-yellow); }
@media (prefers-reduced-motion:reduce){ .gc *{ transition:none!important; animation:none!important; } }

/* ---------- responsive collapses ---------- */
@media (max-width:820px){
  .gc-grid--3,.gc-grid--2{ grid-template-columns:1fr; }
  .gc-grid > .gc-cell{ border-left:none!important; }
  .gc-nav-links{ gap:18px; }
}
/* Phones: collapse the nav into a burger menu. /brand/nav.js injects the
   .gc-nav-burger button; the links drop into a panel under the bar. */
@media (max-width:560px){
  .gc-nav{ position:relative; }
  .gc-nav-burger{
    display:inline-flex; flex-direction:column; justify-content:center; gap:5px;
    width:42px; height:42px; padding:11px 7px; margin:-6px -7px -6px 0;
    background:none; border:none; cursor:pointer;
  }
  .gc-nav-burger span{ display:block; height:2px; width:100%; background:var(--gc-black); transition:transform .2s ease, opacity .15s ease; }
  .gc-nav.open .gc-nav-burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .gc-nav.open .gc-nav-burger span:nth-child(2){ opacity:0; }
  .gc-nav.open .gc-nav-burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  .gc-nav-links{
    display:none; position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:60;
    flex-direction:column; align-items:stretch; gap:0; width:auto;
    background:#fff; border:1px solid var(--gc-black); box-shadow:0 16px 34px -14px rgba(0,0,0,.28);
  }
  .gc-nav.open .gc-nav-links{ display:flex; }
  .gc-nav-links a:not(.gc-btn){ font-size:15px; padding:14px 18px; border-bottom:1px solid var(--gc-line-soft); }
  .gc-nav-links a:not(.gc-btn):hover{ background:var(--gc-paper-2); text-decoration:none; }
  .gc-nav-links > .gc-btn{ margin:12px 16px 16px; text-align:center; }
}
