* {
  box-sizing: border-box;
}

:root {
  --ink: #18201d;
  --muted: #69716c;
  --cream: #f3f0e8;
  --paper: #fbfaf6;
  --charcoal: #202724;
  --charcoal-soft: #29312e;
  --green: #377159;
  --green-dark: #285641;
  --sea-glass: #b8c9be;
  --line: rgba(27, 39, 34, 0.12);
  --sidebar: 220px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(22, 32, 28, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 4%, rgba(87, 125, 105, 0.08), transparent 26rem),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 22px;
  color: #f5f3ea;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--charcoal);
  background-size: 100% 5px;
  box-shadow: 12px 0 40px rgba(16, 22, 20, 0.12);
}

.wordmark,
.mobile-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wordmark {
  margin: 0 8px 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.wordmark-mark {
  position: relative;
  width: 38px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: #f0ecdf;
  box-shadow: inset -3px -3px 0 rgba(32, 39, 36, 0.12);
}

.wordmark-mark::before,
.wordmark-mark::after,
.wordmark-mark i {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}

.wordmark-mark::before {
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: -8px 9px 0 var(--green), 8px 9px 0 var(--green);
}

.wordmark-mark::after {
  bottom: 6px;
  width: 19px;
  height: 5px;
  border: 2px solid var(--green);
  border-top: 0;
  border-radius: 0 0 50% 50%;
}

.primary-nav {
  display: grid;
  gap: 8px;
}

.primary-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 12px;
  color: #d5d9d4;
  font-size: 0.97rem;
  font-weight: 650;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
  background: var(--charcoal-soft);
  transform: translateX(2px);
}

.primary-nav a.is-active {
  color: #fff;
  background: rgba(104, 152, 123, 0.22);
}

.nav-icon {
  width: 24px;
  color: #94aa9e;
  font-size: 1rem;
  text-align: center;
}

.account-nav {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.account-button {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #d8ddd9;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.account-button-primary {
  border-color: #719b84;
  color: #fff;
  background: var(--green);
}

.mobile-header {
  display: none;
}

main {
  margin-left: var(--sidebar);
  padding: clamp(28px, 4vw, 64px);
}

.hero {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(480px, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  min-height: min(720px, calc(100vh - 128px));
}

.board-preview {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: #47745f;
  box-shadow: var(--shadow), inset 0 0 0 10px rgba(28, 49, 40, 0.13);
}

.board-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(236, 236, 218, 0.14);
  border-radius: 14px;
}

.board-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background:
    repeating-radial-gradient(ellipse at 20% 10%, transparent 0 18px, rgba(255, 255, 255, 0.025) 19px 20px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%);
}

.board-center {
  position: absolute;
  inset: 31% 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed rgba(244, 241, 225, 0.32);
  border-radius: 16px;
  color: rgba(248, 246, 236, 0.76);
  text-align: center;
}

.board-center strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.board-center > span:last-child {
  font-size: 0.75rem;
}

.board-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-seat {
  position: absolute;
  border-radius: 5px;
  background: rgba(238, 236, 221, 0.2);
}

.board-seat-top {
  top: 8%;
  left: 32%;
  width: 36%;
  height: 4%;
}

.board-seat-left,
.board-seat-right {
  top: 31%;
  width: 4%;
  height: 34%;
}

.board-seat-left {
  left: 8%;
}

.board-seat-right {
  right: 8%;
}

.board-rack {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  display: flex;
  justify-content: center;
  gap: clamp(4px, 1%, 8px);
}

.board-rack i {
  width: 8%;
  aspect-ratio: 0.72;
  border-radius: 5px;
  background: #f1edde;
  box-shadow: inset -3px -4px 0 #d3ccba, 0 4px 5px rgba(30, 45, 39, 0.2);
}

.hero-copy {
  max-width: 430px;
}

.eyebrow,
.module-label {
  margin: 0 0 11px;
  color: var(--green-dark);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 5vw, 5.1rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-support {
  max-width: 35ch;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.6;
}

.hero-actions {
  display: grid;
  gap: 12px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.57);
  box-shadow: 0 8px 22px rgba(33, 47, 40, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 47, 40, 0.12);
}

.cta-primary {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 25px rgba(38, 83, 62, 0.2);
}

.cta-icon {
  width: 33px;
  font-size: 1.1rem;
  text-align: center;
}

.cta strong,
.cta small {
  display: block;
}

.cta strong {
  margin-bottom: 3px;
  font-size: 1.02rem;
}

.cta small {
  color: inherit;
  font-size: 0.76rem;
  opacity: 0.72;
}

.hero-note {
  margin: 17px 0 0;
  color: #7b817d;
  font-size: 0.77rem;
  text-align: center;
}

.module-grid {
  width: min(1220px, 100%);
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251, 250, 246, 0.82);
  box-shadow: 0 10px 30px rgba(33, 43, 39, 0.045);
}

.module-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(210px, 1.15fr);
  align-items: center;
  gap: 32px;
}

.module-card h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.module-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.module-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--green-dark);
  background: #e4e9e3;
  font-size: 1.3rem;
}

.module-placeholder {
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  border-radius: 14px;
  background: #e3e6df;
}

.puzzle-placeholder span {
  width: 13%;
  aspect-ratio: 0.72;
  margin-bottom: 28px;
  border-radius: 4px;
  background: #f8f5ea;
  box-shadow: inset -2px -3px 0 #cec8b9;
}

.puzzle-placeholder span:nth-child(2),
.puzzle-placeholder span:nth-child(4) {
  transform: translateY(-10px);
}

.module-progress {
  display: flex;
  align-items: center;
  gap: 26px;
}

.progress-ring {
  width: 112px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 9px solid #dfe4de;
  border-top-color: var(--sea-glass);
  border-radius: 50%;
  color: var(--green-dark);
  font: 700 1.4rem Georgia, serif;
  transform: rotate(25deg);
}

.progress-ring span {
  transform: rotate(-25deg);
}

.community-placeholder {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.community-placeholder span {
  border-radius: 10px;
  background: #dce2dd;
}

.community-placeholder span:first-child {
  grid-row: span 2;
  background: #b7c8bd;
}

footer {
  width: min(1220px, 100%);
  margin: 24px auto 0;
  padding: 34px 0 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #7d837f;
  font-size: 0.76rem;
}

/* Game-platform visual treatment */
:root {
  --ink: #20231f;
  --muted: #666b64;
  --cream: #eeeadd;
  --paper: #fffdf7;
  --charcoal: #191e1b;
  --charcoal-soft: #2b322e;
  --green: #3d8b5b;
  --green-dark: #246540;
  --sea-glass: #82ae8e;
  --line: rgba(37, 44, 39, 0.15);
  --sidebar: 240px;
  --radius-lg: 18px;
  --shadow: 0 18px 38px rgba(24, 35, 29, 0.2);
}

body {
  background: #eeeadd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.sidebar {
  padding: 22px 14px 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 40%),
    var(--charcoal);
  box-shadow: 5px 0 16px rgba(10, 16, 13, 0.22);
}

.wordmark {
  min-height: 76px;
  margin: 0 8px 20px;
  gap: 13px;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.wordmark-mark {
  width: 64px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: #f6edcc;
  box-shadow:
    0 4px 0 #0b110e,
    0 7px 16px rgba(0, 0, 0, 0.32);
}

.wordmark-mark::before,
.wordmark-mark::after,
.wordmark-mark i {
  display: none;
}

.wordmark-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.42);
}

.primary-nav {
  gap: 4px;
}

.primary-nav a {
  min-height: 54px;
  gap: 13px;
  padding: 0 14px;
  border-radius: 10px;
  color: #d7ddd8;
  font-size: 1.01rem;
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #303a34;
  transform: none;
}

.primary-nav a.is-active {
  color: #fff;
  background: #346d4c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 4px 0 0 #74bd84,
    0 3px 0 #10251a;
}

.nav-icon {
  width: 29px;
  height: 29px;
  padding: 5px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #a7c3af;
  fill: currentColor;
  background: rgba(255, 255, 255, 0.06);
}

.is-active .nav-icon {
  color: #f1f7ee;
  background: rgba(255, 255, 255, 0.12);
}

.account-nav {
  gap: 7px;
}

.account-button {
  padding: 12px 14px;
  border-radius: 9px;
  color: #f1f3ef;
  font-size: 0.92rem;
}

.account-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.account-button-primary {
  border-color: #4d9a65;
  background: #34764e;
  box-shadow: 0 3px 0 #173a26;
}

main {
  padding: 24px 28px 48px;
}

.hero {
  width: 100%;
  max-width: 1420px;
  grid-template-columns: minmax(540px, 1fr) minmax(300px, 355px);
  gap: clamp(26px, 2.5vw, 40px);
  min-height: min(790px, calc(100vh - 48px));
}

.board-preview {
  max-height: calc(100vh - 54px);
  aspect-ratio: 1;
  border: 9px solid #24563f;
  border-bottom-width: 12px;
  border-radius: 20px;
  background: #3d805e;
  box-shadow:
    0 7px 0 #193f2d,
    0 18px 38px rgba(27, 44, 34, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.09);
}

.board-preview:hover {
  box-shadow:
    0 7px 0 #193f2d,
    0 22px 44px rgba(27, 44, 34, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.11);
}

.board-preview:focus-visible {
  outline: 4px solid #f1ca6a;
  outline-offset: 3px;
}

.board-preview::before {
  inset: 10px;
  border-color: rgba(237, 244, 232, 0.12);
  border-radius: 10px;
}

.board-grain {
  opacity: 0.75;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.06), transparent 45%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
}

.board-player {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: #fff;
  background: rgba(20, 52, 37, 0.84);
  box-shadow: 0 4px 10px rgba(14, 35, 25, 0.2);
}

.board-player strong,
.board-player small {
  display: block;
  white-space: nowrap;
}

.board-player strong {
  font-size: clamp(0.64rem, 1.2vw, 0.8rem);
}

.board-player small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.49rem, 0.9vw, 0.61rem);
}

.player-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #28543d;
  background: #dce8d9;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(38, 65, 49, 0.14);
}

.player-avatar-you {
  color: #6b4a13;
  background: #f1ca6a;
}

.board-player-top {
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
}

.board-player-left {
  top: 47%;
  left: 2%;
  transform: translateY(-50%);
}

.board-player-right {
  top: 47%;
  right: 2%;
  transform: translateY(-50%);
}

.board-player-you {
  bottom: 2%;
  left: 2.5%;
}

.board-rack {
  position: absolute;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(2px, 0.6vw, 5px);
}

.board-rack i {
  width: clamp(12px, 3.25vw, 34px);
  aspect-ratio: 0.7;
  flex: 0 0 auto;
  border: 1px solid rgba(67, 57, 36, 0.2);
  border-radius: 4px;
  background: #f7f0db;
  box-shadow:
    inset -2px -3px 0 #d3c7aa,
    0 3px 3px rgba(20, 42, 30, 0.25);
}

.board-rack-top {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.board-rack-top i,
.board-rack-left i,
.board-rack-right i {
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.16) 42% 58%, transparent 58%),
    #245940;
  border-color: rgba(229, 239, 227, 0.22);
  box-shadow: inset -2px -3px 0 rgba(13, 39, 26, 0.27), 0 3px 3px rgba(20, 42, 30, 0.2);
}

.board-rack-left,
.board-rack-right {
  top: 50%;
  flex-direction: column;
  transform: translateY(-50%);
}

.board-rack-left {
  left: 15%;
}

.board-rack-right {
  right: 15%;
}

.board-rack-left i,
.board-rack-right i {
  width: clamp(10px, 2.6vw, 27px);
  aspect-ratio: 1.42;
}

.board-rack-bottom {
  right: 4%;
  bottom: 11%;
  left: 4%;
}

.board-rack-bottom i:nth-child(3n + 1)::after {
  content: "●";
  display: grid;
  height: 100%;
  place-items: center;
  color: #397457;
  font-style: normal;
  font-size: clamp(0.42rem, 1vw, 0.75rem);
}

.board-rack-bottom i:nth-child(3n + 2)::after {
  content: "B";
  display: grid;
  height: 100%;
  place-items: center;
  color: #3f6d48;
  font-style: normal;
  font-size: clamp(0.42rem, 1vw, 0.7rem);
  font-weight: 900;
}

.board-center {
  inset: 30% 25%;
  gap: 10px;
  border: 1px solid rgba(240, 248, 237, 0.14);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(30, 83, 57, 0.28);
  box-shadow: inset 0 0 28px rgba(13, 54, 34, 0.11);
}

.board-center strong {
  font-family: inherit;
  font-size: clamp(0.7rem, 1.3vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0;
}

.board-kicker {
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(0.48rem, 0.8vw, 0.6rem);
  letter-spacing: 0.13em;
}

.discard-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(3px, 0.6vw, 6px);
}

.discard-preview i {
  width: clamp(18px, 3.1vw, 32px);
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #315f45;
  background: #f5efd9;
  box-shadow: inset -2px -2px 0 #d3c7aa, 0 2px 2px rgba(14, 45, 28, 0.25);
  font-style: normal;
  font-size: clamp(0.5rem, 1vw, 0.72rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 355px;
}

.eyebrow,
.module-label {
  color: #2f784d;
}

h1 {
  margin-bottom: 16px;
  font-family: inherit;
  font-size: clamp(2.45rem, 3.5vw, 3.8rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-support {
  margin-bottom: 24px;
  color: #555b55;
  font-size: 1rem;
  line-height: 1.48;
}

.hero-actions {
  gap: 10px;
}

.cta {
  box-shadow: none;
}

.cta-primary {
  min-height: 82px;
  padding: 15px 20px;
  border: 1px solid #2f764c;
  border-bottom-color: #1d5435;
  border-radius: 13px;
  background: #439761;
  box-shadow:
    0 6px 0 #245f3d,
    0 11px 20px rgba(32, 87, 53, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  transform: translateY(-2px);
  background: #4da36b;
  box-shadow:
    0 8px 0 #245f3d,
    0 14px 24px rgba(32, 87, 53, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cta-primary:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #245f3d,
    0 5px 10px rgba(32, 87, 53, 0.2);
}

.cta-primary .cta-icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  fill: currentColor;
  background: rgba(255, 255, 255, 0.15);
}

.cta-primary strong {
  font-size: 1.25rem;
}

.cta-secondary {
  min-height: auto;
  justify-content: space-between;
  padding: 12px 4px;
  border: 0;
  border-radius: 0;
  color: #3f5548;
  background: transparent;
  font-size: 0.92rem;
  box-shadow: none;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  color: var(--green-dark);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.hero-note {
  margin-top: 12px;
  color: #6c716b;
  text-align: left;
}

.module-grid {
  max-width: 1420px;
  margin-top: 50px;
}

.module-card {
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow:
    0 3px 0 rgba(42, 54, 46, 0.09),
    0 8px 20px rgba(33, 43, 39, 0.05);
}

.module-card h2 {
  font-family: inherit;
  font-weight: 800;
}

footer {
  max-width: 1420px;
}

.placeholder-position {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(240, 247, 236, 0.16);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 16px, transparent 16px 20px),
    rgba(23, 65, 43, 0.38);
  box-shadow: inset 0 -2px 0 rgba(11, 42, 26, 0.2);
}

.placeholder-position-top {
  top: 8%;
  left: 31%;
  width: 38%;
  height: 4%;
}

.placeholder-position-left,
.placeholder-position-right {
  top: 31%;
  width: 4%;
  height: 34%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.15) 0 16px, transparent 16px 20px),
    rgba(23, 65, 43, 0.38);
}

.placeholder-position-left {
  left: 8%;
}

.placeholder-position-right {
  right: 8%;
}

.board-center {
  inset: 31% 25%;
}

.board-center strong {
  font-size: clamp(0.92rem, 1.6vw, 1.25rem);
}

.board-center > span:last-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.58rem, 1vw, 0.72rem);
}

.board-rack-bottom i::after {
  display: none !important;
}

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

.hero-support {
  margin-right: auto;
  margin-left: auto;
}

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

.cta-secondary {
  justify-content: center;
  gap: 12px;
}

.feature-stack {
  width: 100%;
  max-width: 1420px;
  margin: 76px auto 0;
  display: grid;
  gap: 32px;
}

.feature-section {
  min-height: 430px;
  padding: clamp(42px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(380px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  overflow: hidden;
  border-radius: 18px;
  background: #e3ded0;
  box-shadow: 0 5px 0 rgba(45, 49, 43, 0.1);
}

.feature-section-reverse .feature-copy {
  order: 2;
}

.feature-section-reverse .feature-art {
  order: 1;
}

.feature-section:nth-child(even) {
  color: #f8f5e9;
  background: #26342d;
  box-shadow: 0 5px 0 #17231d;
}

.feature-section:nth-child(even) .module-label {
  color: #82c796;
}

.feature-section:nth-child(even) .feature-copy p:not(.module-label) {
  color: #c4cbc5;
}

.feature-section:nth-child(even) .feature-link {
  color: #eef6eb;
  background: #3b684e;
  box-shadow: 0 3px 0 #193c2a;
}

.feature-copy {
  max-width: 440px;
}

.feature-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.feature-copy p:not(.module-label) {
  margin-bottom: 24px;
  color: #5d625c;
  font-size: 1rem;
  line-height: 1.58;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 9px;
  color: #2b523b;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 3px 0 rgba(41, 61, 49, 0.14);
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.feature-link:hover,
.feature-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(41, 61, 49, 0.14);
}

.feature-art {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(43, 61, 50, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.32), transparent 42%),
    #c8d4c6;
}

.feature-section:nth-child(even) .feature-art {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 50% 42%, rgba(100, 186, 130, 0.24), transparent 44%),
    #1f4b37;
}

.art-label {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(36, 63, 46, 0.6);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.feature-section:nth-child(even) .art-label {
  color: rgba(255, 255, 255, 0.55);
}

.art-tiles {
  display: flex;
  gap: 10px;
  transform: rotate(-4deg);
}

.art-tiles i {
  width: clamp(44px, 6vw, 74px);
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #397354;
  background: #fff8e3;
  box-shadow: inset -5px -6px 0 #d8ca9f, 0 8px 12px rgba(30, 49, 37, 0.2);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 900;
}

.art-tiles i:nth-child(3) {
  color: #fff;
  background: #dd6f49;
  box-shadow: inset -5px -6px 0 #ad4d31, 0 8px 12px rgba(30, 49, 37, 0.2);
  transform: translateY(-16px);
}

.rank-medallion {
  width: 142px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 8px solid #eac661;
  border-radius: 50%;
  color: #fff9df;
  background: #3a7754;
  box-shadow: 0 8px 0 #123825, 0 14px 24px rgba(7, 28, 18, 0.28);
  text-align: center;
}

.rank-medallion strong,
.rank-medallion small {
  display: block;
}

.rank-medallion strong {
  font-size: 2.2rem;
}

.rank-medallion small {
  color: #cae1d1;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rank-bars {
  position: absolute;
  right: 10%;
  bottom: 13%;
  left: 10%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.rank-bars i {
  width: 12%;
  height: 20px;
  border-radius: 5px 5px 2px 2px;
  background: rgba(125, 196, 146, 0.52);
}

.rank-bars i:nth-child(2) {
  height: 36px;
}

.rank-bars i:nth-child(3) {
  height: 56px;
}

.rank-bars i:nth-child(4) {
  height: 76px;
  background: #77c48e;
}

.lesson-steps {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lesson-steps i {
  width: 62px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 5px solid #f7f1db;
  border-radius: 16px;
  color: #fff;
  background: #3f8c5d;
  box-shadow: 0 5px 0 #26643f;
  font-style: normal;
  font-weight: 900;
}

.lesson-steps span {
  width: clamp(20px, 4vw, 54px);
  height: 6px;
  border-radius: 6px;
  background: #8cac94;
}

.friend-seats {
  width: min(320px, 80%);
  aspect-ratio: 1.35;
  position: relative;
  border: 8px solid #2d6b4b;
  border-radius: 28px;
  background: #428260;
  box-shadow: 0 7px 0 #153b28;
}

.friend-seats i {
  position: absolute;
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 5px solid #f1ead3;
  border-radius: 50%;
  color: #26563d;
  background: #afcdb7;
  box-shadow: 0 4px 0 #193d2a;
  font-style: normal;
  font-weight: 900;
}

.friend-seats i:nth-child(1) {
  top: -30px;
  left: calc(50% - 28px);
}

.friend-seats i:nth-child(2) {
  top: calc(50% - 28px);
  right: -30px;
}

.friend-seats i:nth-child(3) {
  bottom: -30px;
  left: calc(50% - 28px);
}

.friend-seats i:nth-child(4) {
  top: calc(50% - 28px);
  left: -30px;
  color: #61470e;
  background: #e9c766;
}

.progress-chart {
  width: min(420px, 82%);
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8%;
  padding: 0 8%;
  border-bottom: 3px solid rgba(41, 91, 61, 0.25);
}

.progress-chart i {
  width: 12%;
  height: 24%;
  border-radius: 8px 8px 2px 2px;
  background: #609b74;
  box-shadow: inset -3px 0 0 rgba(26, 81, 49, 0.16);
}

.progress-chart i:nth-child(2) {
  height: 39%;
}

.progress-chart i:nth-child(3) {
  height: 53%;
}

.progress-chart i:nth-child(4) {
  height: 72%;
}

.progress-chart i:nth-child(5) {
  height: 94%;
  background: #e5b950;
}

.story-cards {
  width: min(430px, 84%);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.story-cards i {
  min-height: 90px;
  border-radius: 12px;
  background:
    linear-gradient(transparent 58%, rgba(11, 39, 24, 0.55)),
    #4a8964;
  box-shadow: 0 5px 0 #133823;
}

.story-cards i:first-child {
  grid-row: span 2;
}

.final-cta {
  max-width: 1420px;
  margin: 64px auto 0;
  padding: 72px 24px;
  border-radius: 18px;
  color: #fff;
  background: #24312a;
  box-shadow: 0 6px 0 #151f19;
  text-align: center;
}

.final-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.final-cta p {
  margin-bottom: 28px;
  color: #bec8c0;
}

.final-cta-button {
  min-width: 230px;
  min-height: 66px;
  display: inline-flex;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 850;
}

.site-footer {
  max-width: 1420px;
  margin-top: 42px;
  padding: 30px 0 8px;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #303a33;
  font-size: 0.95rem;
}

.footer-brand .wordmark-mark {
  width: 36px;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(28, 44, 35, 0.25);
}

.site-footer nav,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a:hover,
.footer-meta a:hover {
  color: var(--green-dark);
}

.footer-meta {
  margin-left: auto;
}

/* Branded product system for navigation, hero, and content. */
:root {
  --ink: #202820;
  --muted: #5e685f;
  --cream: #e8ebdf;
  --paper: #fffaf0;
  --charcoal: #1c251f;
  --charcoal-soft: #2a382f;
  --green: #36905b;
  --green-dark: #17633c;
  --line: rgba(36, 42, 37, 0.14);
  --sidebar: 220px;
  --radius-lg: 14px;
  --shadow: 0 14px 30px rgba(20, 49, 31, 0.18);
}

body {
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 250, 222, 0.7), transparent 34rem),
    linear-gradient(135deg, #edf0e5 0%, #e3eadf 100%);
  color: var(--ink);
}

h1,
h2,
h3,
strong,
.primary-nav,
.account-button,
.account-form,
.cta,
.feature-link {
  font-family: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sidebar {
  padding: 18px 12px 16px;
  background:
    linear-gradient(180deg, rgba(68, 116, 81, 0.14), transparent 32%),
    linear-gradient(180deg, #202a23 0%, #18201b 100%);
  box-shadow: 3px 0 14px rgba(10, 25, 16, 0.24);
}

.wordmark {
  width: 100%;
  min-height: 58px;
  margin: 2px 5px 22px;
  display: block;
  overflow: hidden;
}

.brand-logo {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.wordmark .brand-logo {
  width: 178px;
  max-width: calc(100% - 10px);
}

.sidebar .brand-icon,
.sidebar-toggle {
  display: none;
}

.primary-nav {
  gap: 2px;
}

.primary-nav a {
  min-height: 48px;
  gap: 12px;
  padding: 0 12px;
  border-radius: 8px;
  color: #cfd4cf;
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
  background: #2c3a31;
}

.primary-nav a.is-active {
  background: linear-gradient(180deg, #3d7d55 0%, #326b49 100%);
  box-shadow:
    inset 3px 0 0 #8ed09c,
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 0 #153923;
}

.nav-icon {
  width: 25px;
  height: 25px;
  padding: 4px;
  border-radius: 6px;
  color: #b7cabe;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.is-active .nav-icon {
  color: #fff8da;
  background: rgba(255, 255, 255, 0.1);
}

.account-nav {
  gap: 6px;
}

.account-button {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
}

.account-button-primary {
  border-color: #4a9364;
  background: linear-gradient(180deg, #3e8057, #326b49);
  box-shadow: 0 2px 0 #153923;
}

main {
  padding: 48px clamp(72px, 7.5vw, 144px) 80px;
}

.hero {
  width: 100%;
  max-width: 1160px;
  min-height: min(720px, calc(100vh - 96px));
  grid-template-columns: minmax(520px, 1fr) minmax(290px, 330px);
  gap: clamp(28px, 3vw, 42px);
}

.board-preview {
  max-height: calc(100vh - 54px);
  border: 7px solid #1e5b3b;
  border-top-color: #397b56;
  border-bottom-width: 10px;
  border-bottom-color: #16482e;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 44% 36%, rgba(115, 190, 140, 0.34), transparent 45%),
    linear-gradient(145deg, #3c8a60 0%, #2e7550 58%, #286a48 100%);
  box-shadow:
    0 8px 0 #123d27,
    0 18px 34px rgba(15, 54, 32, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.board-preview:hover {
  box-shadow:
    0 8px 0 #123d27,
    0 22px 40px rgba(15, 54, 32, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-preview::before {
  inset: 9px;
  border-radius: 8px;
  border-color: rgba(229, 255, 231, 0.18);
  box-shadow:
    inset 0 0 35px rgba(10, 61, 31, 0.13),
    0 0 0 1px rgba(8, 50, 27, 0.1);
}

.board-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 7px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.12), transparent 24% 72%, rgba(5, 44, 22, 0.08));
}

.board-grain {
  opacity: 0.7;
}

.placeholder-position {
  border-radius: 6px;
  border-color: rgba(226, 255, 227, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 2px 3px rgba(8, 47, 24, 0.18);
  opacity: 0.86;
}

.board-rack i {
  border-color: rgba(100, 82, 34, 0.2);
  border-radius: 4px;
  background: linear-gradient(145deg, #fffdf0 0%, #f4e7bf 66%, #e7d59f 100%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.9),
    inset -2px -3px 0 #d2bd83,
    0 3px 4px rgba(12, 54, 29, 0.26);
}

.board-center {
  z-index: 2;
  gap: 8px;
  border-color: rgba(230, 255, 231, 0.17);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(19, 87, 49, 0.34), rgba(17, 65, 41, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 22px rgba(10, 54, 29, 0.08);
}

.board-center strong {
  font-size: clamp(0.94rem, 1.5vw, 1.14rem);
  font-weight: 750;
}

.hero-copy {
  max-width: 330px;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 3.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-support {
  max-width: 30ch;
  margin-bottom: 30px;
  color: #505b52;
  font-family: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-actions {
  gap: 12px;
}

.cta-primary {
  min-height: 66px;
  padding: 13px 18px;
  justify-content: center;
  border-color: #319050;
  border-radius: 10px;
  background: linear-gradient(180deg, #54b96e 0%, #369957 100%);
  box-shadow:
    0 5px 0 #1c6a39,
    0 10px 20px rgba(26, 112, 55, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: linear-gradient(180deg, #5fc77a 0%, #3ea660 100%);
  box-shadow:
    0 6px 0 #1c6a39,
    0 13px 24px rgba(26, 112, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.cta-primary:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 #1c6a39,
    0 5px 10px rgba(26, 112, 55, 0.2);
}

.cta-primary .cta-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.cta-primary strong {
  font-size: 1.08rem;
}

.cta-secondary {
  min-height: 40px;
  padding: 8px 4px;
  color: #44544a;
  font-size: 0.88rem;
}

.hero-note {
  margin-top: 8px;
  color: #747972;
  font-size: 0.74rem;
}

.feature-stack {
  max-width: 1160px;
  margin-top: 144px;
  gap: 80px;
}

.feature-section {
  min-height: 390px;
  padding: clamp(48px, 5vw, 68px);
  gap: clamp(36px, 7vw, 90px);
  border: 1px solid rgba(45, 76, 54, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), transparent 46%),
    #dce7d9;
  box-shadow:
    0 5px 0 rgba(45, 87, 55, 0.12),
    0 12px 26px rgba(32, 70, 43, 0.08);
}

.feature-section:nth-child(even) {
  background:
    radial-gradient(circle at 78% 22%, rgba(70, 150, 95, 0.2), transparent 38%),
    linear-gradient(145deg, #2c4737, #20342a);
  box-shadow:
    0 5px 0 #13251c,
    0 12px 26px rgba(17, 44, 28, 0.16);
}

.feature-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.feature-copy p:not(.module-label) {
  margin-bottom: 28px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.module-label {
  margin-bottom: 9px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.feature-link,
.feature-section:nth-child(even) .feature-link {
  padding: 10px 13px;
  border: 1px solid rgba(42, 54, 46, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 238, 0.78);
  box-shadow:
    0 2px 0 rgba(35, 82, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
}

.feature-link:hover,
.feature-link:focus-visible {
  box-shadow:
    0 3px 0 rgba(35, 82, 48, 0.18),
    0 5px 10px rgba(30, 75, 42, 0.1);
  transform: translateY(-1px);
}

.feature-section:nth-child(even) .feature-link {
  border-color: rgba(151, 214, 168, 0.2);
  color: #f8fff7;
  background: linear-gradient(180deg, #417b57, #336846);
  box-shadow:
    0 2px 0 #173b26,
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-art,
.feature-section:nth-child(even) .feature-art {
  min-height: 250px;
  border-style: solid;
  border-radius: 12px;
  border-color: rgba(51, 105, 66, 0.19);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.5), transparent 48%),
    linear-gradient(145deg, #c6dac5, #aecaaf);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -12px 30px rgba(31, 94, 48, 0.07);
}

.feature-section:nth-child(even) .feature-art {
  border-color: rgba(143, 211, 159, 0.18);
  background:
    radial-gradient(circle at 50% 36%, rgba(91, 178, 119, 0.26), transparent 48%),
    linear-gradient(145deg, #245d3d, #17462e);
}

.art-tiles i,
.rank-medallion,
.lesson-steps i,
.friend-seats,
.friend-seats i,
.story-cards i {
  box-shadow: 0 4px 0 rgba(17, 67, 35, 0.26);
}

.art-tiles i,
.lesson-steps i {
  box-shadow:
    inset -3px -4px 0 rgba(153, 128, 61, 0.22),
    0 5px 8px rgba(19, 68, 36, 0.16);
}

.rank-medallion,
.friend-seats {
  box-shadow:
    0 5px 0 rgba(14, 63, 31, 0.45),
    0 10px 18px rgba(15, 60, 31, 0.16);
}

.final-cta {
  max-width: 1160px;
  margin-top: 120px;
  padding: 78px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 161, 103, 0.24), transparent 48%),
    linear-gradient(145deg, #2a4936, #1e3328);
  box-shadow:
    0 5px 0 #122219,
    0 12px 25px rgba(17, 46, 28, 0.14);
}

.final-cta h2 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 800;
}

.final-cta-button {
  min-height: 60px;
  border-radius: 10px;
}

.site-footer {
  max-width: 1160px;
  margin-top: 72px;
  padding-top: 30px;
  color: #4b554d;
  font-family: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 650;
}

.footer-brand .brand-icon {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.placeholder-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.placeholder-page {
  width: min(520px, 100%);
  padding: 56px;
  border: 1px solid rgba(45, 76, 54, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent 50%),
    #dce7d9;
  box-shadow:
    0 5px 0 rgba(45, 87, 55, 0.12),
    0 12px 26px rgba(32, 70, 43, 0.08);
  text-align: center;
}

.placeholder-page img {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  display: block;
  object-fit: contain;
}

.placeholder-page h1 {
  margin-bottom: 14px;
}

.placeholder-page p {
  margin-bottom: 30px;
  color: var(--muted);
}

.placeholder-cta {
  width: min(220px, 100%);
  margin: 0 auto;
}

.account-page {
  width: min(460px, 100%);
  text-align: left;
}

.account-header {
  text-align: center;
}

.account-header img {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
}

.account-header h1 {
  margin-bottom: 10px;
}

.account-header p {
  margin-bottom: 28px;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form[hidden],
.account-status[hidden],
.account-name[hidden],
[data-account-guest][hidden],
[data-account-user][hidden],
.primary-nav a[hidden],
.mobile-menu a[hidden] {
  display: none !important;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.account-form label small {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 650;
}

.account-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(45, 76, 54, 0.16);
  border-radius: 10px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 550;
}

.account-form input:focus {
  outline: 2px solid rgba(55, 113, 89, 0.35);
  outline-offset: 1px;
  border-color: var(--green);
}

.account-form .identity-button,
.account-form .identity-button-primary {
  width: 100%;
  margin-top: 6px;
}

.account-page .account-status,
p.account-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.account-status.is-error {
  color: #8a2f2f;
}

.account-page .account-links,
p.account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.account-links a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-name {
  margin: 0 0 2px;
  color: #e8eee6;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

button.account-button {
  width: 100%;
  appearance: none;
  cursor: pointer;
  background: transparent;
  font-family: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 1120px) {
  :root {
    --sidebar: 205px;
  }

  .hero {
    grid-template-columns: minmax(360px, 1fr) minmax(235px, 280px);
    gap: 18px;
  }

  h1 {
    font-size: clamp(2.35rem, 4vw, 3.2rem);
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  main {
    padding-right: 96px;
    padding-left: 96px;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  main {
    padding-top: 30px;
    padding-right: clamp(96px, 9vw, 165px);
    padding-left: clamp(96px, 9vw, 165px);
  }

  .hero {
    min-height: 0;
  }

  .board-preview {
    width: min(100%, calc(100vh - 140px));
    justify-self: center;
  }

  .feature-stack {
    margin-top: 64px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: #f5f3ea;
    background: rgba(32, 39, 36, 0.97);
    backdrop-filter: blur(12px);
  }

  .mobile-wordmark {
    width: auto;
    font-family: inherit;
    font-size: 1.03rem;
    font-weight: 850;
    letter-spacing: -0.025em;
  }

  .mobile-wordmark .brand-icon {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
  }

  .mobile-wordmark .wordmark-mark {
    width: 40px;
    border-radius: 9px;
    box-shadow: 0 3px 0 #0b110e;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    background: var(--charcoal-soft);
  }

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

  .mobile-menu summary span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #f6f3e9;
  }

  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 190px;
    padding: 8px;
    display: grid;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: var(--charcoal);
    box-shadow: 0 16px 40px rgba(13, 19, 16, 0.3);
  }

  .mobile-menu nav a {
    padding: 11px 12px;
    border-radius: 7px;
    color: #e7e8e3;
    font-size: 0.9rem;
  }

  .mobile-menu nav a:hover {
    background: var(--charcoal-soft);
  }

  main {
    margin-left: 0;
    padding: 18px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .board-preview {
    width: 100%;
    border-radius: 18px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(2.3rem, 10vw, 3.3rem);
  }

  .hero-support {
    margin-right: auto;
    margin-bottom: 24px;
    margin-left: auto;
  }

  .hero-actions {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
  }

  .module-grid {
    margin-top: 58px;
    grid-template-columns: 1fr 1fr;
  }

  .module-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  main {
    padding: 12px 12px 26px;
  }

  .hero {
    gap: 24px;
  }

  .board-preview {
    aspect-ratio: 1;
    border-width: 7px;
    border-bottom-width: 10px;
  }

  .board-center {
    inset: 29% 23%;
  }

  .hero-copy {
    padding: 0 5px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .hero-support {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .cta {
    min-height: 66px;
  }

  .cta-primary {
    min-height: 76px;
  }

  .module-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .module-card,
  .module-card-wide {
    grid-column: auto;
    min-height: 230px;
    padding: 22px;
  }

  .module-card-wide {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .module-progress {
    display: flex;
  }

  .progress-ring {
    width: 90px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .feature-stack {
    margin-top: 96px;
    gap: 44px;
  }

  .feature-section {
    min-height: 0;
    padding: 42px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-section .feature-copy,
  .feature-section .feature-art {
    order: initial;
  }

  .feature-copy {
    max-width: 560px;
  }

  .feature-art {
    min-height: 260px;
  }

  .final-cta {
    margin-top: 88px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-meta {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .feature-stack {
    margin-top: 80px;
  }

  .cta-primary {
    min-height: 66px;
  }

  .cta-secondary {
    min-height: 40px;
  }

  .feature-section {
    padding: 30px 24px;
    gap: 26px;
    border-radius: 14px;
  }

  .feature-copy h2 {
    font-size: 2rem;
  }

  .feature-art {
    min-height: 220px;
    border-radius: 14px;
  }

  .art-tiles {
    gap: 6px;
  }

  .art-tiles i {
    width: 44px;
  }

  .lesson-steps i {
    width: 48px;
  }

  .friend-seats {
    width: 72%;
  }

  .final-cta {
    margin-top: 72px;
    padding: 54px 20px;
    border-radius: 14px;
  }

  .site-footer {
    padding: 28px 6px 8px;
  }

  .site-footer nav,
  .footer-meta {
    gap: 12px 16px;
  }
}

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

  .primary-nav a,
  .cta {
    transition: none;
  }
}

/* Seeded live-board preview: play.css table inside the landing hero. */
html {
  color-scheme: light;
  height: auto;
}

body.landing-body {
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 250, 222, 0.7), transparent 34rem),
    linear-gradient(135deg, #edf0e5 0%, #e3eadf 100%);
  color: var(--ink);
}

.landing-body .wordmark .brand-logo {
  display: block;
}

.landing-body .sidebar .brand-icon,
.landing-body .sidebar-toggle {
  display: none;
}

.landing-body .primary-nav a {
  justify-content: flex-start;
  text-align: left;
}

.landing-body .primary-nav a span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
}

.board-preview,
.board-preview:hover,
.board-preview:focus-within {
  --landing-board: 42rem;
  --id-x: 0px;
  --id-y: 0px;
  --top-chrome: 0px;
  --shadow-room: 0px;
  position: relative;
  display: block;
  width: 100%;
  max-height: calc(100vh - 54px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
  container-type: size;
  container-name: landing-board;
}

.board-preview-hit {
  position: absolute;
  inset: 0;
  z-index: 40;
}

.board-center-play {
  position: absolute;
  z-index: 41;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 18px 10px 12px;
  border: 1px solid #319050;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #54b96e 0%, #369957 100%);
  box-shadow:
    0 5px 0 #1c6a39,
    0 10px 20px rgba(26, 112, 55, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-family: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  translate: -50% -50%;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.board-center-play .cta-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  fill: currentColor;
  background: rgba(255, 255, 255, 0.26);
}

.board-center-play:hover,
.board-center-play:focus-visible {
  background: linear-gradient(180deg, #5fc77a 0%, #3ea660 100%);
  box-shadow:
    0 6px 0 #1c6a39,
    0 13px 24px rgba(26, 112, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.board-center-play:focus-visible {
  outline: 4px solid #f1ca6a;
  outline-offset: 3px;
}

.board-preview .table-mark {
  opacity: 0;
}

.board-preview::before,
.board-preview::after {
  content: none;
  display: none;
}

.landing-play-app {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.landing-body .tile-flight-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.landing-body .tile-flight,
.landing-body .rack-motion-ghost,
.landing-body .rack-group-outline-ghost,
.landing-body .landing-shuffle-tile,
.landing-body .discard-gutter-motion-more,
.landing-body .gutter-shift-tile,
.landing-body .gutter-fold-tile,
.landing-body .gutter-stack-base,
.landing-body .gutter-badge-ghost {
  position: absolute;
}

.board-preview .table-frame {
  --id-x: 0px;
  --id-y: 0px;
  --top-chrome: 0px;
  --id-south-y: 0px;
  --shadow-room: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--landing-board);
  height: var(--landing-board);
  min-width: var(--landing-board);
  max-width: none;
  min-height: var(--landing-board);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "table";
  justify-content: center;
  align-content: center;
  container-type: size;
  transform-origin: center;
  translate: -50% -50%;
  scale: min(calc(100cqw / var(--landing-board)), calc(100cqh / var(--landing-board)));
}

.board-preview .table {
  grid-area: table;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  aspect-ratio: auto;
  padding: clamp(0.7rem, 2.1%, 1.15rem);
  padding-bottom: clamp(0.85rem, 2.5%, 1.35rem);
  border-radius: clamp(0.9rem, 2.6vmin, 1.45rem);
  background:
    linear-gradient(180deg, var(--rim-top) 0%, var(--rim) 38%, var(--rim-bottom) 100%);
  box-shadow:
    0 0.55rem 0 var(--rim-shadow),
    0 1.15rem 2rem rgba(5, 16, 11, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.board-preview .table-surface {
  border-radius: clamp(0.5rem, 1.6vmin, 0.85rem);
}

.board-preview .player-id,
.board-preview .table-top {
  display: none;
}

.board-preview .discard-gutter,
.board-preview .south-hand,
.board-preview .rack-south,
.board-preview .mj-tile {
  pointer-events: none;
  cursor: inherit;
}

.board-preview .discard-gutter-more {
  font-size: calc(0.5rem * var(--gutter-badge-font-scale, 1));
}

.board-preview .discard-gutter-more-plus {
  font-size: calc(0.46rem * var(--gutter-badge-font-scale, 1));
}

.board-preview .south-discard,
.board-preview .south-discard-caret,
.board-preview .action-stage,
.board-preview .winning-rack-panel {
  display: none !important;
}

.placeholder-page .placeholder-secondary {
  margin: 18px 0 0;
}

.placeholder-page .placeholder-secondary a {
  color: var(--muted);
  font-weight: 650;
}
