/* =============================================
   EXACC NEWS — Premium dark · Portal-inspired
   Floating nav · pill radii · glow rings
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Core brand tokens */
  --bg:            #050911;
  --glass:         rgba(255,255,255,0.04);
  --glass-strong:  rgba(255,255,255,0.07);
  --glass-border:  rgba(255,255,255,0.08);
  --glass-border-strong: rgba(255,255,255,0.13);

  --text:          #f0f4f8;
  --text-soft:     #9DB2CB; /* a11y: 9.17:1 on --bg (was #7d99b4) */
  --text-muted:    #708BA8; /* a11y: 5.64:1 on --bg (was #3d5570, 2.59:1) */

  --orange:        #E9702C;
  --orange-light:  #e68b55;
  --orange-deep:   #c4601e;
  --gradient:      linear-gradient(135deg, #c4601e 0%, #e68b55 100%);
  --gradient-h:    linear-gradient(90deg, #c4601e 0%, #e68b55 100%);

  /* Glow rings — Portal technique adapted to dark/orange */
  --glow-ring:     0 0 0 1px rgba(230,139,85,0.18), 0 0 0 5px rgba(230,139,85,0.07);
  --glow-ring-hover: 0 0 0 1px rgba(230,139,85,0.35), 0 0 0 5px rgba(230,139,85,0.12);
  --glow-sm:       0 0 16px rgba(233,112,44,0.25);
  --glow-md:       0 0 32px rgba(233,112,44,0.2);

  /* Portal-style radii */
  --radius-nav:    24px;   /* floating nav capsule */
  --radius-card:   24px;   /* cards — was 12px */
  --radius-image:  20px;   /* images / aside blocks */
  --radius-btn:    50px;   /* all buttons — full pill */
  --radius-badge:  50px;   /* tags, status badges */

  --maxw:   1080px;
  --blur:   blur(20px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- A11Y: visible keyboard focus (keyboard only, not mouse) ---- */
:focus-visible {
  outline: 2px solid var(--orange-light);
  outline-offset: 2px;
}

/* ---- BODY + MESH ---- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated mesh gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 10% -5%, rgba(196,96,30,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 110%, rgba(230,139,85,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(233,112,44,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: mesh-drift 18s ease-in-out infinite alternate;
}
/* Noise texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
@keyframes mesh-drift {
  0%   { transform: scale(1) translate(0,0); }
  50%  { transform: scale(1.05) translate(1%,1%); }
  100% { transform: scale(1) translate(-1%,-1%); }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ============================================
   FLOATING NAV CAPSULE  (Portal technique)
   ============================================ */
header.top {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--maxw);
  z-index: 200;
  background: rgba(5, 9, 17, 0.82);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-nav);
  /* Portal glow ring adapted to dark/orange */
  box-shadow:
    var(--glow-ring),
    0 8px 32px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s;
}
header.top:hover {
  box-shadow: var(--glow-ring-hover), 0 8px 32px rgba(0,0,0,0.5);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  height: 56px;
  gap: 24px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(230,139,85,0.12);
  border: 1px solid rgba(230,139,85,0.28);
  border-radius: var(--radius-badge);
  padding: 3px 10px;
  line-height: 1;
}
.brand .by { display: none; }
.brand-logo { display: flex; align-items: center; gap: 9px; }
.brand-wordmark { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; }

/* Nav links */
.top-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.top-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  transition: color 0.2s, background 0.2s;
}
.top-link:hover { color: var(--text); background: var(--glass-strong); }
.top-link.outline {
  border: 1px solid var(--glass-border-strong);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.top-link.outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: var(--glass-strong); }
.top-link.cta {
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-btn);
  box-shadow: var(--glow-sm);
  transition: opacity 0.2s, box-shadow 0.2s;
}
.top-link.cta:hover { opacity: 0.9; box-shadow: var(--glow-md); }

/* Push content below the floating nav */
main.wrap { padding-top: 88px; }

/* ====================================================
   RETRO-GRID HERO  (adapted from React component)
   ==================================================== */

/* Perspective grid background */
.hero-retro {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

/* Grid container — provides perspective */
.retro-grid {
  position: absolute;
  inset: 0;
  perspective: 200px;
  pointer-events: none;
  z-index: 0;
}
/* Tilted plane */
.rg-inner {
  position: absolute;
  inset: 0;
  transform: rotateX(65deg);
  transform-style: preserve-3d;
}
/* The scrolling grid lines */
.rg-lines {
  position: absolute;
  top: 0; left: -200%;
  width: 600vw;
  height: 300vh;
  transform-origin: 100% 0 0;
  background-image:
    linear-gradient(to right, rgba(196,96,30,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(196,96,30,0.18) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-scroll 12s linear infinite;
}
/* Fade from the bg colour at the bottom */
.rg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 10%, transparent 85%);
}
@keyframes grid-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(50px); }
}

/* Content sits above the grid */
.hero-retro-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange-light);
  border: 1px solid rgba(230,139,85,0.3);
  border-radius: var(--radius-badge);
  padding: 6px 16px;
  background: rgba(230,139,85,0.07);
  margin-bottom: 36px;
  backdrop-filter: var(--blur);
}

/* Main headline */
.hero-retro-h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text);
  max-width: none;
  margin: 0 auto 24px;
}
.hero-retro-h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.hero-retro-desc {
  font-size: clamp(15px, 1.8vw, 17.5px);
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* CTA row */
.hero-retro-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Spinning gradient border CTA — Portal technique */
.cta-spin-wrap {
  position: relative;
  display: inline-block;
  border-radius: 50px;
  padding: 2px;
  overflow: hidden;
}
/* The spinning conic gradient border */
.cta-spin-wrap::before {
  content: '';
  position: absolute;
  inset: -200%;
  animation: cta-spin 2.5s linear infinite;
  background: conic-gradient(
    from 90deg at 50% 50%,
    #e68b55 0%,
    #c4601e 40%,
    #050911 60%,
    #c4601e 80%,
    #e68b55 100%
  );
}
@keyframes cta-spin {
  to { transform: rotate(360deg); }
}
/* Inner pill button */
.cta-spin-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.cta-spin-btn:hover {
  background: rgba(196,96,30,0.15);
  color: var(--orange-light);
}

/* Secondary ghost link */
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  border: 1px solid var(--glass-border-strong);
  background: var(--glass);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  text-decoration: none;
  backdrop-filter: var(--blur);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cta-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.22);
  background: var(--glass-strong);
}

/* Bottom product image */
.hero-retro-img {
  position: relative;
  z-index: 1;
  margin: 64px 0 0;
  padding: 0 24px;
}
.hero-retro-img img {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--glow-ring),
    0 32px 80px rgba(0,0,0,0.6);
}

/* ---- LEGACY HERO (kept for fallback) ---- */
.hero { padding: 80px 0 64px; }

h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  max-width: 16ch;
}

.lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.9vw, 18.5px);
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.7;
}

/* Status pill */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-light);
  border: 1px solid rgba(230,139,85,0.3);
  border-radius: var(--radius-badge);
  padding: 5px 14px;
  margin-bottom: 28px;
  background: rgba(230,139,85,0.07);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 8px var(--orange-light);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; box-shadow:0 0 8px var(--orange-light); }
  50%      { opacity:0.4; box-shadow:0 0 2px var(--orange-light); }
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.hero-main { min-width: 0; }

/* "What is Exacc?" callout — Portal card style */
.hero-feature {
  margin-top: 32px;
  border: 1px solid var(--glass-border);
  border-left: 2px solid var(--orange-light);
  border-radius: var(--radius-card);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: 20px 24px;
  box-shadow: var(--glow-ring);
  transition: box-shadow 0.3s;
}
.hero-feature:hover { box-shadow: var(--glow-ring-hover); }
.hero-feature-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 8px;
}
.hero-feature p { margin: 0; font-size: 15px; color: var(--text-soft); line-height: 1.65; }
.hero-feature a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.hero-feature a:hover { color: var(--text); }

/* Latest sidebar — Portal card elevation */
.hero-latest {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--glow-ring), 0 4px 24px rgba(0,0,0,0.35);
}
.hero-latest-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hl-item {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.hl-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gradient-h);
  opacity: 0;
  transition: opacity 0.2s;
}
.hl-item:last-child { border-bottom: none; }
.hl-item:hover { background: var(--glass-strong); }
.hl-item:hover::before { opacity: 1; }
.hl-item:hover .hl-arrow { transform: translateX(4px); color: var(--orange-light); }
.hl-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.hl-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.hl-date { font-size: 11px; color: var(--text-muted); }
.hl-arrow { color: rgba(255,255,255,0.2); font-size: 13px; transition: transform 0.2s, color 0.2s; }

/* ============================================
   LAUNCH / FEATURED — Portal glow ring cards
   ============================================ */
.launch { margin: 16px 0 96px; }
.launch-grid {
  display: grid;
  grid-template-columns: 1fr 272px;
  gap: 20px;
  align-items: stretch;
}
.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 18px;
}

/* Main launch card */
.launch-main {
  min-width: 0;
  border-radius: var(--radius-card);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  /* Portal-style double glow ring + inner highlight */
  box-shadow:
    var(--glow-ring),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 8px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(230,139,85,0.15);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.launch-main:hover {
  box-shadow: var(--glow-ring-hover), inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 40px rgba(0,0,0,0.5);
  border-color: rgba(230,139,85,0.28);
}
/* Gradient accent top bar */
.launch-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--gradient-h);
  box-shadow: 0 0 12px rgba(233,112,44,0.5);
}
/* Inner atmospheric glow */
.launch-main::after {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(196,96,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.launch h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  max-width: 26ch;
  position: relative;
}
.launch p { color: var(--text-soft); font-size: 15.5px; margin-top: 14px; max-width: 60ch; line-height: 1.7; }
.launch ul { list-style: none; padding: 0; margin: 10px 0 0; }
.launch li { color: var(--text-soft); font-size: 15px; padding: 4px 0; }
.launch li::before { content: '✓  '; color: var(--orange-light); font-weight: 700; }
.launch-date { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 22px; }

/* Demo ad tile */
.launch-ad {
  background: linear-gradient(145deg, rgba(196,96,30,0.2) 0%, rgba(230,139,85,0.1) 100%);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(233,112,44,0.22);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  /* Portal glow ring — orange tinted */
  box-shadow:
    0 0 0 1px rgba(230,139,85,0.15),
    0 0 0 5px rgba(230,139,85,0.06),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 8px 32px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.launch-ad:hover {
  border-color: rgba(233,112,44,0.4);
  box-shadow:
    0 0 0 1px rgba(230,139,85,0.3),
    0 0 0 5px rgba(230,139,85,0.1),
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 32px rgba(0,0,0,0.4);
}
.launch-ad::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.launch-ad::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(233,112,44,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.launch-ad-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-light); position: relative; z-index: 1; }
.launch-ad-title { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; color: var(--text); line-height: 1.2; position: relative; z-index: 1; }
.launch-ad .launch-ad-sub { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.55; position: relative; z-index: 1; }
.launch-ad .btn-demo {
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-btn);   /* full pill — Portal technique */
  padding: 13px 22px;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--glow-sm);
  position: relative;
  z-index: 1;
}
.launch-ad .btn-demo:hover { opacity: 0.9; box-shadow: var(--glow-md); transform: translateY(-1px); }
.launch-ad-link { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--orange-light); text-decoration: none; border-bottom: 1px solid rgba(230,139,85,0.3); padding-bottom: 2px; z-index: 1; position: relative; transition: border-color 0.2s; }
.launch-ad-link:hover { border-bottom-color: var(--orange-light); }

/* ---- CHANGELOG FEED ---- */
.feed { padding: 8px 0 96px; }
.feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border-strong);
  padding-top: 24px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 10px;
}
.feed-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.feed-head .sub { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

.entry {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding-left 0.25s;
}
.entry:hover { padding-left: 6px; }
.entry-date { font-size: 11.5px; font-weight: 500; color: var(--text-muted); padding-top: 4px; }

/* Full pill tags — Portal badge technique */
.entry-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-badge);   /* 50px — full pill */
  margin-bottom: 10px;
}
.entry-tag.release {
  color: var(--orange-light);
  background: rgba(230,139,85,0.1);
  border: 1px solid rgba(230,139,85,0.28);
}
.entry-tag.improvement {
  color: #f0c060;
  background: rgba(240,192,96,0.08);
  border: 1px solid rgba(240,192,96,0.22);
}
.entry-title { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); line-height: 1.3; }
.entry-body { font-size: 15px; color: var(--text-soft); margin-top: 7px; max-width: 64ch; line-height: 1.7; }
.entry-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange-light);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(230,139,85,0.28);
  transition: border-color 0.2s, gap 0.2s;
}
.entry-more:hover { border-bottom-color: var(--orange-light); gap: 8px; }

/* ---- ROADMAP ---- */
.roadmap { padding: 24px 0 96px; }
.rm-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid var(--glass-border-strong);
  padding-top: 24px;
  margin-bottom: 8px;
}
.rm-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.rm-head .rm-label {
  font-size: 12px; font-weight: 800; letter-spacing: 1.8px;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: var(--radius-badge);   /* full pill */
}
.rm-label.now { color: var(--orange-light); border: 1px solid rgba(230,139,85,0.3); background: rgba(230,139,85,0.08); }
.rm-label.next { color: #f0c060; border: 1px solid rgba(240,192,96,0.25); background: rgba(240,192,96,0.07); }
.rm-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
.rm-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 20px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 4px;
}
.rm-item:hover {
  background: var(--glass);
  border-color: var(--glass-border);
  box-shadow: var(--glow-ring);
}
.rm-no { font-size: 12px; font-weight: 700; color: var(--text-muted); padding-top: 3px; font-family: ui-monospace, monospace; }
.rm-title { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
.rm-desc { font-size: 14px; color: var(--text-soft); margin-top: 5px; line-height: 1.65; }
.rm-status {
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; margin-top: 10px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
}
.rm-status.shipped { color: var(--orange-light); background: rgba(230,139,85,0.08); border: 1px solid rgba(230,139,85,0.2); }
.rm-status.building { color: #f0c060; background: rgba(240,192,96,0.07); border: 1px solid rgba(240,192,96,0.18); }
.rm-status.planned { color: var(--text-muted); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }

/* ---- SUBSCRIBE ---- */
.news { padding: 52px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.news-card {
  border: 1px solid rgba(230,139,85,0.15);
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-radius: var(--radius-card);
  padding: 44px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-ring), inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 40px rgba(0,0,0,0.4);
}
.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(196,96,30,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.news-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-light), transparent 70%);
}
.news-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.4px; position: relative; }
.news-card p { color: var(--text-soft); font-size: 14.5px; margin-top: 7px; max-width: 50ch; line-height: 1.65; position: relative; }

/* Buttons — all full pills (Portal technique) */
a.btn-primary {
  font-weight: 700; font-size: 15px;
  background: var(--gradient); color: #fff;
  text-decoration: none;
  border-radius: var(--radius-btn);   /* 50px pill */
  padding: 14px 28px;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--glow-sm); display: inline-block;
}
a.btn-primary:hover { opacity: 0.9; box-shadow: var(--glow-md); transform: translateY(-1px); }

a.btn-secondary {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--orange-light);
  text-decoration: none;
  border: 1px solid rgba(230,139,85,0.35);
  padding: 13px 24px;
  border-radius: var(--radius-btn);   /* 50px pill */
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: inline-block;
}
a.btn-secondary:hover { background: rgba(230,139,85,0.1); border-color: rgba(230,139,85,0.6); box-shadow: var(--glow-sm); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.cta-sub { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ---- PROSE PAGES ---- */
.doc { padding: 64px 0 84px; max-width: 780px; }
.doc h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 10px; letter-spacing: -0.8px; max-width: none; }
.doc .updated { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 44px; }
.doc h2 { font-size: 18px; font-weight: 700; margin: 38px 0 12px; color: var(--text); letter-spacing: -0.2px; }
.doc p, .doc li { color: var(--text-soft); font-size: 16px; margin-bottom: 14px; line-height: 1.75; }
.doc ul { padding-left: 24px; margin-bottom: 14px; }
.doc li::marker { color: var(--orange-light); }
.doc a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: var(--text); }
.placeholder { background: rgba(240,192,96,0.1); border: 1px dashed rgba(240,192,96,0.4); color: #f0c060; padding: 2px 8px; border-radius: 4px; font-family: ui-monospace, monospace; font-size: 13px; }

/* ---- CONFIRM ---- */
.confirm { padding: 100px 0; text-align: center; max-width: 540px; margin: 0 auto; }
.confirm .mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--orange-light);
  background: rgba(230,139,85,0.08);
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 30px;
  box-shadow: var(--glow-ring);
  animation: mark-appear 0.5s cubic-bezier(0.22,1,0.36,1);
}
@keyframes mark-appear {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.confirm .mark svg { width: 26px; height: 26px; stroke: var(--orange-light); }
.confirm h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin-bottom: 18px; max-width: none; letter-spacing: -0.5px; }
.confirm p { color: var(--text-soft); font-size: 16.5px; margin-bottom: 12px; }
.confirm a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 0 60px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  position: relative; z-index: 1;
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px 36px; justify-content: space-between; align-items: flex-start; }
footer a { color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--orange-light); }
.foot-legal { max-width: 54ch; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; font-weight: 500; }

/* ---- SCROLL ENTRANCE ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  header.top { top: 12px; width: calc(100% - 32px); }
  main.wrap { padding-top: 80px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .launch-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .entry { grid-template-columns: 1fr; gap: 4px; }
  .entry-date { padding-top: 0; }
  .hero { padding: 56px 0 44px; }
  .news-card { flex-direction: column; align-items: flex-start; padding: 28px 26px; }
  .top-inner { padding: 8px 16px; }
  .top-nav .top-link:not(.cta):not(.outline) { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  h1 { letter-spacing: -1px; }
  header.top { top: 8px; width: calc(100% - 24px); border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  body::before { animation: none; }
  .rg-lines { animation: none; }
  .cta-spin-wrap::before { animation: none; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}
