:root {
  --navy: #071a3d;
  --navy-soft: #102853;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --cream: #f7f6f1;
  --paper: #fffefa;
  --ink: #101522;
  --muted: #676e7a;
  --line: #dfe2e7;
  --soft: #eceef2;
  --success: #16865f;
  --content: 1180px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  margin-top: 10px;
  padding: 8px 14px 8px 18px;
  border-radius: 16px;
  background: rgba(255,254,250,.96);
  box-shadow: 0 10px 30px rgba(7,26,61,.08);
  backdrop-filter: blur(16px);
}
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #4e5561; font-size: 14px; font-weight: 700; }
.main-nav a, .footer a { transition: color .18s var(--ease); }
.main-nav a:hover, .footer a:hover { color: var(--blue-dark); }
.header-cta { justify-self: end; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--navy); background: #e8edf5; }
.button.secondary:hover { background: #dce4ef; }
.button.light { color: var(--navy); background: #fff; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 34px 0 0; color: var(--muted); font-size: 13px; }
.breadcrumbs span { opacity: .55; }
.breadcrumbs a:hover { color: var(--blue-dark); }

.hero { padding: 76px 0 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 84px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1 { max-width: 780px; margin: 0; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.proof-line { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 24px; color: #555d69; font-size: 13px; font-weight: 700; }
.proof-line span { display: inline-flex; align-items: center; gap: 8px; }
.proof-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.comparison { position: relative; overflow: hidden; width: min(100%, 360px); aspect-ratio: 9 / 16; justify-self: end; border-radius: 18px; background: #11141a; box-shadow: 0 24px 60px rgba(7,26,61,.14); }
.comparison.square { width: min(100%, 520px); aspect-ratio: 1 / 1; }
.comparison figure { position: absolute; inset: 0; margin: 0; }
.comparison img { width: 100%; height: 100%; object-fit: contain; }
.comparison .clean { clip-path: inset(0 50% 0 0); }
.comparison-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.comparison-divider::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-size: 18px; font-weight: 900; transform: translate(-50%,-50%); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.comparison-label { position: absolute; z-index: 4; top: 16px; padding: 7px 11px; border-radius: 8px; color: #fff; background: rgba(7,26,61,.78); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.comparison-label.before { right: 16px; }
.comparison-label.after { left: 16px; }
.comparison input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

.intent-strip { color: #fff; background: var(--navy); }
.intent-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.intent-item { padding: 30px 34px; border-right: 1px solid rgba(255,255,255,.13); }
.intent-item:last-child { border-right: 0; }
.intent-item b { display: block; margin-bottom: 4px; font-size: 14px; }
.intent-item span { color: #b9c4d7; font-size: 13px; }

.section { padding: 104px 0; }
.section.paper { background: var(--paper); }
.section.navy { color: #fff; background: var(--navy); }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 0; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.navy .section-head p { color: #c3ccdc; }
.steps, .case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step, .case-card { padding: 30px; border-radius: 16px; background: var(--soft); }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 54px; border-radius: 10px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 900; }
.step h3, .case-card h3 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.025em; }
.step p, .case-card p { margin: 0; color: var(--muted); font-size: 14px; }

.seo-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.seo-detail-card { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 28px; border-radius: 16px; background: #fff; }
.seo-detail-card > span { color: var(--blue-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.seo-detail-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.18; letter-spacing: -.025em; }
.seo-detail-card p { margin: 0; color: #535c69; font-size: 15px; line-height: 1.7; }
.seo-detail-card p + p { margin-top: 12px; }
.seo-detail-card ul { margin: 16px 0 0; padding-left: 18px; color: #535c69; font-size: 14px; line-height: 1.65; }
.seo-faq { background: #fff; }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-list details { padding: 20px 22px; border-radius: 14px; background: var(--soft); }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 800; list-style-position: outside; }
.faq-list p { margin: 13px 0 0; color: #535c69; line-height: 1.7; }
.article .seo-faq { padding: 42px 0 12px; }
.article .seo-faq .wrap { width: 100%; }
.article .seo-faq .section-head { margin-bottom: 24px; }
.article .seo-faq h2 { margin-top: 0; }

.quality-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.quality-points { display: grid; gap: 1px; overflow: hidden; border-radius: 16px; background: #31466d; }
.quality-point { padding: 22px 24px; background: var(--navy-soft); }
.quality-point b { display: block; margin-bottom: 5px; }
.quality-point span { color: #bdc7d8; font-size: 14px; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border-radius: 15px; background: #fff; transition: transform .18s var(--ease), background .18s var(--ease); }
.related-card:hover { transform: translateY(-3px); background: #f0f3f8; }
.related-card small { color: var(--blue-dark); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.related-card strong { font-size: 20px; line-height: 1.25; }
.related-card span { color: var(--muted); font-size: 13px; }

.final-cta { padding: 94px 20px; color: #fff; background: var(--navy); text-align: center; }
.final-cta h2 { max-width: 850px; margin: 0 auto; font-size: clamp(40px,5.5vw,68px); line-height: 1; letter-spacing: -.05em; }
.final-cta p { max-width: 620px; margin: 20px auto 28px; color: #c4cede; }

.article-hero { padding: 74px 0 54px; }
.article-hero h1 { max-width: 920px; font-size: clamp(50px,7vw,86px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 700; }
.answer-box { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-top: 42px; padding: 28px; border-radius: 16px; background: #e8edf5; }
.answer-box b { color: var(--blue-dark); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.answer-box p { margin: 0; color: #394150; font-size: 18px; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0,740px); gap: 70px; justify-content: center; align-items: start; padding-bottom: 110px; }
.toc { position: sticky; top: 104px; padding: 20px; border-radius: 14px; background: #eceef2; }
.toc b { display: block; margin-bottom: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--blue-dark); }
.article { font-size: 17px; }
.article h2 { margin: 54px 0 14px; font-size: clamp(30px,4vw,42px); line-height: 1.08; letter-spacing: -.035em; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #4f5764; }
.article li + li { margin-top: 10px; }
.article-note { margin: 34px 0; padding: 25px; border-radius: 14px; color: #fff; background: var(--navy); }
.article-note p { margin: 8px 0 0; color: #c4cede; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 42px 0; padding: 26px; border-radius: 15px; background: #e8edf5; }
.inline-cta h3 { margin: 0 0 4px; font-size: 20px; }
.inline-cta p { margin: 0; font-size: 14px; }

.footer { padding: 45px 0; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer img { width: 56px; height: 56px; object-fit: contain; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 13px; font-weight: 700; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav { display: none; }
  .hero-grid, .quality-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .comparison { width: min(100%, 360px); justify-self: center; }
  .comparison.square { width: min(100%, 520px); }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 24px), var(--content)); }
  .site-header { min-height: 64px; padding: 6px 8px 6px 11px; border-radius: 13px; }
  .brand img { width: 46px; height: 46px; }
  .header-cta { min-height: 44px; padding-inline: 15px; font-size: 12px; }
  .breadcrumbs { margin-top: 25px; }
  .hero, .article-hero { padding: 50px 0 62px; }
  .hero-grid { grid-template-columns: 1fr; }
  h1, .article-hero h1 { font-size: clamp(42px,13vw,58px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .comparison { width: min(100%, 340px); }
  .comparison.square { width: 100%; }
  .intent-grid, .steps, .case-grid, .related-grid { grid-template-columns: 1fr; }
  .seo-detail-grid { grid-template-columns: 1fr; }
  .seo-detail-card { grid-template-columns: 32px 1fr; padding: 22px 18px; }
  .intent-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .intent-item:last-child { border-bottom: 0; }
  .section { padding: 74px 0; }
  .section h2 { font-size: clamp(36px,11vw,48px); }
  .step-number { margin-bottom: 34px; }
  .answer-box { grid-template-columns: 1fr; gap: 8px; }
  .inline-cta { align-items: stretch; flex-direction: column; }
  .inline-cta .button { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer nav { flex-direction: column; gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
