@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');
@import url('./tokens.css?v=20260425d');

:root {
  --font-sans: 'Manrope', 'Segoe UI Variable Text', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Manrope', 'Segoe UI Variable Display', 'Segoe UI', Arial, sans-serif;
  --landing-bg: #e8f1e6;
  --landing-bg-soft: #eef6eb;
  --landing-surface: #ffffff;
  --landing-surface-green: #e3efe4;
  --landing-ink: #173624;
  --landing-text: #203128;
  --landing-quiet: #60746a;
  --landing-green: #0f5a38;
  --landing-green-deep: #08462e;
  --landing-green-soft: #dfeee4;
  --landing-line: #c9ddcf;
  --landing-line-soft: #dfeadf;
  --landing-lime: #a8d62e;
  --landing-lime-soft: #eef9cb;
  --landing-shadow: 0 24px 58px rgba(21, 69, 45, 0.13);
  --landing-shadow-strong: 0 30px 78px rgba(21, 69, 45, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--landing-bg);
}

body {
  margin: 0;
  color: var(--landing-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0, rgba(255, 255, 255, 0) 420px),
    var(--landing-bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 8px 12px 8px 16px;
  border: 1px solid rgba(8, 70, 46, 0.9);
  border-radius: 22px;
  background: linear-gradient(135deg, #194f3b 0%, #0f5a38 56%, #12643e 100%);
  box-shadow: 0 18px 44px rgba(20, 66, 43, 0.18);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 176px;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.18));
}

.main-nav,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav {
  justify-content: center;
  min-width: 0;
}

.main-nav a,
.nav-link-quiet {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.main-nav a:hover,
.nav-link-quiet:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.96rem;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.demo-reset:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button:focus-visible,
.contact-link:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid rgba(168, 214, 46, 0.42);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  border-radius: 13px;
  font-size: 0.86rem;
}

.button-bright {
  background: linear-gradient(180deg, #d7f45f 0%, var(--landing-lime) 100%);
  color: #16331f;
  box-shadow: 0 12px 24px rgba(99, 151, 37, 0.24);
}

.button-outline {
  border-color: #9bbca6;
  color: var(--landing-green-deep);
  background: rgba(255, 255, 255, 0.74);
}

.button-dark {
  color: #ffffff;
  background: linear-gradient(180deg, #166640 0%, var(--landing-green-deep) 100%);
  border-color: #0f5a38;
  box-shadow: 0 14px 26px rgba(21, 69, 45, 0.2);
}

.hero-section {
  min-height: clamp(720px, 90vh, 850px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(246, 250, 244, 0.82) 0%,
    rgba(229, 241, 225, 0.96) 48%,
    #dcebdd 100%
  );
  border-bottom: 1px solid var(--landing-line-soft);
}

.hero-content {
  width: min(calc(100% - 40px), 1180px);
  min-height: clamp(720px, 90vh, 850px);
  margin: 0 auto;
  padding: 126px 0 54px;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  display: block;
  width: min(420px, 82vw);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 12px 20px rgba(21, 69, 45, 0.18));
}

.hero-copy h1 {
  margin: 0;
  color: #f5fbf6;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.4vw, 5.3rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 #274b39,
    0 6px 18px rgba(25, 78, 51, 0.25);
  -webkit-text-stroke: 1px rgba(26, 63, 43, 0.28);
}

.hero-copy h1 span {
  color: #9ad11e;
  text-shadow:
    0 2px 0 #47772a,
    0 8px 18px rgba(99, 151, 37, 0.2);
}

.hero-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--landing-ink);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
}

.hero-support {
  max-width: 530px;
  margin: 22px 0 0;
  color: #4f665a;
  font-size: 1.18rem;
  line-height: 1.56;
}

.hero-actions {
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-proof-list {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 90, 56, 0.18);
  border-radius: 999px;
  color: var(--landing-green-deep);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-showcase {
  position: relative;
  min-height: 490px;
}

.screenshot-frame,
.product-shot,
.board-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
  background: var(--landing-surface);
  box-shadow: var(--landing-shadow);
}

.screenshot-frame img,
.product-shot img,
.board-shot img,
.session-tool-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-zoomable] {
  cursor: zoom-in;
}

[data-zoomable]:focus-visible {
  outline: 3px solid rgba(168, 214, 46, 0.5);
  outline-offset: 4px;
}

.screenshot-frame-main {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.screenshot-frame-board {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 56%;
  aspect-ratio: 16 / 9;
  border-width: 6px;
  border-color: #ffffff;
  box-shadow: var(--landing-shadow-strong);
}

.flow-section,
.product-section,
.free-trial-section,
.board-section,
.demo-section {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.flow-section {
  padding: 58px 0 74px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.product-copy h2,
.free-trial-copy h2,
.contact-card h2,
.board-copy h2,
.demo-section h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading h2::after,
.product-copy h2::after,
.free-trial-copy h2::after,
.contact-card h2::after,
.board-copy h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--landing-lime);
}

.section-heading h2::after {
  margin-inline: auto;
}

.section-heading p {
  margin: 18px auto 0;
  color: var(--landing-quiet);
  font-size: 1.06rem;
  line-height: 1.58;
}

.flow-track {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.flow-step {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.flow-step svg {
  width: 42px;
  height: 42px;
  display: block;
  color: var(--landing-green);
  fill: currentColor;
}

.flow-step h3 {
  margin: 18px 0 0;
  color: var(--landing-ink);
  font-size: 1rem;
  line-height: 1.2;
}

.flow-step p {
  margin: 10px 0 0;
  color: var(--landing-quiet);
  font-size: 0.95rem;
  line-height: 1.52;
}

.flow-arrow {
  position: relative;
  display: block;
  height: 42px;
}

.flow-arrow::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  border-top: 2px solid var(--landing-lime);
}

.flow-arrow::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--landing-lime);
  border-right: 2px solid var(--landing-lime);
  transform: rotate(45deg);
}

.product-section {
  padding: 82px 0;
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: center;
  border-top: 1px solid var(--landing-line-soft);
}

.product-copy p,
.board-copy p,
.demo-section p {
  margin: 20px 0 0;
  color: var(--landing-quiet);
  font-size: 1.1rem;
  line-height: 1.62;
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #233329;
  font-weight: 700;
  line-height: 1.35;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--landing-lime);
  box-shadow: 0 0 0 5px rgba(168, 214, 46, 0.16);
}

.product-shot {
  aspect-ratio: 16 / 9;
}

.app-feel-section {
  width: 100%;
  max-width: none;
  padding: 72px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--landing-line);
  background:
    linear-gradient(135deg, rgba(15, 90, 56, 0.05), rgba(168, 214, 46, 0.1)), var(--landing-bg);
}

.app-feel-copy h2,
.tournament-hero-copy h1,
.tournament-cta-section h2 {
  margin: 10px 0 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.app-feel-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.03;
}

.app-feel-copy p {
  margin: 18px 0 0;
  color: var(--landing-quiet);
  font-size: 1.04rem;
  line-height: 1.62;
}

.app-feel-board {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.app-feel-board article {
  min-width: 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 253, 247, 0.94)),
    var(--landing-surface);
  box-shadow: 0 16px 34px rgba(21, 69, 45, 0.1);
}

.app-feel-board span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--landing-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-feel-board strong {
  margin-top: 18px;
  color: var(--landing-ink);
  font-size: 1.04rem;
  line-height: 1.15;
}

.app-feel-board p {
  margin: 10px 0 0;
  color: var(--landing-quiet);
  font-size: 0.92rem;
  line-height: 1.48;
}

.entry-section {
  width: 100%;
  max-width: none;
  padding: 78px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--landing-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 252, 246, 0.92)),
    var(--landing-surface);
}

.entry-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entry-card {
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(21, 69, 45, 0.08);
}

.entry-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #173624;
  background: var(--landing-lime);
  font-size: 0.86rem;
  font-weight: 900;
}

.entry-card h3 {
  margin: 18px 0 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.12;
}

.entry-card p {
  margin: 12px 0 0;
  color: var(--landing-quiet);
  font-size: 0.98rem;
  line-height: 1.58;
}

.play-mode-section {
  width: 100%;
  max-width: none;
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1.4fr);
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--landing-line-soft);
  background:
    radial-gradient(circle at 78% 16%, rgba(168, 214, 46, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 247, 236, 0.94)),
    var(--landing-bg-soft);
}

.play-mode-copy h2 {
  margin: 10px 0 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.play-mode-copy p {
  margin: 18px 0 0;
  color: var(--landing-quiet);
  font-size: 1.04rem;
  line-height: 1.62;
}

.play-mode-points {
  margin-top: 24px;
}

.play-mode-card {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 246, 0.98)),
    var(--landing-surface);
  box-shadow: var(--landing-shadow-strong);
}

.mockup-title-row.play-mode-title-row {
  align-items: flex-start;
  padding: 0 2px 12px;
}

.mockup-title-row.play-mode-title-row strong {
  min-width: 0;
}

.mockup-title-row.play-mode-title-row span {
  width: auto;
  height: auto;
  min-width: max-content;
  border-radius: 0;
  color: var(--landing-quiet);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.play-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.play-format-option,
.play-mode-option {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.9);
}

.play-format-option {
  min-height: 126px;
  padding: 18px;
  border-radius: 16px;
}

.play-format-option.is-selected,
.play-mode-option.is-selected {
  border-color: rgba(15, 90, 56, 0.72);
  background:
    linear-gradient(135deg, rgba(15, 90, 56, 0.96), rgba(36, 116, 78, 0.94)), var(--landing-green);
  color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(15, 90, 56, 0.12),
    0 18px 34px rgba(21, 69, 45, 0.14);
}

.format-icon {
  --format-dot: var(--landing-green);

  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 90, 56, 0.16);
  border-radius: 999px;
  background: var(--landing-green-soft);
}

.format-icon::before {
  content: '';
  display: block;
}

.format-icon-doubles::before {
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 33% 33%, var(--format-dot) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 67% 33%, var(--format-dot) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 33% 67%, var(--format-dot) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 67% 67%, var(--format-dot) 0 2.4px, transparent 2.8px);
}

.format-icon-singles::before {
  width: 20px;
  height: 10px;
  background:
    radial-gradient(circle at 30% 50%, var(--format-dot) 0 3px, transparent 3.4px),
    radial-gradient(circle at 70% 50%, var(--format-dot) 0 3px, transparent 3.4px);
}

.play-format-option.is-selected .format-icon {
  --format-dot: #ffffff;

  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}

.play-format-option strong,
.play-mode-option strong {
  display: block;
  color: inherit;
  font-size: 1.02rem;
  line-height: 1.1;
}

.play-format-option p,
.play-mode-option p {
  margin: 4px 0 0;
  color: var(--landing-quiet);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.play-format-option.is-selected p,
.play-mode-option.is-selected p {
  color: rgba(255, 255, 255, 0.78);
}

.play-mode-heading {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--landing-green-deep);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-mode-heading span {
  min-width: max-content;
  color: var(--landing-quiet);
  font-size: 0.72rem;
  text-align: right;
  white-space: nowrap;
}

.play-mode-options {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.play-mode-option {
  min-height: 62px;
  padding: 12px;
  border-radius: 12px;
}

.mode-radio {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid #9ab9a4;
  border-radius: 999px;
  background: #ffffff;
}

.play-mode-option.is-selected .mode-radio {
  border: 5px solid #ffffff;
  background: var(--landing-green);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.play-mode-note {
  margin: 14px 0 0;
  color: var(--landing-green-deep);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.4;
}

.play-mode-footer {
  margin: 16px -18px -18px;
  padding: 16px 18px;
  border-top: 1px solid var(--landing-line);
  background: rgba(232, 245, 237, 0.78);
  color: var(--landing-quiet);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.4;
}

.interactive-demo-section {
  width: 100%;
  max-width: none;
  padding: 78px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--landing-line-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 247, 236, 0.9)),
    var(--landing-bg-soft);
}

.interactive-demo-copy h2 {
  margin: 10px 0 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.interactive-demo-copy p {
  margin: 18px 0 0;
  color: var(--landing-quiet);
  font-size: 1.04rem;
  line-height: 1.62;
}

.demo-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 246, 0.98)),
    var(--landing-surface);
  box-shadow: var(--landing-shadow-strong);
}

.demo-console-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #174f39 0%, #0f5a38 100%);
}

.demo-console-header strong {
  font-size: 1rem;
}

.demo-console-header span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(215, 244, 95, 0.34);
  border-radius: 999px;
  color: #d7f45f;
  font-size: 0.78rem;
  font-weight: 800;
}

.demo-entry-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(150px, 0.55fr) auto;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--landing-line-soft);
  background:
    linear-gradient(135deg, rgba(232, 245, 237, 0.78), rgba(255, 255, 255, 0.76)), #ffffff;
}

.demo-entry-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--landing-green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.demo-entry-field input,
.demo-entry-field select,
.demo-entry-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--landing-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.demo-entry-field input,
.demo-entry-field select {
  min-height: 46px;
  padding: 0 12px;
}

.demo-entry-field textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.demo-entry-field input:focus,
.demo-entry-field select:focus,
.demo-entry-field textarea:focus {
  outline: 3px solid rgba(168, 214, 46, 0.42);
  outline-offset: 2px;
  border-color: var(--landing-green);
}

.demo-paste-field {
  grid-column: 1 / 3;
}

.demo-entry-form > .button {
  align-self: end;
  min-height: 46px;
  padding-inline: 16px;
  font-size: 0.84rem;
}

.demo-console-grid,
.tournament-demo-layout {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.demo-console-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
}

.demo-console-grid-expanded {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.92fr);
}

.tournament-demo-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
}

.demo-panel {
  min-width: 0;
  min-height: 220px;
  padding: 14px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.demo-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--landing-green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-panel-heading b {
  color: var(--landing-quiet);
  font-size: 0.74rem;
  text-transform: none;
}

.demo-player-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.demo-player,
.demo-group-card,
.demo-court-card,
.tournament-mini-groups article,
.tournament-mini-bracket article {
  min-width: 0;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--landing-ink);
  box-shadow: 0 10px 20px rgba(21, 69, 45, 0.07);
}

.demo-player {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 0 10px;
  font-weight: 800;
}

.demo-player span,
.demo-group-card span,
.demo-court-card span,
.tournament-mini-bracket span {
  color: var(--landing-quiet);
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-player b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--landing-green);
  background: var(--landing-green-soft);
  font-size: 0.68rem;
  white-space: nowrap;
}

.demo-player strong {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--landing-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-empty-state {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed #b9cdbf;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--landing-quiet);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.demo-group-card,
.demo-court-card {
  margin-top: 12px;
  min-height: 154px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.demo-group-card.is-ready,
.demo-court-card.is-live {
  border-color: rgba(47, 143, 109, 0.34);
  background: linear-gradient(90deg, rgba(232, 245, 237, 0.96), #ffffff);
}

.demo-group-card strong,
.demo-court-card strong {
  color: var(--landing-ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.demo-mini-team {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-mini-team span {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--landing-green-deep);
  background: var(--landing-green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 16px;
}

.demo-actions .button {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.84rem;
}

.demo-reset {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  color: var(--landing-green-deep);
  background: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.demo-reset:hover {
  border-color: #9ec1a7;
}

.tournament-sample-section {
  border-bottom: 1px solid var(--landing-line-soft);
}

.tournament-mini-groups {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.tournament-mini-groups article {
  padding: 12px;
}

.tournament-mini-groups strong,
.tournament-mini-bracket strong {
  display: block;
  color: var(--landing-green-deep);
  font-size: 0.88rem;
}

.tournament-mini-groups ul {
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
  color: var(--landing-quiet);
  font-size: 0.82rem;
  font-weight: 750;
}

.tournament-mini-bracket {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.tournament-mini-bracket > span {
  min-height: 154px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed #b9cdbf;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--landing-quiet);
  font-weight: 800;
  text-align: center;
}

.tournament-mini-bracket article {
  padding: 12px;
  border-left: 5px solid var(--landing-green);
}

.tournament-mini-bracket p {
  margin: 6px 0 0;
  color: var(--landing-quiet);
  font-size: 0.82rem;
  line-height: 1.35;
}

.offline-section {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line);
  background:
    linear-gradient(135deg, rgba(20, 61, 43, 0.96), rgba(12, 70, 45, 0.97)),
    var(--landing-green-deep);
  color: #ffffff;
}

.offline-copy h2 {
  margin: 10px 0 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3.25rem);
  font-weight: 800;
  line-height: 1.03;
}

.offline-copy p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.68;
}

.offline-section .session-tool-kicker {
  color: var(--landing-lime);
}

.offline-points {
  display: grid;
  gap: 14px;
}

.offline-points article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(215, 244, 95, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.offline-points strong {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.22;
}

.offline-points p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.session-tools-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 247, 236, 0.9)),
    var(--landing-bg-soft);
}

.session-tools-heading {
  margin: 0;
  text-align: left;
}

.session-tools-heading h2::after {
  margin-inline: 0;
}

.session-tools-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.session-tool {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 253, 248, 0.94)),
    var(--landing-surface);
  box-shadow: var(--landing-shadow);
}

.session-tool-report {
  grid-column: span 7;
}

.session-tool-leaderboard {
  grid-column: span 5;
}

.session-tool-score {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
  align-items: stretch;
}

.session-tool-settings,
.session-tool-history {
  grid-column: span 6;
}

.session-tool-support {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
}

.session-tool-copy {
  padding: 24px;
}

.session-tool-kicker {
  display: inline-flex;
  color: var(--landing-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.session-tool h3 {
  margin: 10px 0 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.session-tool p {
  margin: 14px 0 0;
  color: var(--landing-quiet);
  font-size: 1rem;
  line-height: 1.58;
}

.session-tool-shot {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--landing-line-soft);
  background: #f8fbf6;
}

.session-tool-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.session-tool-report .session-tool-shot {
  aspect-ratio: 1.12;
}

.session-tool-leaderboard .session-tool-shot {
  aspect-ratio: 1.08;
}

.session-tool-score .session-tool-shot {
  border-top: 0;
  border-left: 1px solid var(--landing-line-soft);
  min-height: 360px;
}

.session-tool-score .session-tool-shot img {
  object-position: center center;
}

.tool-mockup {
  margin: 0 24px 24px;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 247, 0.98)),
    var(--landing-surface);
  color: var(--landing-ink);
  box-shadow: 0 18px 38px rgba(21, 69, 45, 0.1);
}

.support-mockup {
  margin: 24px;
  padding: 20px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 247, 0.98)),
    var(--landing-surface);
  box-shadow: 0 18px 38px rgba(21, 69, 45, 0.1);
}

.support-mockup ul {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.support-mockup li {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 12px;
  color: var(--landing-ink);
  background: rgba(232, 245, 237, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.settings-mockup,
.history-mockup {
  padding: 18px;
}

.mockup-title-row,
.mockup-history-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--landing-ink);
  font-size: 1rem;
  font-weight: 800;
}

.mockup-title-row strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-title-row span {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--landing-lime);
}

.mockup-toggle-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--landing-quiet);
  font-size: 0.96rem;
}

.mockup-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #9fb6a7;
  border-radius: 5px;
  background: #ffffff;
}

.mockup-checked .mockup-checkbox {
  border-color: #0f5a38;
  background:
    linear-gradient(135deg, transparent 56%, #ffffff 0),
    linear-gradient(45deg, transparent 54%, #ffffff 0), #0f5a38;
}

.mockup-label {
  display: block;
  margin-top: 18px;
  color: var(--landing-quiet);
  font-size: 0.9rem;
  font-weight: 800;
}

.mockup-input {
  margin-top: 8px;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #bed2c5;
  border-radius: 12px;
  background: #ffffff;
  color: #8a9a91;
  font-weight: 700;
}

.mockup-input-value {
  color: var(--landing-ink);
}

.mockup-button {
  margin-top: 12px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d7a4c 0%, #0f5a38 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(21, 69, 45, 0.18);
}

.mockup-note {
  margin: 14px 0 0;
  color: var(--landing-quiet);
  font-size: 0.9rem;
  font-weight: 700;
}

.mockup-panel-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 14px;
  background: #fbfefc;
}

.mockup-panel-list span {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  border: 1px solid var(--landing-line);
  border-radius: 10px;
  background: #ffffff;
  font-weight: 750;
}

.mockup-panel-list b {
  color: var(--landing-green);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.mockup-history-search {
  color: var(--landing-quiet);
  text-transform: uppercase;
}

.mockup-history-search b {
  color: var(--landing-quiet);
  font-size: 0.88rem;
  text-transform: none;
}

.mockup-match-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
  background: #ffffff;
}

.mockup-chip-row,
.mockup-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mockup-chip-row span,
.mockup-detail-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: #f4faf6;
  color: var(--landing-green-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.mockup-chip-row span:first-child {
  color: #ffffff;
  background: var(--landing-green);
}

.mockup-team-row {
  margin-top: 10px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 12px;
  background: #ffffff;
  font-weight: 800;
}

.mockup-team-row span {
  min-width: 0;
}

.mockup-team-row b {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  color: var(--landing-green);
  background: #f8fbf6;
  font-size: 1.3rem;
}

.mockup-winner-row {
  border-color: rgba(47, 143, 109, 0.34);
  border-left: 6px solid var(--landing-green);
  background: linear-gradient(90deg, rgba(232, 245, 237, 0.96), #ffffff);
}

.mockup-winner-row b {
  color: #ffffff;
  background: var(--landing-green);
}

.mockup-winner-row em {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffd65a;
  color: #4a3600;
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
}

.mockup-detail-row {
  margin-top: 12px;
}

.mockup-edit-score {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #b7d8e3;
  border-radius: 12px;
  background: #f0fbff;
}

.mockup-edit-score > strong {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #b7d8e3;
  color: #1f6584;
  font-size: 1rem;
}

.mockup-edit-score div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
}

.mockup-edit-score span,
.mockup-edit-score b {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.mockup-edit-score span {
  border: 1px solid #c9d5ca;
  background: #ffffff;
  color: var(--landing-quiet);
}

.mockup-edit-score b {
  color: #ffffff;
  background: var(--landing-green);
}

.package-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 247, 236, 0.94)),
    var(--landing-bg-soft);
}

.package-heading {
  max-width: 780px;
}

.package-heading .session-tool-kicker {
  display: inline-flex;
  margin-bottom: 14px;
}

.package-table-wrap {
  margin-top: 38px;
  overflow-x: auto;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--landing-shadow);
}

.package-table {
  width: 100%;
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--landing-text);
  font-size: 0.9rem;
  table-layout: fixed;
}

.package-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.package-table th,
.package-table td {
  padding: 14px 15px;
  border-right: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.35;
}

.package-table th:last-child,
.package-table td:last-child {
  border-right: 0;
}

.package-table tr:last-child th,
.package-table tr:last-child td {
  border-bottom: 0;
}

.package-table thead th {
  color: #ffffff;
  background: linear-gradient(135deg, #174f39 0%, #0f5a38 100%);
  font-size: 0.88rem;
  font-weight: 900;
}

.package-table thead th:first-child {
  width: 27%;
}

.package-table thead th span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.package-table tbody th {
  color: var(--landing-ink);
  font-weight: 900;
}

.package-table tbody td {
  color: #40564a;
  font-weight: 750;
}

.package-table thead th:first-child,
.package-table tbody th[scope='row'] {
  position: sticky;
  left: 0;
  z-index: 1;
}

.package-table thead th:first-child {
  z-index: 2;
}

.package-table tbody th[scope='row'] {
  background: #fbfdf9;
}

.package-group-row th {
  padding: 11px 15px;
  color: var(--landing-green-deep);
  background: #edf7ef;
  font-size: 0.77rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-yes,
.package-no {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.package-yes {
  color: #0f5a38;
  background: var(--landing-lime-soft);
  border: 1px solid rgba(168, 214, 46, 0.62);
}

.package-no {
  color: #6b5145;
  background: #f8eee8;
  border: 1px solid #ead1c5;
}

.package-note {
  max-width: 780px;
  margin: 20px auto 0;
  color: var(--landing-quiet);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.55;
  text-align: center;
}

.free-trial-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(238, 247, 234, 0.94) 100%),
    var(--landing-surface-green);
}

.free-trial-copy .trial-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 70, 46, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f5a38 0%, #1d6b45 100%);
  box-shadow: 0 12px 24px rgba(21, 69, 45, 0.16);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.free-trial-copy p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--landing-quiet);
  font-size: 1.12rem;
  line-height: 1.62;
}

.free-trial-copy h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.price-contact-panel {
  max-width: 680px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(247, 252, 246, 0.9)),
    var(--landing-surface);
  box-shadow: 0 16px 34px rgba(21, 69, 45, 0.1);
}

.price-contact-panel strong {
  color: var(--landing-ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.price-contact-panel p {
  margin-top: 10px;
  font-size: 0.98rem;
}

.price-contact-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.price-contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  color: var(--landing-green-deep);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.price-contact-links a:hover {
  border-color: #9ec1a7;
  box-shadow: 0 12px 26px rgba(21, 69, 45, 0.1);
  transform: translateY(-1px);
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 246, 0.94)),
    var(--landing-surface);
  box-shadow: var(--landing-shadow);
}

.contact-card p {
  margin: 18px 0 0;
  color: var(--landing-quiet);
  font-size: 1rem;
  line-height: 1.56;
}

.demo-request-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--landing-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bdd2c4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--landing-text);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.form-field input::placeholder {
  color: #8a9a91;
  font-weight: 650;
}

.form-field input:hover,
.form-field select:hover {
  border-color: #9ec1a7;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--landing-green);
  outline: none;
}

.form-field input:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid rgba(168, 214, 46, 0.42);
  outline-offset: 3px;
}

.mac-chip-group[hidden] {
  display: none;
}

.demo-submit {
  width: 100%;
  margin-top: 16px;
}

.demo-form-status {
  min-height: 1.45em;
  margin: 10px 0 0;
  color: var(--landing-green-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-divider {
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(
    90deg,
    rgba(15, 90, 56, 0.24),
    rgba(168, 214, 46, 0.72),
    rgba(15, 90, 56, 0.1)
  );
}

.contact-card h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  width: 100%;
  padding: 36px max(20px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--landing-line);
  background: #dfeadd;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(21, 69, 45, 0.12));
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--landing-quiet);
  font-size: 0.95rem;
}

.footer-contact h2 {
  margin: 0 0 10px;
  color: var(--landing-ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--landing-green-deep);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 72px 24px 24px;
  background: rgba(5, 28, 19, 0.78);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  max-width: min(1200px, 96vw);
  max-height: 84vh;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--landing-green-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-links {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contact-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 14px;
  background: #ffffff;
  color: var(--landing-text);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  border-color: #9ec1a7;
  box-shadow: 0 12px 26px rgba(21, 69, 45, 0.1);
}

.contact-link svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: var(--landing-green-soft);
  color: var(--landing-green);
  fill: currentColor;
}

.contact-link strong {
  color: var(--landing-ink);
  font-size: 0.88rem;
}

.contact-link span {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: var(--landing-quiet);
  overflow-wrap: anywhere;
}

.board-section {
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: 50px;
  align-items: center;
}

.board-copy .button {
  margin-top: 28px;
}

.board-shot {
  aspect-ratio: 16 / 9;
}

.demo-section {
  width: 100%;
  max-width: none;
  padding: 76px 20px 88px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, #eef7ec 0%, #f8fbf6 100%);
  border-top: 1px solid var(--landing-line-soft);
}

.demo-brand {
  display: block;
  width: min(330px, 72vw);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 12px 22px rgba(21, 69, 45, 0.16));
}

.demo-section h2 {
  color: var(--landing-ink);
}

.demo-section p {
  max-width: 620px;
  color: var(--landing-quiet);
}

.demo-section .button-outline {
  color: var(--landing-green-deep);
  border-color: #9bbca6;
}

.tournament-mode-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0, rgba(255, 255, 255, 0) 520px),
    var(--landing-bg);
}

.tournament-hero-section {
  width: min(calc(100% - 40px), 1180px);
  min-height: 760px;
  margin: 0 auto;
  padding: 142px 0 72px;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: 48px;
  align-items: center;
}

.tournament-hero-logo {
  display: block;
  width: min(320px, 78vw);
  height: auto;
  margin: 0 0 20px;
  object-fit: contain;
}

.tournament-hero-copy h1 {
  margin-top: 0;
  font-size: clamp(2.35rem, 4.2vw, 4.7rem);
  line-height: 0.98;
}

.tournament-hero-copy p,
.tournament-cta-section p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--landing-quiet);
  font-size: 1.08rem;
  line-height: 1.62;
}

.tournament-hero-showcase {
  position: relative;
  min-width: 0;
  min-height: 520px;
}

.tournament-hero-shot,
.tournament-gallery-card figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--landing-shadow-strong);
}

.tournament-hero-shot img,
.tournament-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-hero-shot-main {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.tournament-hero-shot-main img {
  object-position: 50% 0%;
}

.tournament-hero-shot-float {
  position: absolute;
  right: -14px;
  bottom: 4px;
  width: 54%;
  aspect-ratio: 16 / 11;
  border-width: 6px;
  border-color: #ffffff;
}

.tournament-hero-shot-float img {
  object-position: 50% 18%;
}

.tournament-flow-section {
  width: 100%;
  max-width: none;
  padding: 78px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(239, 248, 236, 0.92)),
    var(--landing-bg-soft);
}

.tournament-workflow {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tournament-workflow article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(21, 69, 45, 0.1);
}

.tournament-workflow span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--landing-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.tournament-workflow h3 {
  margin: 18px 0 0;
  color: var(--landing-ink);
  font-size: 1.1rem;
}

.tournament-workflow p {
  margin: 10px 0 0;
  color: var(--landing-quiet);
  font-size: 0.94rem;
  line-height: 1.5;
}

.tournament-gallery-section {
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--landing-line);
  background: var(--landing-bg);
}

.tournament-gallery {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.tournament-gallery-card {
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 253, 247, 0.96)),
    var(--landing-surface);
  box-shadow: var(--landing-shadow);
}

.tournament-gallery-card:nth-child(1),
.tournament-gallery-card:nth-child(4),
.tournament-gallery-card:nth-child(6) {
  grid-column: span 7;
}

.tournament-gallery-card:nth-child(2),
.tournament-gallery-card:nth-child(3),
.tournament-gallery-card:nth-child(5) {
  grid-column: span 5;
}

.tournament-gallery-card > div {
  padding: 22px 22px 18px;
}

.tournament-gallery-card h3 {
  margin: 8px 0 0;
  color: var(--landing-ink);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.1;
}

.tournament-gallery-card figure {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

.tournament-shot-dashboard img,
.tournament-shot-participants img,
.tournament-shot-groups img,
.tournament-shot-bracket img,
.tournament-shot-standings img,
.tournament-shot-scores img,
.tournament-shot-exports img {
  object-position: 50% 0%;
}

.tournament-shot-courts img {
  object-position: 50% 12%;
}

.tournament-cta-section {
  width: 100%;
  max-width: none;
  padding: 78px 20px 88px;
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(238, 247, 236, 0.94)),
    var(--landing-bg-soft);
}

.tournament-cta-section img {
  display: block;
  width: min(320px, 78vw);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 22px rgba(21, 69, 45, 0.14));
}

.tournament-cta-section h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.02;
}

.tournament-cta-section .hero-actions {
  margin-top: 28px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .nav-actions {
    justify-content: end;
  }

  .hero-content,
  .product-section,
  .app-feel-section,
  .play-mode-section,
  .interactive-demo-section,
  .session-tool-score,
  .session-tool-support,
  .offline-section,
  .free-trial-section,
  .board-section,
  .tournament-hero-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 126px;
  }

  .hero-showcase {
    min-height: auto;
  }

  .app-feel-board,
  .entry-grid,
  .play-format-grid,
  .demo-console-grid,
  .tournament-demo-layout,
  .tournament-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-entry-form {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.48fr);
  }

  .demo-entry-form > .button,
  .demo-paste-field {
    grid-column: 1 / -1;
  }

  .tournament-hero-section {
    min-height: auto;
    padding-top: 126px;
  }

  .tournament-hero-showcase {
    min-height: auto;
  }

  .screenshot-frame-board {
    right: 18px;
    bottom: -28px;
  }

  .product-section,
  .board-section {
    padding-block: 62px;
  }

  .session-tools-section {
    padding-block: 68px;
  }

  .package-section {
    padding-block: 68px;
  }

  .tournament-gallery-card,
  .tournament-gallery-card:nth-child(1),
  .tournament-gallery-card:nth-child(2),
  .tournament-gallery-card:nth-child(3),
  .tournament-gallery-card:nth-child(4),
  .tournament-gallery-card:nth-child(5),
  .tournament-gallery-card:nth-child(6) {
    grid-column: 1 / -1;
  }

  .session-tool-report,
  .session-tool-leaderboard,
  .session-tool-score,
  .session-tool-settings,
  .session-tool-history,
  .session-tool-support {
    grid-column: 1 / -1;
  }

  .session-tool-score .session-tool-shot {
    border-top: 1px solid var(--landing-line-soft);
    border-left: 0;
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .free-trial-section {
    padding-block: 68px;
  }

  .flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 560px);
    min-height: 58px;
    gap: 10px;
    padding: 8px 10px 8px 12px;
    border-radius: 16px;
  }

  .brand-mark {
    width: 126px;
  }

  .nav-link-quiet {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .hero-section,
  .hero-content {
    min-height: 740px;
  }

  .hero-content {
    width: min(calc(100% - 28px), 560px);
    padding: 104px 0 48px;
    gap: 30px;
    align-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero-lede {
    margin-top: 16px;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-support {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .screenshot-frame-main {
    aspect-ratio: 1.25;
  }

  .screenshot-frame-main img {
    object-position: 34% 50%;
  }

  .screenshot-frame-board {
    display: none;
  }

  .flow-section,
  .product-section,
  .board-section,
  .tournament-hero-section {
    width: min(calc(100% - 28px), 560px);
  }

  .flow-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-section {
    padding-block: 46px 54px;
  }

  .app-feel-section,
  .entry-section,
  .play-mode-section,
  .interactive-demo-section,
  .offline-section,
  .tournament-flow-section,
  .tournament-gallery-section {
    padding-inline: 14px;
  }

  .app-feel-board,
  .entry-grid,
  .play-format-grid,
  .demo-entry-form,
  .demo-console-grid,
  .tournament-demo-layout,
  .tournament-workflow {
    grid-template-columns: 1fr;
  }

  .demo-entry-form > .button,
  .demo-paste-field {
    grid-column: auto;
  }

  .app-feel-board article {
    min-height: auto;
  }

  .product-section,
  .board-section {
    gap: 32px;
  }

  .tournament-hero-section {
    padding-block: 104px 52px;
    gap: 30px;
  }

  .tournament-hero-logo {
    width: min(286px, 82vw);
    margin-bottom: 18px;
  }

  .tournament-hero-showcase {
    min-height: 360px;
  }

  .tournament-hero-shot-main {
    aspect-ratio: 1.18;
  }

  .tournament-hero-shot-float {
    right: 10px;
    bottom: -18px;
    width: 62%;
  }

  .tournament-gallery {
    gap: 14px;
  }

  .demo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .demo-actions .button,
  .demo-reset {
    width: 100%;
  }

  .offline-section {
    padding-block: 58px;
    gap: 24px;
  }

  .tournament-gallery-card figure {
    aspect-ratio: 1.2;
  }

  .free-trial-section {
    padding-inline: 14px;
  }

  .session-tools-section {
    padding-inline: 14px;
  }

  .package-section {
    padding: 58px 14px;
  }

  .package-table-wrap {
    margin-inline: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .package-table {
    min-width: 860px;
    font-size: 0.84rem;
  }

  .package-table th,
  .package-table td {
    padding: 12px 13px;
  }

  .package-note {
    text-align: left;
  }

  .session-tools-grid {
    margin-top: 28px;
    gap: 14px;
  }

  .session-tool-copy {
    padding: 20px;
  }

  .session-tool-report .session-tool-shot,
  .session-tool-leaderboard .session-tool-shot {
    aspect-ratio: 1.02;
  }

  .tool-mockup {
    margin: 0 20px 20px;
  }

  .support-mockup {
    margin: 0 20px 20px;
  }

  .mockup-edit-score div {
    grid-template-columns: 1fr;
  }

  .mockup-team-row {
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 118px;
  }

  .button-small {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
