:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --cyan-500: #06b6d4;
  --sky-100: #e0f2fe;
  --amber-300: #fcd34d;
  --orange-500: #f97316;
  --rose-400: #fb7185;
  --emerald-500: #10b981;
  --shadow-strong: 0 24px 60px rgba(2, 6, 23, 0.28);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--slate-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(252, 211, 77, 0.72);
  outline-offset: 3px;
}

button,
input,
label {
  font: inherit;
}

button {
  border: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--container));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.legal-header {
  color: var(--slate-950);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-soft);
}

.legal-header .site-nav a {
  color: var(--slate-700);
}

.legal-header .site-nav a:hover,
.legal-header .site-nav a:focus-visible,
.legal-header .site-nav a[aria-current="page"] {
  color: var(--slate-950);
  background: var(--slate-100);
}

.legal-header .event-pill {
  color: var(--white);
  background: var(--teal-700);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--slate-950);
  background: var(--amber-300);
  border-radius: var(--radius);
}

.brand__text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a,
.event-pill {
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.event-pill {
  color: var(--slate-950);
  background: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 88svh;
  padding: 110px 0 48px;
  color: var(--white);
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.72) 0%, rgba(15, 23, 42, 0.44) 42%, rgba(15, 23, 42, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.48) 100%),
    url("../assets/hero-zanzibar.png");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: end;
  gap: 48px;
}

.hero__copy {
  max-width: 720px;
  padding-bottom: 22px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber-300);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.hero__lead a {
  color: var(--amber-300);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.hero__meta span,
.hero__meta a {
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 700;
}

.hero__meta a {
  color: var(--slate-950);
  background: var(--amber-300);
  border-color: rgba(252, 211, 77, 0.8);
}

.upload-panel {
  width: 100%;
  padding: 24px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.upload-panel__header h2,
.setup-band h2,
.travel-band h2 {
  margin: 0;
  color: var(--slate-950);
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.upload-panel__header p:not(.section-kicker),
.setup-band p,
.travel-card p {
  color: var(--slate-600);
}

.upload-panel__header p:not(.section-kicker) {
  margin: 10px 0 0;
}

.dropzone {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px dashed rgba(15, 118, 110, 0.48);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.68), rgba(240, 253, 250, 0.88));
}

.dropzone.is-dragging {
  border-color: var(--orange-500);
  background: rgba(255, 247, 237, 0.96);
}

.file-trigger,
.drive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.file-trigger {
  color: var(--white);
  background: var(--teal-700);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
}

.drive-button {
  color: var(--white);
  background: var(--orange-500);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.file-trigger:hover,
.file-trigger:focus-visible,
.drive-button:hover,
.drive-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.file-trigger:hover,
.file-trigger:focus-visible {
  background: var(--teal-800);
}

.drive-button:hover,
.drive-button:focus-visible {
  background: #ea580c;
}

.drive-button:disabled {
  cursor: not-allowed;
  transform: none;
  color: rgba(255, 255, 255, 0.72);
  background: var(--slate-600);
  box-shadow: none;
}

.dropzone__hint {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.86rem;
}

.feedback {
  margin-top: 18px;
}

.status-message,
.progress__label {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.92rem;
  font-weight: 700;
}

.status-message.is-error {
  color: #be123c;
}

.status-message.is-success {
  color: #047857;
}

.progress {
  height: 10px;
  margin: 10px 0 7px;
  overflow: hidden;
  background: var(--slate-200);
  border-radius: var(--radius);
}

.progress__bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-500), var(--amber-300));
  border-radius: inherit;
  transition: width 180ms ease;
}

.progress__label {
  text-align: right;
}

.file-list {
  display: grid;
  gap: 8px;
  max-height: 184px;
  margin: 18px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.file-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
}

.file-list__name {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list__meta {
  color: var(--slate-600);
  font-size: 0.82rem;
}

.file-list__state {
  padding: 6px 8px;
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 900;
}

.file-list__state.is-active {
  color: var(--slate-950);
  background: var(--amber-300);
}

.file-list__state.is-done {
  color: var(--white);
  background: var(--emerald-500);
}

.file-list__state.is-error {
  color: var(--white);
  background: var(--rose-400);
}

.travel-band,
.setup-band {
  padding: 76px 0;
}

.travel-band {
  background: var(--white);
}

.travel-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.travel-card {
  min-height: 220px;
  padding: 22px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.travel-card__index {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--teal-700);
  font-weight: 900;
}

.travel-card h3 {
  margin: 0 0 10px;
  color: var(--slate-950);
  font-size: 1.15rem;
}

.travel-card p {
  margin: 0;
}

.setup-band {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.88), rgba(240, 253, 250, 0.92)),
    var(--sky-100);
}

.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 40px;
  align-items: start;
}

.setup-band p {
  max-width: 610px;
  margin: 16px 0 0;
  font-size: 1.04rem;
}

.setup-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.setup-steps li {
  position: relative;
  min-height: 56px;
  padding: 15px 16px 15px 56px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--radius);
  color: var(--slate-700);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  counter-increment: setup;
}

.setup-steps li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--teal-700);
  border-radius: var(--radius);
  content: counter(setup);
  font-size: 0.82rem;
  font-weight: 900;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(224, 242, 254, 0.78), rgba(248, 250, 252, 0) 360px),
    var(--slate-50);
}

.legal-main {
  padding: 130px 0 70px;
}

.legal-document {
  max-width: 900px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.legal-document h1 {
  margin: 0;
  color: var(--slate-950);
  font-size: 2.5rem;
  line-height: 1.08;
}

.legal-updated {
  margin: 14px 0 0;
  color: var(--slate-600);
  font-weight: 800;
}

.legal-document section {
  margin-top: 34px;
}

.legal-document h2 {
  margin: 0 0 10px;
  color: var(--slate-950);
  font-size: 1.24rem;
}

.legal-document p,
.legal-document li {
  color: var(--slate-700);
}

.legal-document p {
  margin: 10px 0 0;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-document a {
  color: var(--teal-700);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-document code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 6px;
  overflow-wrap: anywhere;
  color: var(--teal-800);
  background: var(--slate-100);
  border-radius: 6px;
  font-size: 0.95em;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--slate-950);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--amber-300);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner,
  .travel-grid,
  .setup-layout {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 10px;
  }

  .brand__text {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .event-pill {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 92px 0 36px;
    background-position: 62% center;
  }

  .hero__inner {
    gap: 28px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__meta span,
  .hero__meta a {
    font-size: 0.85rem;
  }

  .upload-panel {
    padding: 18px;
  }

  .upload-panel__header h2,
  .setup-band h2,
  .travel-band h2 {
    font-size: 1.65rem;
  }

  .travel-band,
  .setup-band {
    padding: 54px 0;
  }

  .file-list__item {
    grid-template-columns: 1fr;
  }

  .file-list__state {
    justify-self: start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-main {
    padding: 108px 0 54px;
  }

  .legal-document {
    padding: 24px 18px;
  }

  .legal-document h1 {
    font-size: 2rem;
  }
}
