/* ═══════════════════════════════════════════════
   DESIGN SYSTEM — Editorial × Luxury
   Typography: Shippori Mincho B1 + Zen Kaku Gothic New
   Palette:  Midnight Charcoal + Warm Amber
   Texture:  Film grain overlay
   ═══════════════════════════════════════════════ */

:root {
  /* ── Sizing (Nattoku準拠) ── */
  --container: 1140px;
  --body-lh: 1.5;
  --h2-size: 48px;
  --cta-size: 35.2px;
  --cta-radius: 8px;

  /* ── Palette ── */
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --ink-muted: #888888;
  --cream: #ffffff;
  --cream-warm: #f7f7f7;
  --amber: #c9943e;
  --amber-light: #f9f3e8;
  --amber-dark: #a07628;
  --coral: #c0553a;
  --coral-light: #fdf0ec;
  --slate: #666666;
  --border: #e5e5e5;
  --white: #ffffff;

  /* ── Type ── */
  --font-display: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;

  /* ── Space ── */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;

  /* ── Radius ── */
  --r1: 6px;
  --r2: 12px;
  --r3: 20px;

  /* ── Shadow ── */
  --shadow-subtle: 0 2px 12px rgba(15, 25, 35, 0.06);
  --shadow-medium: 0 8px 30px rgba(15, 25, 35, 0.10);
  --shadow-heavy: 0 16px 60px rgba(15, 25, 35, 0.14);
}

/* ═══ RESET ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: var(--body-lh);
  background: var(--cream);
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s3)
}

/* ═══ GRAIN TEXTURE ═══ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ═══ HEADER ═══ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  padding: 14px 0;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

#site-header.hidden {
  transform: translateY(-100%)
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.header-logo {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em
}

.header-logo em {
  font-style: normal;
  color: var(--amber)
}

.header-pr {
  color: var(--slate);
  font-size: .65rem;
  letter-spacing: .1em;
  border: 1px solid var(--ink-muted);
  padding: 3px 10px;
  border-radius: var(--r1)
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
  text-align: center;
  margin-bottom: var(--s2)
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 4px 16px;
  border-radius: 2px;
  margin-bottom: var(--s2);
}

.section-tag-light {
  color: var(--amber);
  border-color: var(--amber)
}

.section-tag-accent {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--amber)
}

.section-tag-dark {
  color: var(--ink);
  border-color: var(--ink)
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: .02em;
}

.section-title em {
  font-style: normal;
  color: var(--amber)
}

.section-title-light {
  color: var(--ink)
}

.section-title-light em {
  color: var(--amber)
}

.section-lead {
  color: var(--slate);
  font-size: .95rem;
  margin-top: var(--s1)
}

.section-lead-light {
  color: var(--slate)
}

/* ═══ Z1: HERO ═══ */
.zone {
  position: relative;
  overflow: hidden
}

.zone-pad {
  padding: var(--s4) 0
}

#z1-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: var(--s4) 0
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8edf2 40%, #dde3ea 100%);
}

.hero-diagonal {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: center;
}

.hero-eyecatch {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: .04em;
  margin-bottom: var(--s2);
  font-weight: 700;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--s3);
  letter-spacing: .03em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: var(--s4);
  line-height: 1.8;
}

.hero-sub-em {
  color: var(--amber);
  font-weight: 700
}

.hero-badges {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s4)
}

.badge-item {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 2px;
  background: var(--white);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
  padding: 18px 40px;
  border-radius: var(--cta-radius);
  border: none;
  cursor: pointer;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 4px 20px rgba(201, 148, 62, .3);
}

.btn-hero:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 148, 62, .4)
}

/* Hero visual side */
.hero-visual-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px
}

.hero-deco-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201, 148, 62, .2);
  animation: hero-rotate 40s linear infinite;
}

@keyframes hero-rotate {
  to {
    transform: rotate(360deg)
  }
}

.hero-deco-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--amber), transparent);
  opacity: .3;
  transform: rotate(25deg);
  left: 30%;
}

.hero-stat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  padding: var(--s4);
  border-radius: var(--r2);
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1
}

.hero-stat-num small {
  font-size: 2rem
}

.hero-stat-label {
  display: block;
  margin-top: var(--s1);
  color: var(--slate);
  font-size: .85rem;
  line-height: 1.6
}

/* ═══ Z2: SCREENSHOT ═══ */
.screenshot-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3)
}

.ss-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  transition: all .4s ease;
}

.ss-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium)
}

.ss-img {
  height: 200px;
  background: linear-gradient(135deg, var(--cream-warm), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: .85rem;
}

.ss-meta {
  padding: var(--s2) var(--s3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem
}

.ss-check {
  color: var(--amber-dark);
  font-weight: 700
}

/* ═══ Z3: AGENT ═══ */
.zone-dark {
  background: var(--cream-warm);
  color: var(--ink)
}

.agent-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3)
}

.agent-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s4);
  transition: all .4s ease;
  box-shadow: var(--shadow-subtle);
}

.agent-row:hover {
  border-color: var(--amber);
  background: rgba(201, 148, 62, .04)
}

.agent-rank {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--s1)
}

.agent-rank span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  opacity: .5;
}

.agent-top {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s2)
}

.agent-logo-box {
  width: 52px;
  height: 52px;
  background: var(--amber-light);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: var(--r1);
  flex-shrink: 0;
}

.agent-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700
}

.agent-tags {
  display: flex;
  gap: var(--s1);
  margin-top: 4px
}

.agent-tags span {
  font-size: .7rem;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 2px 10px;
  border-radius: 2px
}

.agent-desc {
  color: var(--slate);
  font-size: .9rem;
  margin-bottom: var(--s2);
  line-height: 1.9
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: .85rem;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 12px 28px;
  border-radius: var(--cta-radius);
  transition: all .3s ease;
}

.btn-ghost:hover {
  background: var(--amber);
  color: var(--ink)
}

/* ═══ Z4: EDUCATION ═══ */
.edu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  align-items: center;
  margin-bottom: var(--s3)
}

.edu-row-flip {
  direction: rtl
}

.edu-row-flip>* {
  direction: ltr
}

.edu-headline {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--s2);
  color: var(--ink)
}

.edu-headline em {
  font-style: normal;
  color: var(--amber)
}

.edu-text p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75
}

.edu-placeholder {
  height: 300px;
  background: var(--cream-warm);
  border-radius: var(--r3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  border: 1px solid var(--border);
}

.edu-icon {
  font-size: 3rem;
  margin-bottom: var(--s1)
}

/* ═══ Z5: FORM ═══ */
.zone-form-bg {
  background: linear-gradient(170deg, #f0f4f8 0%, #e4e9ef 100%)
}

.form-panel {
  background: var(--white);
  border-radius: var(--cta-radius);
  padding: var(--s5);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-heavy);
}

.form-progress {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: var(--s1)
}

.form-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  border-radius: 99px;
  transition: width .5s ease
}

.form-progress-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: .15em;
  margin-bottom: var(--s4)
}

.form-step {
  display: none
}

.form-step.active {
  display: block;
  animation: formFade .5s ease
}

@keyframes formFade {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.form-q {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--s3);
  color: var(--ink)
}

.opt-grid {
  display: grid;
  gap: var(--s2)
}

.opt-grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.opt-grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.opt-grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.opt {
  position: relative;
  cursor: pointer
}

.opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.opt span {
  display: block;
  text-align: center;
  padding: 14px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--cta-radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  transition: all .25s ease;
}

.opt:hover span {
  border-color: var(--amber);
  background: var(--amber-light)
}

.opt input:checked+span {
  border-color: var(--amber-dark);
  background: var(--amber);
  color: var(--white);
  font-weight: 700
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r1);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  appearance: none;
  cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a4f63' fill='none' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center;
}

.btn-submit {
  display: block;
  width: 100%;
  margin-top: var(--s4);
  font-family: var(--font-body);
  font-size: var(--cta-size);
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 18px;
  border: none;
  border-radius: var(--cta-radius);
  cursor: pointer;
  transition: all .35s ease;
  letter-spacing: .08em;
}

.btn-submit:hover {
  background: var(--ink-soft);
  transform: translateY(-1px)
}

.form-nav {
  margin-top: var(--s3);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--cta-radius);
  cursor: pointer;
  transition: all .25s ease;
  margin-bottom: var(--s2);
  width: 100%;
  justify-content: center;
}

.btn-back:hover {
  color: var(--amber-dark);
  border-color: var(--amber);
  background: var(--amber-light);
}

/* ═══ Z6: POINTS ═══ */
.points-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3)
}

.pt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s4);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.pt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.pt-card:hover::before {
  transform: scaleX(1)
}

.pt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium)
}

.pt-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  opacity: .35;
  margin-bottom: var(--s1)
}

.pt-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--ink)
}

.pt-card p {
  font-size: .88rem;
  color: var(--slate);
  line-height: 1.9
}

/* ═══ Z7: COMPARISON ═══ */
.zone-warm {
  background: var(--cream-warm)
}

/* Controls */
.cmp-controls {
  margin-bottom: var(--s2);
}

.cmp-controls-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: var(--s3);
}

.cmp-sort {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex-wrap: wrap;
  margin-bottom: var(--s2);
}

.cmp-sort-label,
.cmp-filter-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.cmp-sort-btn {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cmp-sort-btn:hover {
  border-color: var(--amber);
  background: var(--amber-light);
}

.cmp-sort-btn.active {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
  text-decoration: none;
  font-weight: 700;
}

.cmp-filter {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s2);
}

#cmp-filter-select {
  flex: 1;
  max-width: 300px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r1);
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--ink);
  appearance: none;
  cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a4f63' fill='none' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
}

.cmp-reset-btn {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--cream-warm);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
}

.cmp-reset-btn:hover {
  background: var(--border);
  color: var(--ink);
}

/* Scroll hint */
.cmp-scroll-hint {
  text-align: right;
  font-size: .75rem;
  color: var(--slate);
  margin-bottom: 4px;
}

/* Dynamic table wrapper */
.cmp-dynamic-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 600px;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r2);
  box-shadow: var(--shadow-subtle);
}

.cmp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white)
}

.cmp-table th,
.cmp-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
  transition: opacity .4s ease;
}

/* ── Sticky header row (vertical scroll fix) ── */
.cmp-table thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  position: sticky;
  top: 0;
  z-index: 3;
}

.td-label-head {
  background: var(--ink-soft) !important;
  text-align: left !important;
  white-space: nowrap;
  /* Corner cell: fixed both axes */
  position: sticky;
  left: 0;
  top: 0;
  z-index: 4;
}

.cmp-table thead th:first-child {
  background: var(--ink-soft)
}

/* ── Sticky left column (horizontal scroll fix) ── */
.td-label {
  text-align: left !important;
  font-weight: 700;
  background: var(--cream);
  color: var(--ink);
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 2;
}

/* tfoot label cell also sticky */
.cmp-table tfoot td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--white);
}

/* Logo box inside table */
.cmp-logo-box {
  width: 56px;
  height: 56px;
  background: var(--amber-light);
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: var(--r1);
}

.cmp-rating {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

/* Column hide animation */
.cmp-col.cmp-hidden {
  display: none;
}

/* Highlight sorted column header */
.cmp-table thead th.cmp-sort-active {
  background: var(--amber-dark);
}

.cmp-ex {
  color: var(--amber-dark)
}

.stars {
  color: var(--amber);
  letter-spacing: 3px
}

.btn-table {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 10px 24px;
  border-radius: var(--cta-radius);
  transition: all .3s ease;
}

.btn-table:hover {
  background: var(--amber-dark)
}

.cmp-table tfoot td {
  border: none;
  padding: var(--s2) var(--s2)
}

/* ═══ Z8: CUSTOM BANNER ═══ */
.banner-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s4);
  background: var(--cream-warm);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: var(--s5);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.banner-card::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(201, 148, 62, .1);
}

.banner-big {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1
}

.banner-big small {
  font-size: 2.5rem
}

.banner-hl {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: var(--s1)
}

.banner-sub {
  color: var(--slate);
  font-size: .9rem
}

/* ═══ Z9: CTA HERO ═══ */
.zone-accent {
  background: var(--amber)
}

.zone-accent .section-title {
  color: var(--ink)
}

.zone-accent .section-title em {
  color: var(--white)
}

.cta-showcase {
  background: var(--white);
  border-radius: var(--r3);
  padding: var(--s5);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-heavy);
}

.cta-showcase-head {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3)
}

.cta-logo-lg {
  width: 64px;
  height: 64px;
  font-size: 1.8rem
}

.cta-showcase-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800
}

.cta-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  background: var(--amber-light);
  color: var(--amber-dark);
  padding: 4px 14px;
  border-radius: 2px;
  margin-top: 4px
}

.cta-points {
  list-style: none;
  counter-reset: cta;
  margin-bottom: var(--s4)
}

.cta-points li {
  counter-increment: cta;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.cta-points li::before {
  content: counter(cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-cta-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--cta-size);
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
  padding: 20px;
  border-radius: var(--cta-radius);
  transition: all .35s ease;
  box-shadow: 0 4px 20px rgba(15, 25, 35, .2);
}

.btn-cta-full:hover {
  background: var(--ink-soft);
  transform: translateY(-2px)
}

/* ═══ Z10: FAQ ═══ */
.faq-list {
  max-width: 780px;
  margin: 0 auto
}

.faq-item {
  margin-bottom: var(--s2);
  border: 1px solid var(--border);
  border-radius: var(--cta-radius);
  overflow: hidden;
  transition: all .3s ease
}

.faq-item[open] {
  border-color: var(--amber)
}

.faq-item summary {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease;
}

.faq-item summary:hover {
  background: var(--cream-warm)
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--amber);
  transition: transform .3s ease;
  flex-shrink: 0;
  margin-left: var(--s2)
}

.faq-item[open] summary::after {
  transform: rotate(45deg)
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--slate);
  font-size: .9rem;
  line-height: 2
}

.faq-item summary::-webkit-details-marker {
  display: none
}

/* ═══ Z11: FOOTER ═══ */
.zone-footer {
  background: var(--ink-soft);
  padding: var(--s3) 0;
  text-align: center
}

.footer-logo {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: var(--s3)
}

.footer-logo em {
  font-style: normal;
  color: var(--amber)
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s3)
}

.footer-nav a {
  color: var(--slate);
  font-size: .85rem;
  transition: color .2s
}

.footer-nav a:hover {
  color: var(--cream)
}

.footer-copy {
  color: var(--ink-muted);
  font-size: .75rem;
  letter-spacing: .06em
}

/* ═══ SCROLL TOP ═══ */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
  z-index: 999;
  box-shadow: var(--shadow-medium);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible
}

#scroll-top:hover {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-3px)
}

/* ═══ SCROLL REVEAL ═══ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0)
}

[data-reveal][data-delay="1"] {
  transition-delay: .15s
}

[data-reveal][data-delay="2"] {
  transition-delay: .3s
}

[data-reveal][data-delay="3"] {
  transition-delay: .45s
}

[data-reveal][data-delay="4"] {
  transition-delay: .6s
}

/* ═══ RESPONSIVE ═══ */
/* Bootstrap breakpoints: sm=576, md=768, lg=992, xl=1200 */
@media(max-width:992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero-headline {
    font-size: 2rem
  }

  .hero-badges {
    justify-content: center
  }

  .hero-visual-area {
    display: none
  }

  .hero-diagonal {
    height: 60px
  }

  .edu-row,
  .edu-row-flip {
    grid-template-columns: 1fr;
    direction: ltr
  }

  .points-row {
    grid-template-columns: 1fr
  }

  .agent-row {
    grid-template-columns: 1fr
  }

  .agent-rank {
    display: none
  }
}

@media(max-width:576px) {
  .zone-pad {
    padding: var(--s3) 0
  }

  .section-header {
    margin-bottom: var(--s1)
  }

  #z1-hero {
    min-height: auto;
    padding: var(--s3) 0
  }

  .screenshot-track {
    grid-template-columns: 1fr
  }

  .banner-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .section-title {
    font-size: 28px
  }

  .hero-headline {
    font-size: 1.6rem
  }

  .opt-grid-3,
  .opt-grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .btn-submit {
    font-size: 1.5rem
  }

  .form-panel {
    padding: var(--s4)
  }

  /* ── Comparison controls mobile ── */
  .cmp-controls-inner {
    padding: var(--s2);
  }

  .cmp-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: var(--s1);
  }

  .cmp-sort-label {
    width: 100%;
    margin-bottom: 6px;
    font-size: .8rem;
  }

  .cmp-sort-btn {
    background: transparent;
    border: none;
    padding: 2px 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--amber-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-right: 1em;
    margin-bottom: 4px;
  }

  .cmp-sort-btn.active {
    background: transparent;
    border: none;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
  }

  .cmp-sort-btn:hover {
    background: transparent;
    border: none;
  }

  .cmp-filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: var(--s1);
  }

  .cmp-filter-label {
    font-size: .8rem;
  }

  #cmp-filter-select {
    max-width: 100%;
    width: 100%;
    padding: 8px 12px;
    font-size: .85rem;
  }

  .cmp-reset-btn {
    font-size: .75rem;
    padding: 5px 14px;
  }
}