:root {
  --baur: #09d494;
  --baur-dark: #05a874;
  --ink: #171a1c;
  --muted: #6a737c;
  --line: #e8ebee;
  --surface: #f6f7f9;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--baur);
  outline-offset: 3px;
  border-radius: 4px;
}

/* header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

/* hero */
.hero {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 50px);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero p {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 46ch;
}

.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--baur-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

/* phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 10px 0 30px;
}

.phone {
  width: 258px;
  aspect-ratio: 258 / 558;
  background: var(--ink);
  border-radius: 40px;
  padding: 9px;
  position: relative;
  /* angled rather than dead-on: implies motion, not a spec sheet */
  transform: rotate(-9deg);
  box-shadow:
    0 40px 70px -28px rgba(23, 26, 28, 0.55),
    0 0 0 1px rgba(23, 26, 28, 0.06);
}

.phone-screen {
  background: var(--white);
  border-radius: 32px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

/* app status bar: bacoin badge + profile, mirroring AppStatusBar */
.s-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* top padding clears the notch */
  padding: 27px 13px 8px;
  background: var(--white);
  flex-shrink: 0;
}

.s-bacoin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 50px;
  height: 20px;
  padding: 0 3px 0 8px;
  border-radius: 100px;
  background: var(--baur);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.s-bacoin svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.s-avatar {
  width: 21px;
  height: 21px;
  display: block;
  flex-shrink: 0;
}

.s-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.screen-hero {
  height: 38%;
  background: var(--baur-dark);
  flex-shrink: 0;
  overflow: hidden;
}

.screen-hero svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* middle: buying */
.s-buy {
  padding: 18px 16px 0;
}

/* seat picker */
.s-seatmap {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.s-stage {
  width: 76px;
  height: 4px;
  border-radius: 100px;
  background: var(--line);
}

.s-seat-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.s-seat-row {
  display: flex;
  gap: 5px;
}

.seat {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #dfe4e9;
}

.seat.is-taken {
  background: #c3cad1;
}

.seat.is-picked {
  background: var(--baur);
  box-shadow: 0 0 0 2px rgba(9, 212, 148, 0.28);
}

.s-legend {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.s-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
}

.s-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: block;
}

.s-cta {
  margin-top: 14px;
  height: 38px;
  border-radius: 100px;
  background: var(--baur);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 22px -10px rgba(9, 212, 148, 0.95);
}

.s-price {
  font-weight: 500;
  opacity: 0.92;
}

/* bottom: the ticket QR, split off by a perforation like the app's ticket shape */
.s-ticket {
  position: relative;
  margin: auto 16px 18px;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-ticket::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 4px;
  right: 4px;
  border-top: 2px dashed var(--line);
}

.s-qr {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 7px;
  padding: 3px;
}

.s-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.s-ticket-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.s-ticket-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--baur-dark);
  margin-top: 3px;
}

/* store buttons */
.stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000000;
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  min-width: 178px;
  transition: opacity 0.15s ease;
}

.store:hover {
  opacity: 0.85;
}

.store-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.store-text small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.store-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* features */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.features {
  padding: 16px 0 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid transparent;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--baur-dark);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* content pages */
.page {
  padding: 56px 0 88px;
  max-width: 760px;
}

.page h1 {
  font-size: clamp(28px, 5vw, 38px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.page h2 {
  font-size: 20px;
  margin: 40px 0 12px;
  font-weight: 700;
}

.page h3 {
  font-size: 16px;
  margin: 24px 0 8px;
  font-weight: 700;
}

.page p,
.page li {
  color: #3b4045;
  font-size: 16px;
}

.page ul,
.page ol {
  padding-left: 22px;
}

.page li {
  margin-bottom: 8px;
}

.page a {
  color: var(--baur-dark);
}

.note {
  background: var(--surface);
  border-left: 3px solid var(--baur);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 28px 0;
}

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

.fill {
  background: #fff4d6;
  border-bottom: 1px dashed #c27e0a;
  padding: 0 4px;
  font-weight: 600;
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--baur);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 100px;
}

.btn:hover {
  background: var(--baur-dark);
}

/* .page a would otherwise win on specificity and paint the button text green */
.page a.btn {
  color: var(--white);
}

.page a:hover {
  text-decoration: underline;
}

.page a.btn:hover {
  text-decoration: none;
  color: var(--white);
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--surface);
}

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

.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
}

.copyright {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
    padding: 56px 0 48px;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .stores {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .nav {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-links {
    gap: 18px;
    justify-content: center;
    width: 100%;
  }
  .phone {
    width: 250px;
    /* flat on small screens: a rotated box would clip against the viewport */
    transform: none;
  }
  .screen-hero {
    height: 36%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .store {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
