:root {
  --navy: #142a86;
  --navy-dark: #0b195a;
  --orange: #ef4423;
  --ink: #182033;
  --muted: #667085;
  --paper: #f7f7f4;
  --white: #fff;
  --line: #e4e7ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
[hidden] { display:none !important; }

.auth-screen { position:fixed; z-index:100; inset:0; display:grid; min-height:100vh; padding:24px; overflow:auto; background:radial-gradient(circle at 78% 12%,rgba(239,68,35,.16),transparent 28%),linear-gradient(145deg,#f8f8f5,#eef1f8); place-items:center; }
.auth-panel { width:min(100%,590px); padding:clamp(34px,7vw,70px); border:1px solid rgba(20,42,134,.1); border-radius:30px; background:rgba(255,255,255,.92); box-shadow:0 28px 80px rgba(20,42,134,.13); }
.auth-panel img { width:180px; }
.auth-panel .eyebrow { margin:46px 0 18px; }
.auth-panel h1 { margin-bottom:22px; font-size:clamp(44px,7vw,68px); }
.auth-panel > p:not(.eyebrow):not(.auth-message) { margin:0 0 34px; color:var(--muted); font-size:18px; line-height:1.6; }
.google-button { display:flex; width:100%; min-height:54px; align-items:center; justify-content:center; gap:12px; padding:0 20px; border:1px solid #d0d5dd; border-radius:12px; color:#344054; background:#fff; font:700 15px "DM Sans",sans-serif; box-shadow:0 3px 8px rgba(16,24,40,.06); cursor:pointer; }
.google-button:hover { background:#f9fafb; }
.google-button svg { width:22px; height:22px; }
.auth-message { min-height:20px; margin:16px 0 0; color:#c83222; font-size:13px; line-height:1.45; }

.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 88px; padding: 0 clamp(24px, 5vw, 76px); border-bottom: 1px solid rgba(20, 42, 134, .1); background: rgba(247, 247, 244, .92); backdrop-filter: blur(18px); }
.brand img { display: block; width: 154px; }
nav { display: flex; gap: 36px; font-size: 15px; font-weight: 600; }
nav a { position: relative; }
nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--orange); transition: transform .2s ease; }
nav a:hover::after { transform: scaleX(1); }
.header-action { justify-self: end; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); background:transparent; font:700 14px "DM Sans",sans-serif; cursor:pointer; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 88px); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(24px, 7vw, 120px); }
.eyebrow { margin: 0 0 24px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; }
h1 { max-width: 760px; margin-bottom: 28px; color: var(--navy-dark); font-size: clamp(48px, 6vw, 88px); line-height: .98; letter-spacing: -.055em; }
.hero-text { max-width: 580px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); box-shadow: 0 14px 28px rgba(20, 42, 134, .2); }
.button-secondary { border: 1px solid var(--line); background: white; }
.hero-visual { position: relative; display: grid; min-height: 600px; place-items: center; background: var(--navy); }
.hero-visual::after { position: absolute; inset: 0; content: ""; opacity: .17; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; }
.orbit { position: absolute; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 68%; aspect-ratio: 1; }
.orbit-two { width: 92%; aspect-ratio: 1; border-color: rgba(239,68,35,.5); }
.visual-card { z-index: 2; display: flex; width: min(58%, 340px); aspect-ratio: 1; flex-direction: column; justify-content: center; padding: 42px; transform: rotate(-5deg); border-radius: 28px; color: white; background: rgba(255,255,255,.1); box-shadow: 0 32px 70px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
.visual-card span, .visual-card strong { font-family: "Manrope", sans-serif; font-size: clamp(35px, 4vw, 58px); line-height: .92; }
.visual-card strong { color: #ff5a38; }
.visual-card small { margin-top: 24px; letter-spacing: .1em; text-transform: uppercase; }

.section { padding: 120px clamp(24px, 7vw, 120px); }
.section-label { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-label span { display: grid; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; place-items: center; }
.about { display: grid; grid-template-columns: .35fr 1.65fr; gap: 40px; background: white; }
.about-content h2 { max-width: 900px; margin-bottom: 64px; color: var(--navy-dark); font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -.04em; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-text p { margin: 0; color: #465064; font-size: 18px; line-height: 1.75; }

.library { color: white; background: var(--navy-dark); }
.library-heading { max-width: 820px; margin-bottom: 60px; }
.section-label-light { color: #ff6a4b; }
.library h2 { margin: 34px 0 20px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.04em; }
.library-heading > p { color: #b7c0df; font-size: 19px; }
.resource-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.resource-card { position: relative; display: flex; min-height: 260px; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.06); transition: transform .25s ease, background .25s ease; }
.resource-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.resource-icon { display: grid; width: 48px; height: 48px; border-radius: 14px; color: white; background: var(--orange); font-family: "Manrope", sans-serif; font-weight: 800; place-items: center; }
.resource-card h3 { margin-bottom: 10px; font-size: 25px; }
.resource-card p { margin: 0; color: #b7c0df; line-height: 1.5; }
.arrow { position: absolute; top: 28px; right: 28px; font-size: 22px; }
.access-gate { display:flex; align-items:center; gap:24px; padding:30px; border:1px solid rgba(255,255,255,.13); border-radius:22px; background:rgba(255,255,255,.06); }
.gate-icon { display:grid; width:58px; height:58px; flex:none; border-radius:18px; background:var(--orange); font-size:24px; place-items:center; }
.access-gate h3 { margin:5px 0 7px; font-size:26px; }
.access-gate p { margin:0; color:#b7c0df; }
.access-gate .card-kicker { color:#ff6a4b; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.gate-button { margin-left:auto; border:0; color:var(--navy-dark); background:#fff; cursor:pointer; }
.presentation-card { display: grid; min-height: 360px; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 44px; align-items: stretch; padding: 18px; }
.presentation-cover { position: relative; display: flex; min-height: 320px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 30px; border-radius: 16px; background: linear-gradient(145deg, #123765, #07172b); }
.presentation-cover::before { position: absolute; inset: 0; content: ""; opacity: .2; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 22px 22px; }
.presentation-cover > span { z-index: 2; margin-bottom: auto; color: #2dd4bf; font: 800 clamp(34px, 5vw, 62px)/1 "Manrope", sans-serif; letter-spacing: -.06em; }
.presentation-cover small { z-index: 2; color: #d8e5f6; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cover-rings { position: absolute; top: 25%; right: -8%; width: 62%; aspect-ratio: 1; border: 2px solid rgba(45,212,191,.75); border-radius: 50%; box-shadow: 0 0 0 34px rgba(31,111,235,.16), 0 0 0 68px rgba(45,212,191,.08); }
.presentation-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px 60px 30px 0; }
.presentation-copy .card-kicker { margin-bottom: 22px; color: #2dd4bf; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.presentation-copy h3 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; }
.presentation-copy > p:not(.card-kicker) { max-width: 580px; font-size: 18px; line-height: 1.6; }
.presentation-copy strong { margin-top: 34px; color: white; font-size: 15px; }
.presentation-copy strong span { margin-left: 8px; color: #2dd4bf; }
.resource-grid[hidden], .access-gate[hidden] { display:none; }
.diagram-cover { background:linear-gradient(145deg,#2a1854,#101532); }
.diagram-cover > span { color:#ff795e; }
.diagram-lines { position:absolute; top:38%; right:10%; left:10%; display:flex; justify-content:center; gap:18px; border-top:2px solid rgba(255,255,255,.4); }
.diagram-lines i { width:20%; height:70px; border-right:2px solid rgba(255,255,255,.4); border-bottom:2px solid rgba(255,255,255,.4); }
.login-modal { width:min(92vw,480px); padding:42px; border:0; border-radius:24px; color:var(--ink); box-shadow:0 28px 80px rgba(7,15,50,.35); }
.login-modal::backdrop { background:rgba(6,12,35,.72); backdrop-filter:blur(8px); }
.login-modal img { width:145px; }
.login-modal .card-kicker { margin:28px 0 8px; color:var(--orange); font-size:11px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.login-modal h2 { margin-bottom:10px; color:var(--navy-dark); font-size:36px; }
.modal-intro { margin:0 0 26px; color:var(--muted); line-height:1.5; }
.modal-close { position:absolute; top:18px; right:20px; border:0; color:var(--muted); background:none; font-size:30px; cursor:pointer; }
.login-modal form,.login-modal label { display:flex; flex-direction:column; }
.login-modal form { gap:18px; }
.login-modal label { gap:7px; color:#344054; font-size:13px; font-weight:700; }
.login-modal input { min-height:48px; padding:0 14px; border:1px solid #d0d5dd; border-radius:10px; font:15px "DM Sans",sans-serif; }
.login-modal form .button { width:100%; border:0; cursor:pointer; }
.login-message { min-height:18px; margin:0; color:#c83222; font-size:13px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px clamp(24px, 7vw, 120px); border-top: 1px solid var(--line); font-size: 14px; }
footer img { width: 135px; }
footer p { color: var(--muted); }
footer a { color: var(--navy); font-weight: 700; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 670px; }
  .hero-visual { min-height: 520px; }
  .about { grid-template-columns: 1fr; }
  .about-text { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .presentation-card { grid-template-columns: 1fr; }
  .presentation-copy { padding: 20px 16px 24px; }
  .access-gate { align-items:flex-start; flex-direction:column; }
  .gate-button { width:100%; margin-left:0; }
}

@media (max-width: 560px) {
  .site-header { min-height: 76px; padding-inline: 18px; }
  .brand img { width: 130px; }
  .header-action { padding: 10px 14px; font-size: 12px; }
  .hero-copy { min-height: 610px; padding-inline: 22px; }
  h1 { font-size: 48px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .section { padding: 84px 22px; }
  .about-content h2 { margin: 12px 0 40px; }
  footer { align-items: flex-start; flex-direction: column; }
}
