:root {
  color-scheme: dark;

  --sg-brand-blue-deep: #184ba0;
  --sg-brand-blue: #29a5de;
  --sg-brand-green: #40b76c;
  --sg-brand-pink: #e88ebb;
  --sg-brand-orange: #f15a2f;
  --sg-brand-orange-bright: #ff7a45;
  --sg-brand-yellow: #feef84;

  --sg-neutral-black: #000;
  --sg-neutral-950: #08090b;
  --sg-neutral-900: #0f1013;
  --sg-neutral-800: #14161a;
  --sg-neutral-700: #1a1c20;
  --sg-neutral-600: #2a2c32;
  --sg-neutral-500: #62645f;
  --sg-neutral-400: #8a8d92;
  --sg-neutral-300: #b8bbc0;
  --sg-neutral-200: #d9d9cf;
  --sg-neutral-150: #e8e6df;
  --sg-neutral-100: #f1ede4;
  --sg-neutral-50: #f7f6f0;
  --sg-neutral-white: #fff;

  --sg-space-0: 0;
  --sg-space-1: 4px;
  --sg-space-2: 8px;
  --sg-space-3: 12px;
  --sg-space-4: 16px;
  --sg-space-5: 20px;
  --sg-space-6: 24px;
  --sg-space-7: 32px;
  --sg-space-8: 40px;
  --sg-space-9: 48px;
  --sg-space-10: 56px;
  --sg-space-11: 64px;
  --sg-space-12: 80px;
  --sg-space-13: 96px;
  --sg-space-14: 128px;
  --sg-space-15: 160px;
  --sg-space-16: 200px;

  --sg-radius-none: 0;
  --sg-radius-xs: 4px;
  --sg-radius-sm: 6px;
  --sg-radius-md: 8px;
  --sg-radius-lg: 12px;
  --sg-radius-xl: 16px;
  --sg-radius-2xl: 24px;
  --sg-radius-pill: 999px;
  --sg-radius-full: 9999px;

  --sg-font-family: "Hanken Grotesk", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --sg-font-size-xs: 11px;
  --sg-font-size-sm: 13px;
  --sg-font-size-base: 15px;
  --sg-font-size-md: 17px;
  --sg-font-size-lg: 19px;
  --sg-font-size-xl: 22px;
  --sg-font-size-2xl: 28px;
  --sg-font-size-3xl: 36px;
  --sg-font-size-4xl: 48px;
  --sg-font-size-5xl: 64px;
  --sg-font-size-6xl: 84px;

  --sg-container: 1300px;
}

.theme-dark {
  --sg-bg-page: var(--sg-neutral-950);
  --sg-bg-elevated: var(--sg-neutral-900);
  --sg-bg-soft: var(--sg-neutral-800);
  --sg-bg-inverted: var(--sg-neutral-100);
  --sg-bg-accent: var(--sg-brand-orange);
  --sg-ink-strong: var(--sg-neutral-white);
  --sg-ink-default: var(--sg-neutral-100);
  --sg-ink-muted: var(--sg-neutral-300);
  --sg-ink-dim: var(--sg-neutral-400);
  --sg-ink-inverted: var(--sg-neutral-950);
  --sg-ink-accent: var(--sg-brand-orange-bright);
  --sg-border-default: var(--sg-neutral-600);
  --sg-border-strong: var(--sg-neutral-500);
  --sg-border-focus: var(--sg-brand-orange-bright);
}

.theme-light {
  color-scheme: light;
  --sg-bg-page: var(--sg-neutral-100);
  --sg-bg-elevated: var(--sg-neutral-white);
  --sg-bg-soft: var(--sg-neutral-50);
  --sg-bg-inverted: var(--sg-neutral-950);
  --sg-bg-accent: var(--sg-brand-orange);
  --sg-ink-strong: var(--sg-neutral-black);
  --sg-ink-default: var(--sg-neutral-black);
  --sg-ink-muted: var(--sg-neutral-500);
  --sg-ink-dim: var(--sg-neutral-400);
  --sg-ink-inverted: var(--sg-neutral-white);
  --sg-ink-accent: var(--sg-brand-orange);
  --sg-border-default: var(--sg-neutral-300);
  --sg-border-strong: var(--sg-neutral-400);
  --sg-border-focus: var(--sg-brand-orange);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--sg-bg-page);
  color: var(--sg-ink-default);
  font-family: var(--sg-font-family);
  font-size: var(--sg-font-size-md);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 20px), var(--sg-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--sg-space-3);
  left: var(--sg-space-3);
  padding: var(--sg-space-2) var(--sg-space-4);
  border-radius: var(--sg-radius-pill);
  background: var(--sg-bg-inverted);
  color: var(--sg-ink-inverted);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  padding: var(--sg-space-8);
  background: var(--sg-bg-elevated);
}

.site-header__inner {
  width: min(100%, var(--sg-container));
  min-height: 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--sg-space-7);
}

.site-header__logo {
  width: 115.547px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: fill;
}

.site-header__brand-fallback {
  min-width: 115.547px;
  color: var(--sg-ink-default);
  font-size: var(--sg-font-size-md);
  font-weight: 600;
}

.site-header__mark {
  width: 49.591px;
  height: 49px;
  flex: 0 0 auto;
  object-fit: fill;
}

.site-header__customer {
  font-size: var(--sg-font-size-3xl);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero {
  min-height: 708px;
  display: flex;
  align-items: center;
  padding-block: var(--sg-space-15);
  background: var(--sg-bg-page);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sg-space-7);
}

.hero__copy {
  display: grid;
  gap: var(--sg-space-3);
  width: 100%;
}

.hero .subline-l {
  max-width: 920px;
}

.eyebrow {
  color: var(--sg-brand-yellow);
  font-size: var(--sg-font-size-md);
  line-height: 1.55;
}

.display-xl,
.display-l,
.display-m {
  font-weight: 600;
  line-height: 1.04;
}

.display-xl {
  max-width: 1280px;
  font-size: clamp(48px, 4.375vw, var(--sg-font-size-6xl));
  letter-spacing: -0.02em;
}

.display-l {
  font-size: clamp(36px, 3.2vw, var(--sg-font-size-4xl));
  letter-spacing: -0.01em;
}

.display-m {
  font-size: clamp(28px, 2.4vw, var(--sg-font-size-3xl));
  letter-spacing: -0.01em;
}

.subline-l {
  font-size: var(--sg-font-size-xl);
  line-height: 1.4;
  white-space: pre-line;
}

.body-l {
  font-size: var(--sg-font-size-md);
  line-height: 1.55;
  white-space: pre-line;
}

.context-section {
  min-height: 355px;
  padding-block: var(--sg-space-13);
  background: var(--sg-bg-elevated);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 450px) minmax(0, 1fr);
  gap: var(--sg-space-11);
  margin-top: var(--sg-space-3);
}

.delivery-section {
  padding-block: var(--sg-space-13);
  background: var(--sg-neutral-black);
}

.theme-light .delivery-section {
  background: var(--sg-bg-soft);
}

.delivery-section__intro {
  margin-bottom: var(--sg-space-7);
}

.delivery-list {
  width: 100%;
}

.delivery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(139px, auto);
  align-items: center;
  gap: clamp(48px, 6.35vw, 122px);
  padding-block: var(--sg-space-7);
  border-bottom: 1px solid var(--sg-neutral-400);
}

.delivery-row:last-child {
  border-bottom: 0;
}

.delivery-row__content {
  min-width: 0;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.delivery-row__copy {
  min-width: 0;
  display: grid;
  gap: var(--sg-space-2);
}

.delivery-row__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sg-space-3);
  min-width: 139px;
}

.shape-art {
  width: 100px;
  height: 100px;
  display: block;
  flex: 0 0 auto;
  color: var(--shape-color, currentColor);
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.shape-art__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.delivery-row:hover .shape-art,
.delivery-row:focus-within .shape-art {
  transform: rotate(12deg);
}

.button {
  --button-color: var(--sg-neutral-100);
  --button-ink: var(--sg-neutral-950);
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sg-space-2);
  border: 1px solid transparent;
  border-radius: var(--sg-radius-pill);
  color: var(--sg-ink-strong);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    filter 160ms ease;
}

.button--lg {
  padding: 12px 20px;
  font-size: var(--sg-font-size-base);
}

.button--md {
  padding: 8px 16px;
  font-size: var(--sg-font-size-sm);
}

.button--primary,
.button--accent {
  background: var(--button-color);
  color: var(--button-ink);
}

.button--outline {
  border-color: var(--button-color);
  color: var(--button-color);
  background: transparent;
}

.button--ghost {
  color: var(--button-color);
  background: transparent;
}

.button--primary:hover,
.button--accent:hover,
.button--primary:focus-visible,
.button--accent:focus-visible {
  border-color: var(--button-color);
  background: transparent;
  color: var(--button-color);
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--button-color);
  background: var(--button-color);
  color: var(--button-ink);
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sg-border-focus);
  outline-offset: 3px;
}

.color-neutral {
  --button-color: var(--sg-neutral-100);
  --button-ink: var(--sg-neutral-950);
}

.color-orange {
  --button-color: var(--sg-brand-orange);
  --button-ink: var(--sg-neutral-950);
}

.color-yellow {
  --button-color: var(--sg-brand-yellow);
  --button-ink: var(--sg-neutral-950);
}

.color-blue {
  --button-color: var(--sg-brand-blue);
  --button-ink: var(--sg-neutral-950);
}

.color-pink {
  --button-color: var(--sg-brand-pink);
  --button-ink: var(--sg-neutral-950);
}

.color-green {
  --button-color: var(--sg-brand-green);
  --button-ink: var(--sg-neutral-950);
}

.ink-orange {
  color: var(--sg-brand-orange);
  --shape-color: var(--sg-brand-orange);
}

.ink-orange-bright {
  color: var(--sg-brand-orange-bright);
}

.ink-yellow {
  color: var(--sg-brand-yellow);
  --shape-color: var(--sg-brand-yellow);
}

.ink-blue {
  color: var(--sg-brand-blue);
  --shape-color: var(--sg-brand-blue);
}

.ink-pink {
  color: var(--sg-brand-pink);
  --shape-color: var(--sg-brand-pink);
}

.ink-green {
  color: var(--sg-brand-green);
  --shape-color: var(--sg-brand-green);
}

.ink-neutral {
  color: var(--sg-neutral-100);
  --shape-color: var(--sg-neutral-100);
}

.empty-state {
  padding: var(--sg-space-8);
  border: 1px solid var(--sg-border-default);
  border-radius: var(--sg-radius-lg);
  color: var(--sg-ink-muted);
}

.site-footer {
  min-height: 340px;
  padding: var(--sg-space-8);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--sg-bg-elevated);
}

.site-footer__inner {
  width: min(100%, var(--sg-container));
  height: 260px;
  display: flex;
  align-items: flex-start;
}

.site-footer__brand,
.site-footer__main {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-footer__brand {
  width: 636px;
  flex: 0 0 636px;
}

.site-footer__main {
  min-width: 0;
  flex: 1 1 0;
}

.site-footer__logo {
  width: 399.438px;
  height: 166px;
  align-self: flex-start;
  object-fit: fill;
}

.site-footer-logo__letter {
  fill: var(--sg-neutral-black);
}

.site-footer--inverted .site-footer-logo__letter {
  fill: var(--sg-bg-inverted);
}

.site-footer__brand-fallback {
  color: var(--sg-neutral-black);
  font-size: 78px;
  font-weight: 600;
  line-height: 1;
}

.site-footer__legal {
  display: flex;
  align-items: flex-start;
  gap: var(--sg-space-4);
  color: var(--sg-ink-dim);
  font-size: var(--sg-font-size-md);
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__legal a,
.site-footer__social-links a {
  text-decoration: none;
}

.site-footer__claim {
  width: 100%;
  color: var(--sg-neutral-black);
  font-size: var(--sg-font-size-4xl);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.site-footer--inverted .site-footer__claim {
  color: var(--sg-bg-inverted);
}

.site-footer__details {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.site-footer__contact-richtext,
.site-footer__social {
  min-width: 0;
  flex: 1 1 0;
}

.site-footer__contact-richtext,
.site-footer__social-links {
  color: var(--sg-ink-dim);
  font-size: var(--sg-font-size-md);
  line-height: 1.4;
}

.site-footer__contact-richtext p {
  margin: 0;
}

.site-footer__contact-email,
.site-footer__contact-phone {
  display: block;
}

.site-footer__contact-email,
.site-footer__address a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.site-footer__contact-phone {
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible,
.site-footer__social-links a:hover,
.site-footer__social-links a:focus-visible,
.site-footer__contact-phone:hover,
.site-footer__contact-phone:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.site-footer__contact-email:hover,
.site-footer__contact-email:focus-visible,
.site-footer__address a:hover,
.site-footer__address a:focus-visible {
  text-decoration: none;
}

.site-footer__social {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer__social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.site-footer__website {
  padding: var(--sg-space-2) var(--sg-space-4);
  border: 1px solid var(--sg-border-strong);
  border-radius: var(--sg-radius-pill);
  color: var(--sg-ink-dim);
  font-size: var(--sg-font-size-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.login-shell,
.status-page {
  min-height: calc(100vh - 128px);
  display: grid;
  place-items: center;
  padding: var(--sg-space-8) 10px;
}

.login-card {
  width: min(100%, 660px);
  display: grid;
  gap: var(--sg-space-6);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--sg-border-default);
  border-radius: var(--sg-radius-2xl);
  background: var(--sg-bg-elevated);
}

.login-card h1 {
  font-size: clamp(36px, 6vw, var(--sg-font-size-4xl));
  line-height: 1.04;
}

.login-card__intro {
  color: var(--sg-ink-muted);
}

.login-form {
  display: grid;
  gap: var(--sg-space-3);
}

.login-form label {
  font-size: var(--sg-font-size-sm);
  font-weight: 600;
}

.login-form input {
  width: 100%;
  min-height: 52px;
  padding: var(--sg-space-3) var(--sg-space-4);
  border: 1px solid var(--sg-border-strong);
  border-radius: var(--sg-radius-md);
  background: var(--sg-bg-page);
  color: var(--sg-ink-default);
}

.login-form .button {
  margin-top: var(--sg-space-2);
  cursor: pointer;
}

.form-error {
  padding: var(--sg-space-3) var(--sg-space-4);
  border-left: 4px solid var(--sg-brand-orange);
  background: var(--sg-bg-soft);
}

.registration-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header {
    padding: var(--sg-space-7) var(--sg-space-6);
  }

  .site-header__customer {
    font-size: var(--sg-font-size-2xl);
  }

  .hero {
    min-height: auto;
    padding-block: var(--sg-space-13);
  }

  .context-section,
  .delivery-section {
    min-height: auto;
    padding-block: var(--sg-space-12);
  }

  .split-intro {
    grid-template-columns: 1fr;
    gap: var(--sg-space-6);
  }

  .delivery-row {
    grid-template-columns: 1fr;
    gap: var(--sg-space-6);
  }

  .delivery-row__actions {
    flex-flow: row wrap;
    padding-left: 130px;
  }

  .site-footer {
    min-height: auto;
    padding: var(--sg-space-8) var(--sg-space-6);
  }

  .site-footer__inner {
    height: auto;
    flex-direction: column;
    gap: var(--sg-space-11);
  }

  .site-footer__brand,
  .site-footer__main {
    width: 100%;
    height: auto;
    flex: none;
  }

  .site-footer__brand {
    min-height: 220px;
  }

  .site-footer__main {
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--sg-container));
  }

  .site-header {
    padding: var(--sg-space-5) var(--sg-space-4);
  }

  .site-header__inner {
    gap: var(--sg-space-4);
  }

  .site-header__logo {
    width: 82px;
    height: auto;
  }

  .site-header__brand-fallback {
    min-width: 82px;
    font-size: var(--sg-font-size-sm);
  }

  .site-header__mark {
    width: 36px;
    height: 36px;
  }

  .site-header__customer {
    min-width: 0;
    overflow: hidden;
    font-size: var(--sg-font-size-lg);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-block: var(--sg-space-12);
  }

  .display-xl {
    font-size: 44px;
  }

  .subline-l {
    font-size: var(--sg-font-size-md);
  }

  .context-section,
  .delivery-section {
    padding-block: var(--sg-space-11);
  }

  .delivery-row {
    padding-block: var(--sg-space-8);
  }

  .delivery-row__content {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--sg-space-4);
  }

  .shape-art {
    width: 72px;
    height: 72px;
  }

  .delivery-row__actions {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 88px;
  }

  .delivery-row__actions .button {
    width: 100%;
  }

  .site-footer {
    padding: var(--sg-space-8) var(--sg-space-4);
  }

  .site-footer__logo {
    width: min(280px, 100%);
    height: auto;
  }

  .site-footer__main {
    gap: var(--sg-space-9);
  }

  .site-footer__details {
    flex-direction: column;
    gap: var(--sg-space-7);
  }

  .site-footer__contact-richtext,
  .site-footer__social {
    width: 100%;
    flex: none;
  }

  .site-footer__social {
    gap: var(--sg-space-7);
  }

  .login-shell,
  .status-page {
    min-height: calc(100vh - 88px);
    padding: var(--sg-space-4);
  }

  .login-card {
    padding: var(--sg-space-7) var(--sg-space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .delivery-row:hover .shape-art,
  .delivery-row:focus-within .shape-art {
    transform: none;
  }
}
