@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --ink: #0D1B2A;
  --cyan: #00C2FF;
  --orange: #FF6B35;
  --ink-mid: #162336;
  --ink-light: #1E2F42;
  --text-base: #C8D8E8;
  --text-muted: #6B8BA4;
  --text-bright: #EAF4FF;
  --radius-card: 28px;
  --radius-btn: 6px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max-content: 760px;
  --max-wide: 1200px;
  --header-h: 100px;
  --transition: 0.2s ease;
}

/* ===========================
   RESET / BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration: underline; }
a:hover { color: var(--orange); }

ul, ol { padding-left: 1.4rem; }

p { margin-bottom: 1rem; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

h2 { font-size: 1.75rem; margin-bottom: 0.3rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }

/* ===========================
   ANNOUNCEMENT STRIP
   =========================== */
.announce-strip {
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 1rem;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-light);
}

.header-brand-row {
  display: flex;
  align-items: center;
  padding: 10px 2rem;
  border-bottom: 1px solid var(--ink-light);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-bright);
}

.brand-link:hover { color: var(--cyan); }

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1rem;
  min-height: 52px;
}

.main-nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.main-nav p a {
  display: inline-flex;
  align-items: center;
  padding: 14px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-base);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  min-height: 44px;
  white-space: nowrap;
}

.main-nav p a:hover,
.main-nav p a[aria-current="page"] {
  color: var(--cyan);
}

.header-ctas {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* CTA Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.cta-signup {
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--cyan);
}

.cta-signup:hover {
  background: #00aae0;
  border-color: #00aae0;
  color: var(--ink);
}

.cta-login {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.cta-login:hover {
  background: var(--cyan);
  color: var(--ink);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 2px solid var(--orange);
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: #e55c28;
  border-color: #e55c28;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  background: transparent;
  color: var(--text-bright);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-btn);
  border: 2px solid var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ===========================
   KINETIC ANIMATIONS
   =========================== */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: var(--cyan); }
  50%       { border-color: transparent; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kinetic-hero {
  animation: slideUpFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kinetic-reveal {
  animation: revealUp 0.6s ease both;
  animation-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-hero,
  .kinetic-reveal,
  .card,
  .js-stagger {
    animation: none !important;
    transition: none !important;
  }
}

/* ===========================
   HERO — HOME
   =========================== */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding: 120px 2rem 140px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, var(--text-bright) 40%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-deco {
  position: absolute;
  top: 10%;
  right: -80px;
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-ring {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 194, 255, 0.12);
  animation: gradientShift 8s ease infinite;
}

.hero-deco-ring::before {
  content: '';
  display: block;
  width: 70%;
  height: 70%;
  margin: 15% auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 53, 0.1);
}

.hero-slant {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--ink-mid);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* ===========================
   LAYOUT SHELL (sidebar + content)
   =========================== */
.home-content-section,
.cat-body-section,
.article-section,
.inner-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3rem 2rem;
  align-items: start;
}

.content-main {
  min-width: 0;
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-inner {
  background: var(--ink-mid);
  border: 1px solid var(--ink-light);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.sidebar-heading {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.sidebar-inner .subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sidebar-link {
  display: block;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-base);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sidebar-link:hover { color: var(--cyan); }

.sidebar-related {
  list-style: none;
  padding: 0;
}

.sidebar-related li a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  min-height: 44px;
  font-size: 0.88rem;
  color: var(--text-base);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-related li a:hover { color: var(--cyan); }

.sidebar-trust {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-trust a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===========================
   PAGE CONTENT (body copy)
   =========================== */
.page-content {
  line-height: 1.75;
  font-size: 1rem;
}

.page-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.page-content h2 {
  font-size: 1.55rem;
  margin-top: 2.5rem;
  margin-bottom: 0.3rem;
  color: var(--text-bright);
}

.page-content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.2rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.page-content th,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--ink-light);
  text-align: left;
}

.page-content th {
  background: var(--ink-mid);
  color: var(--cyan);
  font-weight: 700;
}

.page-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--ink-mid);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-base);
}

/* ===========================
   SUBTITLE / SUBHEADING
   =========================== */
p.subtitle, p.subhead, p.desc, p.lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* ===========================
   CARDS — HOME
   =========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--ink-mid);
  border: 1.5px solid var(--ink-light);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.card-title a {
  color: var(--text-bright);
  text-decoration: none;
  font-size: 1.05rem;
}

.card-title a:hover { color: var(--cyan); }

.card-date {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 6px 0;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.read-more:hover { color: var(--cyan); }

.section-heading {
  font-size: 1.5rem;
  color: var(--text-bright);
  margin-bottom: 0.3rem;
  margin-top: 2.5rem;
}

.child-cards {
  margin-top: 3rem;
}

/* ===========================
   CATEGORY HERO
   =========================== */
.cat-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  align-items: start;
  border-bottom: 1px solid var(--ink-light);
}

.cat-aside {
  /* left column */
}

.aside-inner {
  background: var(--ink-mid);
  border: 1px solid var(--ink-light);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.aside-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.aside-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-toc li a {
  display: flex;
  align-items: center;
  padding: 7px 0;
  min-height: 44px;
  font-size: 0.85rem;
  color: var(--text-base);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.aside-toc li a:hover { color: var(--cyan); }

.cat-hero-text {
  padding-top: 0.5rem;
}

.page-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}

.cat-h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  background: linear-gradient(120deg, var(--text-bright) 50%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.cat-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ===========================
   CATEGORY TABLE
   =========================== */
.cat-table-wrap {
  margin-top: 2.5rem;
}

.child-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.child-table thead th {
  background: var(--ink-mid);
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--cyan);
}

.child-table tbody tr {
  border-bottom: 1px solid var(--ink-light);
  transition: background var(--transition);
}

.child-table tbody tr:hover {
  background: var(--ink-mid);
}

.child-table td {
  padding: 12px 14px;
  vertical-align: top;
}

.tbl-title a {
  color: var(--text-bright);
  font-weight: 700;
  text-decoration: none;
}

.tbl-title a:hover { color: var(--cyan); }

.tbl-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.tbl-date {
  color: var(--text-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ===========================
   ARTICLE
   =========================== */
.article-section {
  grid-template-columns: 220px 1fr auto;
}

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

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--cyan); }

.stage-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--ink-light);
  color: var(--text-muted);
}

.stage-awareness  { background: rgba(0, 194, 255, 0.15); color: var(--cyan); }
.stage-consideration { background: rgba(255, 107, 53, 0.15); color: var(--orange); }
.stage-decision   { background: rgba(0, 194, 255, 0.2); color: var(--cyan); }

.article-h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.byline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.byline time { color: var(--cyan); }

.article-hero-fig {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.article-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  border-top: 1px solid var(--ink-light);
  padding-top: 1.5rem;
}

.article-deco-fig,
.inner-deco-fig {
  width: 4px;
  position: relative;
  padding-top: 2rem;
}

.deco-bar {
  display: block;
  width: 4px;
  height: 120px;
  background: linear-gradient(to bottom, var(--cyan), var(--orange));
  border-radius: 2px;
  position: sticky;
  top: 140px;
}

/* ===========================
   INNER (ABOUT / PRIVACY)
   =========================== */
.inner-section {
  grid-template-columns: 220px 1fr auto;
}

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

.inner-h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  margin-bottom: 1.5rem;
}

/* ===========================
   AUTHOR SECTION
   =========================== */
.author-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--ink-mid);
  border: 1.5px solid var(--ink-light);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--cyan);
}

.author-heading {
  font-size: 1.1rem;
  color: var(--cyan);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.author-section .subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.author-name-line {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--text-base);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--ink-mid);
  border-top: 1px solid var(--ink-light);
  margin-top: 4rem;
}

.footer-cta-block {
  background: linear-gradient(135deg, var(--ink-light), #1a2d40);
  border-bottom: 1px solid var(--ink-light);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-cta-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.footer-brand-col .brand-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-blurb {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.trust-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.trust-links a:hover { color: var(--cyan); }

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links-col a {
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-base);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition);
}

.footer-links-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--ink-light);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.rg-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 480px;
  text-align: right;
  line-height: 1.4;
}

/* ===========================
   STAGGER JS HOOK
   =========================== */
.js-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 900px) {
  .home-content-section,
  .cat-body-section,
  .article-section,
  .inner-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .cat-hero {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 1.5rem;
  }

  .sidebar {
    position: static;
    order: 2;
  }

  .article-section .sidebar,
  .inner-section .sidebar,
  .cat-body-section .sidebar {
    order: 2;
  }

  .article-deco-fig,
  .inner-deco-fig {
    display: none;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rg-notice {
    text-align: left;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 640px) {
  html { font-size: 16px; }

  .announce-strip { font-size: 0.7rem; }

  .header-brand-row { padding: 8px 1rem; }

  .header-nav-row {
    padding: 0 1rem;
    flex-wrap: wrap;
    min-height: auto;
    gap: 0;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav p {
    flex-wrap: nowrap;
    gap: 0;
    padding-bottom: 2px;
  }

  .main-nav p a {
    font-size: 0.8rem;
    padding: 12px 10px;
  }

  .header-ctas {
    width: 100%;
    padding: 6px 0 8px;
    gap: 6px;
  }

  .cta {
    flex: 1;
    font-size: 0.8rem;
    padding: 10px 10px;
    min-height: 44px;
  }

  .hero-home {
    min-height: 100svh;
    padding: 100px 1.25rem 120px;
  }

  .hero-h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-deco { display: none; }

  .hero-actions { flex-direction: column; gap: 8px; }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cat-h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .article-h1,
  .inner-h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .rg-notice {
    text-align: left;
    font-size: 0.75rem;
  }

  .child-table thead { display: none; }

  .child-table,
  .child-table tbody,
  .child-table tr,
  .child-table td {
    display: block;
    width: 100%;
  }

  .child-table tr {
    background: var(--ink-mid);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--ink-light);
    overflow: hidden;
  }

  .child-table td {
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .child-table td:last-child { border-bottom: none; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}