@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/fraunces-latin-ext-italic.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/caveat-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(/fonts/caveat-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f4efe4;
  --paper-deep: #ebe3d1;
  --sheet: #fffdf7;
  --ink: #1d2620;
  --ink-soft: #4b5a50;
  --green: #1d4a33;
  --green-strong: #143726;
  --green-tint: #dfe8dc;
  --gold: #b88a2e;
  --gold-soft: #ecd9a8;
  --line: rgba(29, 38, 32, 0.14);
  --rule: rgba(29, 74, 51, 0.12);
  --board-light: #efe3c4;
  --board-dark: #5f8a6a;
  --shadow: 0 1px 2px rgba(20, 30, 24, 0.06), 0 12px 32px -12px rgba(20, 30, 24, 0.28);
  --radius: 18px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111813;
    --paper-deep: #0c120e;
    --sheet: #1a231d;
    --ink: #ece5d5;
    --ink-soft: #a9b3a7;
    --green: #8cc7a0;
    --green-strong: #b5e0c2;
    --green-tint: #1d2c22;
    --gold: #d9b45e;
    --gold-soft: #3a3020;
    --line: rgba(236, 229, 213, 0.14);
    --rule: rgba(140, 199, 160, 0.12);
    --board-light: #d9cba6;
    --board-dark: #4e7558;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38em;
  text-wrap: pretty;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 650;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.lang-switch {
  margin-left: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.lang-switch:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc(50% - 600px));
  width: 2px;
  background: color-mix(in srgb, var(--gold) 45%, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  padding-left: 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  margin-bottom: 24px;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--green);
}

.hero .lead {
  margin-bottom: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-points li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 178px;
  min-height: 56px;
  padding: 8px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  line-height: 1.15;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

a.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge-prefix {
  font-size: 0.72rem;
  opacity: 0.8;
}

.store-badge-name {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.store-badge.is-soon {
  background: transparent;
  color: var(--ink);
  border: 1.5px dashed color-mix(in srgb, var(--ink) 40%, transparent);
  box-shadow: none;
  padding-right: 20px;
}

.store-badge-soon {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.scoresheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  padding: 22px 22px 18px;
  background: #fffdf7;
  color: #1d2620;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.scoresheet-event {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b5a50;
  border-bottom: 2px solid #1d2620;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.scoresheet-grid {
  display: grid;
  grid-template-columns: 28px 1fr 1fr;
}

.scoresheet-grid > span {
  border-bottom: 1px solid rgba(29, 38, 32, 0.14);
  height: 38px;
  display: flex;
  align-items: flex-end;
  padding: 0 8px 4px;
}

.scoresheet-grid > span:nth-child(3n + 2) {
  border-left: 1px solid rgba(29, 38, 32, 0.14);
  border-right: 1px solid rgba(29, 38, 32, 0.14);
}

.scoresheet-head {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5a50;
}

.scoresheet-number {
  font-size: 0.75rem;
  color: #4b5a50;
  justify-content: flex-end;
}

.scoresheet-move {
  font-family: var(--hand);
  font-size: 1.65rem;
  line-height: 1;
  color: #24407a;
}

.scan-stamp {
  position: absolute;
  bottom: 14%;
  left: 6%;
  z-index: 3;
  transform: rotate(-10deg);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
}

.board-card {
  position: absolute;
  right: -8px;
  bottom: -12px;
  z-index: 2;
  width: 50%;
  padding: 14px;
  background: var(--sheet);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

.sq {
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}

.sq.light {
  background: var(--board-light);
}

.sq.dark {
  background: var(--board-dark);
}

.pc {
  font-size: 82cqi;
  line-height: 1;
  font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "DejaVu Sans", serif;
}

.pc.white {
  color: #fbf7ec;
  -webkit-text-stroke: 1.2px #2b2b2b;
  paint-order: stroke fill;
}

.pc.black {
  color: #1c1c1c;
}

.board-caption {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
}

.board-pgn {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.band {
  padding: 104px 0;
}

.band-paper {
  background: var(--paper-deep);
}

.band-ink {
  background: var(--green-strong);
  color: #f4efe4;
}

@media (prefers-color-scheme: dark) {
  .band-ink {
    background: #17261d;
  }
}

.band-ink .lead {
  color: color-mix(in srgb, #f4efe4 78%, transparent);
}

.band-ink h2 {
  color: #f4efe4;
}

.section-head {
  margin-bottom: 56px;
  max-width: 44em;
}

.section-head h2,
.split h2,
.closing h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.feature:hover {
  background: var(--sheet);
}

.feature-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.feature h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.beta-tag {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 2px 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.band-ink .checklist li {
  font-size: 1.08rem;
}

.band-ink .checklist li::before {
  background: #ecd9a8;
  color: #143726;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 24px;
}

.screen {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screen:nth-child(even) {
  transform: translateY(22px);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
}

.plan {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--sheet);
  border: 1px solid var(--line);
}

.plan h3 {
  font-size: 1.9rem;
}

.plan-tagline {
  color: var(--ink-soft);
  margin: 6px 0 24px;
}

.plan-pro {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.plan-pro .plan-tagline {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
}

.plans-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.closing {
  padding: 120px 0;
  text-align: center;
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-icon {
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.closing .lead {
  margin-bottom: 36px;
}

.closing .store-badges {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 0.92rem;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  border-radius: 10px;
}

.footer-name {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.05rem;
}

.footer-tagline,
.footer-legal {
  color: var(--ink-soft);
}

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

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.82rem;
}

.doc {
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: 104px;
}

.doc-head {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.doc-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 12px;
}

.doc-updated {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.doc-section {
  margin-bottom: 36px;
}

.doc-section h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.doc-section p + p,
.doc-section ul + p {
  margin-top: 12px;
}

.doc-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.doc-section li + li {
  margin-top: 6px;
}

.doc-section li::marker {
  color: var(--gold);
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.6vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 12px;
  word-break: break-word;
}

.contact-card p {
  color: var(--ink-soft);
}

.faq-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.site-form {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-form label {
  font-weight: 600;
}

.site-form input[type='email'],
.site-form input[type='text'],
.site-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.site-form button {
  justify-self: start;
  margin-top: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--sheet);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.delete-notes {
  color: var(--ink-soft);
}

.delete-notes p + p {
  margin-top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .hero {
    padding: 48px 0 72px;
  }

  .hero::before {
    display: none;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .nav-link {
    display: none;
  }

  .hero-visual {
    min-height: 540px;
  }

  .scoresheet-grid > span:nth-child(n + 19) {
    display: none;
  }

  .scoresheet {
    width: 74%;
    padding: 16px 14px 12px;
  }

  .scan-stamp {
    top: auto;
    bottom: 200px;
    left: 4%;
  }

  .scoresheet-grid > span {
    height: 32px;
  }

  .scoresheet-move {
    font-size: 1.35rem;
  }

  .board-card {
    width: 52%;
    right: 0;
    bottom: 0;
  }

  .band {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .feature-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .screen-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -16px;
    padding: 0 16px 24px;
  }

  .screen {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  .screen:nth-child(even) {
    transform: none;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .store-badge {
    min-width: 0;
    flex: 1 1 150px;
  }
}

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

  * {
    transition: none !important;
  }
}

.beta-cta {
  margin-top: 16px;
  font-weight: 600;
}

.site-form p {
  margin: 0;
  color: var(--ink-soft);
}
