/*
Theme Name: Wordle Today Online — Grid Studio
Author: Wordle Today Online
Description: A completely redesigned, responsive Wordle-style game theme with daily and unlimited play, solver, hints, custom puzzles, clean page slugs, and Yoast SEO metadata.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: lexigrid
*/
/* Wordle Today Online — site + game styles. System fonts only (fast, no layout shift). */
:root {
  --lx-bg: #faf7f2; --lx-surface: #ffffff; --lx-ink: #16213a; --lx-muted: #5b6478; --lx-line: #e6e0d4;
  --lx-brand: #16213a; --lx-accent: #e8573b; --lx-accent-ink: #ffffff; --lx-soft: #f1ece1;
  --lx-correct: #2e9e6b; --lx-present: #e0a21b; --lx-absent: #7b8394; --lx-tile-line: #cfc8b9; --lx-key: #e4ded0; --lx-key-ink: #16213a;
  --lx-radius: 14px; --lx-shadow: 0 1px 2px rgba(22,33,58,.06), 0 8px 24px rgba(22,33,58,.07);
  --lx-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --lx-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
[data-lx-theme="dark"] {
  --lx-bg: #0f1424; --lx-surface: #171d33; --lx-ink: #eef0f7; --lx-muted: #a3abc2; --lx-line: #2a3252;
  --lx-brand: #eef0f7; --lx-soft: #1c2340; --lx-tile-line: #3b4568; --lx-key: #2a3352; --lx-key-ink: #eef0f7;
  --lx-absent: #3d4560; --lx-shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
}
[data-lx-contrast="high"] { --lx-correct: #e8751a; --lx-present: #3b8fe0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lx-body, body.lx { margin: 0; background: var(--lx-bg); color: var(--lx-ink); font: 17px/1.65 var(--lx-sans); }
.lx-body img, .lx-body svg { max-width: 100%; height: auto; }
.lx-body a { color: var(--lx-accent); text-underline-offset: 3px; }
.lx-body a:hover { text-decoration-thickness: 2px; }
.lx-skip { position: absolute; left: -999px; top: 0; background: var(--lx-brand); color: var(--lx-bg); padding: 10px 14px; z-index: 100; }
.lx-skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--lx-accent); outline-offset: 2px; border-radius: 4px; }

/* ----- layout ----- */
.lx-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lx-narrow { max-width: 760px; }
.lx-section { padding: 48px 0; }
.lx-section.lx-alt { background: var(--lx-soft); }
.lx-h1, .lx-body h1 { font: 700 clamp(30px, 5vw, 46px)/1.15 var(--lx-serif); margin: 0 0 14px; letter-spacing: -.01em; }
.lx-body h2 { font: 700 clamp(24px, 3.4vw, 32px)/1.2 var(--lx-serif); margin: 0 0 14px; letter-spacing: -.01em; }
.lx-body h3 { font: 700 20px/1.3 var(--lx-sans); margin: 28px 0 8px; }
.lx-body p { margin: 0 0 16px; }
.lx-lede { font-size: 19px; color: var(--lx-muted); max-width: 62ch; }
.lx-eyebrow { display: inline-block; font: 700 12px/1 var(--lx-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lx-accent); margin-bottom: 12px; }

/* ----- header ----- */
.lx-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lx-bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--lx-line); }
.lx-header .lx-container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.lx-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--lx-ink) !important; text-decoration: none; font: 800 19px/1 var(--lx-serif); letter-spacing: -.01em; }
.lx-logo-img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; display: block; }
.lx-logo-text { white-space: nowrap; }
.lx-logo-mark { display: inline-grid; grid-template-columns: repeat(3, 10px); gap: 2px; }
.lx-logo-mark i { width: 10px; height: 10px; border-radius: 2px; background: var(--lx-absent); display: block; }
.lx-logo-mark i:nth-child(2) { background: var(--lx-present); } .lx-logo-mark i:nth-child(1), .lx-logo-mark i:nth-child(6) { background: var(--lx-correct); }
.lx-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.lx-nav a { display: block; padding: 8px 10px; border-radius: 999px; color: var(--lx-ink) !important; text-decoration: none; font-size: 15px; font-weight: 600; }
.lx-nav a:hover, .lx-nav a[aria-current="page"], .lx-nav .current-menu-item > a { background: var(--lx-soft); }
.lx-menu-btn { display: none; background: none; border: 1px solid var(--lx-line); border-radius: 10px; padding: 8px 12px; font: 600 15px var(--lx-sans); color: var(--lx-ink); cursor: pointer; }
@media (max-width: 820px) {
  .lx-menu-btn { display: block; }
  .lx-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--lx-bg); border-bottom: 1px solid var(--lx-line); padding: 8px 20px 16px; }
  .lx-nav.lx-open { display: block; }
  .lx-nav ul { flex-direction: column; }
}

/* ----- hero ----- */
.lx-hero { padding: 34px 0 10px; text-align: center; }
.lx-hero .lx-lede { margin: 0 auto 6px; }
.lx-crumbs { font-size: 14px; color: var(--lx-muted); margin-bottom: 14px; }
.lx-crumbs a { color: var(--lx-muted) !important; }
.lx-pagehead { padding: 42px 0 8px; }

/* ----- buttons & cards ----- */
.lx-btn { appearance: none; border: 0; background: var(--lx-accent); color: var(--lx-accent-ink); font: 700 15px var(--lx-sans); padding: 12px 20px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-block; transition: transform .1s ease, filter .15s; }
.lx-btn:hover { filter: brightness(1.06); } .lx-btn:active { transform: translateY(1px); }
.lx-btn:disabled { opacity: .45; cursor: not-allowed; }
.lx-btn-ghost { background: transparent; color: var(--lx-ink); border: 1.5px solid var(--lx-line); }
.lx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 22px 0; }
.lx-feature { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 22px; box-shadow: var(--lx-shadow); }
.lx-feature h3 { margin-top: 0; font-size: 18px; } .lx-feature p { margin: 0; color: var(--lx-muted); font-size: 16px; }
.lx-feature .lx-num { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; background: var(--lx-soft); font-weight: 800; margin-bottom: 10px; }
.lx-pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 0; }
.lx-pill { padding: 8px 14px; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--lx-ink) !important; }
.lx-pill.lx-on { background: var(--lx-brand); color: var(--lx-bg) !important; border-color: var(--lx-brand); }

/* ----- prose ----- */
.lx-prose ul, .lx-prose ol { padding-left: 22px; margin: 0 0 18px; } .lx-prose li { margin: 6px 0; }
.lx-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; background: var(--lx-surface); border-radius: 10px; overflow: hidden; }
.lx-prose th, .lx-prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--lx-line); }
.lx-prose th { background: var(--lx-soft); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.lx-callout { border-left: 4px solid var(--lx-accent); background: var(--lx-surface); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; box-shadow: var(--lx-shadow); }
.lx-callout p:last-child { margin: 0; }
.lx-toc { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 12px; padding: 16px 22px; margin: 24px 0; }
.lx-toc strong { display: block; margin-bottom: 6px; } .lx-toc ol { margin: 0; padding-left: 20px; }
.lx-wordgrid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px; padding: 0; list-style: none; }
.lx-wordgrid li { margin: 0; padding: 5px 11px; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 8px; font: 700 14px var(--lx-sans); letter-spacing: .08em; text-transform: uppercase; }

/* sample tiles used in guides */
.lx-sample { display: flex; gap: 5px; margin: 10px 0 8px; }
.lx-sample span { width: 44px; height: 44px; display: grid; place-items: center; font: 800 22px var(--lx-sans); text-transform: uppercase; border: 2px solid var(--lx-tile-line); border-radius: 6px; background: var(--lx-surface); }
.lx-sample span.c { background: var(--lx-correct); border-color: var(--lx-correct); color: #fff; }
.lx-sample span.p { background: var(--lx-present); border-color: var(--lx-present); color: #fff; }
.lx-sample span.a { background: var(--lx-absent); border-color: var(--lx-absent); color: #fff; }

/* ----- FAQ ----- */
.lx-faq details { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 12px; margin: 10px 0; padding: 0 18px; }
.lx-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lx-accent); }
.lx-faq details[open] summary::after { content: "–"; }
.lx-faq details p { color: var(--lx-muted); }

/* ----- footer ----- */
.lx-footer { border-top: 1px solid var(--lx-line); background: var(--lx-surface); padding: 40px 0 28px; margin-top: 40px; font-size: 15px; }
.lx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.lx-footer h2 { font: 700 13px var(--lx-sans) !important; text-transform: uppercase; letter-spacing: .1em; color: var(--lx-muted); margin: 0 0 10px; }
.lx-footer ul { list-style: none; margin: 0; padding: 0; } .lx-footer li { margin: 6px 0; }
.lx-footer a { color: var(--lx-ink) !important; text-decoration: none; } .lx-footer a:hover { text-decoration: underline; }
.lx-copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--lx-line); color: var(--lx-muted); font-size: 14px; }
@media (max-width: 700px) { .lx-footer-grid { grid-template-columns: 1fr; } }

/* ================= GAME ================= */
.lx-game { position: relative; max-width: 500px; margin: 16px auto 0; padding: 12px 14px 18px; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 20px; box-shadow: var(--lx-shadow); user-select: none; -webkit-user-select: none; }
.lx-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; border-bottom: 1px solid var(--lx-line); margin-bottom: 10px; }
.lx-bar-title { font: 700 14px var(--lx-sans); color: var(--lx-muted); letter-spacing: .03em; }
.lx-tools { display: flex; gap: 6px; }
.lx-icon { background: none; border: 0; width: 38px; height: 38px; border-radius: 10px; font-size: 20px; cursor: pointer; color: var(--lx-ink); }
.lx-icon:hover { background: var(--lx-soft); }
.lx-toast { position: absolute; left: 50%; top: 56px; transform: translate(-50%, -6px); background: var(--lx-brand); color: var(--lx-bg); padding: 10px 16px; border-radius: 10px; font: 700 14px var(--lx-sans); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.lx-toast.lx-show { opacity: 1; transform: translate(-50%, 0); }
.lx-board { display: grid; gap: 6px; padding: 6px 0 14px; width: min(100%, 330px); margin: 0 auto; }
.lx-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lx-tile { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--lx-tile-line); border-radius: 8px; font: 800 clamp(24px, 7vw, 32px)/1 var(--lx-sans); text-transform: uppercase; color: var(--lx-ink); background: transparent; transition: background-color .1s; }
.lx-tile[data-filled] { border-color: var(--lx-absent); }
.lx-tile[data-state] { color: #fff; border-color: transparent; }
.lx-tile[data-state="correct"] { background: var(--lx-correct); }
.lx-tile[data-state="present"] { background: var(--lx-present); }
.lx-tile[data-state="absent"] { background: var(--lx-absent); }
.lx-pop { animation: lx-pop .12s ease-out; }
.lx-flip { animation: lx-flip .45s ease-in-out; }
.lx-shake { animation: lx-shake .5s; }
@keyframes lx-pop { 50% { transform: scale(1.1); } }
@keyframes lx-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes lx-shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
.lx-kbd { display: grid; gap: 7px; margin-top: 4px; }
.lx-krow { display: flex; gap: 5px; justify-content: center; }
.lx-key { flex: 1 1 0; min-width: 0; height: 52px; border: 0; border-radius: 8px; background: var(--lx-key); color: var(--lx-key-ink); font: 700 15px var(--lx-sans); cursor: pointer; text-transform: uppercase; padding: 0; touch-action: manipulation; }
.lx-key.lx-wide { flex: 1.6 1 0; font-size: 12px; }
.lx-key[data-state="correct"] { background: var(--lx-correct); color: #fff; }
.lx-key[data-state="present"] { background: var(--lx-present); color: #fff; }
.lx-key[data-state="absent"] { background: var(--lx-absent); color: #fff; opacity: .75; }
.lx-actions { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 14px; min-height: 8px; }
.lx-countdown { font: 600 14px var(--lx-sans); color: var(--lx-muted); font-variant-numeric: tabular-nums; }
.lx-modal { position: absolute; inset: 0; background: rgba(15, 20, 36, .55); border-radius: 20px; display: grid; place-items: center; padding: 14px; z-index: 10; }
.lx-modal[hidden] { display: none; }
.lx-card { position: relative; background: var(--lx-surface); color: var(--lx-ink); border-radius: 16px; width: 100%; max-height: 100%; overflow: auto; padding: 22px 20px; box-shadow: var(--lx-shadow); }
.lx-card-title { font: 800 22px var(--lx-serif) !important; text-align: center; margin: 0 0 14px !important; }
.lx-close { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--lx-muted); cursor: pointer; width: 40px; height: 40px; }
.lx-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.lx-stat-n { font: 800 28px var(--lx-sans); } .lx-stat-l { font-size: 12px; color: var(--lx-muted); }
.lx-sub { text-align: center; font-size: 14px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--lx-muted); margin: 18px 0 8px !important; }
.lx-dist { display: grid; gap: 4px; } .lx-dline { display: flex; align-items: center; gap: 8px; }
.lx-dnum { width: 14px; font: 700 13px var(--lx-sans); }
.lx-dbar { background: var(--lx-absent); color: #fff; font: 700 13px var(--lx-sans); padding: 2px 8px; text-align: right; border-radius: 4px; min-width: 24px; }
.lx-dbar.lx-dhot { background: var(--lx-correct); }
.lx-result { text-align: center; font-weight: 700; margin: 16px 0 10px !important; }
.lx-card .lx-btn { display: block; margin: 8px auto 0; }
.lx-set { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--lx-line); cursor: pointer; }
.lx-set-txt { display: grid; } .lx-set small { color: var(--lx-muted); font-size: 13px; }
.lx-set input { width: 22px; height: 22px; accent-color: var(--lx-accent); flex: none; }
[data-lexigrid]:empty { min-height: 690px; max-width: 500px; margin: 16px auto 0; }
.lx-noscript { background: var(--lx-surface); border: 1px dashed var(--lx-line); padding: 18px; border-radius: 12px; text-align: center; max-width: 500px; margin: 16px auto; }
@media (max-width: 380px) { .lx-key { height: 48px; font-size: 14px; } .lx-krow { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .lx-pop, .lx-flip, .lx-shake { animation: none; } html { scroll-behavior: auto; } }

/* ----- tools (solver, hints, custom Wordle) ----- */
.lx-tool { max-width: 560px; margin: 18px auto 0; padding: 20px; text-align: left; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 20px; box-shadow: var(--lx-shadow); }
.lx-tool-title { font: 800 22px var(--lx-serif) !important; margin: 0 0 8px !important; }
.lx-tool-sub { color: var(--lx-muted); font-size: 14px; margin: 8px 0 0 !important; }
.lx-solver-block { margin: 14px 0; }
.lx-solver-label { font: 700 14px var(--lx-sans); margin-bottom: 8px; display: block; }
.lx-solver-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lx-cell { width: 100%; min-width: 0; aspect-ratio: 1; text-align: center; text-transform: uppercase; font: 800 22px var(--lx-sans); border: 2.5px solid var(--lx-tile-line); border-radius: 10px; background: var(--lx-bg); color: var(--lx-ink); padding: 0; }
.lx-cell-g { border-color: var(--lx-correct); }
.lx-cell-y { border-color: var(--lx-present); font-size: 15px; letter-spacing: .04em; }
.lx-grey-input { width: 100%; padding: 12px 14px; border: 2px solid var(--lx-line); border-radius: 10px; background: var(--lx-bg); color: var(--lx-ink); font: 700 17px var(--lx-sans); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.lx-cell:focus, .lx-grey-input:focus { outline: 3px solid var(--lx-accent); outline-offset: 1px; }
.lx-solver-count { font-weight: 700; margin: 14px 0 6px !important; }
.lx-solver-sugg { margin: 4px 0 10px; font-size: 15px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lx-chip { background: var(--lx-correct); color: #fff; font: 800 13px var(--lx-sans); letter-spacing: .08em; padding: 5px 10px; border-radius: 8px; }
.lx-solver-list { max-height: 320px; overflow: auto; margin-bottom: 0; }
.lx-solver-list .lx-more { text-transform: none; letter-spacing: 0; background: none; border: 0; color: var(--lx-muted); font-weight: 600; }
.lx-hintlist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.lx-hintlist li { margin: 0; }
.lx-hint-text { display: block; padding: 12px 14px; background: var(--lx-soft); border-left: 4px solid var(--lx-present); border-radius: 0 10px 10px 0; font-weight: 600; }
.lx-answer-box { margin-top: 14px; }
.lx-answer { justify-content: center; }
.lx-creator-out { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.lx-creator-out .lx-grey-input { text-transform: none; letter-spacing: 0; font-size: 14px; margin-bottom: 0; flex: 1 1 100%; }
.lx-note { background: var(--lx-surface); border: 1px solid var(--lx-line); border-left: 4px solid var(--lx-accent); padding: 12px 16px; border-radius: 0 12px 12px 0; font-size: 15px; margin: 18px 0; text-align: left; }
.lx-hero .lx-note { max-width: 560px; margin-left: auto; margin-right: auto; }
.lx-btn.lx-btn-ghost { text-decoration: none; }

/* ================= GRID STUDIO REDESIGN v2 =================
   A new visual system: forest ink, fresh green, warm yellow and crisp square cards.
   Game and tool selectors above remain intact so the existing engine keeps working. */
:root {
  --lx-bg: #f7f8f4;
  --lx-surface: #ffffff;
  --lx-ink: #17271f;
  --lx-muted: #5f6c63;
  --lx-line: #dbe3d9;
  --lx-brand: #17271f;
  --lx-accent: #2d7b55;
  --lx-accent-ink: #ffffff;
  --lx-soft: #eaf2e6;
  --lx-correct: #2d7b55;
  --lx-present: #f2c94c;
  --lx-absent: #56635b;
  --lx-tile-line: #cbd6cc;
  --lx-key: #e1e8df;
  --lx-key-ink: #17271f;
  --lx-radius: 10px;
  --lx-shadow: 0 14px 32px rgba(23,39,31,.07);
  --lx-serif: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lx-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.lx-body, body.lx { background: var(--lx-bg); color: var(--lx-ink); font-size: 16px; line-height: 1.7; }
.lx-body a { color: #216b48; text-decoration-thickness: 1px; }
.lx-body a:hover { color: #154b32; text-decoration-thickness: 2px; }
.lx-container { max-width: 1160px; padding-left: 26px; padding-right: 26px; }
.lx-narrow { max-width: 820px; }
.lx-section { padding: clamp(44px, 6vw, 78px) 0; }
.lx-body h1, .lx-h1 { font-family: var(--lx-sans); font-size: clamp(36px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -.055em; font-weight: 850; }
.lx-body h2 { font-family: var(--lx-sans); font-size: clamp(27px, 3.1vw, 38px); line-height: 1.13; letter-spacing: -.035em; font-weight: 800; margin-bottom: 18px; }
.lx-body h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.lx-lede { color: #48574d; font-size: clamp(18px, 2vw, 21px); line-height: 1.62; max-width: 66ch; }
.lx-eyebrow, .lx-kicker { color: #2d7b55; font-size: 11px; letter-spacing: .17em; font-weight: 850; text-transform: uppercase; }
.lx-kicker { display: inline-block; margin-bottom: 9px; }
.lx-header { background: rgba(247,248,244,.96); border-bottom: 1px solid #d5dfd5; backdrop-filter: blur(14px); }
.lx-header .lx-container { min-height: 78px; }
.lx-logo { font-family: var(--lx-sans); font-size: 18px; font-weight: 850; letter-spacing: -.04em; gap: 11px; }
.lx-logo-mark { grid-template-columns: repeat(3, 9px); gap: 3px; transform: rotate(-4deg); }
.lx-logo-mark i { width: 9px; height: 9px; border-radius: 2px; background: #17271f; }
.lx-logo-mark i:nth-child(1), .lx-logo-mark i:nth-child(6) { background: #2d7b55; }
.lx-logo-mark i:nth-child(2) { background: #f2c94c; }
.lx-nav ul { gap: 3px; }
.lx-nav a { padding: 9px 11px; border-radius: 7px; font-size: 13px; font-weight: 750; }
.lx-nav a:hover, .lx-nav a[aria-current="page"], .lx-nav .current-menu-item > a { background: #e4eee0; color: #17452e !important; }
.lx-menu-btn { border-radius: 7px; border-color: #cbd6cc; font-weight: 750; }
.lx-btn { background: #2d7b55; color: #fff !important; padding: 13px 19px; border-radius: 7px; font-size: 14px; font-weight: 800; box-shadow: 0 5px 0 #1c593c; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.lx-btn:hover { background: #246845; filter: none; transform: translateY(-2px); box-shadow: 0 7px 0 #1c593c; }
.lx-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #1c593c; }
.lx-btn-outline { background: transparent; border: 1px solid #2d7b55; box-shadow: none; color: #216b48 !important; }
.lx-btn-outline:hover { box-shadow: none; }
.lx-hero-home { padding: 0; text-align: left; background: #e7f1df; border-bottom: 1px solid #d5e4d0; overflow: hidden; }
.lx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(30px, 5vw, 72px); min-height: 490px; padding-top: 56px; padding-bottom: 56px; }
.lx-hero-copy .lx-h1 { max-width: 650px; margin: 10px 0 20px; }
.lx-hero-copy .lx-lede { max-width: 610px; margin: 0 0 24px; }
.lx-live-dot { display: inline-block; width: 8px; height: 8px; background: #2d7b55; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 4px rgba(45,123,85,.13); }
.lx-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 22px 0; }
.lx-text-link { color: #1b5638 !important; font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 1px solid #93b79d; padding: 5px 0; }
.lx-trust-row { display: flex; gap: 17px; flex-wrap: wrap; color: #536358; font-size: 12px; font-weight: 750; margin-top: 24px; }
.lx-hero-art { background: #17271f; border-radius: 14px; padding: 26px; box-shadow: 13px 13px 0 rgba(45,123,85,.15); transform: rotate(1deg); color: #fff; }
.lx-art-label { color: #b8d8bd; font-size: 10px; font-weight: 850; letter-spacing: .2em; margin-bottom: 18px; }
.lx-art-board { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.lx-art-tile { aspect-ratio: 1; border: 2px solid #647168; display: grid; place-items: center; border-radius: 7px; font-size: clamp(20px, 3vw, 32px); line-height: 1; font-weight: 850; color: #fff; }
.lx-art-tile.is-green { background: #2d7b55; border-color: #2d7b55; }
.lx-art-tile.is-yellow { background: #f2c94c; border-color: #f2c94c; color: #17271f; }
.lx-hero-art > p { color: #d2e2d5; font-size: 13px; text-align: center; margin: 19px 0 0; font-weight: 650; }
.lx-play-section { padding-top: 60px; }
.lx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.lx-section-head h2 { margin: 0; }
.lx-section-head > p { max-width: 410px; margin: 0; color: var(--lx-muted); font-size: 15px; }
.lx-play-layout, .lx-tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.lx-play-main { min-width: 0; }
.lx-side-card, .lx-checklist { background: #fff; border: 1px solid #dbe3d9; border-radius: 10px; padding: 24px; box-shadow: 0 10px 25px rgba(23,39,31,.04); }
.lx-side-card h3, .lx-checklist h3 { margin: 8px 0 10px; }
.lx-side-card p, .lx-side-card li { color: #59675d; font-size: 14px; }
.lx-side-card a { font-size: 13px; font-weight: 800; text-decoration: none; }
.lx-side-card hr { border: 0; border-top: 1px solid #e4eae2; margin: 22px 0; }
.lx-side-number { color: #2d7b55; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.lx-soft-section { background: #edf2e9; border-top: 1px solid #e0e8dc; border-bottom: 1px solid #e0e8dc; }
.lx-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.lx-link-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 220px; padding: 23px; background: #fff; border: 1px solid #dbe3d9; border-radius: 10px; color: var(--lx-ink) !important; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.lx-link-card:hover { transform: translateY(-4px); border-color: #a6c8ac; box-shadow: 0 14px 28px rgba(23,39,31,.08); }
.lx-card-icon { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; background: #e4f0e0; color: #246845; border-radius: 8px; font-size: 15px; font-weight: 900; }
.lx-link-card h3 { margin: 18px 0 7px; }
.lx-link-card p { margin: 0 0 20px; color: #5f6c63; font-size: 14px; }
.lx-card-arrow { margin-top: auto; color: #246845; font-size: 12px; font-weight: 850; }
.lx-two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.lx-two-col > div > h2:first-of-type { margin-top: 6px; }
.lx-checklist { background: #17271f; color: #fff; }
.lx-checklist h3 { color: #fff; }
.lx-key-row { display: flex; align-items: center; gap: 12px; margin: 17px 0; }
.lx-key-row strong, .lx-key-row small { display: block; }
.lx-key-row small { color: #bdcfc1; font-size: 12px; }
.lx-key-chip { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 6px; color: #fff; font-size: 19px; font-weight: 850; }
.lx-key-chip.is-green { background: #2d7b55; }
.lx-key-chip.is-yellow { background: #f2c94c; color: #17271f; }
.lx-key-chip.is-grey { background: #56635b; }
.lx-small-note { color: #667469; font-size: 13px; }
.lx-last-link { margin-top: 26px !important; padding-top: 20px; border-top: 1px solid #dbe3d9; }
.lx-footer { margin-top: 0; padding: 55px 0 25px; background: #17271f; border: 0; color: #e6eee7; }
.lx-footer .lx-logo, .lx-footer a { color: #f4f8f3 !important; }
.lx-footer p { color: #b9c9bd !important; }
.lx-footer h2 { color: #a9cbb0 !important; }
.lx-footer a:hover { color: #f2c94c !important; }
.lx-copy { color: #a9b9ac; border-color: #3b4a40; }
.lx-prose { max-width: 820px; }
.lx-prose h2 { margin-top: 42px; }
.lx-prose h2:first-child, .lx-prose h2:first-of-type { margin-top: 0; }
.lx-prose h3 { margin-top: 25px; }
.lx-prose p, .lx-prose li { color: #34463a; }
.lx-prose ul li::marker, .lx-prose ol li::marker { color: #2d7b55; font-weight: 800; }
.lx-page-hero { padding: clamp(44px, 7vw, 82px) 0 42px; background: #e7f1df; border-bottom: 1px solid #d5e4d0; }
.lx-page-hero .lx-h1, .lx-page-hero h1 { max-width: 790px; margin: 12px 0 18px; }
.lx-page-hero .lx-lede { margin: 0; }
.lx-page-hero .lx-btn { margin-top: 10px; }
.lx-seo-visual { margin: 25px 0 34px; }
.lx-seo-visual img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #d9e4d7; }
.lx-seo-visual figcaption { margin-top: 8px; color: #718075; font-size: 12px; }
.lx-faq details { border-radius: 8px; border-color: #dbe3d9; box-shadow: 0 3px 10px rgba(23,39,31,.025); }
.lx-faq summary { font-size: 15px; }
.lx-faq summary::after { color: #2d7b55; }
.lx-data-table-wrap { overflow-x: auto; }
.lx-data-table { min-width: 560px; }
.lx-data-table th { background: #17271f; color: #fff; }
.lx-data-table td, .lx-data-table th { padding: 14px 15px; }
.lx-pattern-card { padding: 24px; background: #edf2e9; border: 1px solid #dbe3d9; border-radius: 10px; margin: 26px 0; }
.lx-pattern-tiles { display: flex; gap: 7px; margin: 14px 0; }
.lx-pattern-tiles span { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid #cbd6cc; border-radius: 6px; background: #fff; font-weight: 850; }
.lx-pattern-tiles .is-green { color: #fff; background: #2d7b55; border-color: #2d7b55; }
.lx-pattern-tiles .is-yellow { background: #f2c94c; border-color: #f2c94c; }
.lx-pattern-card p { margin: 0; font-size: 14px; }
.lx-steps { list-style: none; padding: 0 !important; counter-reset: lx-step; }
.lx-steps > li { position: relative; margin: 16px 0 !important; padding: 20px 20px 18px 66px; background: #fff; border: 1px solid #dbe3d9; border-radius: 9px; counter-increment: lx-step; }
.lx-steps > li::before { content: counter(lx-step, decimal-leading-zero); position: absolute; left: 20px; top: 21px; color: #2d7b55; font-size: 13px; font-weight: 900; }
.lx-steps p { margin: 4px 0 0; }
.lx-tip-list { padding-left: 25px; }
.lx-tip-list li { padding-left: 4px; margin: 16px 0 !important; }
.lx-tip-list h3 { margin: 0 0 5px; }
.lx-tip-list p { margin: 0; }
.lx-colour-guide { display: grid; gap: 12px; margin: 22px 0; }
.lx-colour-item { display: flex; gap: 15px; align-items: start; padding: 17px; background: #fff; border: 1px solid #dbe3d9; border-radius: 9px; }
.lx-colour-item h3 { margin: 0 0 5px; }
.lx-colour-item p { margin: 0; font-size: 14px; }
.lx-game { border-radius: 10px; box-shadow: 0 16px 35px rgba(23,39,31,.09); border-color: #dbe3d9; }
.lx-tile { border-radius: 5px; }
.lx-key { border-radius: 5px; }
@media (max-width: 900px) {
  .lx-hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 45px; }
  .lx-hero-copy .lx-h1 { max-width: 760px; }
  .lx-hero-art { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .lx-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lx-play-layout, .lx-tool-layout { grid-template-columns: minmax(0,1fr); }
  .lx-side-card { max-width: none; }
}
@media (max-width: 700px) {
  .lx-container { padding-left: 18px; padding-right: 18px; }
  .lx-header .lx-container { min-height: 66px; }
  .lx-section-head { display: block; }
  .lx-section-head > p { margin-top: 12px; }
  .lx-card-grid { grid-template-columns: 1fr; }
  .lx-link-card { min-height: 0; }
  .lx-two-col { grid-template-columns: 1fr; }
  .lx-hero-grid { gap: 25px; }
  .lx-hero-art { padding: 18px; }
  .lx-art-board { gap: 5px; }
  .lx-art-tile { border-radius: 5px; }
  .lx-trust-row { gap: 10px 14px; }
  .lx-page-hero { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-link-card, .lx-btn { transition: none; }
  .lx-link-card:hover, .lx-btn:hover { transform: none; }
}
