/* crystal-clear-kpi.com. Same typeface and colours as the app; the hero bar is the one bold element. */
:root {
  --ink: #172033; --muted: #5b6474; --line: #dce1e8; --paper: #f5f7fa; --white: #fff;
  --accent: #175873; --accent-dark: #0f3f54;
  --c-vat: #a8b0bc; --c-goods: #7a6aac; --c-fees: #e08a3c; --c-ship: #4b9bbf; --c-ads: #d3566b; --c-margin: #1f7a52;
  --wrap: 1180px;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid #4b9bbf; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header */
.top { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 22px; height: 22px; border-radius: 5px; background:
  linear-gradient(90deg, var(--c-goods) 0 30%, var(--c-fees) 30% 55%, var(--c-ship) 55% 75%, var(--c-margin) 75%); }
.top-nav { display: flex; gap: 24px; font-size: 15px; }
.top-nav a { color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.lang { color: var(--muted); text-decoration: none; }
.btn { display: inline-block; background: var(--accent); color: var(--white); border: 0; border-radius: 7px; padding: 11px 18px;
  font: 600 15px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); color: var(--white); }
.btn-quiet { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); padding: 9px 15px; }
.btn-quiet:hover { background: var(--accent); }

/* ---------- hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 72px; }
.hero .unit { max-width: 900px; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; max-width: 16ch; }
.lede { font-size: 19px; color: var(--muted); max-width: 58ch; margin: 22px 0 44px; }

.unit { margin: 0; }
.unit-title { font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.unit-bar { display: flex; gap: 3px; height: 64px; }
.seg { flex: 0 0 var(--w); border-radius: 4px; animation: grow 0.55s cubic-bezier(.2, .7, .2, 1) both; }
.seg-vat { background: var(--c-vat); } .seg-goods { background: var(--c-goods); } .seg-fees { background: var(--c-fees); }
.seg-ship { background: var(--c-ship); } .seg-ads { background: var(--c-ads); } .seg-margin { background: var(--c-margin); }
.seg:nth-child(2) { animation-delay: .12s; } .seg:nth-child(3) { animation-delay: .24s; } .seg:nth-child(4) { animation-delay: .36s; }
.seg:nth-child(5) { animation-delay: .48s; } .seg:nth-child(6) { animation-delay: .7s; }
@keyframes grow { from { flex-basis: 0; opacity: .3; } }
/* each label sits under its own segment, as wide as it */
.unit-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 3px; }
.unit-legend li { flex: 0 0 var(--w); min-width: 0; padding-right: 6px; border-top: 4px solid; padding-top: 8px; display: flex; flex-direction: column; }
.leg-vat { border-color: var(--c-vat) !important; } .leg-goods { border-color: var(--c-goods) !important; }
.leg-fees { border-color: var(--c-fees) !important; } .leg-ship { border-color: var(--c-ship) !important; }
.leg-ads { border-color: var(--c-ads) !important; } .leg-margin { border-color: var(--c-margin) !important; }
.leg-name { font-size: 13.5px; color: var(--muted); }
.leg-val { font-size: 20px; font-weight: 600; }
.leg-margin .leg-val { color: var(--c-margin); font-weight: 700; }
.unit-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* ---------- sections */
.band { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 32px; }
.see { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; margin: 0; }
.see dt { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.see dd { margin: 0; color: var(--muted); }

.band-tour { max-width: none; background: var(--white); border-top: 0; }
.tour-head, .tour { max-width: var(--wrap); margin: 0 auto; }
.tour-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tour-head p { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.tour { display: grid; gap: 56px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }

.band-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.band-split h2 { margin: 0; }
.sec { margin: 0; padding: 0; list-style: none; }
.sec li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.sec li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border-radius: 3px; background: var(--c-margin); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* ---------- what makes money, what converts: text beside each screenshot */
.band-media h2 { margin-bottom: 40px; }
.media-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 40px; align-items: start; }
.media-row + .media-row { margin-top: 56px; }
.media-text h3 { font-size: 22px; margin-bottom: 10px; }
.media-text p { margin: 0; color: var(--muted); }
.media-fig { margin: 0; }
.media-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }

/* ---------- pricing & contact */
.price-line { margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-amount { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-unit { font-size: 18px; color: var(--muted); }
.price-points { list-style: none; padding: 0; margin: 22px 0 28px; }
.price-points li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.price-points li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.band-contact p { margin: 0 0 18px; max-width: 60ch; }
.contact-address { color: var(--muted); font-size: 15px; }

/* ---------- legal & 404 */
.legal, .nf { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h1, .nf h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2c3547; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal-date, .legal-note { color: var(--muted); font-size: 14.5px; }
.nf p { color: var(--muted); }

/* ---------- footer */
.foot { border-top: 1px solid var(--line); background: var(--white); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; font-size: 14.5px; }
.foot-brand { margin: 0; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.foot-brand span { font-weight: 400; color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-legal a { color: var(--muted); }
.foot-copy { margin: 0 0 0 auto; color: var(--muted); }

/* ---------- small screens */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero { padding-top: 28px; }
  .media-row { grid-template-columns: 1fr; gap: 18px; }
  .see { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .band-split { grid-template-columns: 1fr; gap: 20px; }
  .unit-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top { padding: 16px 18px; gap: 12px; }
  .brand { font-size: 16px; }
  .lang { display: none; }
  .hero, .band { padding-left: 18px; padding-right: 18px; }
  .see { grid-template-columns: 1fr; }
  .unit-bar { height: 48px; }
  .foot-copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .seg { animation: none; } }
