:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #eef3ff;
  --text: #111827;
  --muted: #5b6475;
  --line: #dce5f1;
  --brand: #1459ff;
  --brand-dark: #0f43bf;
  --accent: #13b981;
  --green-dark: #087e59;
  --navy: #10233f;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.10);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 96% 0, rgba(20, 89, 255, 0.08), transparent 27rem),
    radial-gradient(circle at 0 18rem, rgba(19, 185, 129, 0.07), transparent 24rem),
    var(--bg);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), #2f73ff); box-shadow: 0 12px 28px rgba(20, 89, 255, .23); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-dark), #1d5cef); box-shadow: 0 15px 32px rgba(20, 89, 255, .3); }
.btn-secondary { color: var(--text); background: rgba(255,255,255,.88); border-color: var(--line); }
.btn-secondary:hover { border-color: #a9bae0; background: #fff; }
.btn-light { color: var(--brand-dark); background: #fff; }
.btn-light:hover { color: #fff; background: var(--accent); }
.btn-arrow::after { content: "→"; font-size: 1.2em; line-height: 1; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.text-link { color: var(--brand-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green-dark); }

.hero { padding: 46px 0 35px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(420px, 520px); align-items: center; gap: clamp(34px, 5vw, 68px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; color: var(--brand-dark); background: rgba(20,89,255,.09); border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(19,185,129,.13); }
.eyebrow.light { color: #fff; background: rgba(255,255,255,.12); }
.eyebrow.light::before { background: #5df4bb; }
.hero-tagline { margin: 12px 0 0; color: var(--muted); font-size: .95rem; font-weight: 700; }
.hero h1 { max-width: 760px; margin: 13px 0 17px; font-size: clamp(2.5rem, 4.8vw, 4.65rem); line-height: 1.01; letter-spacing: -.052em; }
.hero .lead { max-width: 705px; margin: 0 0 25px; color: var(--muted); font-size: clamp(1.04rem, 1.6vw, 1.17rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 20px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 8px 19px; color: #3f4c60; font-size: 13px; font-weight: 750; }
.mini-proof span { display: inline-flex; align-items: center; gap: 7px; }
.mini-proof span::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: var(--accent); border-radius: 50%; font-size: 11px; font-weight: 950; }
.hero-visual { position: relative; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.hero-visual > img { width: 100%; border-radius: 16px; }
.hero-visual figcaption { position: absolute; right: 22px; bottom: 22px; left: 22px; display: flex; flex-direction: column; gap: 1px; padding: 12px 15px; color: #fff; background: rgba(16,35,63,.91); border-radius: 12px; backdrop-filter: blur(9px); }
.hero-visual figcaption strong { font-size: 14px; }
.hero-visual figcaption span { color: #dce6f5; font-size: 12px; }

.proof-strip { color: #fff; background: var(--navy); border-top: 4px solid var(--accent); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { display: flex; flex-direction: column; justify-content: center; min-height: 104px; padding: 16px clamp(12px, 2.2vw, 28px); border-left: 1px solid rgba(255,255,255,.14); }
.proof-grid > div:first-child { border-left: 0; }
.proof-grid strong { color: #fff; font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.05; letter-spacing: -.03em; }
.proof-grid span { margin-top: 4px; color: #bdcadc; font-size: 13px; }

.section { padding: clamp(64px, 8vw, 100px) 0; }
.section-heading { max-width: 820px; }
.section-heading.centred { margin: 0 auto 43px; text-align: center; }
.section-heading.centred .eyebrow { margin-inline: auto; }
.section-heading h2, .showcase-copy h2, .map-library h2, .output-copy h2, .support-band h2, .final-cta h2 { margin: 14px 0 15px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.042em; }
.section-heading p, .showcase-copy > p, .map-library p, .output-copy > p, .support-band p, .final-cta p { margin: 0; color: var(--muted); font-size: 1.03rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid article { position: relative; padding: 30px clamp(22px, 3vw, 38px) 32px; border-left: 1px solid var(--line); }
.process-grid article:first-child { border-left: 0; }
.process-number { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--brand); border-radius: 50%; font-size: 16px; font-weight: 900; }
.process-grid h3 { margin: 17px 0 8px; font-size: 1.25rem; line-height: 1.2; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.showcase-section { padding-top: 15px; background: #fff; border-block: 1px solid var(--line); }
.showcase-row { display: grid; grid-template-columns: minmax(380px, 500px) minmax(0, 1fr); align-items: center; gap: clamp(42px, 7vw, 92px); padding: clamp(48px, 7vw, 78px) 0; border-bottom: 1px solid var(--line); }
.showcase-row:last-child { border-bottom: 0; }
.showcase-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(380px, 500px); }
.showcase-row.reverse .showcase-image { order: 2; }
.showcase-row.reverse .showcase-copy { order: 1; }
.showcase-image { width: 100%; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 40px rgba(17,24,39,.12); }
.showcase-image > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.showcase-image.has-caption { position: relative; aspect-ratio: 1; background: #fff; }
.showcase-image.has-caption > img { width: 100%; height: 100%; object-fit: cover; }
.showcase-image.has-caption .image-caption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px 13px; color: #fff; background: rgba(16,35,63,.9); border-radius: 10px; font-size: 12px; font-weight: 700; backdrop-filter: blur(7px); }
.showcase-copy h2 { max-width: 660px; font-size: clamp(2rem, 3.25vw, 3rem); }
.tick-list { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 29px; color: #344155; font-weight: 650; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; color: #fff; background: var(--accent); border-radius: 50%; font-size: 12px; font-weight: 950; }

.map-library { padding: clamp(66px, 8vw, 96px) 0; color: #fff; background: linear-gradient(135deg, #10233f 0%, #153b6f 62%, #0f7360 130%); }
.library-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 94px); }
.map-library h2 { max-width: 620px; }
.map-library p { color: #c5d2e2; }
.map-library .btn { margin-top: 25px; }
.map-groups { border-top: 1px solid rgba(255,255,255,.2); }
.map-groups > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.map-groups strong { color: #fff; font-size: 15px; }
.map-groups span { color: #c5d2e2; font-size: 14px; }

.use-cases { background: #f8fafc; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-grid article { min-height: 155px; padding: 24px clamp(18px, 2.8vw, 31px); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.use-grid article:nth-child(-n+3) { border-top: 0; }
.use-grid article:nth-child(3n+1) { border-left: 0; }
.use-grid h3 { margin: 0 0 7px; color: var(--navy); font-size: 1.08rem; }
.use-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.output-section { background: #fff; }
.output-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(40px, 7vw, 86px); }
.format-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 17px; }
.format-list span { padding: 7px 12px; color: var(--brand-dark); background: var(--panel-soft); border: 1px solid #ccdaf8; border-radius: 9px; font-size: 13px; font-weight: 900; }
.small-note { font-size: 14px !important; }
.pdf-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pdf-card { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; }
.pdf-card figcaption { display: flex; flex-direction: column; }
.pdf-card strong { font-size: 14px; }
.pdf-card figcaption span { color: var(--muted); font-size: 12px; }
.pdf-preview { position: relative; overflow: hidden; background: #e9eef5; border: 1px solid #c8d5ea; border-radius: 9px; box-shadow: 0 10px 20px rgba(17,24,39,.09); }
.pdf-preview img { width: 100%; height: auto; }
.pdf-badge { position: absolute; left: 8px; top: 8px; padding: 5px 8px; color: #fff; background: #c92929; border-radius: 7px; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(17,24,39,.2); }

.support-band { padding: 32px 0; background: #e9f7f1; border-block: 1px solid #bfe5d4; }
.support-grid { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 22px; }
.support-icon { display: grid; place-items: center; width: 56px; height: 56px; color: var(--green-dark); background: #fff; border-radius: 50%; }
.support-icon svg { width: 33px; fill: currentColor; }
.support-band h2 { margin: 0 0 4px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.support-band p { max-width: 790px; font-size: 14px; }

.tutorials-section { background: linear-gradient(180deg,#f5f7fb,#edf2f8); }
.tutorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; max-width: none; margin-bottom: 28px; }
.tutorial-heading > div { max-width: 780px; }
.tutorial-heading h2 { margin-bottom: 10px; }
.youtube-channel { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 10px 14px; color: #b42323; background: #fff; border: 1px solid #e4caca; border-radius: 12px; font-size: 13px; font-weight: 850; }
.youtube-channel:hover { color: #fff; background: #d83232; border-color: #d83232; }
.youtube-channel svg { width: 26px; fill: currentColor; }
.tutorial-table-wrap { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(17,24,39,.06); }
.tutorial-table { width: 100%; border-collapse: collapse; }
.tutorial-table th { padding: 13px 16px; color: #526176; background: #eef3fa; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.tutorial-table td { padding: 12px 16px; border-bottom: 1px solid #e8edf4; color: #58667a; font-size: 13px; }
.tutorial-table tr:last-child td { border-bottom: 0; }
.tutorial-table tbody tr:hover { background: #f7faff; }
.tutorial-table td:first-child { display: flex; align-items: center; gap: 12px; color: var(--text); }
.tutorial-table strong { font-size: 14px; }
.tutorial-no { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; color: var(--brand-dark); background: var(--panel-soft); border-radius: 8px; font-size: 11px; font-weight: 900; }
.tutorial-table td:last-child { width: 92px; text-align: right; }
.tutorial-table td:last-child a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-dark); font-weight: 900; }
.tutorial-table td:last-child a span { color: #dc2626; font-size: 10px; }
.tutorial-table td:last-child a:hover { color: var(--green-dark); }

.faq-section { background: #fff; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); align-items: start; gap: clamp(38px, 7vw, 90px); }
.faq-intro { position: sticky; top: 104px; }
.faq-intro h2 { margin: 14px 0 13px; font-size: clamp(2rem, 3.25vw, 2.85rem); line-height: 1.08; letter-spacing: -.04em; }
.faq-intro p { margin: 0; color: var(--muted); }
.faq-intro .btn { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 44px 19px 0; color: var(--navy); font-size: 1rem; font-weight: 850; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 13px; display: grid; place-items: center; width: 32px; height: 32px; color: var(--brand-dark); background: var(--panel-soft); border-radius: 50%; font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; color: #fff; background: var(--brand); }
.faq-list details p { max-width: 780px; margin: -4px 42px 18px 0; color: var(--muted); font-size: 14px; }

.final-cta { padding: clamp(60px, 8vw, 88px) 0; color: #fff; background: linear-gradient(120deg, #1459ff 0%, #124bbd 58%, #0a8b68 145%); }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 55px; }
.final-cta h2 { max-width: 800px; }
.final-cta p { max-width: 790px; color: #dbe7ff; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.final-actions span { color: #dce8ff; font-size: 13px; font-weight: 700; }

.site-footer { padding: 31px 0; color: #64748b; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px 30px; }
.site-footer img { width: 205px; height: 42px; object-fit: contain; }
.site-footer p { margin: 2px 0 0; font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 20px; font-size: 13px; font-weight: 700; }
.site-footer nav a:hover { color: var(--brand); }
.copyright { grid-column: 2; text-align: right; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr minmax(360px, 440px); gap: 34px; }
  .hero h1 { font-size: clamp(2.45rem, 5.4vw, 3.8rem); }
}

@media (max-width: 820px) {
  .hero { padding-top: 34px; }
  .hero-grid, .showcase-row, .showcase-row.reverse, .library-grid, .output-grid, .faq-grid, .final-cta-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual, .showcase-image { width: min(100%, 520px); margin-inline: auto; }
  .showcase-row.reverse .showcase-image, .showcase-row.reverse .showcase-copy { order: initial; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .proof-grid > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-grid article:first-child { border-top: 0; }
  .process-grid h3 { margin: 3px 0 7px; }
  .process-grid p { grid-column: 2; }
  .map-groups > div { grid-template-columns: 150px 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid article:nth-child(-n+3) { border-top: 1px solid var(--line); }
  .use-grid article:nth-child(-n+2) { border-top: 0; }
  .use-grid article:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .use-grid article:nth-child(2n+1) { border-left: 0; }
  .support-grid { grid-template-columns: 52px 1fr; }
  .support-grid .btn { grid-column: 2; justify-self: start; }
  .tutorial-heading { align-items: flex-start; flex-direction: column; }
  .faq-intro { position: static; }
  .final-actions { align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, var(--container)); }
  .brand img { width: 188px; height: 46px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .cta-row .btn { width: 100%; }
  .text-link { margin: 5px auto 0; }
  .mini-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-visual { padding: 6px; border-radius: 18px; }
  .hero-visual > img { border-radius: 13px; }
  .hero-visual figcaption { right: 13px; bottom: 13px; left: 13px; }
  .proof-grid > div { min-height: 88px; padding: 13px; }
  .proof-grid strong { font-size: 1.35rem; }
  .proof-grid span { font-size: 11px; }
  .section { padding-block: 60px; }
  .showcase-section { padding-top: 0; }
  .showcase-row { padding-block: 52px; gap: 29px; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { min-height: 0; padding: 19px 0; border-left: 0 !important; border-top: 1px solid var(--line) !important; }
  .use-grid article:first-child { border-top: 0 !important; }
  .map-groups > div { grid-template-columns: 1fr; gap: 3px; }
  .pdf-examples { gap: 9px; }
  .pdf-card { padding: 10px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid .btn { grid-column: 1; }
  .support-icon { width: 50px; height: 50px; }
  .tutorial-table-wrap { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .tutorial-table, .tutorial-table tbody, .tutorial-table tr, .tutorial-table td { display: block; width: 100%; }
  .tutorial-table thead { display: none; }
  .tutorial-table tbody { display: grid; gap: 9px; }
  .tutorial-table tr { position: relative; padding: 12px 85px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .tutorial-table td { padding: 0; border: 0; }
  .tutorial-table td:first-child { align-items: flex-start; }
  .tutorial-table td:nth-child(2), .tutorial-table td:nth-child(3) { display: inline; margin: 0 4px 0 41px; font-size: 11px; }
  .tutorial-table td:nth-child(2)::after { content: " ·"; }
  .tutorial-table td:last-child { position: absolute; right: 12px; top: 50%; width: auto; transform: translateY(-50%); }
  .tutorial-table td:last-child a { padding: 7px 9px; background: var(--panel-soft); border-radius: 8px; font-size: 12px; }
  .tutorial-table strong { font-size: 13px; line-height: 1.25; }
  .tutorial-no { flex-basis: 27px; width: 27px; height: 27px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .copyright { grid-column: 1; text-align: left; }
}

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

@media print {
  .vm-site-header, .vm-breadcrumbs, .final-cta, .site-footer { display: none !important; }
  body { background: #fff; }
  .section, .map-library { break-inside: avoid; }
}
