/* ShiftPlanner – Design System (verbindlich) */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --primary: #b7c6ed;
  --on-primary: #21304f;
  --primary-container: #1c2b4a;
  --on-primary-container: #dae3ff;
  --secondary: #ffb961;
  --on-secondary: #472a00;
  --secondary-container: #663e00;
  --on-secondary-container: #ffddb9;
  --tertiary: #a9cdce;
  --on-tertiary: #113637;
  --tertiary-container: #2a4c4e;
  --on-tertiary-container: #c4eaeb;
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --warning: #ffb961;
  --success: #7dcb94;
  --surface: #131316;
  --on-surface: #e4e2e5;
  --surface-variant: #45464e;
  --on-surface-variant: #c5c6cf;
  --outline: #8f9098;
  --background: #131316;
  --on-background: #e4e2e5;
  --inverse-surface: #e4e2e5;
  --inverse-on-surface: #1b1b1e;
  --surface-container: #1c1b1f;
  --surface-container-high: #262529;
  --surface-container-lowest: #0e0e11;

  --brand-navy: #1c2b4a;
  --brand-orange: #f0a94e;

  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --elevation-1: 0 1px 2px rgb(0 0 0 / 0.4), 0 1px 3px 1px rgb(0 0 0 / 0.28);
  --elevation-2: 0 1px 2px rgb(0 0 0 / 0.45), 0 2px 6px 2px rgb(0 0 0 / 0.32);
  --elevation-3: 0 4px 8px 3px rgb(0 0 0 / 0.36), 0 1px 3px rgb(0 0 0 / 0.4);

  --motion-fast: 100ms;
  --motion-standard: 200ms;
  --motion-emphasized: 300ms;
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-emphasized: cubic-bezier(0.2, 0, 0, 1);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;

  --header-height: 64px;
  --container: 70rem;
  --content: 42rem;
  --focus: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--on-surface);
  background: var(--primary-container);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--on-primary-container);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: var(--space-16);
  top: -100%;
  z-index: 1000;
  padding: var(--space-8) var(--space-16);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-8);
}

.container {
  width: min(100% - var(--space-40), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - var(--space-40), var(--content));
}

.display-large {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5625rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

.headline-large {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
}

.headline-medium {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  line-height: 1.28;
  font-weight: 600;
  margin: 0;
}

.title-large {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.27;
  font-weight: 600;
  margin: 0;
}

.title-medium {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
}

.body-large {
  font-size: 1rem;
  line-height: 1.5;
}

.body-medium {
  font-size: 0.875rem;
  line-height: 1.43;
}

.label-large {
  font-size: 0.875rem;
  line-height: 1.43;
  font-weight: 500;
}

.muted {
  color: var(--on-surface-variant);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--primary-container);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--motion-standard) var(--ease-in-out);
}

@supports (background: color-mix(in srgb, white 50%, black)) {
  .site-header {
    background: color-mix(in srgb, var(--primary-container) 88%, transparent);
  }
}

.site-header.is-scrolled {
  box-shadow: var(--elevation-2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  height: var(--header-height);
}

.logo {
  order: 1;
  margin-right: auto;
}

.lang-switch {
  order: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2.25rem;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  color: var(--on-surface-variant);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  background: color-mix(in srgb, var(--on-primary-container) 14%, transparent);
  color: var(--on-surface);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--on-surface);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--on-surface);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-wordmark {
  display: block;
  height: 22px;
  width: auto;
  max-width: 9.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--on-surface);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav {
  order: 4;
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: absolute;
  inset: var(--header-height) var(--space-20) auto;
  padding: var(--space-16);
  background: var(--surface-container-high);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-3);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-8) var(--space-16);
  color: var(--on-surface);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: color-mix(in srgb, var(--on-primary-container) 12%, transparent);
  color: var(--on-surface);
}

.site-nav a.btn--filled {
  background: var(--primary);
  color: var(--on-primary);
}

.site-nav a.btn--filled:hover,
.site-nav a.btn--filled[aria-current="page"] {
  background: var(--primary);
  color: var(--on-primary);
  opacity: 0.92;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 44px;
  padding: var(--space-12) var(--space-24);
  border: 0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.43;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-out),
    opacity var(--motion-fast) var(--ease-out),
    background-color var(--motion-standard) var(--ease-in-out);
}

.btn:hover {
  color: inherit;
}

.btn:active {
  transform: scale(0.98);
}

.btn--filled {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--filled:hover {
  color: var(--on-primary);
  opacity: 0.92;
}

.btn--tonal {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.btn--tonal:hover {
  color: var(--on-secondary-container);
  opacity: 0.92;
}

.btn--ghost {
  background: transparent;
  color: var(--on-surface);
}

.btn--ghost:hover {
  background: var(--surface-variant);
  color: var(--on-surface);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.header-cta {
  order: 5;
  display: none;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  padding: var(--space-32) 0 var(--space-40);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--space-32);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  padding: var(--space-4) var(--space-12);
  background: color-mix(in srgb, var(--brand-orange) 16%, var(--brand-navy));
  color: var(--brand-orange);
  border-radius: var(--radius-xs);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: var(--space-16);
}

.hero .lead {
  max-width: 36rem;
  margin: 0 0 var(--space-32);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-surface-variant);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.hero__visual,
.product__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.brand-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.brand-scene::before,
.brand-scene::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.brand-scene > * {
  position: relative;
  z-index: 1;
}

/* Diagonale Markenform aus dem App-Icon (Navy-Fläche + oranger Keil). */
.brand-scene--hero::before {
  inset: auto;
  top: -8%;
  right: -18%;
  width: min(34rem, 92vw);
  height: min(34rem, 92vw);
  background: color-mix(in srgb, var(--background) 42%, transparent);
  clip-path: polygon(18% 0, 100% 0, 100% 72%, 48% 100%, 0 58%);
}

.brand-scene--hero::after {
  inset: auto;
  top: 0;
  right: 0;
  width: min(22rem, 70vw);
  height: min(22rem, 70vw);
  background: color-mix(in srgb, var(--brand-orange) 11%, transparent);
  clip-path: polygon(35% 0, 100% 0, 100% 65%);
}

.brand-scene--plane::before {
  inset: 0;
  background: color-mix(in srgb, var(--background) 28%, var(--brand-navy));
  clip-path: polygon(8% 0, 62% 0, 92% 100%, 38% 100%);
  opacity: 0.7;
}

.brand-scene--plane::after {
  content: none;
}

.brand-scene--wedge-bl::before {
  inset: auto;
  left: -12%;
  bottom: -18%;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  background: color-mix(in srgb, var(--background) 36%, transparent);
  clip-path: polygon(0 28%, 62% 0, 100% 48%, 38% 100%, 0 100%);
}

.brand-scene--wedge-bl::after {
  inset: auto;
  left: 0;
  bottom: 0;
  width: min(14rem, 48vw);
  height: min(14rem, 48vw);
  background: color-mix(in srgb, var(--brand-orange) 8%, transparent);
  clip-path: polygon(0 100%, 0 42%, 58% 100%);
}

.brand-scene--dots::before {
  inset: auto;
  top: 18%;
  right: 8%;
  width: 5rem;
  height: 7.5rem;
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--brand-orange) 42%, transparent) 1.1px,
    transparent 1.25px
  );
  background-size: 12px 12px;
  opacity: 0.7;
}

.brand-scene--dots::after {
  inset: 0;
  background: linear-gradient(
    148deg,
    transparent 58%,
    color-mix(in srgb, var(--background) 26%, transparent) 58.2%,
    color-mix(in srgb, var(--background) 26%, transparent) 78%,
    transparent 78.2%
  );
}

.brand-scene--wedge-tr::before {
  inset: auto;
  top: -6%;
  right: -10%;
  width: min(26rem, 72vw);
  height: min(26rem, 72vw);
  background: color-mix(in srgb, var(--background) 30%, transparent);
  clip-path: polygon(22% 0, 100% 0, 100% 70%, 0 100%);
}

.brand-scene--wedge-tr::after {
  inset: auto;
  top: 0;
  right: 0;
  width: min(16rem, 52vw);
  height: min(16rem, 52vw);
  background: color-mix(in srgb, var(--brand-orange) 12%, transparent);
  clip-path: polygon(35% 0, 100% 0, 100% 65%);
}

.brand-scene--quiet::before,
.brand-scene--quiet::after {
  content: none;
}

.device-shot {
  position: relative;
  z-index: 1;
  width: min(100%, 17.5rem);
  margin: 0;
  padding: 8px;
  background: var(--surface-container-lowest);
  border-radius: 32px;
  box-shadow:
    var(--elevation-3),
    0 0 0 1px color-mix(in srgb, var(--brand-orange) 14%, transparent);
}

.hero .device-shot {
  width: min(100%, 19.5rem);
  box-shadow:
    var(--elevation-3),
    0 24px 48px rgb(0 0 0 / 0.4),
    0 0 0 1px color-mix(in srgb, var(--brand-orange) 14%, transparent);
}

.device-shot__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 2424;
  border-radius: 24px;
  background: var(--background);
}

.device-shot__viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.features {
  padding: var(--space-40) 0 0;
  overflow: hidden;
}

.features .section__intro {
  margin-bottom: var(--space-32);
}

.product-list {
  display: grid;
  gap: 0;
}

.product-band {
  padding: var(--space-32) 0;
}

.product-band:nth-child(odd) {
  background: color-mix(in srgb, var(--background) 22%, var(--brand-navy));
}

.product-band:nth-child(even) {
  background: var(--brand-navy);
}

.product {
  display: grid;
  gap: var(--space-24);
}

.product__copy p {
  margin: var(--space-12) 0 0;
  max-width: 32rem;
  color: var(--on-surface-variant);
}

.product__copy p.product__highlight {
  max-width: 32rem;
  margin-top: var(--space-16);
  padding-left: var(--space-12);
  border-left: 2px solid var(--brand-orange);
  color: var(--on-surface);
  font-weight: 500;
}

.section {
  padding: var(--space-48) 0;
}

.section--alt {
  background: color-mix(in srgb, var(--background) 48%, var(--primary-container));
}

.section__intro {
  max-width: 38rem;
  margin-bottom: var(--space-32);
}

.section__intro h2 {
  margin-bottom: var(--space-12);
}

.feature-grid {
  display: grid;
  gap: var(--space-16);
}

.card {
  height: 100%;
  padding: var(--space-24);
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-16);
  background: var(--primary-container);
  color: var(--on-primary-container);
  border-radius: var(--radius-sm);
}

.card__icon--accent {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.card__icon--info {
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}

.card h3 {
  margin-bottom: var(--space-8);
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
}

.steps {
  display: grid;
  gap: var(--space-16);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-24);
  padding-left: var(--space-48);
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
}

.step::before {
  counter-increment: step;
  content: counter(step) ".";
  position: absolute;
  left: var(--space-16);
  top: var(--space-24);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--secondary);
}

.step h3 {
  margin-bottom: var(--space-8);
}

.step p {
  margin: 0;
  color: var(--on-surface-variant);
}

.banner {
  display: grid;
  gap: var(--space-24);
  padding: var(--space-32);
  background: color-mix(in srgb, var(--background) 62%, var(--primary-container));
  color: var(--on-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--elevation-1);
}

.banner p {
  margin: var(--space-12) 0 0;
}

.download {
  text-align: center;
}

.download h2 {
  margin-bottom: var(--space-12);
}

.download .lead {
  max-width: 32rem;
  margin: 0 auto var(--space-32);
}

.download__note {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.43;
  color: var(--on-surface-variant);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
}

.store-badge {
  display: grid;
  gap: 2px;
  min-width: 10.5rem;
  padding: var(--space-12) var(--space-20);
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  text-align: left;
  text-decoration: none;
}

.store-badge:hover {
  color: var(--on-surface);
  background: var(--surface-container-high);
}

.store-badge small {
  color: var(--on-surface);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.store-badge--play {
  min-width: 16rem;
  padding: var(--space-16) var(--space-24);
}

.store-badge--play strong {
  font-size: 1.125rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-40) 0 var(--space-24);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(18rem, 58vw);
  height: min(18rem, 58vw);
  pointer-events: none;
  background: color-mix(in srgb, var(--brand-orange) 9%, transparent);
  clip-path: polygon(35% 0, 100% 0, 100% 65%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--background) 22%, transparent);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 78% 100%);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: var(--space-12);
}

.prose {
  padding-bottom: var(--space-48);
}

.prose h2 {
  margin: var(--space-32) 0 var(--space-12);
  scroll-margin-top: calc(var(--header-height) + var(--space-16));
}

.prose h3 {
  margin: var(--space-24) 0 var(--space-8);
  scroll-margin-top: calc(var(--header-height) + var(--space-16));
}

.toc {
  margin: 0 0 var(--space-24);
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li + li {
  margin-top: var(--space-8);
}

.prose .toc ul {
  margin: 0;
  padding: 0;
  color: inherit;
}

.prose .toc + h2 {
  margin-top: var(--space-16);
}

.prose p,
.prose ul {
  margin: 0 0 var(--space-16);
  color: var(--on-surface-variant);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: var(--space-8);
}

.notice {
  margin: 0 0 var(--space-24);
  padding: var(--space-16);
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  border-radius: var(--radius-md);
}

.faq-list {
  display: grid;
  gap: var(--space-12);
  padding-bottom: var(--space-48);
}

.faq-list details {
  padding: var(--space-4) var(--space-20);
  background: var(--surface-container-lowest);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 56px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5'/></svg>")
    center / contain no-repeat;
  transition: transform var(--motion-standard) var(--ease-in-out);
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: 0 0 var(--space-16);
  color: var(--on-surface-variant);
}

.support-grid {
  display: grid;
  gap: var(--space-16);
  padding-bottom: var(--space-32);
}

.form {
  display: grid;
  gap: var(--space-16);
  margin-bottom: var(--space-48);
}

.field {
  display: grid;
  gap: var(--space-8);
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  font: inherit;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.875rem;
}

.form-status[data-state="error"] {
  color: var(--error);
}

.form-status[data-state="ok"] {
  color: var(--success);
}

.error-page {
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-48) 0;
}

.error-page .hero__actions {
  justify-content: center;
}

.error-page p {
  max-width: 28rem;
  margin: var(--space-16) auto var(--space-32);
}

.site-footer {
  padding: var(--space-40) 0 var(--space-24);
  background: var(--background);
  color: var(--on-background);
}

.site-footer a {
  color: var(--on-background);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer__top {
  display: grid;
  gap: var(--space-24);
  padding-bottom: var(--space-32);
  border-bottom: 1px solid color-mix(in srgb, var(--outline) 45%, transparent);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.footer__brand img:first-child {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer__wordmark {
  display: block;
  height: 20px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-24);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-top: var(--space-24);
  font-size: 0.875rem;
}

.footer__bottom .lang-switch {
  order: 0;
  margin: 0;
}

.skr {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.skr img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 22.5rem) {
  .logo-wordmark {
    display: none;
  }
}

@media (min-width: 48rem) {
  .nav-toggle {
    display: none;
  }

  .logo {
    margin-right: 0;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    order: 2;
    margin-left: auto;
    gap: var(--space-4);
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .lang-switch {
    order: 3;
  }

  .header-cta {
    display: inline-flex;
    order: 4;
    flex-shrink: 0;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-40);
  }

  .product {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-40);
  }

  .product--text {
    grid-template-columns: minmax(0, 38rem);
  }

  .product-band:nth-child(even) .product__copy {
    order: 1;
  }

  .feature-grid,
  .steps,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }

  .footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 64rem) {
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero .device-shot,
  .product .device-shot {
    width: 21rem;
  }

  .product-band {
    padding: var(--space-40) 0;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgb(27 27 30 / 0.45);
}

.nav-backdrop.is-open {
  display: block;
}

body.nav-locked {
  overflow: hidden;
}

.nav-cta {
  margin-top: var(--space-8);
}

.btn.is-loading {
  position: relative;
  color: transparent;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--on-primary);
  border-right-color: transparent;
  border-radius: var(--radius-full);
  animation: spin var(--motion-emphasized) linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn--tonal.is-loading::after {
  border-color: var(--on-secondary-container);
  border-right-color: transparent;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--error);
  background: var(--error-container);
  color: var(--on-error-container);
}

.field__error {
  margin: 0;
  color: var(--error);
  font-size: 0.75rem;
}

.fill-in {
  margin: 0 0 var(--space-24);
  padding: var(--space-16);
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  border-radius: var(--radius-md);
}

.fill-in__label {
  margin: 0 0 var(--space-8);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fill-in dl {
  display: grid;
  gap: var(--space-8);
  margin: 0;
}

.fill-in dt {
  font-weight: 600;
}

.fill-in dd {
  margin: 0;
  min-height: 1.5rem;
  padding: var(--space-8) var(--space-12);
  background: var(--surface-container-lowest);
  color: var(--on-surface-variant);
  border-radius: var(--radius-xs);
}

.fill-in code {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--motion-emphasized) var(--ease-emphasized),
    transform var(--motion-emphasized) var(--ease-emphasized);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1400px;
}

#features {
  overflow: hidden;
  contain-intrinsic-size: 1px 3800px;
}

.store-badge.is-placeholder {
  opacity: 0.72;
  cursor: not-allowed;
}

.store-badge.is-placeholder:hover {
  background: var(--surface-container-lowest);
}

@media (min-width: 48rem) {
  .nav-backdrop,
  .nav-backdrop.is-open {
    display: none;
  }

  .site-nav .nav-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn.is-loading::after {
    animation: none;
    border-right-color: var(--on-primary);
  }
}
