/* #incapp – designsystem v1: mono-brutal, men vänlig. */
:root {
  --ink: #15122B;
  --paper: #F6F5FA;
  --paper-2: #ECEAF4;
  --white: #FFFFFF;
  --signal: #6A4FE0;
  --signal-light: #B9ACFF;
  --body: #4A465E;
  --meta: #5F5B72;
  --line-soft: #DCD9E6;
  --on-ink: #CBC7DA;
  --on-ink-meta: #A9A5BC;

  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max: 1280px;
  --gutter: 40px;
  --section: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--signal); }
h1, h2, h3, p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border: 1px solid var(--ink); }

.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; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.accent { color: var(--signal); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav-logo { display: flex; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.lang { font-family: var(--mono); font-size: 13px; color: var(--meta); display: flex; gap: 6px; }
.lang a { color: var(--meta); text-decoration: none; }
.lang a:hover { color: var(--signal); }
.lang [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  font-weight: 700; font-size: 17px; text-decoration: none;
  border: 1px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary, .btn-primary:hover { background: var(--signal); color: var(--white); }
.btn-secondary, .btn-secondary:hover { background: var(--paper); color: var(--ink); font-weight: 600; }
.btn-nav, .btn-nav:hover { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; background: var(--ink); color: var(--paper); white-space: nowrap; }
.btn-on-ink { border-color: var(--paper); min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn-on-ink:hover { box-shadow: 6px 6px 0 var(--paper); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { border-bottom: 1px solid var(--ink); scroll-margin-top: 72px; }
.section { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-direction: column; gap: 64px; }
.alt { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; align-items: start; }
.label { font-family: var(--mono); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.label .n { color: var(--signal); }
.label .tag { color: var(--meta); }
.section-head .title { grid-column: span 2; display: flex; flex-direction: column; gap: 20px; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); max-width: 640px; text-wrap: pretty; }
.body { color: var(--body); }

/* ---------- Hero ---------- */
.hero { background-image: radial-gradient(#15122B26 1px, transparent 1.2px); background-size: 24px 24px; }
.hero-grid { padding-top: 96px; padding-bottom: 104px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 64px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--signal); }
h1 { font-size: clamp(52px, 7.4vw, 112px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
h1 .accent { display: inline-block; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.manifest { background: var(--white); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); font-family: var(--mono); font-size: 15px; }
.manifest-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 13px; }
.manifest-bar .dots { display: flex; gap: 6px; }
.manifest-bar .dots i { width: 10px; height: 10px; border: 1px solid var(--paper); }
.manifest-bar .dots i:last-child { background: var(--paper); }
.manifest dl { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; margin: 0; padding: 8px 18px 18px; }
.manifest dt, .manifest dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.manifest dt { color: var(--meta); }
.manifest dl > :nth-last-child(-n+2) { border-bottom: 0; }
.manifest .final { color: var(--signal); font-weight: 700; }
.cursor { display: inline-block; width: .6em; height: 1.1em; margin-left: 4px; vertical-align: -0.2em; background: var(--signal); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Why ---------- */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.cell { padding: 36px 32px 40px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.cell .idx { font-family: var(--mono); font-size: 13px; color: var(--meta); }
.cell p { color: var(--body); }
.cell.dark { background: var(--ink); color: var(--paper); }
.cell.dark .idx { color: var(--signal-light); }
.cell.dark p { color: var(--on-ink); }

/* ---------- Offer ---------- */
.offers { display: flex; flex-direction: column; gap: 48px; }
.offer { background: var(--white); border: 1px solid var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.offer:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.offer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 24px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 13px; }
.status { color: var(--meta); display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; background: var(--signal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.offer-body { display: grid; grid-template-columns: 1fr; }
.offer-main { padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.offer-main h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
.offer-main p { color: var(--body); }
.offer-side { padding: 40px 32px; border-top: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; gap: 16px; }
.offer-side .mono { font-size: 13px; color: var(--meta); }
.proof { border-top: 1px solid var(--ink); padding: 24px 32px 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; background: var(--paper-2); }
.proof .mono { font-size: 13px; color: var(--signal); white-space: nowrap; }
.proof p { color: var(--ink); }

.arrows { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.arrows li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; line-height: 1.5; }
.arrows li::before { content: "→"; font-family: var(--mono); color: var(--signal); }

.offer-more { border: 1px dashed var(--ink); background: var(--white); padding: 36px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px 48px; align-items: center; }
.offer-more h3 { font-weight: 800; }
.offer-more p { color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { font-family: var(--mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--ink); background: var(--paper); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 4px solid var(--ink); }
.steps li { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.steps .big { font-family: var(--mono); font-size: 72px; line-height: 1; font-weight: 700; color: var(--signal); letter-spacing: -0.04em; }
.steps h3 { font-size: 28px; font-weight: 800; }
.steps p { color: var(--body); max-width: 340px; }
.included { border: 1px solid var(--ink); background: var(--white); font-family: var(--mono); font-size: 14px; }
.included-bar { padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 12px; }
.included ul { list-style: none; padding: 8px 16px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); column-gap: 28px; }
.included li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 10px; }
.included li::before { content: "✓"; color: var(--signal); font-weight: 700; }

/* ---------- Compare ---------- */
.table-box { overflow-x: auto; border: 1px solid var(--ink); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 16px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--meta); border-bottom: 1px solid var(--ink); background: var(--paper); }
tbody th { font-weight: 600; width: 28%; }
td { color: var(--body); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.us { background: var(--ink); color: var(--paper); }
thead .us { background: var(--ink); color: var(--signal-light); font-weight: 700; }
td.us { color: var(--paper); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); border-bottom: 0; }
.contact .section { padding-top: 128px; padding-bottom: 120px; gap: 40px; }
.contact .label .n { color: var(--signal-light); }
.contact .label .tag { color: var(--on-ink-meta); }
.contact h2 { max-width: 1040px; font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98; letter-spacing: -0.045em; }
.contact .lead { color: var(--on-ink); }
.contact .mail { font-family: var(--mono); font-size: 17px; color: var(--paper); }
.contact .mail:hover { color: var(--signal-light); }
.site-footer { border-top: 1px solid var(--body); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer img { height: 48px; width: auto; }
.site-footer .mono { font-size: 13px; color: var(--on-ink-meta); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .manifest .row { opacity: 0; transition: opacity .25s ease; }
.js .manifest .row.in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .manifest .row { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (min-width: 960px) {
  .offer-body { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .offer-side { border-top: 0; border-left: 1px solid var(--ink); }
}
@media (max-width: 880px) {
  .nav-links .nav-item { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 80px; }
  .nav-links { gap: 14px; }
  .nav-logo img { height: 24px; }
  .btn-nav { padding: 0 12px; font-size: 14px; }
  .hero-grid { padding-top: 64px; padding-bottom: 72px; gap: 48px; }
  .section-head .title { grid-column: auto; }
  .offer-main, .offer-side, .proof, .offer-more { padding-left: 20px; padding-right: 20px; }
  .proof { grid-template-columns: 1fr; }
  .cell { padding: 28px 20px 32px; }
  .manifest { box-shadow: 6px 6px 0 var(--ink); font-size: 14px; }
  .manifest dl { column-gap: 16px; }
}
