:root {
  --navy: #071a36;
  --navy-2: #0d2b52;
  --blue: #2f73ff;
  --blue-dark: #185bdc;
  --blue-soft: #e8f0ff;
  --ink: #132238;
  --muted: #68778b;
  --paper: #f4f7fb;
  --panel: #fff;
  --line: #dce5ef;
  --green: #16825d;
  --shadow: 0 24px 70px rgba(7,26,54,.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
.marketing-page { min-height: 100vh; overflow-x: hidden; background: var(--paper); }
.m-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: min(1180px,calc(100% - 40px)); min-height: 86px; margin: auto; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 20px; font-weight: 820; letter-spacing: -.03em; text-decoration: none; }
.m-brand img { width: 36px; height: 36px; border-radius: 10px; }
.m-header nav { display: flex; align-items: center; gap: 27px; }
.m-header nav > a:not(.m-button) { color: #45566d; font-size: 12px; font-weight: 680; text-decoration: none; }
.m-header nav > a:hover { color: var(--blue); }
.m-signin { padding-left: 24px; border-left: 1px solid var(--line); }
.m-menu { display: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: white; font-weight: 750; }
.m-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 780; text-decoration: none; transition: transform .18s,box-shadow .18s,background .18s; }
.m-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,115,255,.22); }
.m-button.primary { color: white; background: var(--blue); }
.m-button.primary:hover { background: var(--blue-dark); }
.m-button.secondary { border-color: var(--line); color: var(--navy); background: white; }
.m-button.light { color: var(--navy); background: white; }
.m-button.small { min-height: 39px; padding: 0 15px; }
.m-eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 10px; font-weight: 880; letter-spacing: .16em; }
.m-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); align-items: center; gap: 70px; width: min(1180px,calc(100% - 40px)); min-height: 560px; margin: auto; padding: 75px 0 105px; }
.m-hero::before { content: ""; position: absolute; z-index: -1; top: 0; right: -28vw; width: 60vw; height: 540px; border-radius: 0 0 0 120px; background: linear-gradient(145deg,#eef4ff,#f8faff); }
.m-hero h1 { max-width: 790px; margin: 0; color: var(--navy); font-size: clamp(46px,6vw,78px); line-height: .99; letter-spacing: -.065em; }
.m-hero > div:first-child > p:not(.m-eyebrow) { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.m-actions { display: flex; align-items: center; gap: 23px; margin-top: 34px; }
.m-text-link { color: var(--navy); font-size: 12px; font-weight: 760; text-decoration: none; }
.m-text-link span { margin-left: 6px; color: var(--blue); }
.m-actions + small { display: block; margin-top: 13px; color: #8895a7; font-size: 9px; }
.hero-orbit { position: relative; width: min(390px,100%); aspect-ratio: 1; margin: auto; border: 1px solid #d9e5f8; border-radius: 50%; }
.hero-orbit::before,.hero-orbit::after { content: ""; position: absolute; border: 1px solid #dce7f8; border-radius: 50%; }
.hero-orbit::before { inset: 16%; }
.hero-orbit::after { inset: 34%; background: var(--navy); box-shadow: var(--shadow); }
.hero-orbit i { position: absolute; z-index: 2; inset: 40%; border-radius: 14px; background: url("/assets/rankline-icon.png") center/cover; }
.hero-orbit span { position: absolute; z-index: 3; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); background: white; box-shadow: 0 12px 30px rgba(7,26,54,.09); font-size: 10px; font-weight: 780; animation: float 4s ease-in-out infinite; }
.orbit-rank { top: 12%; right: 4%; color: var(--blue) !important; font-size: 24px !important; }
.orbit-keyword { bottom: 14%; left: -5%; animation-delay: -1.2s !important; }
.orbit-site { top: 31%; left: -10%; animation-delay: -2.4s !important; }
@keyframes float { 50% { transform: translateY(-8px); } }
.m-section { width: min(1180px,calc(100% - 40px)); margin: 0 auto 115px; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2,.inline-cta h2 { margin: 0; color: var(--navy); font-size: clamp(31px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:not(.m-eyebrow),.inline-cta p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-preview { width: min(1180px,calc(100% - 40px)); margin: 0 auto 115px; }
.preview-window { overflow: hidden; border: 1px solid #cbd8e8; border-radius: 18px; background: white; box-shadow: 0 35px 90px rgba(7,26,54,.16); }
.preview-top { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid #e0e7f0; background: #f8fafc; }
.preview-top i { width: 8px; height: 8px; border-radius: 50%; background: #d3dbe6; }
.preview-top span { margin: auto; color: #8390a2; font-size: 8px; }
.preview-app { display: grid; grid-template-columns: 175px 1fr; min-height: 520px; }
.preview-app > aside { padding: 22px 17px; color: white; background: var(--navy); }
.preview-logo { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 8px; color: white; background: var(--blue); font-weight: 850; }
.preview-app > aside > b { font-size: 13px; }
.preview-app aside nav { display: grid; gap: 5px; margin-top: 35px; }
.preview-app aside nav span { padding: 10px; border-radius: 8px; color: #9cafc8; font-size: 9px; }
.preview-app aside nav .active { color: white; background: rgba(255,255,255,.1); }
.preview-main { min-width: 0; padding: 27px 30px; background: #f4f7fb; }
.preview-main > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.preview-main header small,.preview-main section > small { display: block; margin-bottom: 4px; color: var(--blue); font-size: 7px; font-weight: 850; letter-spacing: .13em; }
.preview-main header strong { display: block; font-size: 20px; }
.preview-main button { border: 0; border-radius: 7px; padding: 10px 13px; color: white; background: var(--blue); font-size: 8px; font-weight: 750; }
.preview-site { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.preview-site > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: white; background: var(--navy-2); font-style: normal; font-weight: 800; }
.preview-site small,.preview-site strong { display: block; }
.preview-site small { color: var(--muted); font-size: 7px; }
.preview-site strong { margin-top: 3px; font-size: 10px; }
.preview-site > span { margin-left: auto; color: var(--muted); font-size: 8px; }
.preview-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 12px 0; }
.preview-stats > div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.preview-stats small { display: block; color: var(--muted); font-size: 7px; }
.preview-stats b { display: block; margin-top: 9px; font-size: 22px; }
.preview-panels { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.preview-panels section { min-width: 0; min-height: 210px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.preview-panels h3 { margin: 0 0 16px; font-size: 13px; }
.preview-row { display: grid; grid-template-columns: 1fr 28px 35px; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #edf1f5; font-size: 8px; }
.preview-row b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); }
.preview-row em { color: var(--green); font-style: normal; font-weight: 800; }
.preview-row em.muted { color: var(--muted); }
.preview-chart svg { width: 100%; margin-top: 20px; overflow: visible; }
.preview-chart path { fill: none; stroke: var(--blue); stroke-width: 3; }
.preview-chart path.area { fill: rgba(47,115,255,.1); stroke: none; }
.product-preview figcaption { margin-top: 13px; color: var(--muted); font-size: 9px; text-align: center; }
.product-preview figcaption a { color: var(--blue); font-weight: 750; }
.product-preview.compact { max-width: 1000px; }
.product-preview.compact .preview-app { min-height: 440px; }
.m-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; width: min(1180px,calc(100% - 40px)); margin: 0 auto 115px; }
.m-feature-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.m-feature-grid span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.m-feature-grid h3 { margin: 42px 0 10px; color: var(--navy); font-size: 19px; }
.m-feature-grid p,.prose-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.demo-section { padding: 70px; border-radius: 24px; background: var(--navy); }
.demo-section .section-heading h2 { color: white; }
.demo-section .section-heading > p:not(.m-eyebrow) { color: #9fb2cc; }
.demo-grid { display: grid; grid-template-columns: 320px 1fr; gap: 55px; align-items: stretch; }
.demo-steps { display: grid; gap: 8px; }
.demo-steps button { display: grid; grid-template-columns: 35px 1fr; gap: 2px 11px; padding: 15px; border: 1px solid transparent; border-radius: 11px; color: #9fb2cc; background: transparent; text-align: left; cursor: pointer; }
.demo-steps button.active { border-color: rgba(255,255,255,.13); color: white; background: rgba(255,255,255,.07); }
.demo-steps span { grid-row: 1/3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: white; background: var(--blue); font-size: 10px; font-weight: 800; }
.demo-steps b { font-size: 11px; }
.demo-steps small { font-size: 8px; line-height: 1.5; }
.demo-stage { position: relative; min-height: 330px; padding: 30px; border-radius: 16px; background: #f7f9fc; }
.demo-panel { display: none; }
.demo-panel.active { display: block; animation: demo-in .3s ease; }
@keyframes demo-in { from { opacity: 0; transform: translateY(8px); } }
.demo-panel > small { color: var(--blue); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.demo-panel label { display: grid; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 8px; font-weight: 700; }
.demo-panel label strong { padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 10px; }
.demo-panel > i { display: inline-block; margin-top: 20px; padding: 8px 10px; border-radius: 7px; color: var(--green); background: #e6f5ef; font-size: 8px; font-style: normal; font-weight: 750; }
.demo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-panel h3 { margin: 20px 0 0; font-size: 16px; }
.demo-rank { display: flex; align-items: center; gap: 12px; margin-top: 19px; }
.demo-rank b { font-size: 36px; }
.demo-rank span { color: var(--green); font-size: 10px; font-weight: 800; }
.demo-panel svg { width: 100%; margin-top: 18px; }
.demo-panel svg path { fill: none; stroke: var(--blue); stroke-width: 3; }
.prose-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.prose-grid article { padding-top: 23px; border-top: 2px solid var(--blue); }
.prose-grid h2 { margin: 0 0 13px; color: var(--navy); font-size: 20px; letter-spacing: -.025em; }
.pricing-section { padding-top: 20px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { padding: 38px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.price-card.featured { color: white; border-color: var(--navy); background: var(--navy); box-shadow: var(--shadow); }
.price-card > span { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.price-card h3 { margin: 14px 0 22px; font-size: 25px; }
.price { font-size: 36px; font-weight: 850; letter-spacing: -.04em; }
.price small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 0; }
.featured .price small,.featured > p { color: #9fb2cc; }
.price-card > p { min-height: 42px; margin: 19px 0; font-size: 11px; line-height: 1.6; }
.price-card ul { display: grid; gap: 10px; min-height: 130px; margin: 24px 0; padding: 0; list-style: none; font-size: 10px; }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--blue); font-weight: 900; }
.term-prices { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.term-prices div { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.term-prices b { font-size: 10px; }
.term-prices span { color: var(--blue); font-size: 16px; font-weight: 850; }
.term-prices em { position: absolute; top: -8px; right: 10px; padding: 4px 7px; border-radius: 999px; color: white; background: var(--blue); font-size: 7px; font-style: normal; font-weight: 800; }
.price-note { max-width: 740px; margin: 17px auto 0; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }
.checker-box { display: grid; grid-template-columns: 1.1fr .9fr auto; align-items: center; gap: 45px; padding: 52px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.checker-box h2 { margin: 0; color: var(--navy); font-size: 31px; }
.checker-box p:not(.m-eyebrow) { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.checker-box ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 10px; font-weight: 700; }
.checker-box li { display: flex; align-items: center; gap: 9px; }
.checker-box li span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-section details { padding: 19px 0; border-top: 1px solid var(--line); }
.faq-section summary { color: var(--navy); font-size: 12px; font-weight: 760; cursor: pointer; }
.faq-section details p { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.guide-body { display: grid; grid-template-columns: 220px 1fr; gap: 80px; width: min(1000px,calc(100% - 40px)); margin: 0 auto 115px; }
.guide-body aside { position: sticky; top: 30px; align-self: start; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.guide-body aside strong { margin-bottom: 8px; font-size: 10px; }
.guide-body aside a { color: var(--muted); font-size: 9px; text-decoration: none; }
.guide-body section { padding: 0 0 50px; scroll-margin-top: 25px; }
.guide-body section > span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.guide-body h2 { margin: 10px 0 15px; color: var(--navy); font-size: 29px; letter-spacing: -.035em; }
.guide-body p { color: var(--muted); font-size: 12px; line-height: 1.85; }
.guide-callout { margin-top: 25px; padding: 24px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.guide-callout p { margin-bottom: 0; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; width: min(1180px,calc(100% - 40px)); margin: 0 auto 115px; padding: 60px; border-radius: 22px; color: white; background: var(--blue); }
.inline-cta .m-eyebrow { color: #d5e2ff; }
.inline-cta h2 { color: white; }
.inline-cta p { max-width: 670px; color: #dbe6ff; }
.m-footer { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 45px; padding: 65px max(30px,calc((100vw - 1180px)/2)); color: #a9b9ce; background: var(--navy); }
.m-footer .m-brand { color: white; }
.m-footer > div { display: grid; align-content: start; gap: 10px; }
.m-footer p { max-width: 330px; font-size: 10px; line-height: 1.7; }
.m-footer strong { margin-bottom: 5px; color: white; font-size: 10px; }
.m-footer > div > a:not(.m-brand) { font-size: 9px; text-decoration: none; }
.m-footer > small { grid-column: 1/-1; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: 8px; }
@media (max-width: 900px) {
  .m-header nav { display: none; position: absolute; top: 75px; right: 0; left: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .menu-open .m-header nav { display: grid; }
  .m-signin { padding: 0; border: 0; }
  .m-menu { display: block; }
  .m-hero { grid-template-columns: 1fr; min-height: 0; padding: 65px 0 80px; }
  .hero-orbit { width: min(330px,82vw); }
  .m-feature-grid,.prose-grid { grid-template-columns: repeat(2,1fr); }
  .demo-section { padding: 45px; }
  .demo-grid { grid-template-columns: 1fr; gap: 25px; }
  .demo-steps { grid-template-columns: repeat(3,1fr); }
  .demo-steps button { grid-template-columns: 30px 1fr; }
  .demo-steps small { display: none; }
  .checker-box { grid-template-columns: 1fr; }
  .faq-section { grid-template-columns: 1fr; gap: 15px; }
  .m-footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .m-footer > div:nth-child(4) { grid-column: 2; }
}
@media (max-width: 620px) {
  .m-header,.m-hero,.m-section,.product-preview,.m-feature-grid,.guide-body,.inline-cta { width: min(100% - 28px,1180px); }
  .m-header { min-height: 72px; }
  .m-hero { gap: 45px; padding-top: 52px; }
  .m-hero h1 { font-size: 44px; }
  .m-hero > div:first-child > p:not(.m-eyebrow) { font-size: 13px; }
  .m-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .m-section,.product-preview,.m-feature-grid,.guide-body,.inline-cta { margin-bottom: 78px; }
  .preview-app { grid-template-columns: 1fr; min-height: 0; }
  .preview-app > aside { display: none; }
  .preview-main { padding: 16px; }
  .preview-site > span { display: none; }
  .preview-panels { grid-template-columns: 1fr; }
  .preview-chart { display: none; }
  .m-feature-grid,.prose-grid,.price-grid { grid-template-columns: 1fr; }
  .m-feature-grid article { min-height: 180px; }
  .demo-section { width: 100%; padding: 45px 18px; border-radius: 0; }
  .demo-steps { grid-template-columns: 1fr; }
  .demo-stage { min-height: 320px; padding: 22px; }
  .term-prices { grid-template-columns: 1fr; }
  .checker-box { padding: 28px; }
  .guide-body { grid-template-columns: 1fr; gap: 30px; }
  .guide-body aside { position: static; }
  .inline-cta { align-items: flex-start; flex-direction: column; padding: 36px 28px; }
  .m-footer { grid-template-columns: 1fr 1fr; padding: 50px 22px; }
  .m-footer > div:first-child { grid-column: 1/-1; }
  .m-footer > div:nth-child(4) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
