/* ═══════════════════════════════════════════════════════
   ClipDesk — ViralScore Pro Design System
   Cyan-forward · Syne display · Clean borders · Sci-fi
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:          #07090f;
  --bg-2:        #0d1117;
  --bg-3:        #131b24;
  --bg-4:        #1c2a38;

  --border:      #1c2a38;
  --border-2:    #2a3a48;

  --white:       #dff0f8;
  --gray-1:      #7a9ab0;
  --gray-2:      #4a6478;
  --gray-3:      #2a3a48;

  --amber:       #00e5ff;
  --amber-light: rgba(0,229,255,0.12);
  --violet:      #00b8d4;
  --violet-light:rgba(0,184,212,0.5);
  --cyan:        #00e5ff;
  --emerald:     #00d68f;
  --rose:        #ff4d6d;

  /* Aliases for training/cheatsheet compatibility */
  --gold:        #ffc94d;
  --accent-green:#00d68f;
  --accent-red:  #ff4d6d;
  --text-muted:  #4a6478;
  --text-bright: #dff0f8;

  --display:     'Syne', sans-serif;
  --font:        'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;

  --r:       10px;
  --r-lg:    16px;
  --r-xl:    24px;
  --r-full:  9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg);
  color: var(--gray-1); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  min-height: 100vh;
}

/* Cyan grid overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,229,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: rgba(0,229,255,0.7); }
strong { color: var(--white); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ═══ NAV ═══ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all 0.4s ease;
}
.topnav.scrolled {
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.04em; text-decoration: none; }
.logo em { font-style: normal; background: linear-gradient(135deg, var(--amber), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.topnav-links { display: flex; gap: 28px; }
.topnav-links a { color: var(--gray-2); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.topnav-links a:hover { color: var(--white); }

/* ═══ HERO ═══ */
.hero2 {
  min-height: 100vh; display: flex; align-items: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 0 100px;
}
/* Mesh gradient background */
.hero2-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,184,212,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0,229,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0,229,255,0.06) 0%, transparent 50%);
}
/* Animated grid */
.hero2-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero2-content { position: relative; z-index: 1; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--r-full); padding: 6px 20px 6px 14px;
  font-size: 0.82rem; color: var(--amber); font-weight: 500;
  margin-bottom: 32px;
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero2 h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.04em;
  color: var(--white); margin-bottom: 24px;
}
.hero2 h1 .glow {
  background: linear-gradient(135deg, var(--amber) 0%, var(--violet) 30%, rgba(0,229,255,0.6) 70%, var(--amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow-shift 5s ease-in-out infinite;
}
@keyframes glow-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}
.hero2 .sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-2); max-width: 540px;
  margin: 0 auto 40px; line-height: 1.65;
}
.hero2 .phi-mono {
  font-family: var(--mono); color: var(--gray-3);
  font-size: 0.85rem; margin-bottom: 40px;
  letter-spacing: 2px;
}
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn2 {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--r);
  font-family: var(--font); font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.25s ease;
}
.btn2-primary {
  background: var(--amber); color: var(--bg);
  box-shadow: 0 0 30px rgba(0,229,255,0.15);
}
.btn2-primary:hover {
  box-shadow: 0 0 50px rgba(0,229,255,0.3);
  transform: translateY(-2px); color: var(--bg);
}
.btn2-ghost {
  background: transparent; color: var(--gray-1);
  border: 1px solid var(--border-2);
}
.btn2-ghost:hover {
  border-color: rgba(0,229,255,0.3); color: var(--amber);
  background: rgba(0,229,255,0.05);
}

/* ═══ SECTIONS ═══ */
.sec { padding: 120px 0; position: relative; }
.sec-dark { background: var(--bg-2); }
.sec-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; margin-bottom: 12px;
}
.sec-sub {
  color: var(--gray-2); font-size: 1.05rem;
  margin-bottom: 56px; max-width: 500px; line-height: 1.6;
}
.sec-sub.m-auto { margin-left: auto; margin-right: auto; }
.tc { text-align: center; }

/* ═══ REVEAL ═══ */
.rv { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0,0,0.2,1); }
.rv.on { opacity: 1; transform: translateY(0); }
.rv-s > * { opacity: 0; transform: translateY(24px) scale(0.97); transition: all 0.6s cubic-bezier(0,0,0.2,1); }
.rv-s > *.on { opacity: 1; transform: none; }

/* ═══ CARDS ═══ */
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.acard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: all 0.4s ease;
}
.acard:hover {
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 0 40px rgba(0,229,255,0.06);
}
.acard-inner {
  height: 100%;
}
.acard-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.acard-icon.amber { background: rgba(0,229,255,0.1); }
.acard-icon.violet { background: rgba(0,184,212,0.1); }
.acard-icon.cyan { background: rgba(0,229,255,0.1); }
.acard-icon.emerald { background: rgba(0,214,143,0.1); }
.acard h3 { font-family: var(--display); color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.acard p { color: var(--gray-2); font-size: 0.92rem; line-height: 1.6; }

/* ═══ STEPS ═══ */
.steps2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; position: relative; }
.steps2::before {
  content: ''; position: absolute; top: 32px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,184,212,0.3), rgba(0,229,255,0.3), transparent);
}
.st { text-align: center; }
.st-n {
  width: 64px; height: 64px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--bg);
  margin-bottom: 20px; position: relative; z-index: 2;
}
.st-n.n1 { background: linear-gradient(135deg, var(--violet), rgba(0,184,212,0.5)); box-shadow: 0 0 30px rgba(0,184,212,0.3); }
.st-n.n2 { background: linear-gradient(135deg, var(--amber), rgba(0,229,255,0.5)); box-shadow: 0 0 30px rgba(0,229,255,0.3); }
.st-n.n3 { background: linear-gradient(135deg, var(--emerald), #34D399); box-shadow: 0 0 30px rgba(0,214,143,0.3); }
.st h3 { font-family: var(--display); color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.st p { color: var(--gray-2); font-size: 0.9rem; }

/* ═══ PHI CARD ═══ */
.phi-panel {
  max-width: 740px; margin: 0 auto;
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--r-xl);
  background: var(--bg-2);
}
.phi-panel-inner {
  padding: 56px 48px; text-align: center;
}
.phi-num {
  font-family: var(--mono); font-size: 2.2rem; font-weight: 700;
  margin: 20px 0 24px;
  background: linear-gradient(135deg, var(--amber), var(--violet));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.phi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 32px 0;
}
.phi-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 8px;
}
.phi-box-v { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.phi-box-l { font-size: 0.72rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: 0.05em; }

/* ═══ SPLIT BAR ═══ */
.bar {
  display: flex; border-radius: var(--r-lg); overflow: hidden;
  height: 52px; font-weight: 700; font-size: 0.88rem;
  margin: 28px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.bar > div { display: flex; align-items: center; justify-content: center; }
.bar-a { background: linear-gradient(135deg, var(--amber), rgba(0,229,255,0.5)); color: var(--bg); flex: 20; }
.bar-b { background: linear-gradient(135deg, var(--violet), rgba(0,184,212,0.5)); color: white; flex: 10; font-size: 0.8rem; }
.bar-c { background: linear-gradient(135deg, var(--emerald), #34D399); color: var(--bg); flex: 70; }

/* ═══ TABLES ═══ */
.tw, .table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-3); color: var(--amber); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: var(--gray-1); }

/* ═══ CASE STUDY ═══ */
.case {
  max-width: 660px; margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 48px; position: relative; overflow: hidden;
}
.case::after {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,229,255,0.06) 0%, transparent 70%);
}
.case-nums {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  text-align: center; padding: 28px 0; margin: 24px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.case-v { font-size: 2rem; font-weight: 800; }
.case-l { font-size: 0.75rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ═══ PRICING ═══ */
.price-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; max-width: 660px; margin: 0 auto;
}
.pcard {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: all 0.3s ease;
}
.pcard:hover { transform: translateY(-4px); }
.pcard.pop {
  border-color: rgba(0,229,255,0.3);
}
.pcard-inner {
  padding: 44px 28px; text-align: center;
}
.pcard h3 { font-family: var(--display); color: var(--white); font-weight: 700; margin-bottom: 4px; }
.pcard .pv { font-family: var(--display); font-size: 3rem; font-weight: 800; margin: 12px 0 8px; }
.pcard p { color: var(--gray-2); font-size: 0.9rem; }

/* ═══ FOOTER ═══ */
.foot {
  padding: 60px 0 28px; border-top: 1px solid var(--border);
}
.foot-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px; margin-bottom: 36px;
}
.foot h4 { font-family: var(--display); color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot p, .foot a { color: var(--gray-3); font-size: 0.88rem; }
.foot p + p { margin-top: 6px; }
.foot a:hover { color: var(--amber); }
.foot-end { text-align: center; padding-top: 28px; border-top: 1px solid var(--border); color: var(--gray-3); font-size: 0.76rem; }

/* ═══ ACCORDION (shared) ═══ */
.accordion { max-width: 100%; }
.accordion-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 10px; overflow: hidden;
  transition: border-color 0.3s ease;
}
.accordion-item.open { border-color: rgba(0,229,255,0.3); }
.accordion-header {
  width: 100%; background: none; border: none;
  padding: 22px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white); font-size: 1.02rem; font-weight: 600;
  font-family: var(--font); transition: background 0.2s ease; gap: 16px; text-align: left;
}
.accordion-header:hover { background: rgba(0,229,255,0.04); }
.accordion-header .icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-3); color: var(--amber);
  font-size: 1rem; transition: transform 0.3s ease, background 0.3s ease;
}
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); background: var(--amber); color: var(--bg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; opacity: 0; }
.accordion-item.open .accordion-body { opacity: 1; }
.accordion-content { padding: 0 24px 24px; color: var(--gray-1); line-height: 1.7; }
.accordion-content h4 { color: var(--white); margin: 16px 0 8px; font-size: 0.95rem; font-weight: 600; }
.accordion-content ul, .accordion-content ol { padding-left: 24px; margin: 8px 0; }
.accordion-content li { margin-bottom: 6px; }
.accordion-content .endpoint {
  background: var(--bg-3); padding: 10px 14px; border-radius: var(--r); margin: 8px 0;
  border-left: 3px solid var(--amber); font-family: var(--mono); font-size: 0.84rem; color: rgba(0,229,255,0.7); overflow-x: auto;
}
.accordion-content .note {
  background: rgba(0,229,255,0.05); border-left: 3px solid var(--amber);
  padding: 10px 14px; border-radius: 0 var(--r) var(--r) 0; margin: 14px 0; font-size: 0.88rem;
}
.accordion-content code {
  font-family: var(--mono); font-size: 0.84em;
  background: var(--bg-3); padding: 2px 7px; border-radius: 4px; color: rgba(0,229,255,0.7);
}

/* ═══ SHARED COMPONENTS ═══ */
.phi-badge { display: inline-block; background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2); border-radius: var(--r-full); padding: 6px 24px; font-family: var(--mono); font-size: 0.88rem; color: var(--amber); }
.formula { background: var(--bg-3); border: 1px solid rgba(0,229,255,0.15); border-radius: var(--r-lg); padding: 24px; font-family: var(--mono); font-size: 0.86rem; color: rgba(0,229,255,0.7); line-height: 2; overflow-x: auto; }
.split-bar { display: flex; border-radius: var(--r-lg); overflow: hidden; height: 52px; font-weight: 700; font-size: 0.88rem; margin: 24px 0; }
.split-bar > div { display: flex; align-items: center; justify-content: center; }
.split-clipper { background: linear-gradient(135deg, var(--amber), rgba(0,229,255,0.5)); color: var(--bg); flex: 20; }
.split-platform { background: linear-gradient(135deg, var(--violet), rgba(0,184,212,0.5)); color: white; flex: 10; font-size: 0.8rem; }
.split-client { background: linear-gradient(135deg, var(--emerald), #34D399); color: var(--bg); flex: 70; }

/* Training/Cheatsheet shared */
.section-title { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px; }
.section-subtitle { color: var(--gray-2); font-size: 1rem; margin-bottom: 48px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--mono); }
.badge-get { background: rgba(0,214,143,0.1); color: var(--emerald); }
.badge-post { background: rgba(0,184,212,0.1); color: var(--violet); }
.badge-jwt { background: rgba(0,229,255,0.08); color: var(--amber); border: 1px solid rgba(0,229,255,0.15); }
.badge-admin { background: rgba(255,77,109,0.1); color: var(--rose); }
.badge-public { background: rgba(255,255,255,0.04); color: var(--gray-2); }
code, .mono { font-family: var(--mono); font-size: 0.84em; background: var(--bg-3); padding: 2px 7px; border-radius: 4px; color: rgba(0,229,255,0.7); }

/* Training hub */
.role-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.role-card { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--bg-2); display: block; text-decoration: none; transition: all 0.3s ease; }
.role-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
.role-card-inner { padding: 44px 28px; text-align: center; }
.role-card .role-icon { font-size: 3rem; margin-bottom: 14px; display: block; }
.role-card h2 { font-family: var(--display); color: var(--white); margin-bottom: 6px; font-weight: 700; font-size: 1.2rem; }
.role-card p { color: var(--gray-2); margin-bottom: 20px; font-size: 0.92rem; }
.role-card .tag { display: inline-block; background: rgba(0,229,255,0.1); color: var(--amber); padding: 8px 24px; border-radius: var(--r); font-weight: 600; font-size: 0.88rem; }

/* Cheatsheet */
.cheat-section { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; margin-bottom: 20px; }
.cheat-section h2 { font-family: var(--display); color: var(--amber); font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.flow-diagram { font-family: var(--mono); font-size: 0.8rem; background: var(--bg-3); padding: 24px; border-radius: var(--r-lg); overflow-x: auto; line-height: 1.9; color: var(--gray-1); }
.flow-diagram .arrow { color: var(--amber); font-weight: 700; }

/* Buttons shared */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--r); font-family: var(--font); font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer; text-decoration: none; transition: all 0.25s ease; }
.btn-gold { background: var(--amber); color: var(--bg); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,229,255,0.25); color: var(--bg); }
.btn-outline { background: transparent; color: var(--gray-1); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: rgba(0,229,255,0.3); color: var(--amber); }

/* Nav shared (for training pages) */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(7,9,15,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 14px 0; }
.nav .container, .nav .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.nav-brand { font-family: var(--display); font-size: 1.4rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; text-decoration: none; }
.nav-brand span { color: var(--amber); }
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-links a { color: var(--gray-2); font-size: 0.86rem; font-weight: 500; }
.nav-links a:hover { color: var(--white); }

/* Hero shared (training pages) */
.hero { padding: 80px 0 60px; text-align: center; background: var(--bg-2); }
.hero h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 12px; }
.hero h1 .gold { color: var(--amber); }
.hero .subtitle { font-size: 1.05rem; color: var(--gray-2); max-width: 540px; margin: 0 auto; }
.section { padding: 80px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer h4 { font-family: var(--display); color: var(--white); margin-bottom: 12px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer p, .footer a { color: var(--gray-3); font-size: 0.88rem; }
.footer p + p { margin-top: 6px; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--gray-3); font-size: 0.76rem; }

@media (max-width: 768px) {
  .hero2 { min-height: auto; padding: 140px 0 80px; }
  .hero2 h1 { font-size: 2.4rem; }
  .sec { padding: 80px 0; }
  .topnav-links { gap: 14px; }
  .g3 { grid-template-columns: 1fr; }
  .steps2 { grid-template-columns: 1fr; }
  .steps2::before { display: none; }
  .phi-grid { grid-template-columns: repeat(2, 1fr); }
  .phi-panel-inner { padding: 32px 20px; }
  .case { padding: 28px 20px; }
  .case-nums { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
}
