/* =========================================================
   뉴스클라우드 Landing — Stylesheet
   ========================================================= */

:root {
  --c-bg: #ffffff;
  --c-bg-tinted: #f6f8fc;
  --c-surface: #ffffff;
  --c-border: #e6eaf2;
  --c-text: #0f172a;
  --c-text-muted: #475569;
  --c-text-soft: #64748b;
  --c-primary: #2c6bff;
  --c-primary-hover: #1f56df;
  --c-primary-soft: #e6efff;
  --c-accent: #ef4444;
  --c-success: #10b981;

  --grad-hero: radial-gradient(1100px 600px at 85% 0%, rgba(44,107,255,0.10), transparent 60%),
               radial-gradient(700px 400px at 0% 100%, rgba(44,107,255,0.06), transparent 60%);

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06), 0 1px 1px rgba(15,23,42,0.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 24px 60px rgba(15,23,42,0.16), 0 8px 20px rgba(15,23,42,0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --max-w: 1160px;

  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
               'Noto Sans KR', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0b1020;
    --c-bg-tinted: #0f152a;
    --c-surface: #131a30;
    --c-border: #1f2a44;
    --c-text: #e8edf7;
    --c-text-muted: #aab3c5;
    --c-text-soft: #8893a8;
    --c-primary: #4a82ff;
    --c-primary-hover: #6c9bff;
    --c-primary-soft: #1a2547;
    --grad-hero: radial-gradient(1100px 600px at 85% 0%, rgba(74,130,255,0.18), transparent 60%),
                 radial-gradient(700px 400px at 0% 100%, rgba(74,130,255,0.08), transparent 60%);
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px; top: auto;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 9999;
  background: var(--c-primary); color: #fff;
  padding: 8px 12px; border-radius: 8px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--c-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
}
.brand-logo {
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 18px; letter-spacing: -0.01em; }

.nav-primary {
  display: flex; gap: 28px; align-items: center;
}
.nav-primary a {
  font-size: 15px; color: var(--c-text-muted);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-primary a:hover { color: var(--c-text); }

.header-cta {
  display: flex; align-items: center; gap: 8px;
}
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle:hover { background: var(--c-bg-tinted); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--c-border);
  padding: 8px 24px 16px;
  flex-direction: column; gap: 4px;
  background: var(--c-bg);
}
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-weight: 500;
}
.nav-mobile a.btn { margin-top: 12px; border-bottom: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(44,107,255,0.30);
}
.btn-primary:hover { background: var(--c-primary-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-bg-tinted); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 13px; font-weight: 600;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 20px;
}
.grad-text {
  background: linear-gradient(120deg, var(--c-primary), #7aa6ff 60%, #2c6bff);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--c-text-muted);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-note {
  font-size: 14px;
  color: var(--c-text-soft);
  margin: 0;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex; justify-content: center;
}
.phone {
  width: 290px; height: 600px;
  background: linear-gradient(180deg, #1a2342, #0d1428);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.05);
  position: relative;
  z-index: 1;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 30%);
  border-radius: 32px;
  padding: 50px 18px 18px;
  overflow: hidden;
  position: relative;
}
.phone-time {
  font-size: 12px; font-weight: 700; color: #0f172a;
  text-align: center; margin-bottom: 16px;
}
.phone-section-title {
  font-size: 20px; font-weight: 800; color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.kw-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: #eef2fa;
  color: #334155;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.chip small {
  font-size: 10px; font-weight: 700;
  background: #cbd5ee; color: #1e3a8a;
  padding: 2px 6px; border-radius: 999px;
}
.chip-active {
  background: var(--c-primary); color: #fff;
}
.chip-active small { background: rgba(255,255,255,0.25); color: #fff; }

.news-card {
  background: #fff;
  border: 1px solid #eaeefb;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.news-card.muted { opacity: 0.7; }
.news-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #64748b;
  margin-bottom: 4px;
}
.news-meta .dot {
  width: 6px; height: 6px; background: var(--c-accent);
  border-radius: 50%;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.news-title {
  font-size: 13px; font-weight: 600; color: #0f172a;
  line-height: 1.4;
}

.floating-toast {
  position: absolute;
  z-index: 2;
  top: 30px; right: -10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  animation: slideIn 0.7s ease-out 0.4s both, float 4s ease-in-out 1.2s infinite;
}
.floating-toast img { border-radius: 6px; }
.floating-toast strong { display: block; font-size: 13px; color: #0f172a; }
.floating-toast span { font-size: 12px; color: #64748b; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: 96px 0;
}
.section-tinted { background: var(--c-bg-tinted); }
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}
.section-head p {
  color: var(--c-text-muted);
  font-size: 17px;
  margin: 0;
}

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--c-text-muted); }

/* Service flow diagram */
.section-flow {
  background:
    radial-gradient(720px 360px at 18% 22%, rgba(44,107,255,0.09), transparent 62%),
    radial-gradient(640px 320px at 84% 68%, rgba(16,185,129,0.08), transparent 58%),
    var(--c-bg);
}
.flow-diagram {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 34px;
}
.flow-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.flow-panel rect {
  fill: #ffffff;
  stroke: #dbe6f5;
  stroke-width: 1;
}
.flow-kicker {
  fill: #64748b;
  font-size: 15px;
  font-weight: 800;
}
.flow-chip rect {
  fill: #eef4ff;
  stroke: #d6e4ff;
}
.flow-chip text {
  fill: #1e3a8a;
  font-size: 15px;
  font-weight: 800;
}
.flow-button {
  fill: #fff;
  font-size: 13px;
  font-weight: 800;
}
.flow-line {
  fill: none;
  stroke: #2c6bff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 10 10;
}
.flow-label {
  fill: #2c6bff;
  font-size: 14px;
  font-weight: 800;
}
.flow-cloud-title {
  fill: #0f172a;
  font-size: 24px;
  font-weight: 900;
}
.flow-cloud-sub {
  fill: #475569;
  font-size: 15px;
  font-weight: 700;
}
.flow-monitor rect {
  fill: #fff;
  stroke: #cfe0ff;
  stroke-width: 2;
}
.flow-monitor text:first-of-type {
  fill: #0f172a;
  font-size: 14px;
  font-weight: 900;
}
.flow-monitor text:last-of-type {
  fill: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.flow-news-found {
  fill: #ef4444;
  font-size: 13px;
  font-weight: 900;
}
.flow-push rect {
  fill: #fff;
  stroke: #dbe6f5;
  stroke-width: 1;
}
.flow-push image {
  clip-path: inset(0 round 9px);
}
.flow-push-title {
  fill: #0f172a;
  font-size: 15px;
  font-weight: 900;
}
.flow-push-body {
  fill: #475569;
  font-size: 14px;
  font-weight: 700;
}
.flow-summary {
  max-width: 960px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.flow-summary div {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.flow-summary strong {
  display: block;
  margin-bottom: 4px;
  color: var(--c-text);
}
.flow-summary span {
  color: var(--c-text-muted);
  font-size: 14px;
}
.flow-mobile-diagram {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .section-flow {
    background:
      radial-gradient(760px 380px at 18% 22%, rgba(74,130,255,0.18), transparent 62%),
      radial-gradient(680px 340px at 84% 68%, rgba(16,185,129,0.12), transparent 58%),
      var(--c-bg);
  }
  .flow-summary div {
    background: color-mix(in srgb, var(--c-surface) 86%, #ffffff 14%);
  }
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--c-primary-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 19px; font-weight: 700; margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--c-text-muted); margin: 0 0 14px; }
.feature-list {
  margin: 0; padding: 0; list-style: none;
}
.feature-list li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--c-text-muted);
  margin-bottom: 8px;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.173 11.5L2.5 7.827l1.06-1.06 2.613 2.613 5.767-5.768 1.06 1.061z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.173 11.5L2.5 7.827l1.06-1.06 2.613 2.613 5.767-5.768 1.06 1.061z'/></svg>") center/contain no-repeat;
}
.feature-card-cta {
  background: linear-gradient(135deg, var(--c-primary) 0%, #4a82ff 100%);
  border-color: transparent;
  color: #fff;
}
.feature-card-cta h3, .feature-card-cta p { color: #fff; }
.feature-card-cta .feature-icon {
  background: rgba(255,255,255,0.18);
}
.link-arrow {
  display: inline-flex; align-items: center;
  font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: #fff; }

/* Compare */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 56px;
}
.compare-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.compare-card h3 {
  margin: 0 0 16px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
}
.compare-card h3 small { color: var(--c-text-soft); font-weight: 500; }
.compare-table {
  width: 100%; border-collapse: collapse;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  vertical-align: top;
}
.compare-table th {
  font-weight: 600; color: var(--c-text-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-table td { color: var(--c-text-muted); }
.compare-table .us {
  color: var(--c-text);
  font-weight: 600;
  background: linear-gradient(90deg, transparent, rgba(44,107,255,0.06));
}
.compare-table tr:last-child td { border-bottom: none; }

/* Only here 3 cards */
.only-here {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.only-here h3 {
  text-align: center;
  font-size: 24px; font-weight: 800;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}
.only-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.only-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  margin-bottom: 14px;
}
.only-grid h4 {
  font-size: 17px; font-weight: 700; margin: 0 0 8px;
}
.only-grid p { color: var(--c-text-muted); margin: 0; font-size: 15px; }

/* Persona */
.persona-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.persona-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.persona-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.persona-emoji {
  font-size: 32px; margin-bottom: 12px;
}
.persona-card h3 {
  font-size: 16px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.persona-card p {
  font-size: 14px; color: var(--c-text-muted); margin: 0;
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 24px;
}
.plan {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
}
.plan header h3 {
  font-size: 22px; font-weight: 800; margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.plan header p {
  font-size: 14px; color: var(--c-text-soft); margin: 0 0 14px;
}
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin: 0 0 20px;
  color: var(--c-text);
}
.plan-price strong {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.01em;
}
.plan-price span {
  font-size: 14px; font-weight: 700;
  color: var(--c-text-soft);
}
.plan ul {
  list-style: none; padding: 0; margin: 0;
}
.plan ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: 14px;
  color: var(--c-text);
}
.plan ul li.muted { color: var(--c-text-soft); }
.plan ul li:last-child { border-bottom: none; }
.plan ul li strong { color: var(--c-primary); font-weight: 700; }
.plan-featured {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.plan-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--c-primary); color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
}
.pricing-note {
  text-align: center; color: var(--c-text-soft); font-size: 14px;
  margin: 0;
}
/* Plan details */
.plans-hero {
  padding-bottom: 40px;
}
.trial-note {
  display: inline-flex;
  max-width: 760px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.plan-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan-guide-card,
.feature-detail-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.plan-guide-featured {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.plan-kicker {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.plan-guide-card h3,
.feature-detail-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.plan-guide-card p,
.feature-detail-card p {
  color: var(--c-text-muted);
  font-size: 15px;
  margin: 0;
}
.feature-detail-card p + p {
  margin-top: 10px;
}
.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.plan-compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.plan-compare-table th,
.plan-compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}
.plan-compare-table thead th {
  background: var(--c-bg-tinted);
  color: var(--c-text);
  font-weight: 800;
}
.plan-compare-table tbody th {
  color: var(--c-text);
  font-weight: 700;
  white-space: normal;
}
.plan-compare-table tbody th small.plan-feature-detail {
  display: inline-block;
  margin-top: 3px;
  color: var(--c-text-soft);
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.3;
}
.plan-compare-table td {
  color: var(--c-text-muted);
  font-weight: 600;
}
.plan-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.plan-dash {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--c-text-soft);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.plan-compare-table tr:last-child th,
.plan-compare-table tr:last-child td {
  border-bottom: none;
}
.plan-source-note {
  color: var(--c-text-soft);
  font-size: 14px;
  margin: 14px 0 0;
}
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.upgrade-list {
  display: grid;
  gap: 10px;
}
.upgrade-list div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.upgrade-list strong {
  color: var(--c-text);
  font-weight: 800;
}
.upgrade-list span {
  color: var(--c-text-muted);
}

/* FAQ preview */
.faq-list {
  max-width: 760px; margin: 0 auto 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-list details {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 4px 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-list details[open] {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-right: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400;
  color: var(--c-text-soft);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 0; padding: 0 20px 18px; color: var(--c-text-muted);
}
.text-center { text-align: center; }

/* Final CTA */
.section-cta {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(74,130,255,0.25), transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-tinted) 100%);
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
}
.cta-inner > p {
  font-size: 17px; color: var(--c-text-muted);
  margin: 0 0 28px;
}
.cta-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-fineprint {
  font-size: 14px; color: var(--c-text-soft); margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--c-bg-tinted);
  border-top: 1px solid var(--c-border);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p {
  color: var(--c-text-muted);
  font-size: 14px;
  max-width: 360px;
  margin: 12px 0 0;
}
.footer-links h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-soft);
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--c-text-muted);
  padding: 4px 0;
}
.footer-links a:hover { color: var(--c-text); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 20px;
  color: var(--c-text-soft);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 64px; }
  .hero-visual { transform: scale(0.92); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
}

@media (max-width: 720px) {
  .nav-primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-mobile[data-open="true"] { display: flex; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .plan-guide-grid { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: 1fr; }
  .upgrade-list div { grid-template-columns: 1fr; gap: 6px; }
  .flow-diagram { display: none; }
  .flow-mobile-diagram {
    display: block;
    max-width: 390px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
  }
  .flow-mobile-diagram svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .flow-summary { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .only-grid { grid-template-columns: 1fr; gap: 24px; }
  .only-here { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .phone { width: 260px; height: 540px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero-visual, .nav-mobile { display: none; }
}
