/* Gravient Marketing Site — main.css */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Gravient brand palette — locked 2026-04-14 */
  --color-bg: #141414;
  --color-bg-alt: #1a1a1a;
  --color-surface-mid: #252525;
  --color-surface-light: #353535;
  --color-text: #eeebe6;
  --color-muted: #80796e;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-border: #353535;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  font-feature-settings: "kern" 1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #141414;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 48px;
  text-align: center;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.section-alt .feature-card {
  background: var(--color-bg);
}

.feature-icon {
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
  min-width: 28px;
  padding-top: 3px;
}

.step strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}

.step p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Hero CTA group */
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 13px;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--color-muted);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--color-border);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--color-text);
  border-color: #444;
}

/* Section label (small caps above headings) */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* Narrative sections */
.section-narrative {
  padding: 100px 0;
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 680px;
  line-height: 1.2;
  margin-bottom: 28px;
}

.section-narrative p {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Proof section accent */
.proof-accent {
  border-left: 3px solid var(--color-accent);
  padding-left: 28px;
}

.proof-close {
  color: var(--color-text) !important;
  font-weight: 500;
}

/* Three-column Why/Feature cards (Linear/Railway grid pattern) */
.why-cards {
  padding: 0 0 96px;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-card {
  background: var(--color-bg);
  padding: 36px 32px;
}

.why-card-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  font-feature-settings: "tnum";
  margin-bottom: 20px;
}

.why-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.why-card-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}

.why-card-body {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
}

/* Centered section variant */
.section-centered {
  text-align: center;
}

.section-centered .section-heading {
  margin-left: auto;
  margin-right: auto;
}

/* Section sub-heading */
.section-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto 8px;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--color-surface-mid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 48px;
  margin: 36px auto 0;
  width: fit-content;
}

/* Outer lockup: mark+name row, then endorsement below */
.product-card-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mark + name in one row — mark centers on name text only */
.product-card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* brand-004: Inter Medium 500, letter-spacing −0.3px */
.product-card-name {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1;
}

/* brand-004: Regular 400, muted, right-aligned to wordmark edge */
.product-card-endorsement {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  text-align: right;
}

/* Nav mark animation (brand-004) */
@keyframes gv-draw {
  from { stroke-dashoffset: 80; opacity: 0; }
  to   { stroke-dashoffset: 0;  opacity: 1; }
}

@keyframes gv-dot-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes gv-breathe {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1;    }
}

.gv-mark-line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  opacity: 0;
  animation: gv-draw 1.0s ease-out forwards;
}

.gv-mark-line:nth-child(2) { animation-delay: 0s;    }
.gv-mark-line:nth-child(3) { animation-delay: 0.15s; }
.gv-mark-line:nth-child(4) { animation-delay: 0.30s; }

.gv-mark-dot {
  opacity: 0;
  animation: gv-dot-fade 0.4s ease-out 1.2s forwards;
}

.nav-logo svg {
  animation: gv-breathe 3.5s ease-in-out 1.7s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .gv-mark-line,
  .gv-mark-dot {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .nav-logo svg {
    animation: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--color-border);
}

.footer-link {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-text);
}
