/* ======================================================================
   D2026 — Global Styles
   ====================================================================== */

/* ---- Theme Tokens --------------------------------------------------- */
:root {
  --bg: #0b0f12;
  --panel: #12171c;
  --ink: #e8eef4;
  --muted: #9fb0c3;
  --accent: #0ea5e9;
  --orange: #f59e0b;       /* orange accent for buttons/links */
  --line: #c0c0c0;         /* silver border so we avoid black-on-black */
  --cyan: #39C6F3;         /* cyan accent for taglines */
  --magenta: #AE578F;      /* magenta accent for hashtags */
  --content: 70ch;         /* column width for centered blocks */
  --rule-extra: 2.5rem;    /* how much longer the rule is than content */
  --rule-width: calc(var(--content) + var(--rule-extra));
}

/* ---- Resets / Base -------------------------------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

a {
  color: var(--ink);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-style: solid;
}


/* ======================================================================
   Launch + Global Navigation (works for both .site-nav and launch .navlinks)
   ====================================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  border-bottom: 2px solid var(--line);
  padding: 10px 0;
  margin-bottom: 16px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none; /* safe even when brand is a <div> */
}

.brand strong { font-weight: 800; }
.brand span { font-weight: 600; color: var(--muted); }

/* Buttons: base */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

/* Primary = D2026 Home (blue) */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3182ce);
  color: #0b0f12;
  font-weight: 600;
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.35);
}

/* Secondary = NYE Launch (orange) */
.btn-secondary {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #0b0f12;
  font-weight: 600;
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
}

/* Launch nav links row */
.navlinks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Standard nav pills (not the two big buttons) */
.navlinks > a:not(.btn-primary):not(.btn-secondary),
.navlinks summary {
  font-size: 13px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.55);
  background: rgba(18, 23, 28, 0.65);
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

/* Dropdown */
.nav-dd { position: relative; }

.nav-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  background: #0f141a;
  border: 1px solid rgba(192, 192, 192, 0.55);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  z-index: 1000;
}

.nav-dd-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nav-dd-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hr {
  height: 1px;
  background: rgba(192, 192, 192, 0.35);
  margin: 10px 0;
}

/* ======================================================================
   Launch page components (used by launch/index.html)
   ====================================================================== */

.hero { padding-bottom: 10px; }

/* ======================================================================
   Launch hero: full-width centered title; constrained left lede
   ====================================================================== */

/* Ensure hero title spans the full container and centers */
.hero h1 {
  max-width: none;
  text-align: center;
}

/* Constrain only the lede + notice to the readable column */
.hero .lede,
.hero .notice {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--muted);
  font-weight: 600;
  margin: 6px 0 10px;
}

.lede { max-width: var(--content); }

.section { margin-top: 18px; }

.cta-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.button-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: rgba(18, 23, 28, 0.65);
  border: 1px solid rgba(192, 192, 192, 0.55);
  border-radius: 16px;
  padding: 14px;
}

.button-card:hover { background: rgba(255, 255, 255, 0.05); }

.button-card .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(192, 192, 192, 0.55);
  font-size: 12px;
  color: var(--muted);
}

.badge.blue {
  border-color: rgba(14, 165, 233, 0.7);
  color: rgba(14, 165, 233, 0.95);
}

.callout, .notice {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 192, 192, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
}

.notice pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .nav-dd-menu { left: 0; right: auto; }
}

/* ---- Layout --------------------------------------------------------- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- Top navigation (for pages that use it) ------------------------- */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--line);
  padding: 10px 0;
  margin-bottom: 16px;
}

.site-nav .brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav .links a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--ink);
}

.site-nav .links a:hover {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

/* ---- Hero header (D2026 home) -------------------------------------- */

header.hero {
  padding: 20px 0 24px;
  border-bottom: 0;
  position: relative;
  text-align: center;
}

header.hero.section--center > *:not(img) {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

/* Logo */

.logo {
  display: block;
  box-shadow:
    0 0 0 1px #c0c0c0,
    0 0 6px rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.logo--xl {
  height: 180px;
  margin: 0 auto 10px;
}

/* Hide <h1> when redundant to logo, but keep for SEO */

header.has-logo h1 {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* Tagline + hashtags */

.tagline {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 6px;
}

.hashtags {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--magenta);
}

/* Silver rule under hero */

header.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(var(--rule-width), calc(100% - 40px));
  height: 2px;
  background: var(--line);
}

/* ---- Typography helpers --------------------------------------------- */

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 0.4rem 0 0;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 8px;
}

h3 {
  font-size: 1.05rem;
  margin: 10px 0 6px;
}

p {
  margin: 0.5rem 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- Centered sections + silver rule ------------------------------- */

.section--center {
  padding-top: 6px;
  text-align: center;
  border-top: 0;
  position: relative;
}

.section--center::before {
  content: "";
  display: block;
  width: min(var(--rule-width), calc(100% - 40px));
  height: 2px;
  background: var(--line);
  margin: 0 auto 10px;
}

/* Avoid double rule when first section follows hero */

header.hero + .section--center {
  padding-top: 0 !important;
}

header.hero + .section--center::before {
  display: none !important;
}

/* Constrain content to column width */

.section--center > * {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.section--center > h2,
.section--center > h3 {
  text-align: center;
}

.section--center > p,
.section--center > ul,
.section--center > ol {
  text-align: left;
}

/* Footer layout (no bar here anymore) */

footer {
  border-top: 0;
  position: relative;
  text-align: center;
  padding: 12px 0 18px;
  font-size: 0.8rem;
}

/* Constrain all footer content to readable column */
footer .container {
  max-width: var(--rule-width);
}

footer .container > * {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

/* ---- Grid & cards (for home + future) ------------------------------ */

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

/* ---- Journey hero layout (Your Journey in the AI Economy) ---------- */

.hero-section {
  margin-top: 8px;
  margin-bottom: 24px;
  padding: 24px 20px 28px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* center the button row */
  gap: 10px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---- Journey hero card --------------------------------------------- */

.hero-card {
  border-radius: 18px;
  background: #11161c;
  padding: 18px 18px 16px;
  border: 1px solid rgba(192, 192, 192, 0.8);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid rgba(148, 163, 184, 0.55);
  margin-bottom: 8px;
}

.hero-card-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #48bb78;
  box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.3);
}

.hero-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-card-text {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.hero-mini {
  background: var(--panel);
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 0.78rem;
}

.hero-mini-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-mini-main {
  font-size: 0.83rem;
  margin-top: 2px;
}

/* ---- Section headers & pills (Journey and other pages) ------------- */

.section-header {
  margin-bottom: 10px;
  text-align: left;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  text-align: left;
}

.section-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 2px;
  text-align: left;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pill {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--muted);
}

.checkbox-group {
  text-align: left;
  display: block; /* Ensure it's not flex-centered */
}

.checkbox-group > div {
  display: block;
  margin-bottom: 0.5rem;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
}

/* ---- Closing note (two short bars around final paragraphs) --------- */

.closing-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 12px;
  text-align: left;
}

/* ---- Responsive tweaks --------------------------------------------- */

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 12px;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding: 24px 14px;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}


/* Current page indicator (blue outline)—works for buttons, nav links, and dropdown triggers */
.navlinks a[aria-current="page"],
.navlinks summary[aria-current="page"],
.site-nav .links a[aria-current="page"],
.site-nav .brand[aria-current="page"],
.btn-primary[aria-current="page"],
.btn-secondary[aria-current="page"]{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Keep #contact anchor from hiding under the header */
#contact { scroll-margin-top: 90px; }

/* Contact lines: label + value on one line (wraps cleanly on small screens) */
.contact-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.contact-label-inline {
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.contact-line a {
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
