@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/marketing/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #0d1117;
  --text: #202733;
  --muted: #5d6675;
  --primary: #1e5bff;
  --primary-strong: #1647d8;
  --signal: #168a48;
  --signal-text: #11743c;
  --surface: #fff;
  --surface-soft: #f3f6ff;
  --surface-green: #edf9f1;
  --border: #dfe4ec;
  --focus: #0b4dff;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-control: 10px;
  --radius-surface: 16px;
  --radius-frame: 24px;
  --gutter: 20px;
  color-scheme: light;
  font-family: "Schibsted Grotesk", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--text); font-size: 16px; line-height: 1.65; }
.marketing-page { overflow-x: hidden; overflow-x: clip; }
body, button, input, textarea, select { font-family: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 0.16em; }
a:hover { color: var(--primary-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: var(--space-2); left: var(--space-2); padding: var(--space-3) var(--space-4); background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p, ul, ol, figure, blockquote { margin-top: 0; }
figure { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.75rem); line-height: 0.98; font-weight: 780; }
.seo-title, .prose > h1 { max-width: 18ch; font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.08; font-weight: 730; }
h3 { font-size: 1.375rem; line-height: 1.2; font-weight: 680; }
p { text-wrap: pretty; }
.lead { max-width: 56ch; font-size: 1.1875rem; line-height: 1.55; color: var(--muted); }
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section-soft { background: var(--surface-soft); }
.section-header { display: grid; gap: var(--space-4); max-width: 700px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-header p { color: var(--muted); margin-bottom: 0; }

.site-header { position: relative; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: var(--space-3); }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); font-size: 1.125rem; font-weight: 750; text-decoration: none; letter-spacing: -0.03em; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.wordmark-mark { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid var(--ink); border-radius: 8px; font-size: 0.95rem; line-height: 1; }
.desktop-nav { display: none; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: var(--space-2); color: var(--text); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover { color: var(--primary); }
.header-cta.button { display: none; }
.mobile-nav { margin-left: auto; }
.mobile-nav[open] { position: static; }
.mobile-nav summary { width: 44px; height: 44px; display: grid; align-content: center; justify-content: center; gap: 4px; cursor: pointer; list-style: none; border: 1px solid var(--border); border-radius: var(--radius-control); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 18px; height: 2px; background: var(--ink); }
.mobile-nav nav { position: absolute; inset: calc(100% + 1px) 0 auto; display: grid; gap: var(--space-1); padding: var(--space-4) var(--gutter) var(--space-5); background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 14px 24px rgb(13 17 23 / 0.1); }
.mobile-nav nav a:not(.button) { min-height: 44px; display: flex; align-items: center; color: var(--text); font-weight: 650; text-decoration: none; }
.mobile-nav .button { margin-top: var(--space-2); justify-content: center; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 11px 18px; border: 1px solid var(--primary); border-radius: var(--radius-control); background: var(--primary); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease; }
.button:hover { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 8px 12px; font-size: 0.875rem; }
.button-secondary { background: var(--surface); border-color: var(--border); color: var(--ink); }
.button-secondary:hover { background: var(--surface-soft); border-color: var(--primary); color: var(--primary-strong); }
.chrome-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.text-link::after { content: "→"; margin-left: var(--space-2); transition: transform 150ms ease; }

.hero { overflow: hidden; padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 9vw, 9rem); }
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
.hero-copy { display: grid; gap: var(--space-5); }
.hero-copy h1, .hero-copy p { margin-bottom: 0; }
.hero-actions { display: grid; gap: var(--space-3); }
.trust-line { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding: 0; margin: 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; list-style: none; }
.trust-line li::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: var(--space-2); border-radius: 50%; background: var(--signal); vertical-align: 0.05em; }
.product-frame { min-width: 0; }
.product-shot { overflow: hidden; aspect-ratio: 18 / 19; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-frame); box-shadow: 0 20px 44px rgb(13 17 23 / 0.12); }
.product-frame img { width: 100%; height: 100%; object-fit: cover; }
.offline-strip { padding-block: var(--space-4); border-block: 1px solid var(--border); background: var(--surface-soft); }
.offline-strip-grid { display: grid; gap: var(--space-3); }
.offline-strip-grid > div { display: grid; gap: 2px; }
.offline-strip-grid strong { color: var(--ink); font-size: 0.9375rem; }
.offline-strip-grid span { color: var(--muted); font-size: 0.8125rem; }
.route-map { display: flex; align-items: center; gap: 0; padding: 0; margin: 0; list-style: none; }
.route-map li { position: relative; flex: 1; padding-top: var(--space-5); color: var(--muted); font-size: 0.8125rem; font-weight: 700; }
.route-map li::before { content: ""; position: absolute; top: 5px; left: 0; width: 11px; height: 11px; border: 2px solid var(--primary); border-radius: 50%; background: var(--surface); }
.route-map li:not(:last-child)::after { content: ""; position: absolute; top: 10px; left: 11px; width: calc(100% - 11px); border-top: 1px solid var(--primary); }
.route-map li:nth-child(even)::before { border-radius: 2px; background: var(--primary); }

.editorial-split { display: grid; gap: var(--space-6); align-items: start; }
.editorial-split > * { min-width: 0; }
.intro-grid { display: grid; gap: var(--space-6); align-items: start; }
.intro-block { display: grid; gap: var(--space-4); min-width: 0; }
.intro-block > * { margin-bottom: 0; }
.pull-line { padding-top: var(--space-4); border-top: 1px solid var(--primary); color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.35; }
.mechanism { display: grid; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--surface); }
.mechanism-step { display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); }
.mechanism-step b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--primary); font-size: 0.875rem; }
.mechanism-step h3, .mechanism-step p { grid-column: 2; margin-bottom: 0; }
.mechanism-step p { color: var(--muted); }
.process { display: grid; gap: var(--space-6); }
.process-item { position: relative; display: grid; gap: var(--space-3); padding-top: var(--space-5); }
.process-item::before { content: ""; position: absolute; top: 0; width: 13px; height: 13px; border: 2px solid var(--primary); border-radius: 50%; background: var(--surface-soft); }
.process-item:nth-child(2)::before { border-radius: 2px; background: var(--primary); }
.process-item p { color: var(--muted); margin-bottom: 0; }
.benefit-list { display: grid; gap: var(--space-6); }
.benefit { display: grid; grid-template-columns: 42px 1fr; gap: var(--space-3); align-items: start; }
.benefit-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-control); color: var(--primary); font-weight: 800; }
.benefit h3, .benefit p { margin-bottom: 0; }
.benefit p { color: var(--muted); }
.use-cases { display: grid; gap: var(--space-4); }
.use-case { padding: var(--space-4); border-top: 1px solid var(--border); }
.use-case:last-child { border-bottom: 1px solid var(--border); }
.use-case h3, .use-case p { margin-bottom: 0; }
.use-case p { color: var(--muted); }

.table-region { overflow-x: auto; max-width: 100%; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--surface); }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: var(--space-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table th { color: var(--ink); font-size: 0.875rem; font-weight: 750; }
.comparison-table tbody th { min-width: 185px; }
.comparison-table tr:last-child > * { border-bottom: 0; }
.comparison-table td { color: var(--muted); }
.comparison-table .is-tabrover { background: var(--surface-soft); color: var(--ink); }
.comparison-links { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.comparison-links h3 { margin-bottom: 0; }
.comparison-links > div { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.trust { display: grid; gap: var(--space-6); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-frame); }
.trust-item { display: grid; gap: var(--space-2); }
.trust-item b { color: var(--signal-text); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.trust-item h3, .trust-item p { margin-bottom: 0; }
.trust-item p { color: var(--muted); }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; cursor: pointer; color: var(--ink); font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { max-width: 68ch; padding: 0 0 var(--space-5); color: var(--muted); }
.final-cta { padding-block: clamp(4rem, 7vw, 7rem); background: var(--ink); color: #fff; }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 55ch; color: #d8dee8; }
.final-cta .button-secondary { border-color: #8792a2; background: transparent; color: #fff; }
.final-cta .button-secondary:hover { background: #202733; color: #fff; }

/* The homepage keeps the long-form SEO copy, but uses a denser product-page rhythm. */
.home-page h1 { font-size: clamp(2.35rem, 4.25vw, 3.5rem); }
.home-page .hero { padding-block: clamp(1.75rem, 3.5vw, 3.25rem) clamp(2rem, 4vw, 3.5rem); }
.home-page .section { padding-block: clamp(2rem, 4vw, 4rem); }
.home-page .section-header { margin-bottom: clamp(1rem, 2.25vw, 2rem); }
.home-page .hero-grid { gap: var(--space-5); }
.home-page .editorial-split { gap: var(--space-5); }
.home-page .process,
.home-page .benefit-list { gap: var(--space-4); }
.home-page .final-cta { padding-block: clamp(2.25rem, 4vw, 3.75rem); }
.home-page-body .site-footer { padding-top: var(--space-6); }
.home-page-body .footer-grid { gap: var(--space-4); padding-bottom: var(--space-5); }

.seo-shell { display: grid; gap: var(--space-6); width: min(980px, calc(100% - 2 * var(--gutter))); padding-block: clamp(2.5rem, 5vw, 5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); color: var(--muted); font-size: 0.875rem; }
.breadcrumb a { color: var(--muted); }
.seo-shell > * { min-width: 0; }
.prose { width: 100%; min-width: 0; max-width: none; }
.prose > * + * { margin-top: var(--space-4); }
.prose > :where(header, p, ul, ol, h2, h3, blockquote, .updated, .sources, .seo-cta, .faq) { max-width: 70ch; }
.prose h2 { margin-top: var(--space-7); font-size: clamp(1.65rem, 2.4vw, 2.35rem); }
.prose h3 { margin-top: var(--space-5); }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: var(--space-5); }
.prose li + li { margin-top: var(--space-2); }
.prose-comparison > * + * { margin-top: var(--space-3); }
.seo-shell-comparison { width: min(1080px, calc(100% - 2 * var(--gutter))); }
.prose-comparison > :where(header, p, ul, ol, h2, h3, blockquote, .updated, .sources, .seo-cta, .faq) { max-width: 78ch; }
.prose-comparison p,
.prose-comparison li { line-height: 1.55; }
.prose-comparison h2 { margin-top: var(--space-6); }
.prose-comparison h3 { margin-top: var(--space-4); }
.prose-comparison .comparison-table th,
.prose-comparison .comparison-table td { padding: 0.7rem 0.8rem; font-size: 0.9rem; line-height: 1.42; }
.prose-comparison .faq summary { min-height: 48px; padding-block: var(--space-3); }
.prose-comparison .faq details > div { padding-bottom: var(--space-4); }
.prose-comparison .sources { padding-top: var(--space-4); }
.seo-index { display: grid; gap: 0 var(--space-7); border-bottom: 1px solid var(--border); }
.seo-index-item { display: grid; align-content: start; padding-block: var(--space-5); border-top: 1px solid var(--border); }
.seo-index-item h2 { margin-bottom: var(--space-2); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.18; }
.seo-index-item p { margin-bottom: var(--space-2); }
.seo-index-item p { color: var(--muted); }
.seo-index-item .text-link { justify-self: start; }
.seo-lead-image { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--surface-soft); }
.seo-product-proof { display: grid; gap: var(--space-3); padding: var(--space-4); border-block: 1px solid var(--border); background: var(--surface-soft); }
.seo-product-proof > div { display: grid; gap: 2px; }
.seo-product-proof strong { color: var(--ink); font-size: 0.9375rem; }
.seo-product-proof span { color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.sources { padding-top: var(--space-6); border-top: 1px solid var(--border); }
.sources h2 { font-size: 1.375rem; }
.sources ul { padding-left: var(--space-5); }
.updated { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.seo-cta { display: grid; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-surface); background: var(--surface-soft); }
.seo-cta h2, .seo-cta p { margin-bottom: 0; }

.site-footer { padding-top: var(--space-8); background: var(--surface-soft); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: var(--space-6); padding-bottom: var(--space-7); }
.footer-grid p { max-width: 28ch; color: var(--muted); font-size: 0.875rem; }
.footer-grid nav { display: grid; align-content: start; gap: var(--space-2); }
.footer-heading { margin: 0 0 var(--space-2); color: var(--ink); font-size: 0.875rem; font-weight: 750; line-height: 1.2; }
.footer-grid nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 0.875rem; text-decoration: none; }
.footer-grid nav a:hover { color: var(--primary); }
.footer-bottom { padding-block: var(--space-4); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8125rem; }

@media (hover: hover) {
  .button:hover { transform: translateY(-1px); }
  .text-link:hover::after { transform: translateX(2px); }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .product-shot { aspect-ratio: 16 / 10; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .button { width: auto; }
  .benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
  .offline-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
  .process-item:not(:last-child)::after { content: ""; position: absolute; top: 6px; left: 13px; width: calc(100% - 13px); border-top: 1px solid var(--primary); }
  .use-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-product-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .header-inner { min-height: 80px; }
  .desktop-nav { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
  .header-cta.button { display: inline-flex; margin-left: var(--space-3); }
  .mobile-nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 0.84fr) minmax(500px, 1.16fr); gap: clamp(3rem, 7vw, 7rem); }
  .editorial-split { grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr); gap: clamp(3rem, 8vw, 8rem); }
  .intro-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
  .mechanism { padding: var(--space-6); }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .hero-grid { gap: clamp(2rem, 4vw, 4rem); }
  .home-page .editorial-split { gap: clamp(2rem, 5vw, 5rem); }
  .home-page .benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-6); }
  .home-page .use-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-3); }
  .footer-grid { grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(120px, 1fr)); }
}

@media (max-width: 639px) {
  .seo-title, .prose > h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .seo-index-item { padding-block: var(--space-4); }
  .seo-lead-image { border-radius: var(--radius-control); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-copy-settle 520ms both ease-out; }
  .product-frame { animation: hero-frame-settle 520ms 70ms both ease-out; }
  @keyframes hero-copy-settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes hero-frame-settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .product-frame { transform: none; }
}

@media print {
  .site-header, .site-footer, .skip-link, .mobile-nav, .button, .final-cta { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section, .seo-shell { padding-block: 24px; }
  .product-frame { box-shadow: none; transform: none; }
  .table-region { overflow: visible; }
}
