:root {
  --ink: #231812;
  --night: #0b0b2a;
  --aqua: #00fafa;
  --page: #f8f4ef;
  --card: #ffffff;
  --border: #e8e0d6;
  --mid: #786d66;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.delivery-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: #fff;
}

.delivery-hero__photo,
.delivery-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.delivery-hero__photo {
  z-index: -2;
  object-fit: cover;
  object-position: 50% 52%;
}

.delivery-hero__shade {
  z-index: -1;
  background: rgba(5, 5, 28, 0.66);
}

.delivery-header {
  position: absolute;
  z-index: 1;
  top: max(20px, env(safe-area-inset-top));
  right: max(22px, env(safe-area-inset-right));
  left: max(22px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.delivery-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.delivery-brand img:first-child {
  width: 31px;
  height: 36px;
  object-fit: contain;
}

.delivery-brand img:last-child {
  width: 126px;
  height: auto;
}

.delivery-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-hero__copy {
  align-self: flex-end;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 140px 24px max(44px, env(safe-area-inset-bottom));
}

.delivery-overline,
.section-overline {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-overline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.delivery-overline::before {
  width: 28px;
  height: 3px;
  background: var(--aqua);
  content: "";
}

.delivery-hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.delivery-hero h1 span {
  display: block;
  color: var(--aqua);
}

.delivery-intro {
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.55;
}

.delivery-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.delivery-facts span + span::before {
  margin-right: 14px;
  color: var(--aqua);
  content: "/";
}

.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.delivery-primary,
.delivery-secondary {
  min-height: 50px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.delivery-primary {
  display: flex;
  min-width: 200px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 17px;
  background: var(--aqua);
  color: var(--ink);
}

.delivery-primary span:last-child {
  font-size: 20px;
  line-height: 1;
}

.delivery-secondary {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 11, 42, 0.46);
  color: #fff;
}

.delivery-primary:focus-visible,
.delivery-secondary:focus-visible {
  outline: 3px solid rgba(0, 250, 250, 0.55);
  outline-offset: 3px;
}

.delivery-connection {
  min-height: 18px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.handoff-band {
  padding: 56px 24px 64px;
  background: var(--page);
}

.delivery-formats {
  padding: 58px 24px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.delivery-formats__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.delivery-formats h2 {
  max-width: 650px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}

.delivery-formats__intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.6;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.format-card {
  display: flex;
  min-width: 0;
  min-height: 286px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--page);
}

.format-card--primary {
  border-top: 4px solid var(--aqua);
  padding-top: 19px;
}

.format-card__number {
  color: var(--mid);
  font-family: var(--font-display);
  font-size: 15px;
}

.format-card__label {
  margin: 26px 0 7px;
  color: var(--mid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.format-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.format-card p:not(.format-card__label) {
  margin: 12px 0 0;
  color: var(--mid);
  font-size: 13px;
  line-height: 1.5;
}

.format-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.format-card--primary a {
  background: var(--aqua);
  color: var(--ink);
}

.format-note {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 250, 250, 0.5);
  border-radius: 8px;
  background: #e0fafa;
  font-size: 12px;
  line-height: 1.5;
}

.format-note span {
  color: var(--mid);
}

.handoff-band__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.section-overline {
  color: var(--mid);
}

.handoff-band h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.handoff-lead {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--mid);
  font-size: 16px;
}

.handoff-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.handoff-details article {
  min-width: 0;
  padding: 22px 24px 25px 0;
}

.handoff-details article + article {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.handoff-details article > span {
  color: var(--mid);
  font-family: var(--font-display);
  font-size: 15px;
}

.handoff-details h3 {
  margin: 12px 0 7px;
  font-size: 16px;
}

.handoff-details p {
  margin: 0;
  color: var(--mid);
  font-size: 13px;
  line-height: 1.5;
}

.handoff-stamp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto 58px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.handoff-stamp > div {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.handoff-stamp > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.handoff-stamp span,
.handoff-stamp strong {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}

.handoff-stamp > div > span {
  margin-bottom: 5px;
  color: var(--mid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.handoff-stamp strong {
  font-size: 13px;
}

.handoff-stamp strong span {
  display: inline;
}

.delivery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(24px, calc((100vw - 980px) / 2));
  border-top: 1px solid var(--border);
  background: var(--card);
}

.delivery-footer img {
  width: 116px;
}

.delivery-footer p {
  margin: 0;
  color: var(--mid);
  font-size: 11px;
}

@media (max-width: 639px) {
  .delivery-hero {
    min-height: 88svh;
  }

  .delivery-header {
    right: max(18px, env(safe-area-inset-right));
    left: max(18px, env(safe-area-inset-left));
  }

  .delivery-brand img:first-child {
    width: 27px;
    height: 31px;
  }

  .delivery-brand img:last-child {
    width: 108px;
  }

  .delivery-status {
    font-size: 9px;
  }

  .delivery-hero__copy {
    padding-right: 20px;
    padding-bottom: max(36px, env(safe-area-inset-bottom));
    padding-left: 20px;
  }

  .delivery-hero h1 {
    font-size: 42px;
  }

  .delivery-intro {
    font-size: 15px;
  }

  .delivery-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-primary,
  .delivery-secondary {
    width: 100%;
  }

  .handoff-band {
    padding: 46px 20px 52px;
  }

  .delivery-formats {
    padding: 46px 20px 52px;
  }

  .delivery-formats h2 {
    font-size: 32px;
  }

  .format-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .format-card {
    min-height: 238px;
  }

  .format-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .handoff-band h2 {
    font-size: 32px;
  }

  .handoff-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .handoff-details article {
    padding: 18px 0 20px;
  }

  .handoff-details article + article {
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .handoff-stamp {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 40px);
  }

  .handoff-stamp > div,
  .handoff-stamp > div + div {
    padding: 14px 0;
    border-left: 0;
  }

  .handoff-stamp > div + div {
    border-top: 1px solid var(--border);
  }

  .delivery-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 359px) {
  .delivery-brand img:last-child {
    width: 96px;
  }

  .delivery-status {
    padding: 6px 8px;
  }

  .delivery-hero h1 {
    font-size: 36px;
  }

  .delivery-facts {
    display: grid;
  }

  .delivery-facts span + span::before {
    display: none;
  }
}

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