/* Nameplate Data marketing site. Standalone shells on the design tokens
 * (tokens.css). Layout + visual language adapted from the Claude Design
 * "Gridline Site" mockup: dark hero, mono stat strips, bordered card grids,
 * two-column product rows, pricing cards, dark footer. Shared header/footer
 * across /, /product, /pricing, /methodology, /company. No build step. */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-ink-800);
  background: var(--color-surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-wrap { min-height: 100vh; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line-100);
}
.site-header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  height: 62px; display: flex; align-items: center; gap: 26px;
}
.site-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-ink-800);
}
.site-brand svg { width: 30px; height: 30px; display: block; }
.site-brand-text {
  font-weight: var(--fw-bold); font-size: 17px; letter-spacing: -0.3px;
}
.site-nav { display: none; align-items: center; gap: 2px; margin-left: 6px; }
.site-nav a {
  font-size: 13.5px; font-weight: var(--fw-semibold);
  color: var(--color-steel-400); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius-lg);
}
.site-nav a:hover { color: var(--color-ink-800); }
.site-nav a.active { color: var(--color-ink-800); }
.site-header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.site-header-cta a { text-decoration: none; }
.link-quiet {
  font-size: 13px; font-weight: var(--fw-semibold);
  color: var(--color-steel-600); padding: 8px 10px;
}
.link-quiet:hover { color: var(--color-ink-800); }

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: var(--fw-semibold);
  padding: 12px 20px; border-radius: var(--radius-lg);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-fast) var(--motion-smooth),
              border-color var(--dur-fast) var(--motion-smooth);
}
.btn-primary { background: var(--color-brand-600); color: #fff; font-weight: var(--fw-bold); }
.btn-primary:hover { background: var(--color-brand-700); }
.btn-ghost { background: var(--color-surface); color: var(--color-ink-700); border-color: var(--color-line-200); }
.btn-ghost:hover { background: var(--color-paper-tint); }
.btn-dark {
  background: rgba(255, 255, 255, 0.06); color: var(--color-line-200);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-dark:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* -------------------------------------------------------------------------
 * Shared section pieces
 * ---------------------------------------------------------------------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: var(--fw-semibold); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--color-brand-600);
}
.section { padding: 74px 0 0; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
h1, h2, h3 { font-family: var(--font-sans); letter-spacing: -0.5px; }
.h2 { font-size: 32px; font-weight: var(--fw-bold); line-height: 1.15; margin-top: 14px; }
.lede { font-size: 16px; line-height: 1.65; color: var(--color-steel-600); margin-top: 16px; }

/* -------------------------------------------------------------------------
 * Hero (dark)
 * ---------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-ink-800); color: #fff;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(180, 95, 53, 0.34), transparent 60%),
    radial-gradient(680px 420px at 6% 110%, rgba(180, 95, 53, 0.16), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { position: relative; padding: 72px 0 64px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: var(--fw-semibold); color: var(--color-brand-500);
  background: rgba(204, 122, 82, 0.1); border: 1px solid rgba(204, 122, 82, 0.24);
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-500); }
.hero h1 {
  font-size: 50px; line-height: 1.05; font-weight: var(--fw-bold);
  letter-spacing: -1.4px; margin: 22px 0 0; max-width: 840px; text-wrap: balance;
}
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--color-steel-300);
  margin: 22px 0 0; max-width: 640px;
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* page hero (smaller, for interior pages) */
.page-hero { position: relative; overflow: hidden; background: var(--color-ink-800); color: #fff; }
.page-hero .container { position: relative; padding-top: 60px; padding-bottom: 52px; }
.page-hero .kicker { color: var(--color-brand-500); }
.page-hero h1 {
  font-size: 40px; line-height: 1.1; font-weight: var(--fw-bold);
  letter-spacing: -1.1px; margin: 14px 0 0; max-width: 760px;
}
.page-hero .lede { color: var(--color-steel-300); max-width: 640px; }

/* -------------------------------------------------------------------------
 * Stat strip (mono numbers)
 * ---------------------------------------------------------------------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px;
}
.stat-strip .stat { background: #1B252B; padding: 20px 22px; }
.stat-value {
  font-family: var(--font-mono); font-size: 25px; font-weight: var(--fw-bold);
  color: #fff; letter-spacing: -0.5px;
}
.stat-label { font-size: 12px; color: var(--color-steel-400); margin-top: 4px; }

/* light stat strip (on paper) */
.stat-strip-light {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--color-line-100); border: 1px solid var(--color-line-100);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 34px;
}
.stat-strip-light .stat { background: var(--color-surface); padding: 24px; }
.stat-strip-light .stat-value { color: var(--color-ink-800); font-size: 26px; }
.stat-strip-light .stat-label { color: var(--color-steel-500); font-size: 12.5px; }

/* -------------------------------------------------------------------------
 * Card grids
 * ---------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
.card-grid.cols-3 { grid-template-columns: 1fr; }
.card {
  background: var(--color-surface); border: 1px solid var(--color-line-200);
  border-radius: var(--radius-lg); padding: 24px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.card.tint { background: var(--color-paper-tint); border-color: var(--color-line-100); }
.card:hover { border-color: var(--color-line-300); box-shadow: var(--elevation-2); }
.card-icon {
  width: 38px; height: 38px; border-radius: var(--radius-lg);
  background: var(--color-brand-100); color: var(--color-brand-600);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.card-title { font-size: 16px; font-weight: var(--fw-bold); margin-top: 14px; }
.card-body { font-size: 13.5px; line-height: 1.6; color: var(--color-steel-400); margin-top: 8px; }
.card .num {
  width: 30px; height: 30px; border-radius: var(--radius-lg);
  background: var(--color-ink-800); color: var(--color-brand-500);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: var(--fw-bold);
}

/* -------------------------------------------------------------------------
 * Screenshot placeholder frames
 * ---------------------------------------------------------------------- */
.frame {
  background: var(--color-surface); border: 1px solid var(--color-line-200);
  border-radius: var(--radius-lg); box-shadow: var(--elevation-2); overflow: hidden;
}
.frame-bar {
  padding: 12px 16px; border-bottom: 1px solid var(--color-line-100);
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: var(--fw-bold);
}
.frame-bar .tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;
  font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-warn-text); background: var(--color-warn-bg);
  border: 1px solid var(--color-warn-border); padding: 2px 8px; border-radius: var(--radius-md);
}
.frame-body {
  min-height: 180px; padding: 24px; display: flex; flex-direction: column;
  gap: 12px; justify-content: center;
  background:
    repeating-linear-gradient(135deg, var(--color-paper-tint) 0 12px, transparent 12px 24px);
}
.frame-caption {
  padding: 12px 16px; border-top: 1px solid var(--color-line-100);
  font-size: 12px; color: var(--color-steel-400);
}
.frame-note {
  font-size: 13px; line-height: 1.5; color: var(--color-brand-700);
  background: var(--color-brand-50); border: 1px solid var(--color-brand-100);
  border-radius: var(--radius-lg); padding: 12px 14px;
}

/* mock bars for evidence frame */
.mock-bars { display: flex; gap: 24px; align-items: flex-end; padding: 8px 0; }
.mock-bar-col { flex: 1; text-align: center; }
.mock-bar-track { height: 108px; display: flex; align-items: flex-end; }
.mock-bar { width: 100%; border-radius: 4px 4px 0 0; }
.mock-bar-value { font-family: var(--font-mono); font-size: 15px; font-weight: var(--fw-bold); margin-top: 8px; }
.mock-bar-label { font-size: 10.5px; color: var(--color-steel-300); margin-top: 2px; }

/* -------------------------------------------------------------------------
 * Feature split (two column)
 * ---------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 8px; }
.check-list { display: flex; flex-direction: column; gap: 13px; margin-top: 22px; }
.check-item { display: flex; gap: 11px; align-items: flex-start; }
.check-mark {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-positive-bg); color: var(--color-positive-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: var(--fw-bold); margin-top: 1px;
}
.check-item .t { font-size: 14px; font-weight: var(--fw-semibold); color: var(--color-ink-800); }
.check-item .b { font-size: 14px; color: var(--color-steel-400); }

/* -------------------------------------------------------------------------
 * Product rows (label / body)
 * ---------------------------------------------------------------------- */
.product-rows { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.product-row {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding-bottom: 22px; border-bottom: 1px solid var(--color-line-100);
}
.product-row-tag { font-family: var(--font-mono); font-size: 12px; color: var(--color-brand-600); font-weight: var(--fw-semibold); }
.product-row-title { font-size: 20px; font-weight: var(--fw-bold); margin-top: 8px; letter-spacing: -0.4px; }
.product-row-body { font-size: 15px; line-height: 1.65; color: var(--color-steel-600); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; color: var(--color-ink-700);
  background: var(--color-paper); padding: 4px 10px; border-radius: var(--radius-md);
}

/* -------------------------------------------------------------------------
 * Audience / callout cards
 * ---------------------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.audience-card {
  border-radius: var(--radius-lg); padding: 32px;
  background: var(--color-paper-tint); border: 1px solid var(--color-line-200);
}
.audience-card h3 { font-size: 22px; font-weight: var(--fw-bold); letter-spacing: -0.5px; margin-top: 12px; }
.audience-card p { font-size: 14.5px; line-height: 1.65; color: var(--color-steel-600); margin-top: 12px; }
.audience-points { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.audience-point { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--color-ink-700); }
.audience-point .arrow { color: var(--color-brand-600); }

/* -------------------------------------------------------------------------
 * CTA band
 * ---------------------------------------------------------------------- */
.cta-band { margin-top: 74px; }
.cta-inner {
  position: relative; overflow: hidden; text-align: center;
  background: var(--color-ink-800); border-radius: var(--radius-lg); padding: 52px 40px;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -20%, rgba(180, 95, 53, 0.4), transparent 60%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: 30px; font-weight: var(--fw-bold); letter-spacing: -0.7px; color: #fff; text-wrap: balance; }
.cta-inner p { font-size: 16px; color: var(--color-steel-300); margin: 14px auto 0; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
 * Pricing
 * ---------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 44px; align-items: start; }
.price-card {
  position: relative; background: var(--color-surface);
  border: 1px solid var(--color-line-200); border-radius: var(--radius-lg); padding: 28px;
  transition: transform var(--dur-fast) var(--motion-smooth);
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured { border-color: var(--color-brand-600); box-shadow: var(--elevation-2); }
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: var(--fw-bold); letter-spacing: 0.04em;
  text-transform: uppercase; color: #fff; background: var(--color-brand-600);
  padding: 4px 12px; border-radius: var(--radius-pill); white-space: nowrap;
}
.price-name { font-size: 17px; font-weight: var(--fw-bold); }
.price-tagline { font-size: 13px; line-height: 1.5; color: var(--color-steel-400); margin-top: 7px; min-height: 40px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 0; }
.price-amount .num { font-family: var(--font-mono); font-size: 32px; font-weight: var(--fw-bold); letter-spacing: -1px; color: var(--color-ink-800); }
.price-amount .unit { font-size: 13px; color: var(--color-steel-400); }
.price-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.price-divider { height: 1px; background: var(--color-line-100); margin: 22px 0; }
.price-features { display: flex; flex-direction: column; gap: 11px; }
.price-feature { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--color-ink-700); }
.price-feature .c { color: var(--color-positive-text); flex: 0 0 auto; }

.price-note {
  margin-top: 36px; font-size: 13.5px; line-height: 1.6; color: var(--color-steel-500);
  background: var(--color-paper-tint); border: 1px solid var(--color-line-100);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.price-note strong { color: var(--color-ink-700); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq {
  border: 1px solid var(--color-line-200); border-radius: var(--radius-lg); padding: 18px 20px;
}
.faq-q { font-size: 15px; font-weight: var(--fw-bold); }
.faq-a { font-size: 14px; line-height: 1.6; color: var(--color-steel-400); margin-top: 8px; }

/* -------------------------------------------------------------------------
 * Methodology page pieces
 * ---------------------------------------------------------------------- */
.method-body { max-width: 720px; padding-bottom: 20px; }
.method-section { scroll-margin-top: 80px; margin-bottom: 40px; }
.method-section h2 {
  font-size: 21px; font-weight: var(--fw-bold); letter-spacing: -0.4px;
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--color-line-100);
}
.method-section p { font-size: 14.5px; line-height: 1.7; color: var(--color-steel-600); margin: 0 0 13px; }
.method-section ul { margin: 6px 0 13px; padding-left: 20px; }
.method-section li { font-size: 14.5px; line-height: 1.65; color: var(--color-steel-600); margin-bottom: 6px; }
.method-note {
  font-size: 13px; line-height: 1.55; color: var(--color-steel-600);
  background: var(--color-paper-tint); border: 1px solid var(--color-line-100);
  border-radius: var(--radius-lg); padding: 12px 14px; margin: 4px 0 13px;
}

/* tier table */
.tier-table { margin-top: 14px; border: 1px solid var(--color-line-200); border-radius: var(--radius-lg); overflow: hidden; }
.tier-table-scroll { overflow-x: auto; }
.tier-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tier-table th {
  text-align: left; padding: 11px 14px; font-family: var(--font-mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-steel-300); font-weight: var(--fw-semibold); background: var(--color-paper);
}
.tier-table td { padding: 11px 14px; border-top: 1px solid var(--color-line-100); color: var(--color-ink-700); vertical-align: top; }
.tier-table td:first-child { font-weight: var(--fw-bold); white-space: nowrap; }

/* -------------------------------------------------------------------------
 * Company / principles
 * ---------------------------------------------------------------------- */
.principles { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.principle { display: flex; gap: 16px; align-items: flex-start; }
.principle .num { flex: 0 0 auto; }
.principle-title { font-size: 16px; font-weight: var(--fw-bold); }
.principle-body { font-size: 14px; line-height: 1.6; color: var(--color-steel-400); margin-top: 5px; }

.prose { max-width: 720px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--color-steel-600); margin-top: 18px; }
.prose a { color: var(--color-brand-700); font-weight: var(--fw-medium); }

/* -------------------------------------------------------------------------
 * Footer (dark)
 * ---------------------------------------------------------------------- */
.site-footer { background: var(--color-ink-800); color: var(--color-steel-300); margin-top: 84px; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; padding: 52px 28px 30px; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-brand-text { font-weight: var(--fw-bold); font-size: 16px; color: #fff; }
.footer-tagline { font-size: 13px; line-height: 1.6; color: var(--color-steel-400); margin-top: 14px; max-width: 300px; }
.footer-col-title { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-line-200); letter-spacing: 0.02em; }
.footer-links { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.footer-links a { font-size: 13px; color: var(--color-steel-300); text-decoration: none; }
.footer-links a:hover { color: var(--color-line-200); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #2A3942; margin-top: 36px; padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-copy { font-size: 12.5px; color: var(--color-steel-400); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12.5px; color: var(--color-steel-400); text-decoration: none; }
.footer-legal a:hover { color: var(--color-line-200); text-decoration: underline; }

/* -------------------------------------------------------------------------
 * Responsive — tablet / desktop uplifts
 * ---------------------------------------------------------------------- */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 54px; }
  .product-row { grid-template-columns: 210px 1fr; gap: 30px; }
  .product-row-title { margin-top: 0; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .hero h1 { font-size: 55px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .h2 { font-size: 26px; }
  .page-hero h1 { font-size: 30px; }
}
