/* Consumers: index.html. Light, clean, brand-neutral look with a dark mode; no framework, no web fonts.
   Created: 2026-10-22 17:34 · claude-opus-5-5 · sub-agent (package Z)
   Last updated: 2026-10-22 18:05 · claude-opus-5-5 (company logo top right) */

:root {
  --bg: #f5f4f0;
  --bg-2: #ecebe5;
  --card: #ffffff;
  --ink: #17191c;
  --ink-2: #4a4f57;
  --muted: #6f747c;
  --line: #e2e0d9;
  --line-2: #d3d0c7;
  --accent: #0f6b5c;
  --accent-ink: #ffffff;
  --accent-soft: #e3f1ed;
  --accent-line: #a9d3c8;
  --ok: #157347;
  --ok-soft: #e4f4ea;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --info-soft: #eef2f8;
  --info: #2d4f86;
  --focus: #1f7ae0;
  --shadow: 0 1px 2px rgb(20 20 20 / 0.04), 0 8px 28px rgb(20 20 20 / 0.06);
  --radius: 18px;
  --radius-s: 11px;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --logo-filter: invert(1);
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121417;
    --bg-2: #1a1d21;
    --card: #1b1e23;
    --ink: #eceef1;
    --ink-2: #c3c7ce;
    --muted: #8f959e;
    --line: #2a2e35;
    --line-2: #383d45;
    --accent: #3fb59c;
    --accent-ink: #06261f;
    --accent-soft: #16302a;
    --accent-line: #24594d;
    --ok: #4cc38a;
    --ok-soft: #15291f;
    --bad: #f97066;
    --bad-soft: #2e1715;
    --info-soft: #18212f;
    --info: #9db7e3;
    --focus: #6aa8ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.25);
    --logo-filter: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121417; --bg-2: #1a1d21; --card: #1b1e23; --ink: #eceef1; --ink-2: #c3c7ce; --muted: #8f959e;
  --line: #2a2e35; --line-2: #383d45; --accent: #3fb59c; --accent-ink: #06261f; --accent-soft: #16302a;
  --accent-line: #24594d; --ok: #4cc38a; --ok-soft: #15291f; --bad: #f97066; --bad-soft: #2e1715;
  --info-soft: #18212f; --info: #9db7e3; --focus: #6aa8ff; --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.25);
  --logo-filter: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
b { font-weight: 650; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.break { overflow-wrap: anywhere; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

/* ---- header ---- */
.top {
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  max-width: 1040px; margin: 0 auto; padding: 18px 24px 0;
}
/* company logo (white on transparent, assets/tisch-logo-white.webp): inverted to black in light mode */
.brand { display: block; line-height: 0; border-radius: 6px; }
.logo { display: block; height: 52px; width: auto; filter: var(--logo-filter); }
.lang {
  font: inherit; font-size: 14px; color: var(--ink-2); background: transparent;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.lang:hover { background: var(--bg-2); }
.sim-banner {
  max-width: 1040px; margin: 14px auto 0; padding: 8px 24px; font-size: 13px; color: var(--info);
  background: var(--info-soft); border-radius: 10px; width: calc(100% - 48px);
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 22px 24px 48px; }
.intro { margin: 6px 0 26px; }
.intro h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 720; }
.subtitle { color: var(--ink-2); margin-top: 8px; max-width: 46ch; font-size: 17px; }

/* ---- layout ---- */
.layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 36px 30px; min-height: 380px; outline: none;
}
.card > * > * + * { margin-top: 18px; }
.card form > * + * { margin-top: 18px; }

/* ---- stepper ---- */
.stepper { position: sticky; top: 20px; }
.progress { display: none; }
.stepper ol { list-style: none; margin: 0; padding: 0; position: relative; }
.stepper li { position: relative; }
.stepper li + li { margin-top: 4px; }
.stepper li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 38px; bottom: -8px; width: 2px; background: var(--line);
  border-radius: 2px;
}
.stepper li.done:not(:last-child)::after { background: var(--accent-line); }
.stepper button, .step-static {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px; border: 0; background: none;
  font: inherit; color: var(--muted); text-align: left; border-radius: 12px;
}
.stepper button { cursor: pointer; color: var(--ink-2); }
.stepper button:hover { background: var(--bg-2); }
.step-dot {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 650; background: var(--card); border: 2px solid var(--line-2); color: var(--muted);
  position: relative; z-index: 1;
}
.step-dot .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.stepper li.done .step-dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.stepper li.current .step-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper li.current .step-label { color: var(--ink); font-weight: 650; }
.step-label { font-size: 15px; }

/* ---- type in the card ---- */
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 650; }
.card h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-top: 6px !important; }
.card h3 { font-size: 16px; font-weight: 650; }
.lead { color: var(--ink-2); font-size: 17px; max-width: 60ch; }

/* ---- icons ---- */
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 16px; border-radius: 12px; padding: 12px 22px; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
  min-height: 48px;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.07); }
.btn.secondary { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn.secondary:hover:not(:disabled) { background: var(--bg-2); }
.btn.ghost { background: transparent; color: var(--ink-2); }
.btn.ghost:hover:not(:disabled) { background: var(--bg-2); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.btn.big { min-height: 64px; padding: 16px 34px; font-size: 18px; border-radius: 16px; }
.btn.big .icon { width: 24px; height: 24px; }
.link {
  font: inherit; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.link:disabled { color: var(--muted); cursor: default; }
.actions {
  display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap;
  padding-top: 22px; margin-top: 26px !important; border-top: 1px solid var(--line);
}
.actions > :only-child { margin-left: auto; }

/* ---- step 1 ---- */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checks li {
  display: grid; grid-template-columns: 28px 1fr; align-items: center; column-gap: 10px;
  padding: 12px 14px; border-radius: var(--radius-s); background: var(--bg); border: 1px solid var(--line);
}
.checks li small { grid-column: 2; color: var(--muted); font-size: 13px; }
.checks li .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.checks li.ok .icon { color: var(--ok); }
.checks li.no .icon { color: var(--bad); }
.checks li.maybe .icon { color: var(--muted); }
.ok-line { color: var(--ok); font-weight: 600; }
.hint-card {
  border: 1px solid var(--line-2); background: var(--bg); border-radius: var(--radius-s); padding: 20px 22px;
}
.hint-card h3 { font-size: 18px; }
.hint-card p { margin-top: 8px; color: var(--ink-2); }
.linkbox { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.linkbox code {
  font-family: var(--mono); font-size: 13px; padding: 8px 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 9px; overflow-wrap: anywhere; flex: 1 1 220px;
}

/* ---- step 2 ---- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.way {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg);
}
.way p { color: var(--ink-2); margin-top: 6px; }
.way-n {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); font-size: 14px;
}
.way-n .icon { width: 18px; height: 18px; }
.picture {
  margin: 18px 0 0; border: 1.5px dashed var(--line-2); border-radius: var(--radius-s); padding: 18px; text-align: center;
  background: repeating-linear-gradient(135deg, transparent 0 12px, var(--bg) 12px 24px);
}
.picture figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pi svg { width: min(100%, 340px); height: auto; display: block; margin: 0 auto; }
.pi-body { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.pi-screen { fill: #0d1513; }
.pi-sel { fill: #2e6b5e; }
.pi-text { fill: #9fe0cf; font: 600 12px var(--mono); }
.pi-text.sel { fill: #ffffff; }
.pi-text.dim { fill: #5f8f84; }
.pi-btn { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; }
.pi-mark { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }

/* ---- step 3 ---- */
.connect-hero {
  display: grid; justify-items: center; gap: 16px; padding: 34px 16px; border-radius: var(--radius-s);
  background: radial-gradient(120% 120% at 50% 0%, var(--accent-soft), transparent 70%);
}

/* ---- busy, alerts ---- */
.busy { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); font-size: 15px;
}
.alert .icon { margin-top: 2px; }
.alert p + .btn, .alert div > .btn { margin-top: 10px; }
.alert.bad { background: var(--bad-soft); color: var(--bad); }
.alert.bad p { color: var(--ink); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.ok p { color: var(--ink); }
.alert.info { background: var(--info-soft); color: var(--info); }
.alert.info p { color: var(--ink); }

/* ---- step 4 ---- */
.facts {
  display: grid; grid-template-columns: minmax(150px, max-content) 1fr; margin: 18px 0 0;
  border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden;
}
.facts dt, .facts dd { padding: 13px 16px; margin: 0; border-top: 1px solid var(--line); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14px; background: var(--bg); }
.facts dd { font-weight: 550; min-width: 0; }
.pw { display: inline-flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pw .link { font-weight: 400; font-size: 14px; }

/* ---- step 5 ---- */
.group { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 6px 18px 18px; margin: 0; min-width: 0; }
.group > * + * { margin-top: 14px; }
.group legend { padding: 0 6px; margin-left: -6px; }
.group.off .field, .group.off .radio, .group.off .check, .group.off .advanced { opacity: 0.45; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; cursor: pointer; }
.switch span { display: inline-flex; gap: 8px; align-items: center; }
.switch input, .check input, .radio input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input-wrap { position: relative; }
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line-2); border-radius: 11px; padding: 12px 14px; min-height: 48px;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input:disabled { background: var(--bg); }
.field.invalid input { border-color: var(--bad); }
.field.invalid input:focus { box-shadow: 0 0 0 4px var(--bad-soft); }
.input-wrap .inset { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; }
.input-wrap:has(.inset) input { padding-right: 96px; }
.help { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 1.2em; }
.help .err { color: var(--bad); font-weight: 550; }
.counter { white-space: nowrap; font-variant-numeric: tabular-nums; }
.check { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.radio {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; background: var(--card);
}
.radio input { margin-top: 3px; }
.radio span { display: grid; gap: 2px; min-width: 0; }
.radio small { color: var(--muted); overflow-wrap: anywhere; }
.radio.selected { border-color: var(--accent); background: var(--accent-soft); }
.advanced > summary { cursor: pointer; color: var(--ink-2); font-size: 14px; padding: 4px 0; }
.advanced > * + * { margin-top: 10px; }

/* ---- step 6 ---- */
.choices { display: grid; gap: 12px; }
.choice {
  display: flex; gap: 16px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink);
  padding: 20px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card); cursor: pointer;
}
.choice .icon { width: 26px; height: 26px; color: var(--accent); margin-top: 1px; }
.choice span { display: grid; gap: 4px; }
.choice b { font-size: 17px; }
.choice small { color: var(--ink-2); font-size: 15px; }
.choice:hover:not(:disabled) { border-color: var(--accent); }
.choice.primary { border-color: var(--accent); background: var(--accent-soft); }
.choice:disabled { opacity: 0.5; cursor: not-allowed; }
.finished { text-align: center; padding: 30px 0 0; }
.finished h2 { max-width: 30ch; margin: 18px auto 0 !important; font-size: 22px !important; font-weight: 620 !important; }
.finished .actions { justify-content: center; }
.big-ok {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  background: var(--ok-soft); color: var(--ok);
}
.big-ok .icon { width: 40px; height: 40px; stroke-width: 2.4; }

/* ---- support log ---- */
.log-panel { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 18px; background: var(--card); }
.log-panel > summary { cursor: pointer; padding: 14px 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.log-panel[open] { padding-bottom: 16px; }
.log-panel p { font-size: 13px; }
.log {
  font: 12px/1.5 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0;
}
.foot { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---- phone ---- */
@media (max-width: 760px) {
  .top { padding: 14px 16px 0; gap: 14px; }
  .logo { height: 42px; }
  .sim-banner { width: calc(100% - 32px); padding: 8px 12px; }
  .wrap { padding: 16px 16px 36px; }
  .intro { margin: 2px 0 16px; }
  .subtitle { font-size: 15px; }
  .layout { grid-template-columns: 1fr; gap: 14px; }
  .stepper { position: static; }
  .stepper ol { display: flex; gap: 6px; justify-content: space-between; }
  .stepper li + li { margin-top: 0; }
  .stepper li:not(:last-child)::after { display: none; }
  .stepper button, .step-static { padding: 0; justify-content: center; width: auto; }
  .step-label { display: none; }
  .stepper li.current .step-label { display: none; }
  .progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
  .bar { flex: 1; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
  .bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--accent); border-radius: 5px; transition: width 0.3s; }
  .card { padding: 22px 18px 20px; border-radius: 16px; min-height: 0; }
  .ways { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-top: 1px solid var(--line); padding-bottom: 2px; background: none; font-size: 13px; }
  .facts dd { border-top: 0; padding-top: 0; }
  .facts dt:first-of-type { border-top: 0; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions > :only-child { margin-left: 0; }
  .btn.big { width: 100%; }
}
