/*
 * site.css — FXコンパス v5 (Agency-Grade Rebuild)
 *
 * Self-hosted Inter + Noto Sans JP.
 * "Sunrise" palette with depth layers, glass effects, section rhythm.
 * Mobile-first responsive with hamburger nav.
 */

/* ============================
   0. Self-Hosted Fonts
   ============================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-var.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/noto-sans-jp-var.woff2) format('woff2');
}

/* ============================
   1. Design Tokens
   ============================ */
:root {
  --orange:       #f97316;
  --orange-dark:  #ea580c;
  --orange-light: #fff7ed;
  --sky:          #0284c7;
  --sky-light:    #e0f2fe;
  --green:        #16a34a;
  --green-dark:   #15803d;
  --green-light:  #dcfce7;
  --violet:       #7c3aed;
  --violet-light: #ede9fe;

  --brand:        var(--orange);
  --navy:         #0f172a;
  --navy-soft:    #1e293b;
  --ink:          #0f172a;
  --ink-soft:     #475569;
  --ink-faint:    #94a3b8;
  --bg:           #ffffff;
  --bg-tint:      #f8fafc;
  --bg-tint2:     #f1f5f9;
  --paper:        #ffffff;
  --line:         #e2e8f0;
  --line-soft:    #f1f5f9;
  --pos:          var(--green);
  --pos-bg:       var(--green-light);
  --neg:          #dc2626;
  --neg-bg:       #fef2f2;
  --accent:       var(--orange);

  --grad-hero:    linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  --grad-mesh:    radial-gradient(ellipse at 20% 50%, rgba(249,115,22,.18) 0%, transparent 50%),
                  radial-gradient(ellipse at 80% 20%, rgba(2,132,199,.14) 0%, transparent 50%),
                  radial-gradient(ellipse at 60% 80%, rgba(124,58,237,.1) 0%, transparent 50%);
  --grad-dark:    linear-gradient(180deg, #0f172a 0%, #1a2744 100%);
  --grad-card:    linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.6));

  --wrap:         1120px;
  --wrap-narrow:  780px;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-pill:  999px;

  --shadow-xs:    0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:       0 4px 6px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.03);
  --shadow-md:    0 8px 16px rgba(0,0,0,.06), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg:    0 16px 32px rgba(0,0,0,.08), 0 8px 16px rgba(0,0,0,.04);
  --shadow-xl:    0 24px 48px rgba(0,0,0,.1), 0 12px 24px rgba(0,0,0,.05);
  --shadow-cta:   0 4px 14px rgba(22,163,74,.35);
  --shadow-card:  0 0 0 1px rgba(226,232,240,.8), 0 4px 6px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.03);
  --shadow-glow:  0 0 30px rgba(249,115,22,.15);

  --ease:         cubic-bezier(.22,1,.36,1);
  --ease-bounce:  cubic-bezier(.34,1.56,.64,1);
  --ease-out:     cubic-bezier(0,.55,.45,1);
  --dur:          .3s;
  --dur-slow:     .5s;
  --dur-slower:   .8s;
}

/* ============================
   2. Reset & Base
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  hanging-punctuation: first last allow-end;
}
body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: rgba(249,115,22,.15); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sky); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--orange); }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-faint); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }

/* ============================
   3. Typography
   ============================ */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }
p { line-height: 1.85; }
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   4. Layout
   ============================ */
.inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wide  { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.home-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 80px;
}
@media (max-width: 900px) {
  .home-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Article page layout */
main > article {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 24px 80px;
}
.breadcrumb {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: .78rem;
  color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 6px; color: var(--ink-faint); }

/* Section spacing rhythm */
.section { padding: 80px 0; }
.section--dark {
  background: var(--grad-dark);
  color: #fff;
}
.section--tint {
  background: var(--bg-tint);
}
.section--wave {
  position: relative;
}
.section--wave::before {
  content: '';
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* ============================
   5. Disclaimer Bar
   ============================ */
.disclaimer-bar {
  font-size: .72rem;
  line-height: 1.5;
  color: #64748b;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
  padding: 6px 20px;
  text-align: center;
}
.disclaimer-bar a { color: var(--ink-soft); text-decoration: underline; }

/* ============================
   6. Header & Navigation
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(226,232,240,.5);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
}
.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
}
.site-header .brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.site-header .logo-mark svg { width: 32px; height: 32px; }
.site-header .brand-text b {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em;
}
.site-header .tagline {
  display: block;
  font-size: .68rem;
  color: var(--ink-faint);
  font-weight: 400;
  letter-spacing: .02em;
}
.site-header nav {
  display: flex; align-items: center; gap: 2px;
  font-size: .82rem; font-weight: 500;
}
.site-header nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
}
.site-header nav a:hover {
  color: var(--ink);
  background: var(--bg-tint);
}
.site-header nav a.cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  margin-left: 8px;
}
.site-header nav a.cta:hover {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,.3);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: all var(--dur) var(--ease);
  border-radius: 1px;
}
.hamburger span + span { margin-top: 6px; }
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.4);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.nav-overlay.show { opacity: 1; }

@media (max-width: 768px) {
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .site-header nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.1);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    z-index: 101;
    overflow-y: auto;
  }
  .site-header nav.open { transform: translateX(0); }
  .site-header nav a {
    padding: 14px 16px;
    font-size: .95rem;
    border-radius: var(--radius);
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header nav a.cta {
    margin: 16px 0 0;
    text-align: center;
    justify-content: center;
  }
  .nav-overlay { display: block; }
}

/* ============================
   7. Hero Section
   ============================ */
.portal-hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.portal-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  animation: meshFloat 20s ease infinite alternate;
}
@keyframes meshFloat {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(-3%,4%); }
}
.portal-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: 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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
/* Floating shapes */
.portal-hero .shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
}
.portal-hero .shape-1 {
  width: 400px; height: 400px;
  background: var(--orange);
  top: -100px; right: -100px;
  animation: shapeFloat1 15s ease-in-out infinite;
}
.portal-hero .shape-2 {
  width: 250px; height: 250px;
  background: var(--sky);
  bottom: -80px; left: -60px;
  animation: shapeFloat2 18s ease-in-out infinite;
}
.portal-hero .shape-3 {
  width: 180px; height: 180px;
  background: var(--violet);
  top: 40%; left: 55%;
  animation: shapeFloat3 12s ease-in-out infinite;
}
@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px,20px) scale(1.1); }
}
@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-30px) scale(1.05); }
}
@keyframes shapeFloat3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-15px,-20px) scale(.95); }
}

.portal-hero .inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(249,115,22,.4);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  background: rgba(249,115,22,.08);
  backdrop-filter: blur(4px);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -.03em;
}
.hero-copy .hl {
  color: var(--orange);
  text-decoration: none;
  position: relative;
  display: inline-block;
}
.hero-copy .hl::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  opacity: .6;
}
.hero-copy .sub {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  max-width: 540px;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg {
  width: 260px; height: 260px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
.cta-row {
  display: flex; gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ============================
   8. Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.15), transparent);
  pointer-events: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,.4);
}
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ============================
   9. Stats Band
   ============================ */
.stats-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  transition: all var(--dur) var(--ease);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-unit {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-faint);
}
.stat-label {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 500;
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item { padding: 16px 12px; }
}

/* ============================
   10. Category Chips
   ============================ */
.chip-row {
  display: flex;
  gap: 8px;
  padding: 24px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.chip:hover {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================
   11. Section Titles
   ============================ */
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--sky));
  border-radius: 2px;
}
.section-title .en {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--ink-faint);
  text-transform: uppercase;
  background: var(--bg-tint);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.section-lead {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* ============================
   12. Process Steps
   ============================ */
.process-section {
  padding: 80px 0;
  background: var(--bg-tint);
  position: relative;
}
.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.process-header {
  text-align: center;
  margin-bottom: 48px;
}
.process-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.process-header p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(16.67% + 12px);
  right: calc(16.67% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--sky), var(--green));
  border-radius: 1px;
}
.step-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
  position: relative;
  z-index: 1;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
}
.step-card:nth-child(1) .step-num { background: linear-gradient(135deg, var(--orange), #fb923c); }
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, var(--sky), #38bdf8); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, var(--green), #4ade80); }
.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-card p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.step-card .step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
}
.step-card .step-link:hover { gap: 10px; }
@media (max-width: 680px) {
  .process-grid { grid-template-columns: 1fr; max-width: 400px; }
  .process-grid::before { display: none; }
}

/* ============================
   13. Featured Card
   ============================ */
.featured {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
  margin-bottom: 40px;
  position: relative;
}
.featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  color: var(--ink);
}
.featured img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.featured .fbody { padding: 28px; }
.featured .kicker {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.featured h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.featured p  { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; }
.featured .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--orange);
}
.featured .more::after {
  content: '→';
  transition: transform var(--dur) var(--ease);
}
.featured:hover .more::after { transform: translateX(4px); }

/* ============================
   14. Post List
   ============================ */
.post-list { display: flex; flex-direction: column; gap: 2px; }
.post-list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}
.post-list a:hover {
  background: var(--bg-tint);
  border-color: var(--line);
  color: var(--ink);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.post-list .pthumb {
  width: 110px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.post-list .pcat {
  font-size: .68rem;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-right: 8px;
}
.post-list .badge {
  font-size: .58rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  letter-spacing: .04em;
}
.post-list .badge.new {
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: #fff;
}
.post-list .pt {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 4px;
}
.post-list .pmeta {
  display: block;
  font-size: .78rem;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ============================
   15. Guide Cards
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.guide-card {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
}
.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.guide-card .thumb-wrap {
  overflow: hidden;
  position: relative;
}
.guide-card .thumb-img {
  width: 100%; height: 160px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.guide-card:hover .thumb-img { transform: scale(1.08); }
.guide-card .body { padding: 24px; }
.guide-card .kicker {
  font-size: .7rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  display: inline-block;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.guide-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.guide-card p  { font-size: .85rem; color: var(--ink-soft); line-height: 1.7; }

/* ============================
   16. Sidebar
   ============================ */
.home-side { display: flex; flex-direction: column; gap: 24px; }

.side-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--dur) var(--ease);
}
.side-card:hover { box-shadow: var(--shadow-sm); }
.side-h {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-h::before {
  content: '';
  width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--orange), var(--sky));
  border-radius: 2px;
  flex-shrink: 0;
}

.rank-list { counter-reset: rank; }
.rank-list li { counter-increment: rank; }
.rank-list li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.rank-list li a:hover { color: var(--orange); transform: translateX(4px); }
.rank-list li a::before {
  content: counter(rank);
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  background: var(--ink-faint);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-list li:nth-child(1) a::before { background: linear-gradient(135deg, var(--orange), #fb923c); }
.rank-list li:nth-child(2) a::before { background: linear-gradient(135deg, var(--sky), #38bdf8); }
.rank-list li:nth-child(3) a::before { background: linear-gradient(135deg, var(--green), #4ade80); }

.cta-card {
  background: linear-gradient(135deg, var(--orange-light), var(--sky-light));
  border-color: transparent;
  text-align: center;
}
.cta-card p { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.cta-card .btn { width: 100%; }

.side-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.side-cats a {
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-tint);
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all var(--dur) var(--ease);
}
.side-cats a:hover {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-2px);
}

/* ============================
   17. Trust Band
   ============================ */
.trust-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  padding: 80px 20px;
  position: relative;
}
.trust-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.trust-band .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mascot-figure {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mascot-figure .m {
  width: 80px; height: 80px; flex-shrink: 0;
  background: var(--bg);
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow);
}
.mascot-figure .m svg { width: 100%; height: 100%; }
.mascot-figure h2 { font-size: 1.15rem; margin-bottom: 8px; }
.mascot-figure p { font-size: .88rem; color: var(--ink-soft); }
.mascot-figure a { font-weight: 600; }

.author-card {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.author-card .face { width: 56px; height: 56px; flex-shrink: 0; }
.author-card .face svg { width: 100%; height: 100%; border-radius: 14px; }
.author-card .who { font-size: .85rem; }
.author-card .role {
  font-size: .65rem; font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.author-card .name { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.author-card .who p { color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 768px) {
  .trust-band .inner { grid-template-columns: 1fr; }
}

/* ============================
   18. CTA Banner
   ============================ */
.cta-banner {
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  opacity: .8;
}
.cta-banner .inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   19. Footer
   ============================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 48px 20px 32px;
  font-size: .82rem;
  line-height: 1.7;
}
.site-footer .inner { max-width: var(--wrap); margin: 0 auto; }
.site-footer .foot-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer .foot-nav a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.site-footer .foot-nav a:hover { color: var(--orange); }
.site-footer .foot-disclaimer {
  color: rgba(255,255,255,.35);
  font-size: .75rem;
  line-height: 1.8;
  margin-top: 12px;
}

/* ============================
   20. Article Page
   ============================ */
.article-head {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.article-head h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.badge.pickup {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--sky);
  background: var(--sky-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.article-meta {
  font-size: .8rem;
  color: var(--ink-faint);
  margin-top: 14px;
}
.lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--bg-tint);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}

/* Article content */
article h2 {
  margin: 2.8em 0 .8em;
  padding-bottom: .6em;
  border-bottom: 2px solid var(--line);
  position: relative;
  font-weight: 800;
}
article h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--sky));
}
article h3 {
  margin: 2em 0 .6em;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}
article p { margin-bottom: 1.3em; }
article ul, article ol { margin: 1em 0; padding-left: 1.5em; }
article ul { list-style: disc; }
article ol { list-style: decimal; }
article li { margin-bottom: .5em; line-height: 1.85; }
article li::marker { color: var(--orange); }
article strong { font-weight: 700; color: var(--ink); }
article blockquote {
  border-left: 3px solid var(--orange);
  margin: 1.5em 0;
  padding: 18px 24px;
  background: var(--bg-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem;
  color: var(--ink-soft);
}

/* TOC */
.toc {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.toc-title {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title::before {
  content: '';
  width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--orange), var(--sky));
  border-radius: 2px;
}
.toc ol { list-style: decimal; padding-left: 1.2em; }
.toc li { margin-bottom: 8px; }
.toc a {
  font-size: .85rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.toc a:hover { color: var(--orange); padding-left: 4px; }

/* ============================
   21. Mascot Bubble
   ============================ */
.mascot-say {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 1.5em 0;
  padding: 24px;
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.mascot-say .avatar { width: 44px; height: 44px; flex-shrink: 0; }
.mascot-say .avatar svg { width: 100%; height: 100%; }
.mascot-say .bubble { flex: 1; }
.mascot-say .who {
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
  letter-spacing: .04em;
}
.mascot-say p { font-size: .9rem; color: var(--ink-soft); margin: 0; line-height: 1.8; }

/* ============================
   22. Note Box / Editor Memo
   ============================ */
.note-box {
  background: var(--sky-light);
  border: 1px solid rgba(2,132,199,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 1.5em 0;
  font-size: .9rem;
  line-height: 1.8;
}
.editor-memo {
  background: var(--orange-light);
  border: 1px solid rgba(249,115,22,.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 1.5em 0;
  font-size: .9rem;
  line-height: 1.8;
}
.note-small {
  font-size: .78rem;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* ============================
   23. Pros & Cons
   ============================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.5em 0;
}
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  padding: 24px;
  border-radius: var(--radius-lg);
  font-size: .9rem;
}
.pros { background: var(--pos-bg); border: 1px solid rgba(22,163,74,.15); }
.cons { background: var(--neg-bg); border: 1px solid rgba(220,38,38,.1); }
.pros h4, .cons h4 { font-size: .85rem; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: disc; padding-left: 1.2em; }
.pros li::marker { color: var(--pos); }
.cons li::marker { color: var(--neg); }

/* ============================
   24. Tables
   ============================ */
.tbl-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.tbl-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.tbl-wrap th {
  background: var(--bg-tint);
  font-weight: 700;
  font-size: .78rem;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.tbl-wrap td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.6;
}
.tbl-wrap tr:last-child td { border-bottom: none; }
.tbl-wrap tr:hover td { background: rgba(249,115,22,.03); }
.scroll-hint {
  font-size: .72rem;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

/* ============================
   25. Inline CTA
   ============================ */
.inline-cta {
  background: linear-gradient(135deg, var(--bg-tint), rgba(249,115,22,.04));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  margin: 2.5em 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sky), var(--green));
}
.ic-label {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.ic-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.ic-desc { font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }
.ic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--green);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: all var(--dur) var(--ease);
  min-width: 240px;
}
.ic-btn:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(22,163,74,.4);
}
.ic-micro { font-size: .72rem; color: var(--ink-faint); margin-top: 10px; }

/* ============================
   26. Promo Block
   ============================ */
.promo-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.promo-block .head {
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.promo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.promo-row:last-of-type { border-bottom: none; }
.pr-inline {
  font-size: .58rem;
  font-weight: 700;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  letter-spacing: .06em;
}
.promo-main { flex: 1; min-width: 0; }
.promo-label { font-size: .9rem; font-weight: 700; }
.promo-note { font-size: .8rem; color: var(--ink-soft); line-height: 1.6; margin-top: 2px; }
.promo-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  background: var(--green);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-cta);
}
.promo-cta:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
}
.promo-cta .micro { font-size: .62rem; font-weight: 400; opacity: .85; margin-top: 2px; }
.promo-cta.disabled {
  background: var(--bg-tint);
  color: var(--ink-faint);
  box-shadow: none;
  cursor: default;
}
.promo-banner { margin-top: 14px; text-align: center; }
.promo-banner img { max-width: 100%; border-radius: var(--radius-sm); }
.promo-block .basis {
  font-size: .7rem;
  color: var(--ink-faint);
  margin-top: 14px;
  line-height: 1.7;
}

/* ============================
   27. FAQ
   ============================ */
.faq { margin: 2em 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.faq details[open] {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(249,115,22,.1), var(--shadow-sm);
}
.faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background var(--dur) var(--ease);
}
.faq summary:hover { background: var(--bg-tint); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: 'Q';
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq .fbody {
  padding: 0 20px 18px 58px;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ============================
   28. Related Articles
   ============================ */
.related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--line);
}
.related h2 {
  border-bottom: none;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.related h2::after { display: none; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 8px; }
.related a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--sky);
  padding: 8px 0;
  transition: all var(--dur) var(--ease);
}
.related a::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  transition: transform var(--dur) var(--ease);
}
.related a:hover { color: var(--orange); }
.related a:hover::before { transform: translateX(4px); }

/* ============================
   29. Source List
   ============================ */
.source-list {
  font-size: .78rem;
  color: var(--ink-faint);
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.source-list li { margin-bottom: 4px; list-style: decimal; }
.source-list a { color: var(--ink-faint); text-decoration: underline; }

/* ============================
   30. Stars / Tags
   ============================ */
.stars { color: var(--orange); letter-spacing: 2px; }
.reco-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-tint);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

/* ============================
   31. Reading Progress Bar
   ============================ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sky));
  z-index: 200;
  transition: width 80ms linear;
}

/* ============================
   32. Scroll Animations
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-out);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.stagger-1 { transition-delay: .05s; }
.stagger-2 { transition-delay: .1s; }
.stagger-3 { transition-delay: .15s; }
.stagger-4 { transition-delay: .2s; }
.stagger-5 { transition-delay: .25s; }
.stagger-6 { transition-delay: .3s; }

/* Older class compat */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* Hero entrance */
.portal-hero .eyebrow { animation: fadeInUp .7s var(--ease) .1s both; }
.portal-hero h1       { animation: fadeInUp .7s var(--ease) .2s both; }
.portal-hero .sub     { animation: fadeInUp .7s var(--ease) .3s both; }
.portal-hero .cta-row { animation: fadeInUp .7s var(--ease) .4s both; }
.portal-hero .hero-art{ animation: fadeIn 1s var(--ease) .5s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================
   33. Responsive
   ============================ */
@media (max-width: 900px) {
  .portal-hero .inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .portal-hero { padding: 70px 0 80px; min-height: auto; }
  .hero-art { order: -1; }
  .hero-art svg { width: 180px; height: 180px; }
  .hero-copy .sub { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .portal-hero { padding: 50px 0 60px; }
  .hero-copy h1 { font-size: 1.7rem; }
  .hero-art svg { width: 140px; height: 140px; }

  .post-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post-list .pthumb { display: none; }

  .featured img { height: 160px; }
  .featured .fbody { padding: 20px; }

  .promo-row { flex-wrap: wrap; }
  .promo-cta { width: 100%; }

  .mascot-figure { flex-direction: column; align-items: center; text-align: center; }

  .pros-cons { grid-template-columns: 1fr; }

  main > article { padding: 0 16px 60px; }
  .breadcrumb { padding: 12px 16px 0; }

  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .portal-hero .shape { display: none; }
  .step-card { padding: 24px 20px; }
}

/* ============================
   34. Print
   ============================ */
@media print {
  .site-header, .site-footer, .disclaimer-bar,
  .promo-block, .inline-cta, .chip-row,
  .side-card.cta-card, .reading-progress,
  .cta-banner, .stats-band, .hamburger,
  .nav-overlay { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .portal-hero { background: #eee; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
