/* ============================================================
   Greystone Direct — marketing site
   Charcoal + glow aesthetic from the Greystone Direct brand
   ============================================================ */

:root {
  --ink: #141416;
  --charcoal: #1d1d20;
  --panel: #232326;
  --line-dark: rgba(255, 255, 255, 0.09);
  --orange: #f5a623;
  --orange-bright: #fcb040;
  --orange-dark: #d48816;
  --paper: #faf9f7;
  --card: #ffffff;
  --line: #e8e6e2;
  --text: #1c1c1e;
  --muted: #6d6d74;
  --text-inv: #f5f3ef;
  --muted-inv: #a2a2aa;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.12; letter-spacing: -0.015em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15.5px;
  padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #141416; box-shadow: 0 6px 24px rgba(245, 166, 35, 0.35); }
.btn-primary:hover { background: var(--orange-bright); box-shadow: 0 8px 30px rgba(245, 166, 35, 0.45); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.25); color: var(--text-inv); }
.btn-ghost-dark:hover { border-color: var(--orange); color: var(--orange-bright); }
.btn-ghost-light { border-color: #d8d5d0; color: var(--text); }
.btn-ghost-light:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-dark { background: var(--charcoal); color: var(--text-inv); }
.btn-dark:hover { background: #2a2a2e; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 22, 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; gap: 28px; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 44px; }
.portal-mlink { display: none; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.nav-links a { color: var(--muted-inv); font-size: 14.5px; font-weight: 600; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-inv); }
.nav-links a.active { color: var(--orange-bright); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .phone { color: var(--muted-inv); font-size: 14px; font-weight: 700; }
.nav-cta .phone:hover { color: var(--orange-bright); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-burger { display: none; background: none; border: 0; color: var(--text-inv); font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(175deg, #2e2e32 0%, #1a1a1d 55%, #141416 100%);
  color: var(--text-inv); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 72% 38%, rgba(245, 166, 35, 0.14), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 96px 24px 104px; max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-bright); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange-bright); }
.hero p.lead { font-size: 18.5px; color: var(--muted-inv); max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 26px; font-size: 13.5px; color: var(--muted-inv); }
.hero-note a { color: var(--orange-bright); font-weight: 600; }

/* glowing roofline mark */
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(340px, 72%); filter: drop-shadow(0 0 28px rgba(245, 166, 35, 0.3)); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-dark { background: linear-gradient(180deg, #1d1d20, #161618); color: var(--text-inv); }
.section-tight { padding: 56px 0; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.section-dark .kicker { color: var(--orange-bright); }
h2.title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
p.sub { font-size: 17px; color: var(--muted); max-width: 640px; }
.section-dark p.sub { color: var(--muted-inv); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

/* ---------- Pillar cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(20, 20, 22, 0.1); border-color: #ddd9d2; }
.pillar .glyph { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(145deg, #2e2e32, #1a1a1d); display: flex; align-items: center; justify-content: center; }
.pillar .glyph svg { width: 28px; }
.pillar .glyph img { width: 30px; }
.pillar h3 { font-size: 21px; }
.pillar p { font-size: 15px; color: var(--muted); flex: 1; }
.pillar .go { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--orange-dark); }
.pillar:hover .go { color: var(--orange); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255,255,255,0.035); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 28px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--orange-bright);
  display: block; margin-bottom: 14px; letter-spacing: 0.08em;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted-inv); }

/* ---------- Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255,255,255,0.035); border: 1px solid var(--line-dark); }
.stat .num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--orange-bright); }
.stat .lbl { font-size: 13px; color: var(--muted-inv); margin-top: 6px; }

/* ---------- Trades strip ---------- */
.trades { display: flex; flex-wrap: wrap; gap: 12px; }
.trade-chip {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
}
.section-dark .trade-chip { border-color: var(--line-dark); background: rgba(255,255,255,0.04); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.feature { display: flex; gap: 16px; }
.feature .tick {
  flex: 0 0 26px; height: 26px; border-radius: 8px; background: rgba(245, 166, 35, 0.14);
  color: var(--orange-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; margin-top: 2px;
}
.section-dark .feature .tick { color: var(--orange-bright); }
.feature h4 { font-size: 16.5px; margin-bottom: 3px; }
.feature p { font-size: 14.5px; color: var(--muted); }
.section-dark .feature p { color: var(--muted-inv); }

/* phone mock */
.phone-mock {
  width: min(300px, 86%); margin: 0 auto; border-radius: 42px; padding: 14px;
  background: #0f0f10; box-shadow: 0 30px 80px rgba(20,20,22,0.4), inset 0 0 0 2px #2a2a2e;
}
.phone-screen { border-radius: 30px; overflow: hidden; background: linear-gradient(175deg, #2e2e32, #161618); padding: 36px 22px 44px; color: var(--text-inv); }
.phone-screen .mini-logo { width: 150px; margin: 0 auto 26px; }
.mock-row { background: rgba(255,255,255,0.07); border-radius: 12px; padding: 13px 15px; font-size: 13px; margin-bottom: 10px; color: #d8d6d2; }
.mock-chiprow { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.mock-chip { font-size: 11.5px; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #cfcdc9; }
.mock-chip.on { background: var(--orange); color: #141416; }
.mock-btn { background: var(--orange); color: #141416; font-weight: 800; font-size: 13.5px; text-align: center; border-radius: 12px; padding: 13px; margin-top: 14px; font-family: 'Space Grotesk', sans-serif; }

/* portal mock */
.portal-mock { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 30px 80px rgba(20,20,22,0.45); background: #1b1b1e; font-size: 12.5px; }
.portal-bar { display: flex; gap: 6px; padding: 11px 14px; background: #242428; }
.portal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3f; }
.portal-body { display: grid; grid-template-columns: 150px 1fr; min-height: 280px; }
.portal-side { background: #202024; padding: 16px 14px; color: #b9b7b3; display: flex; flex-direction: column; gap: 10px; }
.portal-side img { width: 110px; margin-bottom: 8px; }
.portal-side .pitem { padding: 7px 10px; border-radius: 8px; }
.portal-side .pitem.on { background: rgba(245,166,35,0.16); color: var(--orange-bright); font-weight: 700; }
.portal-main { padding: 18px; color: #d8d6d2; background: #1b1b1e; }
.portal-card { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ptag { font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ptag.green { background: rgba(46,125,91,0.25); color: #6fd3a7; }
.ptag.orange { background: rgba(245,166,35,0.2); color: var(--orange-bright); }
.ptag.purple { background: rgba(124,58,237,0.25); color: #c4a8f7; }

/* ---------- Quote cards ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.quote .mark { font-family: 'Space Grotesk', sans-serif; font-size: 44px; line-height: 0.6; color: var(--orange); margin-bottom: 18px; }
.quote p { font-size: 15.5px; margin-bottom: 18px; }
.quote .who { font-size: 13.5px; font-weight: 700; color: var(--muted); }

/* ---------- Logo / cert strip ---------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; }
.cert-strip span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #b2afa9; letter-spacing: 0.04em; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #2e2e32, #161618); border-radius: 24px; padding: 64px 48px; color: var(--text-inv); position: relative; overflow: hidden; text-align: center; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(245,166,35,0.16), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--muted-inv); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(175deg, #2e2e32 0%, #18181a 100%); color: var(--text-inv); padding: 84px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 55% at 80% 20%, rgba(245,166,35,0.12), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; max-width: 760px; }
.page-hero p.lead { font-size: 18px; color: var(--muted-inv); max-width: 620px; }

/* ---------- Checker grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.info-card h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.info-card p { font-size: 14.5px; color: var(--muted); }
.section-dark .info-card { background: rgba(255,255,255,0.035); border-color: var(--line-dark); }
.section-dark .info-card p { color: var(--muted-inv); }

/* ---------- Footer ---------- */
footer { background: #121214; color: var(--muted-inv); padding: 64px 0 36px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-grid img { width: 190px; margin-bottom: 18px; }
.foot-grid p { font-size: 13.5px; line-height: 1.7; }
.foot-grid h4 { color: var(--text-inv); font-size: 14px; margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot-grid a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--muted-inv); }
.foot-grid a:hover { color: var(--orange-bright); }
.foot-legal { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-cta .phone { display: none; }
  .nav-links { gap: 18px; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .hero-mark { display: none; }
  .pillars, .steps, .quotes, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .grid-2 { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #141416; flex-direction: column; padding: 18px 24px 24px; gap: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta .phone { display: none; }
  .nav-cta .btn-ghost-dark { display: none; }
  .nav-inner { gap: 14px; }
  .portal-mlink { display: block; color: var(--orange-bright) !important; }
  section { padding: 64px 0; }
  .cta-band { padding: 48px 24px; }
}

/* credential card in quote rows */
.quote.cred { display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.quote.cred .big { font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 700; color: var(--orange); line-height: 1; }
.quote.cred .lbl { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.quote.cred p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }

/* ---------- Walkthrough video ---------- */
.video-wrap { max-width: 960px; margin: 56px auto 0; }
.video-wrap video {
  width: 100%; display: block; border-radius: 20px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
