/* ============================================================
   Bixby Analytics — brand stylesheet
   Palette + type per BIXBYANALYTICS-STYLE GUIDE (Fiverr designer,
   delivered 2026-07-08): Goli type; #233037 / #96C7CC / #EEBB29.
   ============================================================ */

@font-face {
  font-family: 'Goli';
  src: url('fonts/goli-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Goli';
  src: url('fonts/goli-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Goli';
  src: url('fonts/goli-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Goli';
  src: url('fonts/goli-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core palette (style guide) */
  --slate: #233037;
  --slate-60: #7B8387;
  --slate-20: #D3D6D7;
  --slate-deep: #1B252B;   /* page-dark ground, one step below slate */
  --ice: #96C7CC;
  --ice-60: #C0DDE0;
  --ice-20: #EAF4F5;
  --gold: #EEBB29;
  --gold-60: #F5D67F;
  --gold-20: #FCF1D4;
  --white: #FFFFFF;

  /* Applied roles */
  --ground: #F2F7F8;               /* light section ground (ice-tinted) */
  --surface: #FFFFFF;
  --text: var(--slate);
  --muted: #5B6C73;
  --hairline: rgba(35, 48, 55, 0.12);
  --hairline-dark: rgba(150, 199, 204, 0.16);

  --sans: 'Goli', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --pad-section: 96px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--slate-deep);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--slate); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ---------- nav ---------- */
.nav {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { display: block; }
.wordmark { display: inline-flex; align-items: baseline; gap: .5em; line-height: 1; }
.wordmark .w1 { font-weight: 700; font-size: 17px; letter-spacing: .04em; color: var(--slate); }
.wordmark .w2 { font-weight: 400; font-size: 13px; letter-spacing: .34em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--slate); opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-weight: 600; font-size: 14.5px; color: var(--white) !important; opacity: 1 !important;
  background: var(--slate); padding: 11px 20px; border-radius: 3px; white-space: nowrap;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--slate-deep); }

/* ---------- buttons ---------- */
.btn-gold {
  display: inline-block; font-weight: 600; font-size: 15.5px; color: var(--slate);
  background: var(--gold); padding: 15px 28px; border-radius: 3px; text-decoration: none;
  border: none; cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
.btn-gold:hover { background: var(--gold-60); }
.btn-gold:active { transform: translateY(1px); }
.btn-ghost {
  font-weight: 600; font-size: 15.5px; color: var(--slate); text-decoration: none;
  border-bottom: 1px solid rgba(35,48,55,.35); padding-bottom: 2px;
  transition: border-color .15s ease;
}
.btn-ghost:hover { border-color: var(--slate); }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.kicker--ice { color: var(--ice); }
h1, h2, h3 { margin: 0; }

/* ---------- reveal animation (transform only; never hides text) ---------- */
[data-reveal] { transform: translateY(24px); transition: transform .7s cubic-bezier(.22,.7,.2,1); }
[data-reveal].is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; transition: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--ground); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center;
  padding-top: 78px; padding-bottom: 58px;
}
.hero h1 { font-weight: 700; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
.hero h1 .q { color: var(--gold); }
.hero-sub { font-weight: 600; font-size: 20px; color: var(--muted); margin-top: 20px; }
.hero-body { margin: 20px 0 34px; font-size: 17.5px; line-height: 1.64; color: var(--muted); max-width: 520px; }
.hero-note { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-top: 36px; }

/* ---------- node readout card ---------- */
.readout {
  background: var(--slate); border: 1px solid var(--hairline-dark); border-radius: 8px;
  padding: 24px 26px; box-shadow: 0 24px 60px rgba(27, 37, 43, .22);
}
.readout .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.readout .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(238, 187, 41, .45); border-radius: 3px; padding: 3px 8px;
}
.readout .label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-60); }
.readout h3 { font-weight: 600; font-size: 18px; color: var(--white); }
.readout .sub { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--slate-60); margin-top: 4px; }
.readout hr { border: 0; height: 1px; background: rgba(150, 199, 204, .14); margin: 17px 0; }
.readout .big { font-weight: 700; font-size: 42px; letter-spacing: -0.01em; color: var(--ice); font-variant-numeric: tabular-nums; }
.readout .unit { font-family: var(--mono); font-size: 13px; color: var(--slate-60); }
.pline { display: grid; grid-template-columns: 42px 1fr 58px; align-items: center; gap: 12px; }
.pline + .pline { margin-top: 10px; }
.pline .pk { font-family: var(--mono); font-size: 11px; color: var(--slate-60); }
.pline .pv { font-family: var(--mono); font-size: 11px; color: var(--ice); text-align: right; font-variant-numeric: tabular-nums; }
.pline .pv--hi { color: var(--white); }
.bar { height: 7px; background: rgba(150, 199, 204, .12); border-radius: 4px; overflow: hidden; display: block; }
.bar > span { display: block; height: 100%; width: 0; background: rgba(150, 199, 204, .55); border-radius: 4px; transition: width 1s cubic-bezier(.22,.7,.2,1); }
.bar > span.hi { background: var(--ice); }
.stack { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 9px 0 11px; }
.stack .s1 { background: var(--ice); }
.stack .s2 { background: var(--gold); }
.stack .s3 { background: var(--slate-60); }
.legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--slate-60); }
.readout .foot { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: #46565E; margin-top: 15px; }

/* ---------- stats band ---------- */
.stats { border-top: 1px solid var(--hairline); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 0 64px; }
.stat { border-left: 2px solid var(--ice); padding-left: 18px; }
.stat--gold { border-left-color: var(--gold); }
.stat .n { font-weight: 700; font-size: 29px; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; }

/* ---------- sections ---------- */
.section { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }
.section h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.012em; line-height: 1.1; }
.section .lead-gap { margin: 18px 0 54px; }

.approach { background: var(--surface); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); }
.pillar { padding: 30px 30px 30px 0; }
.pillar + .pillar { padding-left: 30px; border-left: 1px solid var(--hairline); }
.pillar .chip { width: 22px; height: 3px; background: var(--ice); margin-bottom: 18px; }
.pillar .chip--gold { background: var(--gold); }
.pillar .chip--slate { background: var(--slate-60); }
.pillar h3 { font-weight: 600; font-size: 20px; margin-bottom: 11px; }
.pillar p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--muted); }

.services { background: var(--ground); }
.svc { display: grid; grid-template-columns: 52px 1.2fr 1.5fr 116px; gap: 26px; align-items: start; padding: 28px 0; border-top: 1px solid var(--hairline); }
.svc:last-of-type { border-bottom: 1px solid var(--hairline); }
.svc .idx { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--gold); padding-top: 5px; }
.svc .q { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.svc h3 { font-weight: 600; font-size: 20px; }
.svc p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); padding-top: 2px; }
.svc .badge { font-family: var(--mono); font-size: 11px; color: var(--slate); border: 1px solid rgba(35,48,55,.25); border-radius: 3px; padding: 4px 9px; white-space: nowrap; }
.svc-note { margin: 38px 0 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.svc-note .pk { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8A6A1E; }
.svc-note a { color: var(--slate); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(35,48,55,.35); }

/* ---------- contact ---------- */
.contact { background: var(--slate-deep); border-top: 1px solid rgba(150,199,204,.10); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact h2 { color: var(--white); font-size: clamp(30px, 3.2vw, 38px); letter-spacing: -0.01em; line-height: 1.14; margin-bottom: 18px; }
.contact .blurb { margin: 0 0 30px; font-size: 16px; line-height: 1.62; color: rgba(234, 244, 245, .7); max-width: 430px; }
.contact .direct { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--slate-60); }
.contact .direct a { color: var(--ice); text-decoration: none; }
.panel { background: rgba(150,199,204,.04); border: 1px solid var(--hairline-dark); border-radius: 8px; padding: 30px; }
.panel form { display: flex; flex-direction: column; gap: 14px; }
.panel .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel input, .panel select {
  width: 100%; background: rgba(150,199,204,.06); border: 1px solid rgba(150,199,204,.22);
  border-radius: 3px; padding: 12px 14px; font-family: var(--sans); font-size: 15px; color: var(--white);
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.panel select { cursor: pointer; color-scheme: dark; }
.panel input::placeholder { color: rgba(234,244,245,.45); }
.panel input:focus, .panel select:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(150,199,204,.18); }
.panel .btn-gold { margin-top: 4px; width: 100%; padding: 14px 0; }
.thanks { border-left: 3px solid var(--gold); padding-left: 18px; }
.thanks h3 { font-weight: 600; font-size: 19px; color: var(--white); margin-bottom: 9px; }
.thanks p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(234,244,245,.7); }

/* ---------- footer ---------- */
.footer { background: var(--slate); border-top: 1px solid rgba(150,199,204,.12); }
.footer-grid { padding: 42px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer .wordmark .w1 { color: var(--white); font-size: 15px; }
.footer .wordmark .w2 { color: var(--ice); font-size: 12px; }
.footer .mid { font-size: 13.5px; color: rgba(150,199,204,.78); }
.footer .mid a { color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(150,199,204,.4); }
.footer .fine { font-family: var(--mono); font-size: 12px; color: rgba(234,244,245,.4); }
.footer .fine a { color: rgba(234,244,245,.55); text-decoration: none; }
.footer .fine a:hover { color: var(--ice); }

/* ---------- about page ---------- */
.about-hero { background: var(--ground); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-top: 78px; padding-bottom: 78px; }
.about-grid h1 { font-weight: 700; font-size: clamp(36px, 4.2vw, 52px); letter-spacing: -0.015em; }
.about-grid .bio { font-size: 17px; line-height: 1.68; color: var(--muted); }
.headshot { border-radius: 8px; box-shadow: 0 24px 60px rgba(27,37,43,.18); }
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.domain {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px;
  padding: 18px 20px; font-weight: 600; font-size: 15.5px;
}
.domain .dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ice); margin-right: 10px; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 8px; padding: 30px; }
.card h3 { font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.64; color: var(--muted); }

/* ---------- legal page ---------- */
.legal { background: var(--surface); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 72px 40px 96px; }
.legal h1 { font-weight: 700; font-size: 40px; letter-spacing: -0.012em; margin: 10px 0 8px; }
.legal .dateline { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 34px; }
.legal .notice {
  background: var(--gold-20); border: 1px solid rgba(238,187,41,.5); border-radius: 6px;
  padding: 14px 18px; font-size: 14.5px; color: #6B5410; margin-bottom: 40px; line-height: 1.55;
}
.legal h2 { font-weight: 700; font-size: 23px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal strong { color: var(--slate); font-weight: 600; }
.legal a { color: var(--slate); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .hero-grid, .contact-grid, .about-grid, .twocol { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid, .pillars, .domains { grid-template-columns: 1fr; }
  .pillar { padding: 26px 0; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .svc { grid-template-columns: 40px 1fr; }
  .svc p { grid-column: 2; }
  .svc .badge-cell { grid-column: 2; }
  .nav-links a:not(.nav-cta) { display: none; }
  :root { --pad-section: 64px; }
}
