*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --ink: #0a0a0b;
  --paper: #f7f5f0;
  --paper-warm: #ede9e0;
  --accent: #c45d3e;
  --accent-light: #e8856a;
  --accent-glow: rgba(196,93,62,.15);
  --sage: #7a8c6e;
  --sage-light: #9aaa8e;
  --muted: #8a8680;
  --border: rgba(10,10,11,.08);
  --glass: rgba(247,245,240,.85);
  --serif: 'Instrument Serif', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Microsoft YaHei', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ======================== GRAIN OVERLAY ======================== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ======================== NAVIGATION ======================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .5s var(--ease-out);
}
.nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: .85rem 3rem;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: .6rem;
}
.nav-logo .logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: grid; place-items: center;
  color: white; font-size: .85rem; font-weight: 600;
  font-family: var(--sans);
  transform: rotate(-3deg);
  transition: transform .3s var(--ease-spring);
}
.nav-logo:hover .logo-mark { transform: rotate(0deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: .875rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  letter-spacing: .01em;
  transition: color .25s;
  position: relative;
  padding: .75rem 0;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav-links a:visited { color: var(--muted); }
.nav-links a:hover, .nav-links a:hover:visited { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex; gap: .75rem; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.4rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .85rem; font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  text-decoration: none; border: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(10,10,11,.03);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: #2a2a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,10,11,.15);
}
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196,93,62,.25);
}
.btn-lg {
  padding: .85rem 2rem;
  font-size: .95rem;
}

/* ======================== HERO ======================== */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 6.5rem 2rem 3rem;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(196,93,62,.11), rgba(196,93,62,0) 34%),
    linear-gradient(225deg, rgba(122,140,110,.12), rgba(122,140,110,0) 38%);
}
.hero-bg .orb {
  display: none;
}
.hero-bg .orb-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: 10%; left: 15%;
}
.hero-bg .orb-2 {
  width: 400px; height: 400px;
  background: var(--sage);
  bottom: 20%; right: 10%;
  animation-delay: -7s;
}
.hero-bg .orb-3 {
  width: 300px; height: 300px;
  background: #c4a03e;
  top: 50%; left: 60%;
  animation-delay: -14s;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-40px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(.95); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem .4rem .5rem;
  background: white;
  border-radius: 100px;
  font-size: .78rem; font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease-out) .2s forwards;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 900px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .8s var(--ease-out) .4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  margin-top: 1rem;
  font-weight: 300;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease-out) .6s forwards;
}

.hero-actions {
  display: flex; gap: 1rem;
  margin-top: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease-out) .8s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 3-step mini flow */
.hero-flow {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease-out) 1s forwards;
}
.hero-flow-step {
  display: flex; align-items: center; gap: .6rem;
  background: white;
  border-radius: 12px;
  padding: .75rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-flow-step .step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 600;
  flex-shrink: 0;
}
.hero-flow-step .step-text {
  font-size: .82rem; font-weight: 500;
}
.hero-flow-arrow {
  color: var(--muted); font-size: 1.2rem;
}

/* ======================== SECTION COMMON ======================== */
.section {
  padding: 8rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 640px;
}
.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin-top: 1rem;
}

/* ======================== PROBLEM SECTION ======================== */
.problems-section {
  background: white;
  padding: 4rem 3rem 8rem;
}
.problems-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problems-inner > .reveal:first-child {
  opacity: 1;
  transform: none;
}
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}
.problem-group h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.problem-group h3 .pg-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1rem;
}
.pg-icon.accountant { background: rgba(196,93,62,.1); color: var(--accent); }
.pg-icon.client { background: rgba(122,140,110,.1); color: var(--sage); }
.problem-item {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: .75rem;
  transition: all .3s var(--ease-out);
  background: var(--paper);
}
.problem-item:hover {
  border-color: rgba(196,93,62,.2);
  transform: translateX(4px);
}
.problem-item .pi-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}
.problem-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
}
.problem-item p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ======================== 3-STEP SOLUTION ======================== */
.solution-section {
  padding: 8rem 3rem;
  text-align: center;
}
.solution-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.solution-tagline {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1.5rem;
  font-style: italic;
}
.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.steps-flow::before {
  content: '';
  position: absolute;
  top: 72px; left: 16%; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--sage), #c4a03e);
  opacity: .3;
  z-index: 0;
}
.step-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: all .4s var(--ease-out);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,10,11,.08);
}
.step-card .step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 1.5rem;
  color: white;
}
.step-card:nth-child(1) .step-number { background: var(--accent); }
.step-card:nth-child(2) .step-number { background: var(--sage); }
.step-card:nth-child(3) .step-number { background: #c4a03e; }
.step-card .step-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .6rem;
}
.step-card p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
}
.step-journal-mock {
  margin-top: .75rem;
  padding: .6rem .75rem;
  background: rgba(10,10,11,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .82rem;
}
.journal-row {
  display: flex;
  justify-content: space-between;
  padding: .25rem 0;
}
.journal-row + .journal-row { border-top: 1px solid var(--border); }
.journal-label {
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.journal-row:first-child .journal-label { color: var(--accent); }
.journal-row:last-child .journal-label { color: var(--sage); }
.journal-value {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* ======================== CORE VALUE — 養成型AI ======================== */
.core-value-section {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.core-value-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(196,93,62,.15), transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(122,140,110,.1), transparent 60%);
}
.cv-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.cv-inner .section-label { color: var(--accent-light); }
.cv-inner .section-desc { color: rgba(247,245,240,.5); }
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}
.cv-text { max-width: 500px; }
.cv-text .cv-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.cv-text p {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(247,245,240,.6);
  margin-bottom: 1rem;
}
.cv-diagram {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 2.5rem;
}
.cv-cycle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cv-cycle-step {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: all .3s var(--ease-out);
}
.cv-cycle-step:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
.cv-cycle-step .cs-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 600;
  flex-shrink: 0;
}
.cv-cycle-step .cs-text {
  font-size: .9rem;
  color: rgba(247,245,240,.7);
}
.cv-cycle-step .cs-text strong {
  color: var(--paper);
  display: block;
  margin-bottom: .2rem;
}
.cv-cycle-arrow {
  text-align: center;
  color: var(--accent-light);
  font-size: 1.2rem;
  opacity: .5;
}

/* ======================== RULE BRAIN SECTION ======================== */
.rule-brain-section {
  padding: 8rem 3rem;
  background: white;
}
.rb-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.rb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: center;
}
.rb-visual {
  background: var(--ink);
  border-radius: 20px;
  padding: 2.5rem;
  color: var(--paper);
}
.rb-brain-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--accent-light);
}
.rb-companies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rb-company {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all .3s var(--ease-out);
}
.rb-company:hover {
  background: rgba(255,255,255,.1);
  transform: scale(1.02);
}
.rb-company .rc-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.rb-company .rc-name { font-size: .82rem; font-weight: 600; margin-bottom: .3rem; }
.rb-company .rc-rules {
  font-size: .7rem;
  color: rgba(247,245,240,.4);
}
.rb-isolation-note {
  margin-top: 1.5rem;
  padding: .75rem 1rem;
  background: rgba(196,93,62,.15);
  border-radius: 8px;
  font-size: .78rem;
  color: var(--accent-light);
  text-align: center;
}
.rb-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rb-features-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.rb-features-list li .rbf-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.rb-features-list li .rbf-text strong {
  display: block;
  font-size: .92rem;
  margin-bottom: .2rem;
}
.rb-features-list li .rbf-text span {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ======================== COMPATIBILITY ======================== */
.compat-section {
  padding: 8rem 3rem;
  text-align: center;
}
.compat-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.compat-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.compat-node {
  background: white;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  transition: all .3s var(--ease-out);
  min-width: 180px;
}
.compat-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.compat-node .cn-icon { font-size: 2.5rem; margin-bottom: .75rem; display:flex; justify-content:center; align-items:center; }
.compat-node .cn-icon svg { color: var(--accent); }
.compat-node .cn-name { font-size: 1rem; font-weight: 600; }
.compat-node .cn-sub { font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.compat-arrow {
  font-size: 2rem;
  color: var(--accent);
  opacity: .6;
}
.compat-node.center-node {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.compat-node.center-node .cn-sub { color: rgba(247,245,240,.5); }
.compat-node.center-node .cn-pipeline { font-size: .75rem; letter-spacing: .04em; font-weight: 500; color: rgba(247,245,240,.6); }
.compat-desc {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================== MOAT SECTION ======================== */
.moat-section {
  background: linear-gradient(135deg, #f5f0e8 0%, var(--paper) 100%);
  padding: 8rem 3rem;
}
.moat-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.moat-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
.moat-card {
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.moat-card.traditional {
  background: white;
  border: 1px solid var(--border);
}
.moat-card.zeilink {
  background: var(--ink);
  color: var(--paper);
}
.moat-card .mc-badge {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.moat-card.traditional .mc-badge {
  background: rgba(10,10,11,.06);
  color: var(--muted);
}
.moat-card.zeilink .mc-badge {
  background: var(--accent);
  color: white;
}
.moat-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.moat-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: .75rem;
}
.moat-card ul li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .87rem;
  line-height: 1.5;
}
.moat-card.traditional ul li::before {
  content: '\2715';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.moat-card.traditional ul li { color: var(--muted); }
.moat-card.zeilink ul li::before {
  content: '\2713';
  color: var(--sage-light);
  font-weight: 600;
  flex-shrink: 0;
}
.moat-card.zeilink ul li { color: rgba(247,245,240,.7); }
.moat-quote {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================== COMPLIANCE & RISK ======================== */
.compliance-section {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.compliance-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(122,140,110,.12), transparent 60%);
}
.comp-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.comp-inner .section-label { color: var(--sage-light); }
.comp-inner .section-desc { color: rgba(247,245,240,.5); }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.comp-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all .4s var(--ease-out);
}
.comp-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.comp-card .cc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.comp-card .cc-icon svg { color: var(--paper); opacity: .9; }
.comp-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .6rem;
}
.comp-card p {
  font-size: .85rem;
  color: rgba(247,245,240,.5);
  line-height: 1.6;
}
.comp-flow {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.comp-flow-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 160px;
}
.comp-flow-step .cfs-num {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-size: .75rem; font-weight: 600;
  line-height: 28px;
  margin-bottom: .5rem;
}
.comp-flow-step .cfs-text {
  font-size: .85rem;
  font-weight: 500;
}
.comp-flow-step .cfs-sub {
  font-size: .72rem;
  color: rgba(247,245,240,.4);
  margin-top: .25rem;
}
.comp-flow-arrow {
  color: var(--sage-light);
  font-size: 1.2rem;
  opacity: .5;
}

/* ======================== TAX PROFESSIONALS ======================== */
.tax-pro-section {
  background: linear-gradient(160deg, #f0ebe2 0%, var(--paper) 40%, #f5f2ed 100%);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.tax-pro-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(196,93,62,.06), transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(122,140,110,.06), transparent 50%);
  pointer-events: none;
}
.tax-pro-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.ta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.ta-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .5s var(--ease-out);
  box-shadow: 0 2px 16px rgba(10,10,11,.03);
}
.ta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10,10,11,.08);
  border-color: rgba(196,93,62,.15);
}
.ta-pain {
  padding: 2rem 2rem 1.5rem;
}
.ta-pain-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(138,134,128,.07);
  color: var(--muted);
  margin-bottom: 1.25rem;
  transition: all .4s var(--ease-out);
}
.ta-card:hover .ta-pain-icon {
  background: rgba(196,93,62,.08);
  color: var(--accent);
}
.ta-pain h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .6rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.ta-pain p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.7;
}
.ta-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 50%, transparent 95%);
  margin: 0 2rem;
  opacity: .2;
}
.ta-solution {
  padding: 1.5rem 2rem 2rem;
  background: linear-gradient(180deg, rgba(196,93,62,.025) 0%, rgba(196,93,62,.01) 100%);
}
.ta-sol-badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 6px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: .85rem;
}
.ta-solution h4 {
  font-size: .98rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .7rem;
  letter-spacing: -.01em;
}
.ta-solution ul {
  list-style: none;
  display: flex; flex-direction: column; gap: .5rem;
}
.ta-solution ul li {
  font-size: .82rem;
  color: var(--ink);
  display: flex; align-items: flex-start; gap: .5rem;
  line-height: 1.5;
}
.ta-solution ul li::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}
.ta-flow {
  margin-top: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ta-flow-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2.25rem;
  text-align: center;
  min-width: 210px;
  transition: all .4s var(--ease-out);
  box-shadow: 0 2px 12px rgba(10,10,11,.03);
}
.ta-flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,10,11,.06);
}
.ta-flow-step .tfs-num {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: .8rem; font-weight: 600;
  line-height: 32px;
  margin-bottom: .7rem;
}
.ta-flow-step .tfs-role {
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.ta-flow-step .tfs-text {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.ta-flow-step .tfs-sub {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .3rem;
}
.ta-flow-arrow {
  color: var(--accent);
  font-size: 1.6rem;
  opacity: .4;
  font-weight: 300;
}
.ta-tagline {
  margin-top: 3.5rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  opacity: .85;
  letter-spacing: -.01em;
}

/* ======================== FEATURES GRID ======================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,10,11,.06);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.feature-icon.ocr { background: rgba(196,93,62,.1); color: var(--accent); }
.feature-icon.audit { background: rgba(122,140,110,.1); color: var(--sage); }
.feature-icon.multi { background: rgba(196,160,62,.1); color: #b8942e; }
.feature-icon.export { background: rgba(100,120,180,.12); color: #5b6eaf; }
.feature-icon.ai { background: rgba(160,80,160,.1); color: #a050a0; }
.feature-icon.secure { background: rgba(80,80,80,.08); color: #555; }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ======================== AI MODELS SECTION ======================== */
.ai-models-section {
  background: white;
  padding: 8rem 3rem;
}
.aim-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.aim-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.aim-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--paper);
  transition: all .3s var(--ease-out);
}
.aim-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.aim-card .aic-logo { font-size: 2.5rem; margin-bottom: 1rem; display:flex; justify-content:center; align-items:center; height:48px; }
.aim-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; }
.aim-card .aic-model { font-size: .82rem; color: var(--accent); font-weight: 500; margin-bottom: .5rem; }
.aim-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ======================== PLATFORM SECTION ======================== */
.platforms {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.platforms::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(196,93,62,.12), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(122,140,110,.08), transparent 60%);
}
.platforms .inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.platforms .section-label { color: var(--accent-light); }
.platforms .section-desc { color: rgba(247,245,240,.5); }
.platform-cards {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.platform-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all .4s var(--ease-out);
}
.platform-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.platform-card .plat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.plat-icon.telegram { background: rgba(0,136,204,.15); color: #0088cc; }
.plat-icon.line { background: rgba(6,199,85,.12); color: #06c755; }
.plat-icon.wechat { background: rgba(7,193,96,.12); color: #07C160; }
.plat-icon.web { background: rgba(196,93,62,.15); color: var(--accent-light); }
.platform-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .6rem; }
.platform-card p { font-size: .87rem; line-height: 1.6; color: rgba(247,245,240,.45); }
.platform-card .plat-features {
  list-style: none;
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.platform-card .plat-features li {
  font-size: .8rem;
  color: rgba(247,245,240,.55);
  display: flex; align-items: center; gap: .4rem;
}
.platform-card .plat-features li::before {
  content: '\2192';
  color: var(--accent-light);
  font-weight: 600;
}

/* ======================== PRICING SECTION ======================== */
.pricing-section {
  padding: 8rem 3rem;
  text-align: center;
}
.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}
.pricing-card {
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: left;
  transition: all .4s var(--ease-out);
  position: relative;
}
.pricing-card.standard {
  background: white;
  border: 1px solid var(--border);
}
.pricing-card.enterprise {
  background: var(--ink);
  color: var(--paper);
}
.pricing-card .pc-badge {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.pricing-card.standard .pc-badge {
  background: var(--accent-glow);
  color: var(--accent);
}
.pricing-card.enterprise .pc-badge {
  background: rgba(255,255,255,.12);
  color: var(--accent-light);
}
.pricing-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: .5rem;
}
.pricing-card .pc-sub {
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.pricing-card.enterprise .pc-sub { color: rgba(247,245,240,.4); }
.pricing-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: .6rem;
  margin-bottom: 2rem;
}
.pricing-card ul li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .87rem;
}
.pricing-card ul li::before {
  content: '\2713';
  color: var(--sage);
  font-weight: 600;
}
.pricing-card.enterprise ul li { color: rgba(247,245,240,.7); }
.pricing-card .pc-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}
.pricing-card .pc-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all .3s var(--ease-out);
  margin-top: .5rem;
  cursor: pointer;
}
.pricing-card.standard .pc-btn {
  background: var(--accent);
  color: var(--paper);
}
.pricing-card.standard .pc-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,93,62,.3);
}
.pricing-card.enterprise .pc-btn {
  background: var(--paper);
  color: var(--ink);
}
.pricing-card.enterprise .pc-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,245,240,.3);
}
.pricing-card .pc-price span {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
}
.pricing-card.enterprise .pc-price span { color: rgba(247,245,240,.4); }
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.standard:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.pricing-card.enterprise:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

/* ======================== CAPACITY SECTION ======================== */
.capacity-section {
  background: linear-gradient(135deg, var(--accent) 0%, #b84d2e 100%);
  color: white;
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.capacity-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.08), transparent 60%);
}
.cap-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.cap-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cap-inner .cap-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: .85;
  max-width: 600px;
  margin: 1.5rem auto 0;
}
.cap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cap-stat {
  background: rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.cap-stat .cs-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .7;
  margin-bottom: .5rem;
}
.cap-stat .cs-value {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
}
.cap-stat .cs-desc {
  font-size: .82rem;
  opacity: .7;
  margin-top: .3rem;
}

/* ======================== CTA ======================== */
.cta-section {
  padding: 8rem 3rem;
  text-align: center;
}
.cta-section .inner {
  max-width: 700px; margin: 0 auto;
}
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.cta-section h2 em { color: var(--accent); font-style: italic; }
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1.25rem;
}
.cta-buttons {
  display: flex; gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ======================== FOOTER ======================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-left {
  font-family: var(--serif);
  font-size: 1.1rem;
}
.footer-right {
  display: flex; gap: 2rem;
}
.footer-right a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  padding: .75rem 0;
}
.footer-right a:visited { color: var(--muted); }
.footer-right a:hover, .footer-right a:hover:visited { color: var(--ink); }
.footer-right a.footer-link-btn { cursor: pointer; }

/* ======================== LANGUAGE SWITCHER ======================== */
.lang-switcher { position: relative; display: flex; align-items: center; }
.lang-btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border: 1.5px solid var(--border); border-radius: 8px;
  background: transparent; font-family: var(--sans); font-size: .75rem;
  font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s;
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: .4rem; box-shadow: 0 8px 30px rgba(0,0,0,.1);
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: all .2s var(--ease-out); min-width: 140px; z-index: 150;
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem; border: none; background: transparent;
  border-radius: 6px; width: 100%; font-family: var(--sans);
  font-size: .8rem; color: var(--ink); cursor: pointer; transition: background .15s;
}
.lang-code {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
  background: rgba(255,255,255,.72);
}
.lang-option:hover { background: rgba(10,10,11,.04); }
.lang-option.active { background: var(--accent-glow); color: var(--accent); font-weight: 600; }
.lang-option.active .lang-code { color: var(--accent); border-color: rgba(196,93,62,.25); }

/* ======================== LEGAL MODAL ======================== */
.legal-modal .modal { max-width: 640px; max-height: 85vh; display: flex; flex-direction: column; }
.legal-modal .modal h2 { flex-shrink: 0; }
.legal-body {
  overflow-y: auto; flex: 1; padding-right: .5rem;
  font-size: .85rem; line-height: 1.75; color: var(--muted);
}
.legal-body h3 { font-size: .95rem; font-weight: 600; color: var(--ink); margin: 1.5rem 0 .5rem; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: .75rem; }
.legal-body ul { margin: .5rem 0 1rem 1.2rem; }
.legal-body li { margin-bottom: .3rem; }
.legal-updated { font-size: .72rem; color: var(--muted); opacity: .6; margin-bottom: 1rem; }

/* ======================== AUTH MODAL ======================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,11,.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--paper);
  border-radius: 20px;
  width: 92%; max-width: 440px;
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(20px) scale(.97);
  transition: transform .4s var(--ease-spring);
  box-shadow: 0 32px 100px rgba(10,10,11,.2);
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border: none; background: rgba(10,10,11,.05);
  border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.1rem; color: var(--muted);
  transition: all .2s;
}
.modal-close:hover { background: rgba(10,10,11,.1); color: var(--ink); }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}
.modal .subtitle {
  font-size: .87rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ======================== RESPONSIVE ======================== */
/* -- Mobile hamburger -- */
.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
  color: var(--ink); z-index: 101;
}
.mobile-menu-btn svg { width: 100%; height: 100%; }

/* Mobile overlay -- hidden on desktop */
.mobile-nav-overlay { display: none; }

@media (max-width: 1100px) {
  .platform-cards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .mobile-nav-overlay { display: block; }
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-cta .lang-switcher { order: -1; }
  .mobile-menu-btn { display: block; }
  .features-grid, .platform-cards, .comp-grid, .aim-cards, .ta-grid { grid-template-columns: 1fr; }
  .problems-grid, .cv-grid, .rb-grid, .moat-compare, .pricing-cards { grid-template-columns: 1fr; }
  .steps-flow { grid-template-columns: 1fr; }
  .steps-flow::before { display: none; }
  .hero-flow { flex-direction: column; gap: .75rem; }
  .hero-flow-arrow { transform: rotate(90deg); }
  .compat-flow { flex-direction: column; }
  .compat-arrow { transform: rotate(90deg); }
  .comp-flow, .ta-flow { flex-direction: column; }
  .comp-flow-arrow, .ta-flow-arrow { transform: rotate(90deg); }
  .cap-stats { grid-template-columns: 1fr; }
  .rb-companies { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.25rem; }
  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: .88rem; }
  .problems-section, .solution-section, .rule-brain-section,
  .compat-section, .moat-section, .ai-models-section,
  .pricing-section, .capacity-section, .tax-pro-section,
  .platforms, .compliance-section, .core-value-section { padding: 3rem 1.25rem; }
  .hero { padding: 6rem 1.25rem 3rem; min-height: auto; }
  .hero h1 { font-size: 2rem !important; }
  .hero-sub { font-size: .92rem !important; }
  .footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-right { flex-wrap: wrap; justify-content: center; }
  /* Mobile menu overlay */
  .mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10,10,11,.4); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
  .mobile-nav-panel {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
    width: 280px; background: var(--paper);
    padding: 2rem 1.5rem; transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    display: flex; flex-direction: column; gap: .5rem;
    box-shadow: -8px 0 30px rgba(0,0,0,.1);
  }
  .mobile-nav-overlay.open .mobile-nav-panel { transform: translateX(0); }
  .mobile-nav-panel a {
    display: block; padding: .75rem 0; font-size: .95rem;
    font-weight: 500; color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav-panel .mobile-nav-actions {
    margin-top: auto; display: flex; flex-direction: column; gap: .5rem;
  }
  .mobile-nav-panel .mobile-nav-actions .btn {
    display: flex; justify-content: center; width: 100%;
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem !important; }
  .hero-sub { font-size: .85rem !important; }
  .hero { padding: 5rem 1rem 2.5rem; }
  .section { padding: 2.5rem 1rem; }
  .problems-section, .solution-section, .rule-brain-section,
  .compat-section, .moat-section, .ai-models-section,
  .pricing-section, .capacity-section,
  .platforms, .compliance-section, .core-value-section { padding: 2.5rem 1rem; }
  .section-title { font-size: 1.35rem; }
  .nav { padding: .75rem 1rem; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo .logo-mark { width: 28px; height: 28px; font-size: .75rem; }
  .modal { padding: 1.5rem; margin: .75rem; border-radius: 16px; }
  .modal h2 { font-size: 1.15rem; }
}

/* ======================== SCROLL ANIMATIONS ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ======================== LANDING PAGE UTILITY CLASSES ======================== */
/* Replacements for inline style= attributes */

.section-title--center { max-width: 700px; margin: 0 auto; }
.section-title--paper { color: var(--paper); }
.section-title--auto { margin: 0 auto; }
.section-desc--auto { margin: 1rem auto 0; }

.inline-icon-svg { display: inline-block; vertical-align: middle; margin-right: 6px; }
.compat-extra-note { font-size: .68rem; color: var(--muted); font-weight: 400; }
.img-contain { object-fit: contain; }
.img-contain-rounded { object-fit: contain; border-radius: 10px; }
.img-rounded-8 { border-radius: 8px; }

.footer-logo { font-size: 1.2rem; }
.footer-logo-mark { width: 26px; height: 26px; font-size: .7rem; }
.footer-copyright { font-size: .8rem; color: var(--muted); }


.cap-stat--highlight { background: rgba(255,255,255,.25); }
