/* Top Table storefront. Fonts: Barlow Condensed (display), Barlow (body), Cinzel (small labels). Self-hosted, OFL. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-800.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(/fonts/cinzel-700.woff2) format('woff2'); }

:root {
  --ink: #0d0f13;
  --ink-2: #12151b;
  --panel: #171b22;
  --panel-2: #1e232c;
  --line: #2c323d;
  --chalk: #efeadf;
  --dim: #a4aab5;
  --brass: #f0b43c;
  --brass-dark: #d1931f;
  --parch: #e9dfc7;
  --parch-ink: #2a2418;
  --sky: #8cc4ee;
  --bad: #ef7464;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --serif: 'Cinzel', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font: 17px/1.6 'Barlow', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--sky); }
a:hover { color: var(--chalk); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
figcaption { color: var(--dim); font-size: 14px; margin-top: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--brass); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

/* Announcement bar */
.announce { background: var(--brass); color: #1a1408; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.announce .wrap { padding-top: 7px; padding-bottom: 7px; }
.announce span[aria-hidden] { margin: 0 8px; }
@media (max-width: 480px) { .announce .opt { display: none; } }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(13,15,19,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.brand .mark { flex: 0 0 auto; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; display: flex; gap: .3em; }
.wordmark span + span { color: var(--brass); }
nav.links { display: flex; gap: 28px; }
nav.links a, .menu nav a { color: var(--chalk); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
nav.links a:hover { color: var(--brass); }
.actions { display: flex; align-items: center; gap: 10px; }
.btn.cart { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--panel-2); border-color: var(--line); color: var(--chalk); }
.btn.cart:hover { border-color: var(--brass); color: var(--brass); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; height: 2px; background: var(--chalk); border-radius: 2px; }
.menu nav { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.menu nav a { padding: 12px 14px; border-radius: 8px; }
.menu nav a:hover { background: var(--panel-2); }
@media (max-width: 860px) {
  nav.links { display: none; }
  .menu { display: block; }
  .wordmark { font-size: 22px; }
}

/* Buttons */
.btn { display: inline-block; border-radius: 10px; padding: 12px 22px; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.btn.big { padding: 15px 30px; font-size: 20px; }
.btn.block { display: block; width: 100%; }
.btn.primary { background: var(--brass); color: #1a1408; box-shadow: 0 6px 24px rgba(240,180,60,.22); }
.btn.primary:hover { background: var(--brass-dark); color: #1a1408; }
.btn.ghost, .btn.secondary { background: transparent; color: var(--chalk); border-color: #4a5260; }
.btn.ghost:hover, .btn.secondary:hover { border-color: var(--chalk); color: var(--chalk); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary:disabled:hover { background: var(--brass); }

/* Labels */
.kicker { font-family: var(--serif); font-weight: 700; color: var(--brass); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }
.tag { display: inline-block; background: rgba(240,180,60,.14); color: var(--brass); border: 1px solid rgba(240,180,60,.5); border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.note { color: var(--dim); font-size: 14px; }

/* Hero: a dark gaming mat (hex grid) with a lamp light on the box */
.hero {
  padding: 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 70% at 72% 55%, rgba(240,180,60,.16), transparent 70%),
    radial-gradient(ellipse 80% 60% at 70% 100%, #2a2a22 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #0d0f13 0%, #141820 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); margin: 0 0 20px; }
.hero h1 span { color: var(--brass); }
.lead { font-size: 20px; color: #c9ccd2; max-width: 560px; margin: 0 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-price { margin: 20px 0 0; color: var(--dim); font-size: 16px; }
.hero-price b { color: var(--chalk); font-family: var(--display); font-size: 24px; margin-right: 6px; }
.hero-art { position: relative; }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.7)); }
.hero-art::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 9%; height: 12%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); z-index: -1; }
.hero-art figcaption { text-align: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 16px; }
  .hero-art { max-width: 480px; margin: 0 auto; order: -1; }
  .lead { font-size: 18px; }
}

/* Trust strip: parchment band */
.trust { padding: 0; background: var(--parch); color: var(--parch-ink); border-top: 3px double #b9a67c; border-bottom: 3px double #b9a67c; }
.trust ul { list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.trust svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: #7a5a14; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust b { display: block; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.trust a { color: #5c430c; }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust li { font-size: 13px; } .trust a { word-break: break-all; } }

/* Sections */
section { padding: 80px 0; }
section.band { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); margin: 0; }
.intro { max-width: 720px; color: #c9ccd2; margin: 14px 0 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

/* Shop */
.products { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.product { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product.feature { display: grid; grid-template-columns: 1.1fr 1fr; }
.product-media { position: relative; background: radial-gradient(ellipse at 50% 60%, #2a303b, #171b22 70%); display: flex; align-items: center; justify-content: center; padding: 28px; min-height: 240px; }
.product-media img { width: 100%; max-width: 520px; filter: drop-shadow(0 24px 24px rgba(0,0,0,.6)); }
.product-media .tag { position: absolute; left: 14px; top: 14px; }
.phone-media { padding: 28px 24px 0; align-items: flex-start; height: 300px; min-height: 0; overflow: hidden; }
.phone-media img { max-width: 190px; border-radius: 22px 22px 0 0; border: 5px solid #2c323d; border-bottom: 0; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body > * { margin: 0; }
.product .label { font-family: var(--serif); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.product h3 { font-size: 34px; margin: 0; }
.price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; margin: 0; }
.price:empty { min-height: 44px; }
.ship { color: #c9ccd2; font-size: 15px; }
.ship b { color: var(--chalk); }
.includes { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.includes li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.includes li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.product .btn { margin-top: auto; }
.product .note { margin-top: -4px; }
@media (max-width: 960px) {
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .product.feature { grid-template-columns: 1fr; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: 12px; padding: 24px 20px; }
.feature-card svg { width: 34px; height: 34px; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 24px; margin: 12px 0 8px; }
.feature-card p { margin: 0; color: var(--dim); font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Photo slots (placeholders until real photos exist) */
.table-strip { padding: 0 0 80px; margin-top: -24px; }
.slots { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.slot figcaption { font-size: 15px; }
.slot-art { height: 280px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.slot-art.mat {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(240,180,60,.14), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1d2a24, #121815);
}
.slot-art.mat img { width: auto; height: 72%; filter: drop-shadow(0 18px 20px rgba(0,0,0,.6)); }
.slot-art.dice { background: url(/img/dice.svg) center / 90% no-repeat, radial-gradient(ellipse at 50% 40%, #3b2b22, #17120f 75%); }
.slot-art.phone-art { align-items: flex-start; padding-top: 24px; }
.slot-art.phone-art img { border-radius: 18px 18px 0 0; border: 4px solid #2c323d; border-bottom: 0; width: 46%; max-width: 200px; height: auto; }
@media (max-width: 860px) { .slots { grid-template-columns: 1fr 1fr; } .slots .slot:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .slots { grid-template-columns: 1fr; } }

/* How it works */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--brass); margin-bottom: 10px; }
.steps b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.1; margin-bottom: 6px; }
.steps span { color: var(--dim); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.demo { margin-top: 24px; background: var(--parch); color: var(--parch-ink); border-radius: 12px; padding: 22px 24px; border: 3px double #b9a67c; }
.demo-title { font-family: var(--serif); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #7a5a14; margin: 0 0 10px; }
.demo-line { display: flex; gap: 12px; font-size: 16px; margin: 8px 0; }
.demo-line .who { flex: 0 0 96px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #6b6455; padding-top: 2px; }
.demo-line .who.box { color: #8a5f0a; }
.quote { font-style: italic; }
.say { font-weight: 600; }
.hush { color: #3f5f78; font-size: 15px; }
@media (max-width: 520px) { .demo-line { flex-direction: column; gap: 0; } .demo-line .who { flex: none; } }

/* App */
.phones { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.phones figure { text-align: center; }
.phones img { display: block; width: 100%; max-width: 260px; margin: 0 auto; border-radius: 28px; border: 6px solid #2c323d; box-shadow: 0 20px 44px rgba(0,0,0,.5); }
@media (max-width: 720px) {
  .phones { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .phones figure { scroll-snap-align: center; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 30px; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: #c9ccd2; }

/* Closing call */
.cta-band { text-align: center; background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(240,180,60,.16), transparent 70%), var(--ink-2); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 12px; }
.cta-band p { color: #c9ccd2; margin: 0 0 24px; }

/* Footer */
footer.bottom { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--dim); font-size: 15px; background: #0a0c0f; }
footer.bottom .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer.bottom .foot-brand p { margin: 12px 0 0; max-width: 320px; }
footer.bottom nav { display: flex; flex-direction: column; gap: 8px; }
footer.bottom h2 { font-family: var(--serif); font-size: 13px; letter-spacing: .14em; color: var(--brass); margin: 0 0 4px; }
footer.bottom nav a { color: var(--dim); text-decoration: none; }
footer.bottom nav a:hover { color: var(--chalk); text-decoration: underline; }
footer.bottom .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; font-size: 13px; }
@media (max-width: 760px) { footer.bottom .wrap { grid-template-columns: 1fr 1fr; } footer.bottom .foot-brand { grid-column: 1 / -1; } }

/* Legal pages */
.legal { max-width: 760px; padding: 48px 16px 72px; }
.legal h1 { font-size: 52px; margin: 0 0 6px; }
.legal h2 { font-size: 26px; color: var(--brass); margin: 32px 0 8px; }
.legal li { margin-bottom: 6px; }

/* Order pages */
.order { padding-top: 32px; padding-bottom: 80px; }
.crumbs { font-size: 14px; color: var(--dim); margin: 0 0 20px; }
.crumbs a { color: var(--dim); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.order-summary { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.order-summary > :not(.product-media) { margin-left: 24px; margin-right: 24px; }
.order-summary h2 { font-size: 34px; margin-top: 20px; margin-bottom: 8px; }
.order-summary .price { margin-bottom: 10px; }
.order-summary .includes { margin-bottom: 24px; }
.order-form h1 { font-size: clamp(40px, 6vw, 60px); margin: 0 0 16px; }
.order label { display: block; font-size: 14px; font-weight: 600; color: var(--chalk); margin: 16px 0 6px; }
.order input, .order select { width: 100%; background: var(--panel); color: var(--chalk); border: 1px solid #4a5260; border-radius: 10px; padding: 12px; font: inherit; font-size: 16px; }
.order input:focus, .order select:focus { border-color: var(--brass); }
.notice { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.notice.bad { border-color: rgba(239,116,100,.5); color: var(--bad); }
.order-form [data-buy] { margin: 20px 0 8px; }
.mini-trust { list-style: none; padding: 16px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mini-trust li::before { content: "\2713"; color: var(--brass); margin-right: 6px; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } .order-form { order: -1; } }
.complete-card { text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 40px 24px; margin-top: 16px; }
.complete-mark { width: 120px; margin: 0 auto 12px; display: block; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.complete-card h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 12px; }
.complete-card .ctas { justify-content: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.service { color: var(--chalk); font-size: 16px; margin-top: -4px; }
.order-summary .service { margin-top: 0; margin-bottom: 10px; }

/* The plans of the voice service (home page and order page) */
.plans { margin-top: 28px; }
.plans h3 { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.plans .intro { margin-top: 8px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 12px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.plan > * { margin: 0; }
.plan:first-child { border-color: var(--brass); }
.plan .label { font-family: var(--serif); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.plan .label:empty { display: none; }
.plan h4 { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; margin: 0; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.plan-games { color: var(--chalk); font-size: 15px; }
.order-summary .plans { margin-top: 0; margin-bottom: 24px; }
.order-summary .plan-grid { margin: 0; gap: 10px; }
.order-summary .plan { padding: 14px; }
.order-summary .plan-price { font-size: 22px; }
@media (max-width: 560px) { .plan-grid { grid-template-columns: 1fr; } }

.join-code { font: 700 clamp(2.5rem, 10vw, 4rem)/1 var(--display, inherit); letter-spacing: .12em; color: var(--brass); margin: 24px 0; }
