:root {
  color-scheme: light;
  --accent: #19bde8;
  --accent-bright: #57dcff;
  --accent-dark: #007b9f;
  --accent-text: #00617f;
  --ink: #0a0c11;
  --ink-soft: #171a21;
  --paper: #f4f3ef;
  --paper-pure: #fff;
  --muted: #656a73;
  --line: rgba(10, 12, 17, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 18px;
  --focus: #007b9f;
  font-family: Inter, ui-sans-serif, -apple-system, system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, .button, .nav-item, .mobile-nav a, .request-link { min-height: 44px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper-pure); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; display: flex; flex-direction: column; padding: 26px 18px; background: var(--ink); color: var(--paper-pure); }
.private-staging .sidebar { top: 68px; }
.brand { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--paper-pure); color: var(--ink); font-weight: 900; }
.brand-dot { color: var(--accent); font-size: 1.35em; line-height: 1; }
.product-nav { display: grid; gap: 8px; margin-top: 42px; }
.nav-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #c7cbd2; text-align: left; text-decoration: none; font: inherit; }
.nav-item.active { background: rgba(25, 189, 232, .16); color: var(--accent-bright); }
.future-item { cursor: not-allowed; opacity: .72; }
.soon { padding: 3px 7px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .64rem; letter-spacing: .03em; white-space: nowrap; }
.identity { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 10px 0; border-top: 1px solid var(--line-dark); }
.identity small { display: block; color: #adb1b9; margin-top: 3px; }
.avatar { display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 800; }
.main-content { min-height: 100vh; margin-left: 270px; padding: clamp(28px, 6vw, 72px); }
.landing-content { padding-top: clamp(42px, 6vw, 76px); }
.landing-hero { position: relative; max-width: 1120px; min-height: 260px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 auto 52px; padding: clamp(32px, 5vw, 58px); overflow: hidden; border-radius: 28px; background: var(--ink); color: var(--paper-pure); box-shadow: 0 24px 60px rgba(10, 12, 17, .14); }
.landing-hero::after { content: ""; position: absolute; right: 74px; bottom: -48px; width: 170px; height: 170px; border: 24px solid var(--accent); border-radius: 50%; opacity: .9; }
.landing-hero-copy { position: relative; z-index: 1; max-width: 720px; }
.landing-hero h1 { color: var(--paper-pure); font-size: clamp(2.65rem, 6vw, 5.3rem); }
.landing-lede { max-width: 610px; margin: 18px 0 0; color: #c7cbd2; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.55; }
.landing-brand-stamp { position: relative; z-index: 1; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: var(--paper-pure); font-size: 1rem; }
.landing-brand-stamp span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--paper-pure); color: var(--ink); font-size: 2rem; font-weight: 900; }
.landing-brand-stamp strong { color: var(--accent-bright); letter-spacing: -.02em; }
.product-launcher { max-width: 1120px; margin: 0 auto; }
.launcher-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 24px; }
.launcher-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.launcher-heading > p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.55; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { position: relative; min-height: 210px; display: flex; align-items: flex-start; gap: 18px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-pure); color: var(--ink); text-align: left; text-decoration: none; font: inherit; }
.product-card-active { grid-column: span 2; grid-row: span 2; min-height: 436px; align-items: flex-end; padding: 32px; background: var(--accent); border-color: var(--accent); box-shadow: 0 18px 42px rgba(0, 123, 159, .16); transition: transform .16s ease, box-shadow .16s ease; }
.product-card-active:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(0, 123, 159, .22); }
.product-card-future { cursor: not-allowed; }
.product-card-future::after { content: ""; position: absolute; right: -34px; bottom: -58px; width: 112px; height: 112px; border: 18px solid var(--paper); border-radius: 50%; }
.product-icon { position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--paper-pure); font-weight: 850; }
.product-card-active .product-icon { background: var(--paper-pure); color: var(--ink); }
.product-copy { position: relative; z-index: 1; display: grid; gap: 9px; }
.product-copy strong { font-size: 1.28rem; line-height: 1.15; }
.product-copy > span:last-child { color: var(--muted); line-height: 1.5; }
.product-card-active .product-copy > span:last-child { max-width: 500px; color: #12313a; }
.product-card-active .product-copy strong { font-size: clamp(1.65rem, 2.4vw, 2.2rem); }
.product-kicker { color: var(--accent-text); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.product-card-active .product-kicker { color: #093b49; }
.product-arrow { position: absolute; right: 22px; top: 20px; font-size: 1.35rem; font-weight: 800; }
.page-header { max-width: 980px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 auto 34px; }
.page-header.compact { align-items: flex-start; }
.eyebrow { margin: 0 0 8px; color: var(--accent-text); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.landing-eyebrow { color: var(--accent-bright); }
h1 { margin: 0; color: var(--ink); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -.04em; }
h2 { color: var(--ink); }
.lede { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.button { display: inline-flex; min-width: fit-content; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 12px; text-decoration: none; font-weight: 700; transition: transform .16s ease, background-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: #041319; box-shadow: 0 8px 22px rgba(0, 123, 159, .18); }
.button.primary:hover { background: var(--accent-bright); }
.button.secondary { background: rgba(25, 189, 232, .14); color: var(--accent-text); border: 0; }
.panel { max-width: 980px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-pure); box-shadow: 0 12px 38px rgba(10, 12, 17, .06); }
.empty-state { display: grid; justify-items: center; padding: clamp(42px, 8vw, 80px) 24px; text-align: center; }
.empty-state p { max-width: 520px; margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(25, 189, 232, .14); color: var(--accent-dark); font-size: 1.5rem; }
.request-list { max-width: 980px; display: grid; gap: 12px; margin: 0 auto; padding: 0; list-style: none; }
.request-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-pure); text-decoration: none; }
.request-link:hover { border-color: var(--accent-dark); }
.request-title { font-weight: 750; }
.status-label { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: rgba(25, 189, 232, .14); color: var(--accent-text); font-size: .78rem; font-weight: 750; }
.detail-grid { display: grid; gap: 18px; padding: clamp(28px, 6vw, 54px); }
.detail-label { margin: 0 0 5px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-value { margin: 0; }
.entry-shell { padding: clamp(28px, 6vw, 54px); }
.readiness-list { display: grid; gap: 14px; padding-left: 22px; line-height: 1.5; }
.notice { margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--paper); color: var(--muted); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 22px; color: var(--accent-text); font-weight: 700; }
.form-shell, .review-grid { padding: clamp(24px, 5vw, 48px); }
.listing-form { display: grid; gap: 22px; }
.form-field { display: grid; gap: 7px; }
.form-field > label { font-weight: 750; }
.form-field input[type="text"], .form-field input[type="email"], .form-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-pure); color: var(--ink); font: inherit; }
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #a22929; }
.form-field fieldset { margin: 0; padding: 0; border: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice-row label { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 10px; }
.help-text, .field-error { margin: 0; font-size: .88rem; line-height: 1.45; }
.help-text { color: var(--muted); }
.field-error { color: #8b1f1f; font-weight: 700; }
.error-summary { margin-bottom: 26px; padding: 16px 18px; border-left: 4px solid #a22929; border-radius: 8px; background: #fff1f1; }
.error-summary h3 { margin: 0 0 8px; }
.error-summary ul { margin-bottom: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.demo-banner { max-width: 980px; display: grid; gap: 5px; margin: 0 auto 20px; padding: 16px 18px; border: 1px solid #a76b00; border-radius: 12px; background: #fff4d8; }
.profile-card { max-width: 980px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 0 auto 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-pure); }
.profile-card .detail-label { flex-basis: 100%; }
.profile-card span { color: var(--muted); overflow-wrap: anywhere; }
.state-callout { max-width: 980px; margin: 0 auto 20px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); }
.state-callout h2 { margin: 0 0 7px; font-size: 1.15rem; }
.state-callout p, .section-intro { margin: 0; color: var(--muted); line-height: 1.55; }
.state-callout.pending { background: #eaf8fc; border-color: var(--accent-dark); }
.state-callout.success { background: #edf8ef; border-color: #478354; }
.state-callout.attention { background: #fff1f1; border-color: #a22929; }
.section-stack { margin-top: 20px; }
.reference-value { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.summary-list { display: grid; gap: 10px; margin: 10px 0 0; }
.summary-list div { display: grid; grid-template-columns: minmax(150px, .6fr) 1fr; gap: 14px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; overflow-wrap: anywhere; }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); }
.timeline time { color: var(--muted); font-size: .86rem; }
.page-with-final-actions { padding-bottom: max(clamp(72px, 9vw, 120px), calc(104px + env(safe-area-inset-bottom))); }
.review-grid { display: grid; gap: 0; }
.review-row { padding: 15px 0; border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.csrf-holder { display: none; }
.mobile-nav { display: none; }
.staging-banner { align-items: center; background: #7a2100; color: #fff; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; justify-content: center; padding: .75rem 1rem; position: relative; z-index: 20; }
.staging-banner form { margin: 0; }
.staging-banner button { background: #fff; border: 0; border-radius: 999px; color: #5a1800; cursor: pointer; min-height: 44px; padding: .5rem 1rem; }
.staging-access-page { align-items: center; background: var(--paper); display: flex; justify-content: center; min-height: 100vh; padding: 1rem; }
.staging-access-card { background: var(--paper-pure); border-radius: var(--radius); box-shadow: 0 18px 55px rgba(10,12,17,.14); max-width: 30rem; padding: clamp(1.5rem,5vw,3rem); width: 100%; }
.staging-access-card form { display: grid; gap: .75rem; }
.staging-access-card input[type="password"] { min-height: 44px; }
@media (max-width: 720px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 28px 18px 104px; }
  .landing-content { padding-top: 24px; }
  .landing-hero { min-height: 0; align-items: flex-start; margin-bottom: 32px; padding: 28px 24px; border-radius: 22px; }
  .landing-hero::after { right: -44px; bottom: -58px; width: 130px; height: 130px; border-width: 18px; }
  .landing-hero h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .landing-lede { margin-top: 13px; font-size: .98rem; }
  .landing-brand-stamp { display: none; }
  .launcher-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 18px; }
  .launcher-heading > p { font-size: .92rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { min-height: 180px; flex-direction: column; gap: 16px; padding: 18px; border-radius: 18px; }
  .product-card-active { grid-column: 1 / -1; grid-row: auto; min-height: 164px; align-items: flex-start; padding: 18px; }
  .product-card-active .product-copy strong { font-size: 1.05rem; }
  .product-copy { gap: 7px; }
  .product-copy strong { font-size: 1.05rem; }
  .product-copy > span:last-child { font-size: .86rem; line-height: 1.4; }
  .product-arrow { right: 18px; top: 16px; }
  .main-content.page-with-final-actions { padding-bottom: calc(128px + env(safe-area-inset-bottom)); }
  .page-header { align-items: stretch; flex-direction: column; margin-bottom: 24px; }
  .button.primary { width: 100%; }
  .form-actions { flex-direction: column; }
  .form-actions .button { width: 100%; }
  .request-link { align-items: flex-start; flex-direction: column; gap: 10px; }
  .profile-card { align-items: flex-start; flex-direction: column; }
  .summary-list div { grid-template-columns: 1fr; gap: 3px; }
  .timeline li { align-items: flex-start; flex-direction: column; gap: 5px; }
  .mobile-nav { position: fixed; z-index: 20; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(10,12,17,.08); }
  .mobile-nav a { display: grid; place-items: center; border-radius: 9px; color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; }
  .mobile-nav a[aria-current="page"] { background: rgba(25, 189, 232, .14); color: var(--accent-text); }
}

/* Google access mode uses the governed JetAI visual language without a password field. */
.oauth-access-page { background: #f4f3ef; color: #0a0c11; font: 16px/1.5 system-ui, sans-serif; margin: 0; }
.oauth-access-card { background: #fff; border-radius: 18px; box-shadow: 0 18px 55px #0a0c1124; margin: 10vh auto; max-width: 30rem; padding: clamp(1.5rem, 5vw, 3rem); }
.oauth-button { background: #007b9f; border-radius: 9px; color: #fff; display: block; font-weight: 700; margin-top: 1.25rem; min-height: 44px; padding: .7rem 1rem; text-align: center; text-decoration: none; }
.oauth-demo-note { color: #525866; font-size: .875rem; margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
