@font-face {
  font-family: "Lulo Clean";
  src: url("../fonts/LuloCleanW01OneBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0e0a48;
  --navy-deep: #09062e;
  --indigo: #252989;
  --indigo-mid: #3b4aa1;
  --lavender: #8d93de;
  --pink: #ff66f5;
  --pink-soft: #ffb3fa;
  --yellow: #fee142;
  --text: #e8e8e8;
  --white: #ffffff;
  --black: #000000;
  --footer: #000000;
  --line: rgba(232, 232, 232, 0.28);
  --header-h: 96px;
  --max: 1100px;
  --radius: 4px;
  --font: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-title: "Lulo Clean", "Barlow Condensed", sans-serif;
  --font-sub: "Raleway", "Barlow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy);
  min-height: 100vh;
}

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

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  color: var(--pink-soft);
}

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

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  background: var(--pink);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 1000;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 18px 28px 12px;
}

.site-header::after {
  content: "";
  display: block;
  max-width: 1280px;
  margin: 10px auto 0;
  height: 1px;
  background: rgba(232, 232, 232, 0.35);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.logo img {
  width: 200px;
  height: auto;
}

.header-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  opacity: 0.95;
}

.header-social img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pink);
  color: var(--white);
  width: 44px;
  height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  padding-top: 18px;
}

.site-nav a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--pink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(8, 4, 32, 0.18) 0%, rgba(14, 10, 72, 0.15) 55%, var(--navy) 100%),
    url("../images/hero-bg.png") center 40% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 140px 28px 56px;
}

.hero--home {
  min-height: 720px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 100px;
  background:
    linear-gradient(90deg, rgba(8, 4, 32, 0.55) 0%, rgba(8, 4, 32, 0.12) 48%, rgba(8, 4, 32, 0.05) 100%),
    url("../images/hero-bg.png") center 38% / cover no-repeat;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero--home .hero-inner {
  max-width: 640px;
  margin: 0 auto 0 8vw;
}

.page-title,
.hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 52px);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  line-height: 1.05;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero--home h1 {
  text-align: left;
  font-size: clamp(26px, 4.2vw, 48px);
}

.hero-lead {
  margin: 18px 0 28px;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  max-width: 34em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 12px 28px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--pink);
  color: var(--navy);
}

.btn-pink {
  background: var(--pink);
  color: var(--navy);
  border-color: var(--pink);
}

.btn-pink:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Layout */
.section {
  padding: 56px 28px 72px;
}

.section-narrow {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 36px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--text);
}

.prose p + p {
  margin-top: 1.1em;
}

.section--white {
  background: var(--white);
  color: #1a1a1a;
}

.section--white .prose,
.section--white h1,
.section--white h2 {
  color: #1a1a1a;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.step {
  text-align: center;
}

.step-num {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0;
  margin: 0 0 8px;
}

.step-rule {
  position: relative;
  width: 84px;
  height: 14px;
  margin: 0 auto 18px;
}

.step-rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--pink);
  transform: translateY(-50%);
}

.step-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-50%, -50%);
}

.step h3 {
  margin: 0 0 10px;
  font-family: var(--font-sub);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.enjoy {
  text-align: center;
  margin: 48px 0 0;
  font-weight: 700;
  font-size: 18px;
}

/* Cafes */
.cafe-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
  margin-bottom: 48px;
}

.cafe-card {
  text-align: center;
}

.cafe-logo {
  background: var(--white);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  margin-bottom: 10px;
}

.cafe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cafe-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* FAQ */
.faq-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 520px;
}

.faq-visual {
  position: relative;
  background: #1c1c1c center/cover no-repeat;
  min-height: 420px;
}

.faq-visual h2 {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: clamp(22px, 3.2vw, 36px);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  padding: 24px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(14, 10, 72, 0.25));
}

.faq-panel {
  background: #7a2f86;
  padding: 36px 32px 28px;
}

.faq-search {
  width: 100%;
  margin-bottom: 18px;
  padding: 10px 12px 10px 36px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 24 24'><path d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79L20 21.5 21.5 20l-6-6zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") 8px 50% / 16px no-repeat;
  color: var(--white);
  font: inherit;
  font-size: 15px;
}

.faq-search::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.faq-search:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: 0;
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.faq-item.is-open button span {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Contact */
.contact-box {
  border: 1px solid var(--lavender);
  background: rgba(14, 10, 72, 0.55);
  padding: 48px 32px;
  text-align: center;
}

.contact-box p {
  margin: 0 0 8px;
}

.contact-box a {
  font-size: 20px;
  font-weight: 600;
}

.contact-form,
.contact-aside {
  padding: 36px 32px;
}

.contact-aside {
  border-left: 1px solid var(--lavender);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--navy-deep);
  border: 1px solid var(--lavender);
  color: var(--white);
  font: inherit;
  border-radius: 2px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin: 12px 0 0;
  font-size: 15px;
}

.form-status.ok {
  color: #9dffc2;
}

.form-status.err {
  color: #ffb3b8;
}

/* Results */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab {
  border: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  color: var(--pink);
}

.panel {
  display: none;
  border: 2px solid var(--lavender);
  box-shadow: 0 0 0 4px rgba(37, 41, 137, 0.55);
  min-height: 280px;
  padding: 28px;
  background: rgba(9, 6, 46, 0.65);
}

.panel.is-active {
  display: block;
}

.table-wrap {
  overflow-x: auto;
}

.table-search {
  width: 100%;
  margin: 0 0 20px;
  padding: 10px 12px 10px 36px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 24 24'><path d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79L20 21.5 21.5 20l-6-6zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") 8px 50% / 16px no-repeat;
  color: var(--white);
  font: inherit;
  font-size: 15px;
}

.table-search::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.table-search:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--pink-soft);
  font-weight: 700;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

td.rank,
th.rank {
  width: 3.5rem;
  color: var(--pink-soft);
  font-weight: 700;
}

.sheet-status {
  margin: 0;
}

.sheet-status.err {
  color: #ffb3b8;
}

.cafe-group + .cafe-group {
  margin-top: 32px;
}

.cafe-group h3 {
  margin: 0 0 10px;
  font-family: var(--font-sub);
  font-size: 20px;
  color: var(--white);
}

/* Live */
.live-cta {
  text-align: center;
  padding: 40px 0 20px;
}

.twitch-wrap {
  width: min(100%, 960px);
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
}

.twitch-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 36px 28px 18px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px 48px;
  align-items: center;
}

.footer-logo {
  width: 180px;
}

.footer-contact h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.footer-contact p {
  margin: 0;
  font-size: 15px;
}

.footer-contact a {
  color: var(--white);
}

.footer-contact a:hover {
  color: var(--pink);
}

.footer-copy {
  max-width: 1280px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.muted {
  opacity: 0.85;
}

@media (max-width: 980px) {
  .steps,
  .cafe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-split,
  .form-row,
  .footer-inner,
  .header-inner {
    grid-template-columns: 1fr;
  }

  .header-social {
    margin: 0;
    width: auto;
  }

  .hero--home .hero-inner {
    margin: 0 auto;
  }

  .hero--home h1,
  .hero-lead {
    text-align: center;
  }

  .hero--home {
    text-align: center;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(9, 6, 46, 0.96);
    padding: 16px 18px 20px;
    border: 1px solid var(--lavender);
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .cafe-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .logo img {
    width: 150px;
  }

  .hero,
  .hero--home {
    min-height: 380px;
    padding: 110px 18px 40px;
  }

  .hero--home {
    min-height: 520px;
  }
}


.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;
}
