/* ============================================
   Sketch GTM Assistant — Landing Page Styles
   Design system aligned to Figma spec
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --bg-primary: #090909;
  --bg-secondary: #0B0B0B;
  --bg-card: #121212;
  --text-primary: #FFFFFF;
  --text-secondary: #8F94B5;
  --text-tertiary: #7D7D7D;
  --text-body: #A0A4AC;
  --text-placeholder: #50576C;
  --brand: #6B7DFA;
  --brand-cyan: #0099FF;
  --border-moderate: #2B2B2B;
  --border-subtle: #252A37;
  --icon-color: #1C274D;

  /* Radii */
  --radius-section: 32px;
  --radius-card: 26px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --radius-chip: 15px;

  /* Fonts */
  --font-primary: 'Instrument Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-accent: 'Palatino', 'Palatino Linotype', 'Book Antiqua', serif;

  /* Spacing */
  --section-gap: 120px;
  --container-max: 1160px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-variation-settings: 'wdth' 100;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.gradient-text {
  background: linear-gradient(234deg, #FFF 62.2%, #D6D6D6 81.7%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(212deg, #000 62.2%, #3A3A3A 81.7%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-punch {
  font-family: var(--font-accent);
  font-style: italic;
  text-transform: none;
  background: linear-gradient(92.54deg, rgba(107, 125, 250, 0) 0.43%, #6B7DFA 165.06%), linear-gradient(90deg, #FFF 0%, #FFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  background: rgba(217, 217, 217, 0.01);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  height: 36px;
  width: auto;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(107, 125, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-halo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(107, 125, 250, 0.12) 0%, rgba(107, 125, 250, 0.05) 30%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-headline {
  font-weight: 500;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -2.6px;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 64px;
  letter-spacing: -2.56px;
  background: linear-gradient(92.54deg, rgba(107, 125, 250, 0) 0.43%, #6B7DFA 165.06%), linear-gradient(90deg, #FFF 0%, #FFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: block;
  margin-top: 4px;
  text-transform: none;
}

.hero-sub {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-tertiary);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.micro-copy {
  font-size: 13px;
  color: #7D7D7D;
}

/* --- Buttons --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 3px;
  background: linear-gradient(to bottom, #404040, #282828);
  box-shadow: 0 0 8px rgba(246, 246, 246, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary .btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: #1f1f1f;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-variation-settings: 'wdth' 100;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #7B8BFF, #5A6AE8);
  box-shadow: 0 0 20px rgba(107, 125, 250, 0.4), 0 0 60px rgba(107, 125, 250, 0.15);
}

.btn-primary:hover .btn-inner {
  background: var(--brand);
}

.btn-primary.btn-large .btn-inner {
  padding: 18px 48px;
  font-size: 15px;
}

.slack-icon {
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-moderate);
  background: transparent;
  font-family: var(--font-primary);
  font-variation-settings: 'wdth' 100;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--brand);
  background: rgba(107, 125, 250, 0.08);
  box-shadow: 0 0 16px rgba(107, 125, 250, 0.25), 0 0 48px rgba(107, 125, 250, 0.1);
  color: var(--text-primary);
}

/* --- Trust Strip --- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7D7D7D;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7D7D7D;
  display: inline-block;
}

/* --- Section Headlines --- */
.section-headline {
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.8px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 48px;
}

.section-headline-large {
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.96px;
  line-height: 1.05;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 48px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Problem Section --- */
.problem {
  background: var(--bg-secondary);
  border-radius: var(--radius-section);
  margin: 0 24px;
  padding: 100px 0;
}

.problem-body {
  max-width: 680px;
  margin: 0 auto;
}

.problem-body p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.problem-body .problem-highlight {
  font-weight: 500;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: -0.48px;
  margin: 32px 0;
  text-align: center;
}

/* Tool Stack */
.tool-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s;
}

.tool-row:hover {
  border-color: rgba(107, 125, 250, 0.2);
}

.tool-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.tool-row span {
  font-size: 15px;
  color: #DCDCDC;
  line-height: 1.35;
}

.tool-row strong {
  color: var(--text-primary);
  font-weight: 500;
}

.tool-row-multi {
  align-items: center;
}

.tool-logo-stack {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.tool-logo-stack .tool-logo {
  margin-left: -6px;
  border: 2px solid var(--bg-secondary);
  border-radius: 8px;
}

.tool-logo-stack .tool-logo:first-child {
  margin-left: 0;
}

/* --- Solution / Slack Messages --- */
.solution {
  padding: 120px 0;
  background: var(--bg-card);
}

.slack-messages {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slack-msg {
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.slack-msg:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.slack-msg.reply {
  background: rgba(107, 125, 250, 0.04);
  border-color: rgba(107, 125, 250, 0.12);
}

.slack-msg.reply:hover {
  border-color: rgba(107, 125, 250, 0.25);
  background: rgba(107, 125, 250, 0.08);
  box-shadow: 0 4px 24px rgba(107, 125, 250, 0.1);
}

.slack-msg-user {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.slack-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.slack-avatar.you {
  background: #333;
  color: #aaa;
}

.slack-avatar.sketch {
  background: var(--brand);
  color: white;
}

.slack-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.slack-msg-content p {
  font-size: 15px;
  color: #DCDCDC;
  line-height: 1.45;
}

.slack-msg.reply .slack-msg-content p {
  color: #c0c6e0;
}

/* --- Pillars / Bento Grid --- */
.pillars {
  padding: 120px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 17px;
}

.bento-tall {
  grid-row: span 1;
}

.bento-tall .bento-card {
  height: 100%;
}

.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

/* --- Bento Card Base --- */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 42, 55, 0.3) 0%, rgba(18, 18, 18, 0.95) 100%);
  z-index: 0;
}

/* --- Tall Card (Outbound) --- */
.bento-card-tall {
  min-height: 420px;
  padding: 36px;
  justify-content: flex-end;
}

.bento-card-tall .bento-icon {
  position: absolute;
  top: 67px;
  left: 36px;
}

.bento-card-tall .bento-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 370px;
  height: 280px;
  background: radial-gradient(ellipse at center,
    rgba(107, 125, 250, 0.10) 0%,
    rgba(107, 125, 250, 0.04) 50%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.bento-icon-deco {
  position: absolute;
  top: -10px;
  right: -10px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* --- Short Card --- */
.bento-card-short {
  padding: 28px 32px;
  flex: 1;
  min-height: 0;
}

.bento-card-short .bento-icon {
  margin-bottom: 20px;
}

/* --- Bento Icon (shared) --- */
.bento-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* --- Bento Content --- */
.bento-content {
  position: relative;
  z-index: 2;
}

.bento-title {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.48px;
  line-height: 1;
  margin-bottom: 12px;
}

.bento-bold {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 13.2px;
  color: var(--text-body);
  line-height: 1.45;
}

.bento-title-sm {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* --- Compound Section --- */
.compound {
  margin: 0 24px;
  border-radius: var(--radius-section);
  overflow: hidden;
  padding: 120px 0;
  position: relative;
}

.compound-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0a14 0%, #0f0f1a 100%);
  z-index: 0;
}

.compound .container {
  position: relative;
  z-index: 1;
}

.compound-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 56px;
}

.flow-step {
  padding: 12px 20px;
  background: rgba(107, 125, 250, 0.06);
  border: 1px solid rgba(107, 125, 250, 0.15);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: #c0c6e0;
}

.flow-arrow {
  font-size: 20px;
  color: var(--brand);
  font-weight: 500;
}

.compound-callout {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 40px;
  border-radius: 20px;
  background: rgba(107, 125, 250, 0.06);
  border: 1px solid rgba(107, 125, 250, 0.18);
  text-align: center;
}

.compound-callout p {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.5;
}

.compound-callout strong {
  color: var(--brand);
}

/* --- How It Works --- */
.how-it-works {
  padding: 120px 0;
  background: var(--bg-card);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  padding: 36px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--brand);
  margin-bottom: 24px;
}

.step-title {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* --- Why Sketch --- */
.why-sketch {
  padding: 120px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.why-card {
  padding: 36px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(37, 42, 55, 0.2) 0%, rgba(18, 18, 18, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(107, 125, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.why-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.why-title {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.48px;
  line-height: 1;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

/* --- Comparison Table --- */
.comparison {
  padding: 120px 0;
}

.comparison .section-headline {
  margin-bottom: 56px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-tertiary);
  letter-spacing: -0.3px;
}

.comparison-table th.highlight {
  color: var(--brand);
  font-weight: 600;
}

.comparison-table td.highlight {
  background: rgba(107, 125, 250, 0.04);
}

.comparison-table .feature-name {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

.cross {
  color: var(--text-tertiary);
  font-size: 13px;
}

.cross-icon {
  color: #555;
  font-size: 16px;
}

.partial {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* --- Light Section (Comparison) --- */
.light-section {
  background: #FFFFFF;
  border-radius: var(--radius-section);
  margin: 0 24px;
}

.light-section .comparison-table-wrap {
  border-color: #E0E0E0;
  background: #FAFAFA;
}

.light-section .comparison-table th,
.light-section .comparison-table td {
  border-bottom-color: #E8E8E8;
}

.light-section .comparison-table th {
  color: #666;
}

.light-section .comparison-table th.highlight {
  color: var(--brand);
}

.light-section .comparison-table td.highlight {
  background: rgba(107, 125, 250, 0.06);
}

.light-section .comparison-table .feature-name {
  color: #1A1A1A;
}

.light-section .comparison-table td.highlight {
  color: #1A1A1A;
  font-weight: 500;
}

.light-section .check {
  color: var(--brand);
  font-weight: 600;
}

.light-section .cross {
  color: #999;
}

.light-section .cross-icon {
  color: #CCC;
}

.light-section .partial {
  color: #999;
}


/* --- Trust / Quote --- */
.trust {
  margin: 0 24px;
  border-radius: var(--radius-section);
  overflow: hidden;
  padding: 120px 0;
  position: relative;
}

.trust-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #000 6%, rgba(0, 0, 0, 0.7) 53%),
              linear-gradient(180deg, #0a0a14 0%, #111122 100%);
  z-index: 0;
}

.trust .container {
  position: relative;
  z-index: 1;
}

.trust-quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.trust-quote blockquote {
  border: none;
  padding: 0;
  margin: 0;
}

.trust-quote p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 32px;
}

.trust-quote footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.quote-author {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
}

.quote-role {
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-tertiary);
}

/* --- Pricing --- */
.pricing {
  padding: 120px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  max-width: 960px;
  margin: 0 auto 32px;
}

.pricing-card {
  padding: 40px 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(107, 125, 250, 0.3);
  background: rgba(107, 125, 250, 0.04);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand);
  color: white;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.pricing-tier {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0;
}

.pricing-best {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
}

/* --- FAQ --- */
.faq {
  padding: 120px 0;
  background: var(--bg-card);
}

.faq .section-headline {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-variation-settings: 'wdth' 100;
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  letter-spacing: -0.34px;
}

.faq-question:hover {
  color: #ddd;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-tertiary);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  color: #DCDCDC;
  line-height: 1.55;
}

/* --- Final CTA --- */
.final-cta {
  margin: 0 24px;
  border-radius: var(--radius-section);
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0d0d1a 0%, #090912 100%);
  z-index: 0;
}

.final-cta-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(107, 125, 250, 0.1) 0%, transparent 70%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta .section-headline-large {
  max-width: 640px;
  margin: 0 auto 16px;
}

.final-cta-sub {
  font-size: 18px;
  color: var(--text-tertiary);
  margin-bottom: 40px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* --- Hero Eyebrow --- */
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

/* --- Memory Grid (Org page) --- */
.memory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-bottom: 48px;
}

.memory-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(107, 125, 250, 0.12);
  background: rgba(107, 125, 250, 0.04);
}

.memory-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.memory-title {
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.memory-desc {
  font-size: 14px;
  color: #c0c6e0;
  line-height: 1.5;
}

/* --- Department Cards (Org page) --- */
.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.dept-card {
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(37, 42, 55, 0.2) 0%, rgba(18, 18, 18, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.dept-card-wide {
  grid-column: 1 / -1;
}

.dept-name {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--brand);
  margin-bottom: 16px;
}

.dept-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dept-examples li {
  font-size: 14px;
  color: #DCDCDC;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.dept-examples li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 14px;
}

/* --- Timeline (Org page) --- */
.timeline {
  max-width: 640px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 56px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, rgba(107, 125, 250, 0.3) 0%, rgba(107, 125, 250, 0.08) 100%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 112px;
  text-align: right;
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(107, 125, 250, 0.4);
}

.timeline-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-desc {
  font-size: 16px;
  color: #DCDCDC;
  line-height: 1.5;
  padding-top: 2px;
}

/* --- Security Grid (Org page) --- */
.security {
  padding: 120px 0;
  background: var(--bg-card);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  max-width: 800px;
  margin: 0 auto;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.security-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.45;
}

.security-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Channel Icons (Hero) --- */
.channel-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.channel-icon {
  width: 24px;
  height: 24px;
  color: var(--text-tertiary);
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.channel-icon:hover {
  opacity: 1;
  color: var(--brand);
}

/* --- Micro Link --- */
.micro-link {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.micro-link:hover {
  color: #8B9BFF;
}

/* --- Passive Memory Body (Compound section variant) --- */
.passive-memory-body {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.passive-memory-body p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Bento Full-Width Card --- */
.bento-full-width {
  grid-column: 1 / -1;
}

/* --- Open Source Section --- */
.open-source {
  padding: 120px 0;
}

.open-source-body {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.open-source-body p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Security Item Wide --- */
.security-item-wide {
  grid-column: 1 / -1;
}

/* --- Comparison Callout (below table in light section) --- */
.comparison-callout {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 24px 32px;
  border-radius: 16px;
  background: rgba(107, 125, 250, 0.06);
  border: 1px solid rgba(107, 125, 250, 0.12);
  text-align: center;
}

.light-section .comparison-callout {
  background: rgba(107, 125, 250, 0.06);
  border-color: rgba(107, 125, 250, 0.15);
}

.comparison-callout p {
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.5;
}

.comparison-callout strong {
  color: var(--brand);
}

/* --- Credibility Signals (Trust section) --- */
.credibility-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* --- Pricing Grid 4 columns --- */
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-detail {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-tall {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-headline {
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .hero-accent {
    font-size: 44px;
    letter-spacing: -1.76px;
  }

  .section-headline {
    font-size: 32px;
    letter-spacing: -0.64px;
  }

  .section-headline-large {
    font-size: 36px;
    letter-spacing: -0.72px;
  }

  .bento-grid,
  .steps-grid,
  .pricing-grid,
  .why-grid,
  .memory-grid,
  .dept-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-tall {
    min-height: 280px;
  }

  .compound-flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .comparison-table-wrap {
    margin: 0 -16px;
    border-radius: 16px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .trust-strip {
    flex-direction: column;
    gap: 8px;
  }

  .trust-dot {
    display: none;
  }

  .problem,
  .compound,
  .trust,
  .final-cta,
  .light-section {
    margin: 0 12px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-marker {
    width: 48px;
  }

  .timeline-marker::after {
    right: -20px;
  }

  .dept-card-wide {
    grid-column: auto;
  }

  .memory-block {
    padding: 20px;
  }

  .security-item {
    padding: 20px;
  }

  .security-item-wide {
    grid-column: auto;
  }

  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }

  .bento-full-width {
    grid-column: auto;
  }

  .credibility-signals {
    flex-direction: column;
    gap: 8px;
  }

  .credibility-signals .trust-dot {
    display: none;
  }

  .channel-icons {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .hero-accent {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section-headline {
    font-size: 28px;
  }

  .section-headline-large {
    font-size: 30px;
  }

  .container {
    padding: 0 20px;
  }
}
