:root {
  color-scheme: light;
  --bg: #f7f1e7;
  --paper: #fffdf7;
  --cream: #f2eadc;
  --ink: #241f18;
  --muted: #70685c;
  --line: #d8cdbd;
  --hair: #e6ddcf;
  --yellow: #f6c945;
  --amber: #b97810;
  --blue: #2f6fed;
  --blue-dark: #1f55bd;
  --blue-bg: #eaf1ff;
  --blue-border: #c8d8fb;
  --green: #238759;
  --red: #c4473b;
  --btn: #e6e9ee;
  --shadow: 0 5px 0 rgba(36, 31, 24, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #e9dfd0;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  box-shadow: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px 20px 10px;
  width: min(100%, 600px);
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  object-fit: cover;
}

.brand-lockup b,
.brand-lockup small {
  display: block;
}

.brand-lockup b {
  font-size: 16px;
  line-height: 1.15;
}

.brand-lockup small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

main {
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 0 20px 30px;
}

section {
  margin-top: 46px;
  scroll-margin-top: 18px;
}

.hero {
  margin-top: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  margin-top: 8px;
  font-size: clamp(30px, 8.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0;
  margin-top: 5px;
  font-size: clamp(25px, 6.5vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.3;
}

.define {
  margin-bottom: 0;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
}

.define b {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.cta,
.primary-button,
.openplay-cta {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.cta {
  margin-top: 18px;
  padding: 13px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
}

.cta small,
.primary-button small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.94;
}

.cta:hover,
.primary-button:hover,
.openplay-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 rgba(36, 31, 24, 0.09);
}

.cta:focus-visible,
.primary-button:focus-visible,
.openplay-cta:focus-visible,
.openplay-jump:focus-visible,
.guides a:focus-visible,
.brand-lockup:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.38);
  outline-offset: 3px;
}

.chips,
.venues,
.openplay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips {
  margin-top: 14px;
}

.chip {
  padding: 5px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--cream);
  font-size: 12.5px;
  font-weight: 750;
}

.signup-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.card-head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.card-head img {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: cover;
}

.card-head .tag {
  padding: 3px 9px;
  border: 1px solid #6f5a32;
  border-radius: 999px;
  background: #3a3022;
  color: #e8ddca;
  font-size: 11px;
}

.card-body {
  padding: 14px;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.datebox {
  flex: 0 0 46px;
  padding: 5px 0;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--cream);
  text-align: center;
}

.datebox b,
.datebox span {
  display: block;
}

.datebox b {
  font-size: 18px;
  line-height: 1.1;
}

.datebox span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.game-title h2 {
  margin: 0;
  font-size: 18px;
}

.game-title p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.metrics {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.metric {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--cream);
}

.metric span,
.metric b {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.metric b {
  font-size: 15px;
}

.money {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  background: var(--blue-bg);
  color: var(--blue);
}

.money span {
  font-size: 11px;
  font-weight: 850;
}

.money b {
  margin-left: auto;
  font-size: 18px;
  white-space: nowrap;
}

.card-buttons {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}

.card-buttons span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 7px 5px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--btn);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.card-buttons .primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.openplay-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 20px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fffdf7;
  font-size: 13px;
  text-decoration: none;
}

.openplay-jump b {
  line-height: 1.35;
}

.openplay-jump .arrow {
  margin-left: auto;
  color: var(--yellow);
  font-size: 20px;
}

.pain-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pain-card .number {
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.pain-card h3 {
  margin-top: 2px;
}

.pain-card > p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.product-shot {
  position: relative;
  width: min(100%, 370px);
  margin: 12px auto 0;
  overflow: hidden;
  border: 1px solid #292b2f;
  border-radius: 12px;
  background: #303135;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.venues {
  margin-top: 14px;
}

.venues .chip {
  background: var(--paper);
}

.venues .more {
  border-style: dashed;
  color: var(--muted);
}

.plan-card {
  margin-top: 16px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.plan-name {
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.price b {
  font-size: 32px;
  line-height: 1.15;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.plan-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--hair);
  font-size: 14px;
  font-weight: 650;
}

.plan-card li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.plan-card li:last-child {
  border-bottom: 0;
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.tier-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tier-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  padding: 0;
  font-size: 13px;
  font-weight: 850;
}

.tier-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.tier-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tier-card > span {
  display: grid;
  min-height: 112px;
  padding: 9px 5px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  text-align: center;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.tier-card b {
  font-size: 19px;
}

.tier-card small {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}

.tier-card strong {
  align-self: end;
  color: var(--blue);
  font-size: 14px;
}

.tier-card strong small {
  display: block;
  color: inherit;
  font-size: 9.5px;
}

.tier-card input:checked + span {
  border-color: var(--blue);
  background: var(--blue-bg);
  box-shadow: 0 0 0 1px var(--blue);
  transform: translateY(-1px);
}

.tier-card input:focus-visible + span {
  outline: 3px solid rgba(47, 111, 237, 0.28);
  outline-offset: 2px;
}

.field {
  display: grid;
  gap: 5px;
}

.field > span {
  font-size: 13px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}

.field input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(47, 111, 237, 0.14);
}

.tier-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}

.agree input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.checkout-summary {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  background: var(--blue-bg);
}

.checkout-summary span,
.checkout-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.checkout-summary strong {
  color: var(--blue);
  font-size: 20px;
}

.primary-button {
  min-height: 54px;
  padding: 11px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.58;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 12.5px;
  font-weight: 750;
}

.form-status.is-error {
  color: var(--red);
}

.form-status.is-ok {
  color: var(--green);
}

.other-plans {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}

.other-plans p {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--hair);
}

.other-plans a {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 2px;
}

.stats {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.stats[hidden] {
  display: none;
}

.stat {
  flex: 1;
  min-width: 0;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat b,
.stat span {
  display: block;
}

.stat b {
  font-size: 22px;
}

.stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

blockquote {
  margin-bottom: 0;
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  background: var(--cream);
  font-size: 14px;
  font-weight: 650;
}

blockquote small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.venue-count {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.openplay-section {
  padding: 22px 18px;
  border-radius: 18px;
  background: var(--ink);
  color: #fffdf7;
  box-shadow: var(--shadow);
}

.openplay-section .eyebrow {
  color: #b3a88f;
}

.openplay-section h2 {
  margin-top: 8px;
  color: #fffdf7;
  font-size: 27px;
}

.openplay-intro {
  margin: 8px 0 0;
  color: #cfc6b2;
  font-size: 13.5px;
  font-weight: 650;
}

.relay-compare {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #2e2820;
  font-size: 12.5px;
  font-weight: 700;
}

.relay-compare p {
  margin: 0;
}

.relay-compare p:first-child {
  color: #a89d85;
}

.relay-compare p:first-child span {
  color: #e07a5f;
}

.relay-compare p + p {
  margin-top: 3px;
}

.relay-compare p + p span {
  color: #7bc47f;
}

.openplay-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.openplay-features div {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 11px 5px;
  border-radius: 12px;
  background: #2e2820;
  text-align: center;
}

.openplay-features span,
.openplay-features b,
.openplay-features small {
  display: block;
}

.openplay-features span {
  font-size: 22px;
}

.openplay-features b {
  margin-top: 3px;
  font-size: 13px;
}

.openplay-features small {
  margin-top: 2px;
  color: #a89d85;
  font-size: 10px;
  font-weight: 700;
}

.openplay-tags {
  margin-top: 14px;
}

.openplay-tags span {
  padding: 4px 10px;
  border: 1px solid #6f5a32;
  border-radius: 999px;
  color: #e8ddca;
  font-size: 11.5px;
  font-weight: 700;
}

.openplay-cta {
  margin-top: 16px;
  padding: 11px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
}

.faq details {
  margin-top: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.faq summary {
  min-height: 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
}

.faq details p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.guides {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.guides a {
  padding: 4px 11px;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
}

footer p {
  margin: 0 0 4px;
}

footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .topbar,
  main {
    width: min(calc(100% - 48px), 720px);
  }
}

@media (min-width: 1024px) {
  .topbar,
  main {
    width: min(calc(100% - 64px), 1120px);
  }

  .topbar {
    min-height: 76px;
    padding-right: 0;
    padding-left: 0;
  }

  main {
    padding-right: 0;
    padding-bottom: 54px;
    padding-left: 0;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    grid-template-areas:
      "eyebrow demo"
      "title demo"
      "define demo"
      "cta demo"
      "chips demo";
    column-gap: 64px;
    align-items: center;
    margin-top: 28px;
  }

  .hero > .eyebrow { grid-area: eyebrow; align-self: end; }
  .hero > h1 { grid-area: title; }
  .hero > .define { grid-area: define; }
  .hero > .cta { grid-area: cta; }
  .hero > .chips { grid-area: chips; align-self: start; }

  .hero > .signup-card {
    grid-area: demo;
    width: 100%;
    margin-top: 0;
  }

  .openplay-jump {
    margin-top: 34px;
  }

  #pain {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  #pain > .eyebrow,
  #pain > h2 {
    grid-column: 1 / -1;
  }

  #pain > h2 {
    margin-bottom: 4px;
  }

  .pain-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin-top: 0;
  }

  .pain-card .product-shot {
    margin-top: auto;
    padding-top: 16px;
  }

  #venues,
  #checkout,
  #proof,
  #openplay,
  #faq {
    width: min(100%, 900px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }

  main {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 29px;
  }

  .price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .tier-card > span {
    min-height: 108px;
    padding-left: 3px;
    padding-right: 3px;
  }

  .tier-card small {
    font-size: 9.5px;
  }

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

  .money b {
    margin-left: 0;
  }
}

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

  .cta,
  .primary-button,
  .openplay-cta,
  .tier-card > span {
    transition: none;
  }
}
