:root {
  --paper: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --rule: #d2d2d7;
  --blue: #0071e3;
  --trip: #a32a6f;
  --ferie: #1d6fa5;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--sans); background: var(--paper); color: var(--ink); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* Homepage */
.home-page { min-height: 100vh; display: flex; flex-direction: column; }
.home-header, .home-footer { width: min(100% - 64px, 1080px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.home-header { min-height: 76px; border-bottom: 1px solid rgba(29, 29, 31, .1); }
.home-brand { color: var(--ink); font-size: 15px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.home-contact, .home-footer a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .18s ease; }
.home-contact:hover, .home-footer a:hover { color: var(--blue); }
.home-contact span { padding-left: 3px; color: var(--blue); }
.home-main { flex: 1; display: grid; place-items: center; padding: 80px 32px 88px; }
.home-hero { width: min(100%, 760px); margin-inline: auto; }
.home-eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.home-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(48px, 8vw, 76px); font-weight: 650; line-height: 1.02; letter-spacing: -.065em; }
.home-hero h1 span { color: var(--blue); }
.home-lead { max-width: 500px; margin: 24px 0 40px; color: var(--muted); font-size: clamp(18px, 2.3vw, 21px); line-height: 1.5; letter-spacing: -.015em; }
.home-app { display: flex; align-items: center; gap: 20px; min-height: 116px; padding: 20px 22px; border: 1px solid rgba(29, 29, 31, .08); border-radius: 20px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 8px 32px rgba(29, 29, 31, .045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-app:hover { transform: translateY(-2px); border-color: rgba(0, 113, 227, .24); box-shadow: 0 14px 38px rgba(29, 29, 31, .09); }
.home-app img { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 17px; object-fit: cover; }
.home-app-copy { display: grid; gap: 3px; min-width: 0; }
.home-app-title { font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.home-app-description { max-width: 410px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.home-app-action { margin-left: auto; padding-left: 12px; color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.home-app-action span { padding-left: 4px; }
.home-note { margin: 14px 0 0 2px; color: var(--muted); font-size: 12px; }
.home-footer { min-height: 68px; border-top: 1px solid rgba(29, 29, 31, .1); }
.home-footer > span { color: var(--muted); font-size: 12px; }

/* Legacy landing pages */
.wrap { max-width: 920px; margin: 0 auto; padding: 0 28px; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.monogram { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.masthead nav a { margin-left: 24px; color: var(--muted); font-size: .95rem; text-decoration: none; }
.masthead nav a:hover { color: var(--ink); text-decoration: underline; }
.intro { padding: 88px 0 72px; }
.intro h1 { max-width: 16ch; margin: 0; font-size: clamp(2.4rem, 6.4vw, 4.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.intro p { max-width: 46ch; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.22rem); }
.apps { padding-bottom: 64px; }
.apps h2 { margin: 0 0 8px; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.app { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: center; padding: 40px 0; border-top: 1px solid var(--rule); color: inherit; text-decoration: none; }
.app:last-child { border-bottom: 1px solid var(--rule); }
.app img { width: 120px; height: 120px; border-radius: 27px; }
.app h3 { margin: 0; font-size: 2.2rem; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.app p { max-width: 48ch; margin: 10px 0 0; color: var(--muted); }
.app .go { display: inline-block; margin-top: 16px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font-weight: 600; }
.app.trip .go { color: var(--trip); }
.app.ferie .go { color: var(--ferie); }
.app:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.app.trip:hover h3 { color: var(--trip); }
.app.ferie:hover h3 { color: var(--ferie); }
.app.trip, .app.ferie { padding-left: 24px; border-left: 4px solid; }
.app.trip { border-left-color: var(--trip); }
.app.ferie { border-left-color: var(--ferie); }
footer.site { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 48px 0 72px; color: var(--muted); font-size: .95rem; }
footer.site a { color: var(--muted); }

/* Legacy privacy and support pages */
body > header:not(.home-header), body > main:not(.home-main) { max-width: 720px; margin: 0 auto; padding: 56px 28px 0; }
body > header:not(.home-header) h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
body > header:not(.home-header) .lead { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
body > header:not(.home-header) .links { display: flex; gap: 20px; margin-top: 20px; }
body > header:not(.home-header) .links a { font-weight: 600; text-decoration: none; }
body > main:not(.home-main) h2 { margin: 40px 0 8px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
body > main:not(.home-main) p, body > main:not(.home-main) ul { color: var(--ink); }
body > main:not(.home-main) ul { padding-left: 1.2em; }
body > footer:not(.home-footer) { max-width: 720px; margin: 56px auto 0; padding: 32px 28px 64px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .92rem; }
body > footer:not(.home-footer) a { color: var(--muted); }

@media (max-width: 600px) {
  .home-header, .home-footer { width: calc(100% - 40px); }
  .home-header { min-height: 64px; }
  .home-main { padding: 64px 20px 72px; }
  .home-eyebrow { margin-bottom: 16px; font-size: 12px; }
  .home-hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .home-lead { margin: 20px 0 30px; }
  .home-app { gap: 14px; min-height: 96px; padding: 16px; border-radius: 17px; }
  .home-app img { width: 56px; height: 56px; flex-basis: 56px; border-radius: 14px; }
  .home-app-title { font-size: 18px; }
  .home-app-description { font-size: 13px; }
  .home-app-action { padding-left: 0; font-size: 13px; }
  .home-footer { min-height: 60px; }
  .wrap { padding-inline: 20px; }
  .intro { padding: 64px 0 52px; }
  .app { grid-template-columns: 88px 1fr; gap: 22px; }
  .app img { width: 88px; height: 88px; border-radius: 20px; }
  .app h3 { font-size: 1.8rem; }
  .masthead nav a:first-child { margin-left: 0; }
}

@media (max-width: 370px) {
  .home-app { gap: 11px; padding: 14px 12px; }
  .home-app img { width: 48px; height: 48px; flex-basis: 48px; }
  .home-app-action { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
