/* Helkah — Curation page (playlist.helkah.com)
   Mobile first. Two columns from 1024px. Brand: black / white / teal, Lexend. */

@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #000000;
  --fg: #FFFFFF;
  --accent: #4FB3BF;      /* cold teal */
  --text-2: #B8B8B8;      /* body copy */
  --text-3: #9A9A9A;      /* labels */
  --text-4: #7A7A7A;      /* fine print */
  --rule: #262626;        /* dividers */
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--fg); }
a:hover { color: var(--text-2); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.accent { color: var(--accent); }

/* ---------- Frame ---------- */

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark { width: 120px; height: auto; display: block; }

.eyebrow,
.label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.layout { flex-grow: 1; display: flex; flex-direction: column; }

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.lead { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.no-go { font-size: 15px; line-height: 1.5; color: var(--text-3); }

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { color: #000; filter: brightness(1.08); }

.hero-cta { margin-top: 12px; }

/* ---------- Sections ---------- */

.block {
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.details { display: flex; flex-direction: column; }

.land { gap: 28px; }

.outlet { display: flex; flex-direction: column; gap: 8px; }
.outlet h3 { font-size: 22px; font-weight: 700; }
.outlet p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.outlet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stat { font-size: 15px; font-weight: 500; color: var(--accent); white-space: nowrap; }

.rules { gap: 24px; }

.rule-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rule-list li { display: flex; gap: 16px; }
.num { font-size: 14px; font-weight: 500; color: var(--accent); min-width: 24px; line-height: 1.75; }
.rule-list p { font-size: 16px; line-height: 1.6; color: #E6E6E6; }
.rule-list strong { font-weight: 500; color: var(--fg); }

/* ---------- Submit routes ---------- */

.submit { padding-bottom: 56px; gap: 24px; }

.routes { display: flex; flex-direction: column; gap: 14px; }

.route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 18px 22px;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-decoration: none;
}
.route:hover { color: var(--fg); background: #141414; }

.route-name { font-size: 16px; font-weight: 500; }
.route-price { font-size: 15px; color: var(--text-2); white-space: nowrap; }

.route-primary { background: var(--accent); border-color: var(--accent); color: #000; }
.route-primary:hover { background: var(--accent); color: #000; filter: brightness(1.08); }
.route-primary .route-name { display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.route-primary .route-price { color: #000; font-weight: 500; }
.route-tag { font-size: 12px; font-weight: 500; }

/* ---------- Footer ---------- */

.foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.foot p { font-size: 12px; color: var(--text-4); }

/* ---------- Desktop: two columns ---------- */

@media (min-width: 1024px) {
  .page { max-width: 1280px; padding: 0 40px; }
  .top { padding-top: 36px; }
  .wordmark { width: 140px; }

  .layout {
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "hero   details"
      "submit details";
    column-gap: clamp(64px, 8vw, 120px);
    align-items: start;
    padding: 72px 0 48px;
  }

  .hero { grid-area: hero; padding: 0; }
  .hero h1 { font-size: 60px; line-height: 1.04; }
  .hero-cta { display: none; }               /* the routes sit right below it */

  .details { grid-area: details; gap: 48px; padding-top: 8px; }
  .details .rules { order: -1; border-top: 0; padding: 0; gap: 22px; }
  .details .land { padding: 40px 0 0; gap: 26px; }
  .outlet { gap: 6px; }

  .submit { grid-area: submit; border-top: 0; padding: 40px 0 0; }
  .submit .label {                             /* visually hidden, kept for screen readers */
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }

  .routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .route-primary { grid-column: 1 / -1; min-height: 60px; padding: 16px 22px; }
  .route:not(.route-primary) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    min-height: 72px;
    padding: 14px 16px;
  }
  .route:not(.route-primary) .route-name { font-size: 15px; }
  .route:not(.route-primary) .route-price { font-size: 13px; }

  .foot { flex-direction: row; justify-content: space-between; align-items: center; padding: 24px 0 36px; }
  .foot nav { gap: 28px; }
}
