/* 10-10-10.org: one clean look for every page. Big text, plain layout, one accent colour (gold). */
:root {
  --ink: #111111;
  --ink-2: #3b3b3b;
  --muted: #5f5f5f;
  --line: #e4e2dc;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --gold: #f5b301;
  --gold-soft: #fff6d9;
  --gold-text: #7a5600;     /* gold that passes contrast on white */
  --green: #15803d;
  --green-soft: #ecfdf3;
  --red: #b91c1c;
  --red-soft: #fef2f2;
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Header ---- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 42px; height: 42px; display: block; }
.brand-name { font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; }
.brand-name small { display: block; font-weight: 700; font-size: .62rem; letter-spacing: .32em; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: #eee; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.nav a.nav-signin { background: var(--gold); color: var(--ink); margin-left: 6px; }
.nav a.nav-signin:hover { background: #ffc933; color: var(--ink); }
.menu-btn { display: none; font: inherit; font-weight: 700; background: none; color: #fff; border: 2px solid rgba(255,255,255,.4); border-radius: 10px; padding: 8px 14px; cursor: pointer; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; text-align: center;
  padding: 16px 26px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc933; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--soft); }
.btn[disabled], .btn.is-off { opacity: .5; cursor: not-allowed; }
.btn-wide { width: 100%; }
.btn-small { padding: 10px 16px; font-size: .95rem; }

/* ---- Home: hero and the two choices ---- */
.hero { background: var(--ink); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { font-size: 1.25rem; color: #ddd; max-width: 640px; }
.rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; max-width: 820px; }
.rule div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; }
.rule b { display: block; font-size: 2rem; color: var(--gold); line-height: 1.1; }
.rule span { color: #ddd; font-size: 1rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -36px; }
.choice { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.choice .who { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.choice ul { margin: 6px 0 22px; padding-left: 0; list-style: none; }
.choice li { padding-left: 30px; position: relative; margin: 8px 0; }
.choice li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 900; }
.choice .btn { margin-top: auto; }
.price-line { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.section-title { text-align: center; margin-bottom: 8px; }
.section-intro { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .num { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 10px; }

/* ---- Steps (the join paths) ---- */
.steps-bar { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.steps-bar li { flex: 1; counter-increment: s; font-size: .85rem; font-weight: 700; color: var(--muted); border-top: 6px solid var(--line); padding-top: 8px; }
.steps-bar li::before { content: counter(s) ". "; }
.steps-bar li.done { border-color: var(--green); color: var(--green); }
.steps-bar li.now { border-color: var(--gold); color: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.panel.done-panel { border-color: #bbf7d0; background: var(--green-soft); }
.panel h2 { font-size: 1.5rem; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.panel-head .num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.done-panel .panel-head .num { background: var(--green); }
.panel-head h2 { margin: 0; }
.tick { color: var(--green); font-weight: 800; }

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.form label { font-weight: 700; margin-top: 10px; }
.form .hint { font-size: .92rem; color: var(--muted); margin: -2px 0 2px; }
.form input, .form select, .form textarea { font: inherit; padding: 14px 16px; border: 2px solid #cfcbc2; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.form .btn { margin-top: 16px; align-self: flex-start; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upper { text-transform: uppercase; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600 !important; }
.check input { width: 24px; height: 24px; margin-top: 3px; flex-shrink: 0; }
.msg { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; }
.msg.bad { color: var(--red); }
.msg.ok { color: var(--green); }
.over { color: var(--red); font-weight: 800; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; font: inherit; padding: 14px 16px; border: 2px solid #cfcbc2; border-radius: 10px; }
.inline-form input:focus { outline: 3px solid var(--gold); border-color: var(--ink); }

/* ---- Notes and status boxes ---- */
.note { background: var(--gold-soft); border: 1px solid #f3d27a; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; }
.note p:last-child { margin: 0; }
.box-ok { background: var(--green-soft); border: 1px solid #bbf7d0; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; }
.box-bad { background: var(--red-soft); border: 1px solid #fecaca; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; }
.dev-banner { background: #7c3aed; color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; font-size: .9rem; }

/* ---- The membership card (virtual) ---- */
.member-card { width: 100%; max-width: 380px; aspect-ratio: 1.586 / 1; border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(135deg, #1b1b1b, #3a3a3a);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px rgba(0,0,0,.25); position: relative; overflow: hidden; }
.member-card .mc-top { display: flex; justify-content: space-between; align-items: center; }
.member-card .mc-top img { width: 44px; height: 44px; }
.member-card .mc-kind { font-size: .75rem; font-weight: 800; letter-spacing: .2em; color: var(--gold); }
.member-card .mc-name { font-size: 1.2rem; font-weight: 700; }
.member-card .mc-number { font-family: "Courier New", monospace; font-weight: 700; font-size: 1.25rem; letter-spacing: .08em; }
.member-card .mc-valid { font-size: .8rem; color: #ccc; }
.card-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.qr { background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); width: 170px; }
.qr svg, .qr img { display: block; width: 100%; height: auto; }

/* ---- Directory and listing cards ---- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.listing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.listing img, .listing .no-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--soft); }
.no-photo { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.listing .lb { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.listing h3 { margin: 6px 0 0; font-size: 1.15rem; }
.listing p { margin: 0; }
.tag { display: inline-block; align-self: flex-start; background: var(--gold); font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.listing .links { margin-top: auto; padding-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; font-size: .95rem; font-weight: 600; }
.empty { text-align: center; padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---- Store ---- */
.product { display: flex; flex-direction: column; gap: 6px; }
.product .price { font-weight: 800; font-size: 1.2rem; }
.product .soon { color: var(--gold-text); font-weight: 700; }
.qty { width: 90px !important; }

/* ---- FAQ ---- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* ---- Legal and plain text pages ---- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.draft { background: var(--red-soft); border: 1px solid #fecaca; border-radius: 12px; padding: 14px 18px; font-weight: 600; }

/* ---- Owner page ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }
.pill { display: inline-block; font-size: .8rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.pill.on { background: #dcfce7; color: #166534; }
.pill.off { background: #f1f1ee; color: #555; }
.pill.warn { background: #fee2e2; color: #991b1b; }
.biz-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: start; }
.biz-row img, .biz-row .no-photo { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #ddd; padding: 44px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-grid a { display: block; text-decoration: none; color: #ccc; margin: 6px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .9rem; color: #aaa; }

/* ---- Phones and tablets ---- */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav a.nav-signin { margin: 8px 0 0; text-align: center; }
  .choices, .cards3, .listing-grid { grid-template-columns: 1fr; }
  .choices { margin-top: -28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .rule { grid-template-columns: 1fr; }
  .panel, .choice { padding: 20px 16px; }
  .form .row { grid-template-columns: 1fr; }
  .form .btn, .btn-wide-phone { align-self: stretch; width: 100%; }
  .steps-bar li { font-size: 0; }
  .steps-bar li::before { font-size: .85rem; }
  .steps-bar li.now { font-size: .85rem; }
  .biz-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Roadmap ---- */
.roadmap { list-style: none; padding: 0; margin: 16px 0 0; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 4px; background: var(--line); border-radius: 2px; }
.roadmap li { position: relative; padding: 0 0 22px 50px; }
.roadmap li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #cfcbc2; }
.roadmap li.rm-done::before { background: var(--green); border-color: var(--green); }
.roadmap li.rm-now::before { background: var(--gold); border-color: var(--ink); }
.roadmap li.rm-next::before { border-color: var(--gold); }
.roadmap h3 { margin: 4px 0 4px; }
.roadmap p { margin: 0; color: var(--ink-2); }
.rm-badge { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; background: #f1f1ee; color: #555; }
.rm-done .rm-badge { background: #dcfce7; color: #166534; }
.rm-now .rm-badge { background: var(--gold); color: var(--ink); }
.rm-next .rm-badge { background: var(--gold-soft); color: var(--gold-text); }
.conditions { list-style: none; padding: 0; margin: 10px 0 18px; }
.conditions li { padding: 8px 0 8px 34px; position: relative; border-bottom: 1px solid var(--line); }
.conditions li:last-child { border-bottom: 0; }
.conditions li::before { position: absolute; left: 4px; top: 7px; font-weight: 900; }
.conditions li.yes::before { content: "✓"; color: var(--green); }
.conditions li.no::before { content: "○"; color: var(--muted); }
@media (max-width: 600px) { #live { grid-template-columns: 1fr !important; } }

/* Opening hours form (retailer page) */
fieldset.hours { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 16px; margin: 8px 0 16px; }
fieldset.hours legend { font-weight: 700; padding: 0 6px; }
.hours-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.hours-row .check { min-width: 150px; margin: 0; }
.hours-row input[type=time] { width: auto; min-width: 110px; }
