/* Landingssiden på financehub.dk — platformens egen salgsside til revisionshuse.
   Ikke en boble: den white-labeles ikke, så farverne er Conmedias egne og står
   her som tokens (samme værdier som paletten i src/main.css). */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/Geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/Geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #304BFF;
  --deep-blue: #023F88;
  --dark-blue: #091B34;
  --snow: #E4EFF9;
  --ink: #16181D;
  --ink-soft: #3E4F64;
  --line: #DCDDDD;
  --white: #FFFFFF;
  --ring: rgba(48, 75, 255, 0.35);

  --radius: 8px;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1080px;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

a {
  color: var(--blue);
}

a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Knapper ─────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.button:hover {
  background: var(--deep-blue);
}

.button--small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.button--light {
  background: var(--white);
  color: var(--blue);
}

.button--light:hover {
  background: var(--snow);
}

.text-link {
  font-weight: 500;
  text-underline-offset: 3px;
}

/* ── Topbar ──────────────────────────────────────────────────────────── */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: block;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand__by {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(180deg, var(--snow) 0%, var(--white) 100%);
}

.hero__inner {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 650;
}

.lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trust li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ── Sektioner ───────────────────────────────────────────────────────── */

.section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.section--tinted {
  background: var(--snow);
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 650;
}

.features,
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.feature {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.feature h3,
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.feature p,
.step p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 650;
}

/* ── Afsluttende call-to-action ──────────────────────────────────────── */

.cta {
  background: var(--dark-blue);
  color: var(--white);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-block: clamp(3rem, 8vw, 4.5rem);
}

.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 650;
}

.cta p {
  color: var(--snow);
}

.cta .button {
  margin-top: 0.5rem;
}

.cta a:focus-visible {
  outline-color: var(--white);
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 2rem;
}

.footer__name {
  color: var(--ink);
  font-weight: 600;
}

/* ── 404 ─────────────────────────────────────────────────────────────── */

.not-found {
  padding-block: clamp(4rem, 12vw, 8rem);
}

.not-found h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 650;
}

.not-found p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.not-found .button {
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
