@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: dark;
  --bg: #0B1220;
  --surface: #111A2B;
  --ink: #E6EDF5;
  --soft: #B3BECC;
  --muted: #93A1B5;
  --line: #263651;
  --system: #5EA2FF;
  --process: #B38CFF;
  --team: #3FD0A4;
  --data: #FF9150;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The tool's category and band colours, for the moving picture (src/landing/ripple.ts). */
  --c-system: #5EA2FF; --c-process: #B38CFF; --c-enhet: #F4C95D; --c-team: #3FD0A4;
  --c-data: #FF9150; --c-uppgift: #FF6FAE; --c-tjanst: #C7D2E0; --c-extra: #93A1B5;
  --bryts: #FF8A7A; --stors: #FFC266; --knappt: #93A1B5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--system); outline-offset: 3px; }

.site-header, .site-footer {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.brand img:first-child { width: 30px; height: auto; }
.brand .wordmark { width: 88px; height: auto; }
.brand span { color: var(--muted); font-size: 13px; padding-left: 7px; border-left: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a, .site-footer > a:last-child { color: var(--soft); font-size: 14px; text-decoration: none; }
.site-header nav a:hover, .site-footer > a:last-child:hover { color: var(--ink); }
.site-header nav .nav-cta { color: var(--ink); font-weight: 700; }
.lang { display: inline-flex; align-items: center; gap: 12px; }
.lang a { display: block; padding: 6px 0; opacity: .5; }
.lang a:hover { opacity: .85; }
.lang a[aria-current] { opacity: 1; }
.lang img { display: block; width: 24px; height: 15px; border-radius: 2px; }
.lang a[aria-current] img { outline: 2px solid var(--ink); outline-offset: 2px; }

.hero {
  min-height: 590px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-inner { width: min(1200px, 100%); margin-inline: auto; padding: 78px 28px 86px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero .eyebrow span { width: 28px; height: 3px; background: linear-gradient(90deg, var(--data) 50%, var(--system) 50%); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 700; font-variation-settings: "wdth" 125; letter-spacing: 0; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: 48px; line-height: 1.08; }
h2 { margin-bottom: 18px; font-size: 34px; line-height: 1.13; }
h3 { margin-bottom: 6px; font-size: 18px; line-height: 1.3; }
.hero-copy { max-width: 640px; margin-bottom: 28px; color: var(--soft); font-size: 18px; }
.hero-copy strong { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { min-height: 46px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.primary { color: #0B1220; background: var(--ink); border-color: var(--ink); }
.button.secondary { color: var(--ink); background: transparent; }
.button:hover { border-color: var(--system); }
.hero-proof { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 13px; }
.hero-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--team); }
.hero-mark { position: absolute; right: max(7%, calc((100vw - 1200px) / 2 + 28px)); top: 50%; width: 250px; transform: translateY(-50%); opacity: .82; }
.hero-mark img { width: 100%; height: auto; }

.section-inner { width: min(1120px, 100%); margin-inline: auto; padding-inline: 28px; }
.statement, .outcomes, .method, .limits, .faq, .contact { padding-block: 76px; border-bottom: 1px solid var(--line); }
.statement-grid, .method-grid, .limits-grid, .faq-grid, .contact-grid { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 64px; }
.statement h2, .method h2, .limits h2, .faq h2, .contact h2 { max-width: 440px; font-size: 30px; }
.statement-copy p, .limits-grid > div:last-child p { max-width: 62ch; color: var(--soft); }
.statement-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.outcomes h2 { max-width: 640px; margin-bottom: 36px; }
.outcome-list { border-top: 1px solid var(--line); }
.outcome { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.outcome-index { padding-top: 2px; color: var(--data); font-size: 14px; font-weight: 700; }
.outcome p { max-width: 62ch; margin-bottom: 0; color: var(--soft); font-size: 15px; }
.method { background: var(--surface); }
.method ol { margin: 0; padding: 0; list-style: none; }
.method li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 0 0 20px; }
.method li + li { padding-top: 20px; border-top: 1px solid var(--line); }
.method li span { color: var(--team); font-weight: 700; }
.method li p { max-width: 56ch; margin-bottom: 0; color: var(--soft); }
.limits-grid { align-items: start; }
.limits-grid > div:last-child p:last-child { margin-bottom: 0; }
.faq-grid { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 58px; padding: 17px 36px 15px 0; position: relative; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--system); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 64ch; margin: 0; padding: 0 30px 20px 0; color: var(--soft); font-size: 15px; }
.faq details p:has(+ ul) { padding-bottom: 10px; }
.faq details ul { max-width: 64ch; margin: 0; padding: 0 30px 20px 20px; color: var(--soft); font-size: 15px; }
.faq details li { margin-bottom: 8px; }
.faq details li strong { color: var(--ink); font-weight: 600; }
.contact { background: var(--surface); border-bottom: 0; }

/* The logo: the mark with the word "topidar" underneath, as in the tool. */
.brand .logo-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; }
.brand .logo-stack img { display: block; }
.brand .logo-stack img:first-child { width: 34px; }
.brand .logo-stack .wordmark { width: 64px; }
.site-footer .brand .logo-stack img:first-child { width: 28px; }
.site-footer .brand .logo-stack .wordmark { width: 54px; }
.brand > span:last-child { align-self: center; }

/* What the visitor most needs to know before trying the tool, said at once. */
.hero-local { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; }
.hero-local svg { flex: none; width: 18px; height: 18px; color: var(--team); }

/* The moving picture: a small map where a change travels wave by wave (src/landing/ripple.ts). */
.ripple { margin-top: 44px; }
.ripple-card { padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.ripple-cols { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0 64px; }
.ripple-col { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; min-width: 0; }
.ripple-ct { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ripple-node {
  position: relative; padding: 9px 12px; border: 1px solid var(--line); border-left: 3px solid var(--cat); border-radius: 9px;
  background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 600; overflow-wrap: anywhere;
  transition: opacity .4s, border-color .4s, box-shadow .4s;
}
.ripple.playing .ripple-node { opacity: .32; }
.ripple.playing .ripple-node.source, .ripple.playing .ripple-node.hit { opacity: 1; }
.ripple-node.source { border-color: var(--cat); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat) 35%, transparent); }
.ripple-node[data-band="bryts"] { border-color: var(--bryts); }
.ripple-node[data-band="störs"] { border-color: var(--stors); }
.ripple-node[data-band="märks knappt"] { border-color: var(--knappt); }
.ripple-band { display: none; position: absolute; right: 8px; top: -9px; padding: 0 6px; border-radius: 4px; background: var(--surface); font-size: 11px; font-weight: 700; }
.ripple-node.hit .ripple-band { display: block; }
.ripple-node[data-band="bryts"] .ripple-band { color: var(--bryts); }
.ripple-node[data-band="störs"] .ripple-band { color: var(--stors); }
.ripple-node[data-band="märks knappt"] .ripple-band { color: var(--knappt); }
.ripple-svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ripple-edge { fill: none; stroke: var(--line); stroke-width: 1.5; transition: opacity .4s, stroke-width .4s; }
.ripple.playing .ripple-edge { opacity: .3; }
.ripple.playing .ripple-edge.lit { opacity: 1; stroke-width: 2.5; marker-end: url(#ripple-arrow); }
.ripple-arrow { fill: var(--soft); }
.ripple-caption { min-height: 3.1em; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.statement-copy .ripple { margin: 6px 0 22px; }
.statement-copy .ripple-cols { gap: 0 40px; }

/* The live example: the tool itself, in a frame (src/landing/demo.ts). */
.demo { padding-block: 64px 70px; border-bottom: 1px solid var(--line); }
.demo h2 { max-width: 700px; }
.demo-copy { max-width: 66ch; color: var(--soft); }
.demo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 14px; }
.demo-tabs button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--soft); font: inherit; font-size: 14px; cursor: pointer; }
.demo-tabs button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); font-weight: 700; }
.demo-frame { display: block; width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.demo-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.outcomes-copy { max-width: 62ch; margin: -18px 0 30px; color: var(--soft); }
.offer-cta { margin-top: 26px; }
.contact-lead { max-width: 440px; margin: 16px 0 0; color: var(--soft); }

/* Still pictures of the tool. */
.shots { padding-block: 76px; border-bottom: 1px solid var(--line); }
.shots h2 { max-width: 640px; margin-bottom: 30px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shot-grid figure { margin: 0; }
.shot-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.shot-grid figcaption { margin-top: 10px; color: var(--soft); font-size: 14px; }
/* A screenshot opens larger, as a recording (src/landing/lightbox.ts). */
.shot-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot-open img { transition: border-color .2s, transform .2s; }
.shot-open:hover img, .shot-open:focus-visible img { border-color: var(--system); transform: translateY(-2px); }
.shot-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(11, 18, 32, .78); box-shadow: 0 0 0 1px var(--line); transition: transform .2s; }
.shot-play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--ink); }
.shot-open:hover .shot-play { transform: scale(1.08); }
.lightbox { width: min(1280px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 9, 18, .86); }
.lightbox video, .lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 60px); object-fit: contain; background: #000; }
.lightbox p { margin: 0; padding: 12px 18px 14px; color: var(--soft); font-size: 14px; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(11, 18, 32, .82); color: var(--ink); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--surface); }
/* The use-case pages: an example map written as rows, and the answer the tool gives. */
.example-rows { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.example-rows li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; position: relative; }
.example-rows li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--data) 50%, var(--system) 50%); }
.statement-copy .example-question { margin: 0 0 12px; color: var(--soft); font-size: 16px; }
.example-answer { margin: 0; padding: 18px 20px; border-left: 3px solid var(--system); background: var(--surface); color: var(--ink); font-size: 17px; }
.example-answer span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.method-cta { margin-top: 18px; }
.moments h3 a { text-decoration-color: var(--line); text-underline-offset: 5px; }
.moments h3 a:hover { text-decoration-color: var(--system); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--ink); }
.contact-main { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; color: var(--soft); font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline-offset: 0; border-color: var(--system); }
.contact-question input { width: 96px; }
.contact-form small { color: var(--muted); font-size: 13px; font-weight: 400; }
/* For robots only: off the page, out of the tab order and hidden from screen readers. */
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { align-self: flex-start; min-width: 140px; cursor: pointer; font-family: inherit; }
.contact-form .button:disabled { opacity: .6; cursor: default; }
.contact-form p { margin: 0; }
.contact-status { color: var(--ink); font-size: 15px; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: var(--data); }
.contact-status[data-state="sent"] { color: var(--team); }
.contact-note { color: var(--muted); font-size: 13px; }
.contact-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.contact-details > a { color: var(--soft); text-decoration-color: var(--line); text-underline-offset: 4px; }
.site-footer { min-height: 84px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 12px 18px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-header nav { width: 100%; gap: 16px; flex-wrap: wrap; }
  .site-header nav a { font-size: 13px; }
  .hero { min-height: 530px; }
  .hero-inner { padding: 64px 22px 58px; }
  .hero-mark { width: 132px; top: auto; right: 20px; bottom: 16px; transform: none; opacity: .28; }
  h1 { max-width: 540px; font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-copy { max-width: 520px; font-size: 16px; }
  .hero-proof { gap: 8px 18px; margin-top: 28px; }
  .section-inner { padding-inline: 22px; }
  .statement, .outcomes, .method, .limits, .faq, .contact { padding-block: 54px; }
  .statement-grid, .method-grid, .limits-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .statement h2, .method h2, .limits h2, .faq h2, .contact h2 { font-size: 26px; }
  .outcomes h2 { font-size: 30px; margin-bottom: 26px; }
  .outcome { grid-template-columns: 42px 1fr; gap: 10px; padding: 19px 0; }
  .site-footer { padding: 18px 22px; flex-wrap: wrap; gap: 14px 22px; }
  .ripple-card { padding: 16px 14px 14px; }
  .ripple-cols, .statement-copy .ripple-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ripple-col { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
  .ripple-ct { width: 100%; }
  .ripple-node { font-size: 13px; padding: 8px 10px; }
  .shots { padding-block: 54px; }
  .demo { padding-block: 48px 54px; }
  .demo-frame { height: 640px; }
  .shot-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-links { order: 3; width: 100%; }
}

@media (max-width: 420px) {
  .brand { gap: 6px; }
  .brand .wordmark { width: 78px; }
  .brand .logo-stack .wordmark { width: 58px; }
  .brand span { padding-left: 6px; font-size: 12px; }
  .site-header nav { gap: 10px 14px; }
  .hero-inner { padding-inline: 18px; }
  h1 { font-size: 34px; }
  .section-inner { padding-inline: 18px; }
  .button { min-height: 44px; padding-inline: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}