/* wash.iotomates.com. Brand: iOtomates Wash green, rounded, calm. "Keep it simple. Keep it clean." */
:root {
  --brand: #0E7C66;
  --brand-2: #2BB596;
  --brand-deep: #084d40;
  --ink: #0f241f;
  --muted: #546a64;
  --line: #dde7e3;
  --bg: #f4f8f6;
  --card: #ffffff;
  --sun: #ffd84d;
  --orange: #f59e0b;
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(8, 77, 64, 0.35);
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e8f3ef; --muted: #9fb6ae; --line: #22332e; --bg: #0b1412; --card: #111d1a; --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; }
p { margin: 0 0 14px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px/1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(8, 77, 64, 0.5); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.nav a.cta { background: var(--brand); color: #fff; padding: 9px 16px; }
.nav a.cta:hover { background: var(--brand-deep); color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; color: var(--ink); font: inherit; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 16px; padding: 14px 20px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; }
.btn svg { width: 20px; height: 20px; }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #07463b 0%, var(--brand) 48%, var(--brand-2) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 0%, rgba(255, 255, 255, 0.22), transparent 70%); pointer-events: none; }
.hero canvas.bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 110px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; margin-bottom: 18px; }
.hero h1 span { color: var(--sun); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); opacity: 0.9; max-width: 560px; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 1; }
.hero .wave path { fill: var(--bg); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 90px; } .phone { margin: 0 auto; } }

/* Phone mock (the app's Home header) */
.phone { width: min(320px, 86vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: #0b0f0e; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #2a2f2e; justify-self: center; transform: rotate(-3deg); }
.phone .screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, #07463b, var(--brand) 55%, var(--brand-2)); padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0b0f0e; }
.phone .row { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.phone .row img { width: 26px; height: 26px; border-radius: 7px; }
.phone .hello { font: 800 22px/1.1 ui-rounded, -apple-system, sans-serif; }
.phone .sub { font-size: 12px; opacity: 0.85; margin-top: -6px; }
.phone .glass { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 18px; padding: 12px; }
.phone .member { display: flex; justify-content: space-between; align-items: center; }
.phone .member small { display: block; font-size: 9px; letter-spacing: 0.15em; opacity: 0.75; font-weight: 700; }
.phone .member code { font-size: 13px; }
.phone .pts { text-align: right; font: 800 26px/1 ui-rounded, sans-serif; }
.phone .pts span { display: block; font-size: 10px; font-weight: 600; opacity: 0.8; }
.phone .chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.phone .chip { font-size: 10px; font-weight: 700; background: rgba(0, 0, 0, 0.16); border-radius: 999px; padding: 4px 8px; display: inline-flex; gap: 5px; align-items: center; }
.phone .chip i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.phone .scan { margin-top: auto; background: #fff; color: var(--brand); border-radius: 16px; padding: 12px 14px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; }

/* Sections */
section.block { padding: 72px 0; }
.kicker { color: var(--brand); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.block h2 { font-size: clamp(30px, 4vw, 44px); }
.block .intro { color: var(--muted); font-size: 18px; max-width: 660px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0; }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); margin-bottom: 16px; box-shadow: 0 10px 24px -12px var(--brand); }
.icon-badge svg { width: 26px; height: 26px; }
.step-no { font: 800 13px/1 ui-rounded, sans-serif; color: var(--brand); letter-spacing: 0.1em; margin-bottom: 8px; display: block; }

/* Owners band */
.owners { background: linear-gradient(135deg, #062f28, #0a5a4b); color: #fff; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.owners p, .owners li { color: rgba(255, 255, 255, 0.82); }
.owners ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.owners li { display: flex; gap: 10px; align-items: flex-start; }
.owners li svg { flex: none; width: 20px; height: 20px; color: var(--brand-2); margin-top: 3px; }
.floor-mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.floor-mock div { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 12px 10px; text-align: center; font-weight: 800; }
.floor-mock div i { display: block; width: 12px; height: 12px; border-radius: 50%; margin: 0 auto 8px; }
.floor-mock .g i { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.floor-mock .b i { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.floor-mock .w i { background: #fff; box-shadow: 0 0 10px #fff; }
.floor-mock .r i { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
@media (max-width: 860px) { .owners { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Download */
.download { text-align: center; }
.download .stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 10px 18px; text-decoration: none; font-weight: 700; opacity: 0.92; }
a.store:hover { opacity: 1; transform: translateY(-1px); }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; }
.store svg { width: 26px; height: 26px; }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 800; color: #7a4a00; background: #ffe7b0; border-radius: 999px; padding: 3px 10px; margin-left: 6px; }

/* Find / branch */
.search { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.search input { flex: 1; font: inherit; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.branch-card { display: grid; gap: 10px; }
.branch-card .meta { color: var(--muted); font-size: 15px; }
.avail { display: flex; gap: 8px; flex-wrap: wrap; }
.avail span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--brand); border-radius: 999px; padding: 5px 11px; }
.avail span i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.avail span.none i { background: #ef4444; }
.beta-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: var(--orange); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* Documents */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc h3 { font-size: 19px; margin-top: 26px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 88%, var(--muted)); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; }
.doc th { color: var(--muted); }
.doc blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--orange); background: color-mix(in srgb, var(--orange) 9%, transparent); border-radius: 0 12px 12px 0; }
.doc pre { background: #0f1f1b; color: #d6f5ec; padding: 14px; border-radius: 12px; overflow-x: auto; font-size: 13px; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.doc .updated { color: var(--muted); font-size: 14px; }

/* Simple status pages */
.status-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.status-page .card { max-width: 480px; width: 100%; }
.status-page .big-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.status-page .big-icon svg { width: 38px; height: 38px; }
.status-page .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--brand); }
.site-footer .tag { font-weight: 800; color: var(--ink); }

/* Utility classes (pages can't use inline style attributes under the Content Security Policy) */
.phone .sub.flush { margin: 0; }
.kicker.mint { color: #7ff0d3; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.intro.center { margin-left: auto; margin-right: auto; }
.hero .wrap.single { grid-template-columns: 1fr; padding-bottom: 100px; }

/* Account & verification (account.html) */
.account { max-width: 640px; }
.acct-card { margin: 16px 0; }
.acct-card h2 { margin-top: 0; }
.acct-machine { padding: 10px 0; border-top: 1px solid rgba(127,127,127,.2); }
.acct-machine:first-of-type { border-top: 0; }
.acct-code { font-size: 22px; font-weight: 800; letter-spacing: 1px; margin: 4px 0 0; }
.acct-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 15px; }
.acct-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.acct-free { color: var(--brand); font-weight: 600; }
.acct-total { font-size: 20px; font-weight: 700; margin: 12px 0; }
.acct-machine-pay { border: 2px solid var(--brand); }
.acct-beta { background: rgba(217,119,6,.12); color: #92400e; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.acct-beta p { margin: 4px 0 0; font-size: 14px; }
.acct-error { color: #b42318; font-weight: 600; }
.acct-danger { color: #b42318; border-color: #b42318; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.brand-lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-lockup small { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-top: 3px; }
.acct-field { display: grid; gap: 6px; margin: 10px 0; font-weight: 600; font-size: 15px; }
.acct-field input, .acct-field select { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.acct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Find a laundromat map (M45) */
.find-map { height: 360px; border-radius: 16px; margin: 16px 0 4px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.find-map-credit { margin: 0 0 16px; font-size: 12px; }
.find-pin { background: var(--brand); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.find-pin.none { background: #8a8f8c; }
.find-distance { font-weight: 700; color: var(--brand); }
@media (max-width: 600px) { .find-map { height: 280px; } }

/* Messages (roadmap 10) */
.chat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 6px 0; font: inherit; cursor: pointer; color: var(--ink); }
.chat-row-title { font-weight: 700; flex: 1 1 auto; }
.chat-unread { background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.chat { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.chat-log { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.chat-msg { align-self: flex-start; max-width: 80%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 12px; white-space: pre-wrap; }
.chat-msg.mine { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-msg.hidden { font-style: italic; opacity: .7; }
.chat textarea, .announce input, .announce textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); margin: 4px 0; }
.news p { margin: 6px 0; }

/* Beta Testing (wash.iotomates.com/beta.html, M62) */
.beta-role, .beta-tester, .beta-result { margin: 12px 0; }
.beta-role summary, .beta-guide summary { cursor: pointer; padding: 6px 0; }
.beta-guide { margin: 8px 0; }
.beta-bar { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.08); margin: 8px 0; overflow: hidden; }
.beta-bar > div { height: 100%; background: currentColor; opacity: 0.6; }
.beta-tasks { padding-left: 20px; display: grid; gap: 14px; }
.beta-task { display: grid; gap: 6px; }
.beta-chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.8rem; background: rgba(0, 0, 0, 0.06); }
.beta-chip.ok, .beta-review.ok { color: #15803d; }
.beta-chip.bad, .beta-review.bad { color: #b91c1c; }
.beta-chip.warn { color: #b45309; }
.beta-table { border-collapse: collapse; margin: 8px 0; }
.beta-table th, .beta-table td { border: 1px solid rgba(0, 0, 0, 0.12); padding: 4px 8px; text-align: left; }
.beta-dialog { max-width: 520px; width: calc(100% - 32px); border-radius: 16px; border: 0; padding: 20px; }
.beta-dialog textarea, .beta-dialog input, .beta-dialog select { width: 100%; box-sizing: border-box; }
.beta-roles-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0; }

/* Android beta steps (#android, 2026-10-19) */
.android-steps { max-width: 640px; margin: 28px auto 0; text-align: left; }
.android-steps ol { padding-left: 20px; display: grid; gap: 8px; }

/* M76: receipts (wash.iotomates.com/receipt.html) */
.receipt h1 { font-size: 1.5rem; margin: 0 0 4px; }
.receipt h2 { font-size: 1.1rem; margin: 8px 0 4px; }
.receipt hr { border: 0; border-top: 1px dashed var(--line); margin: 12px 0; }
.receipt-line { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0; }
@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .receipt { box-shadow: none; border: 0; }
}

/* M80: deletable rows (swipe left on phones, long press or Select to pick several) */
.deletable { display: flex; align-items: center; gap: 8px; transition: transform .15s ease; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deletable > :last-child { flex: 1 1 auto; min-width: 0; }
.deletable.selected { background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 12px; }
.chat-log .deletable { width: 100%; }
.chat-log .deletable:has(.mine) { justify-content: flex-end; }
.chat-log .deletable > .chat-msg { flex: 0 1 auto; }

/* Work → Intake on wash.iotomates.com: the payment QR for the customer's phone */
.pay-qr { max-width: 280px; margin: 12px auto; background: #fff; padding: 8px; border-radius: 12px; }
.pay-qr svg { width: 100%; height: auto; display: block; }

/* Car and motorcycle wash bays (klean-app/hq/bay-art.js, TJ 2026-10-22): while running, foam, bubbles and cloud roll
   through blue, green and white. The same rules are in iOtomates Wash HQ (hq.css). */
@keyframes kbFill { 0%, 100% { fill: #5bb4ff; } 33% { fill: #3fd0a8; } 66% { fill: #ffffff; } }
@keyframes kbLine { 0%, 100% { stroke: #5bb4ff; } 33% { stroke: #3fd0a8; } 66% { stroke: #ffffff; } }
.kb-on .kb-fill { animation: kbFill 2.4s ease-in-out infinite; }
.kb-on .kb-line { animation: kbLine 2.4s ease-in-out infinite; }
.kb-on .kb-d1 { animation-delay: -.4s; } .kb-on .kb-d2 { animation-delay: -.8s; } .kb-on .kb-d3 { animation-delay: -1.2s; }
.kb-on .kb-d4 { animation-delay: -1.6s; } .kb-on .kb-d5 { animation-delay: -2s; }
@media (prefers-reduced-motion: reduce) { .kb-on .kb-fill, .kb-on .kb-line { animation: none; } }

/* Laundromat pages (scripts/build-branch-pages.py) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; margin: 18px 0; }
.facts dt { font-size: 0.8rem; opacity: 0.7; }
.facts dd { margin: 0; font-weight: 600; }
