/* Hotido brand stylesheet (hotido.com, ADR-045 / SPEC-009).
   Self-contained: the Hotido pages are standalone templates, so this file owns
   reset, tokens, chrome and components. Light is the base; dark is a token swap
   under both the explicit data-theme and the OS preference. Ukraine-first palette
   — deep navy ground with a wheat/amber accent — kept sober enough for a page a
   company director reads at work. */

:root {
  --ho-bg: #f5f8fb;
  --ho-panel: #ffffff;
  --ho-soft: #eef3f9;
  --ho-ink: #0b2239;
  --ho-muted: #55708c;
  --ho-faint: #8199b3;
  --ho-line: #d9e3ee;
  --ho-line2: #e9eff6;
  --ho-navy: #0d3b66;
  --ho-navy-2: #12558f;
  --ho-amber: #d99816;
  --ho-amber-soft: #fdf3dd;
  --ho-green: #0d8a5f;
  --ho-green-soft: #e2f5ec;
  --ho-slate-soft: #eaf0f7;
  --ho-shadow: 0 1px 2px rgba(11, 34, 57, .06);
  --ho-shadow-lg: 0 8px 28px rgba(11, 34, 57, .10);
  --ho-r: 10px;
  --ho-maxw: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ho-bg: #08131f;
    --ho-panel: #0e1e30;
    --ho-soft: #0c1a2a;
    --ho-ink: #e8f0f9;
    --ho-muted: #9db2c9;
    --ho-faint: #6d859f;
    --ho-line: #1c3149;
    --ho-line2: #152538;
    --ho-navy: #3d8fd4;
    --ho-navy-2: #62a9e6;
    --ho-amber: #e8b445;
    --ho-amber-soft: #2a2113;
    --ho-green: #35b184;
    --ho-green-soft: #10281f;
    --ho-slate-soft: #132437;
    --ho-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    --ho-shadow-lg: 0 8px 28px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  --ho-bg: #08131f;
  --ho-panel: #0e1e30;
  --ho-soft: #0c1a2a;
  --ho-ink: #e8f0f9;
  --ho-muted: #9db2c9;
  --ho-faint: #6d859f;
  --ho-line: #1c3149;
  --ho-line2: #152538;
  --ho-navy: #3d8fd4;
  --ho-navy-2: #62a9e6;
  --ho-amber: #e8b445;
  --ho-amber-soft: #2a2113;
  --ho-green: #35b184;
  --ho-green-soft: #10281f;
  --ho-slate-soft: #132437;
  --ho-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  --ho-shadow-lg: 0 8px 28px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ho-bg);
  color: var(--ho-ink);
  line-height: 1.55;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }

.ho-wrap { max-width: var(--ho-maxw); margin: 0 auto; padding: 0 20px; }

/* ── chrome ───────────────────────────────────────────── */
.ho-top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ho-panel) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--ho-line);
}
.ho-top-in { display: flex; align-items: center; gap: 18px; height: 60px; }
.ho-logo { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 17px; flex: none; }
.ho-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
  background: linear-gradient(140deg, var(--ho-navy), var(--ho-navy-2));
}
.ho-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
.ho-nav a, .ho-nav span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 7px; font-size: 14px; font-weight: 550;
}
.ho-nav a { color: var(--ho-ink); }
.ho-nav a:hover { background: var(--ho-soft); }
.ho-nav span { color: var(--ho-faint); cursor: default; }
.ho-nav .ho-soon {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ho-muted); background: var(--ho-slate-soft);
  border-radius: 4px; padding: 2px 5px;
}

/* ── hero ─────────────────────────────────────────────── */
.ho-hero { padding: 56px 0 40px; }
.ho-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ho-navy); background: var(--ho-slate-soft);
  border-radius: 999px; padding: 6px 12px; margin-bottom: 18px;
}
.ho-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; max-width: 18ch; }
.ho-lede { font-size: clamp(16px, 2vw, 19px); color: var(--ho-muted); max-width: 62ch; margin: 16px 0 0; }
.ho-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ho-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 9px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
}
.ho-btn-primary { background: var(--ho-navy); color: #fff; box-shadow: var(--ho-shadow); }
.ho-btn-primary:hover { background: var(--ho-navy-2); }
.ho-btn-ghost { border-color: var(--ho-line); color: var(--ho-ink); background: var(--ho-panel); }
.ho-btn-ghost:hover { background: var(--ho-soft); }

/* ── generic section + cards ──────────────────────────── */
.ho-sec { padding: 44px 0; border-top: 1px solid var(--ho-line2); }
.ho-sec h2 { font-size: clamp(21px, 3vw, 27px); font-weight: 750; }
.ho-sec-note { color: var(--ho-muted); margin: 10px 0 0; max-width: 70ch; }
.ho-grid { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ho-card {
  background: var(--ho-panel); border: 1px solid var(--ho-line);
  border-radius: var(--ho-r); padding: 20px; box-shadow: var(--ho-shadow);
}
.ho-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.ho-card p { margin: 0; color: var(--ho-muted); font-size: 14.5px; }
.ho-card-icon {
  width: 36px; height: 36px; border-radius: 9px; margin-bottom: 14px;
  display: grid; place-items: center; background: var(--ho-slate-soft); color: var(--ho-navy);
}
.ho-card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── phase list (landing compact + roadmap full) ──────── */
.ho-phases { display: grid; gap: 14px; margin-top: 26px; }
.ho-phase {
  background: var(--ho-panel); border: 1px solid var(--ho-line);
  border-radius: var(--ho-r); padding: 18px 20px; box-shadow: var(--ho-shadow);
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; align-items: start;
}
.ho-phase-no {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; background: var(--ho-slate-soft); color: var(--ho-navy);
}
.ho-phase-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ho-phase-head h3 { font-size: 17px; font-weight: 700; }
.ho-phase p { color: var(--ho-muted); margin: 8px 0 0; font-size: 14.5px; }
.ho-phase ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--ho-muted); font-size: 14px; }
.ho-phase li { margin: 4px 0; }
.ho-accept {
  margin-top: 14px; padding: 10px 12px; border-radius: 8px;
  background: var(--ho-soft); border: 1px solid var(--ho-line2);
  font-size: 13.5px; color: var(--ho-ink);
}
.ho-accept b { color: var(--ho-navy); font-weight: 700; }

.ho-badge {
  font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 5px; padding: 3px 8px; white-space: nowrap;
}
.ho-badge.live { background: var(--ho-green-soft); color: var(--ho-green); }
.ho-badge.building { background: var(--ho-amber-soft); color: var(--ho-amber); }
.ho-badge.next { background: var(--ho-slate-soft); color: var(--ho-navy); }
.ho-badge.planned { background: var(--ho-soft); color: var(--ho-faint); }

/* ── honesty banner ───────────────────────────────────── */
.ho-honest {
  margin-top: 30px; padding: 16px 18px; border-radius: var(--ho-r);
  background: var(--ho-amber-soft); border: 1px solid color-mix(in srgb, var(--ho-amber) 35%, transparent);
  font-size: 14.5px; color: var(--ho-ink);
}
.ho-honest b { font-weight: 750; }

/* ── form ─────────────────────────────────────────────── */
.ho-form { display: grid; gap: 16px; margin-top: 26px; max-width: 640px; }
.ho-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ho-field { display: grid; gap: 6px; }
.ho-field label { font-size: 13px; font-weight: 650; color: var(--ho-muted); }
.ho-field input, .ho-field select, .ho-field textarea {
  font: inherit; font-size: 15px; color: var(--ho-ink);
  background: var(--ho-panel); border: 1px solid var(--ho-line);
  border-radius: 8px; padding: 11px 12px; width: 100%;
  /* 16px on iOS avoids the zoom-on-focus jump; 15px + this keeps it steady. */
  min-height: 44px;
}
.ho-field textarea { min-height: 96px; resize: vertical; }
.ho-field input:focus, .ho-field select:focus, .ho-field textarea:focus {
  outline: 2px solid var(--ho-navy-2); outline-offset: 1px; border-color: transparent;
}
.ho-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ho-muted); }
.ho-consent input { width: 18px; height: 18px; min-height: 0; flex: none; margin-top: 3px; }
.ho-alert { padding: 12px 14px; border-radius: 8px; font-size: 14.5px; }
.ho-alert.err { background: var(--ho-amber-soft); border: 1px solid color-mix(in srgb, var(--ho-amber) 45%, transparent); }
.ho-alert.ok { background: var(--ho-green-soft); border: 1px solid color-mix(in srgb, var(--ho-green) 35%, transparent); color: var(--ho-ink); }

/* ── footer ───────────────────────────────────────────── */
.ho-foot { border-top: 1px solid var(--ho-line); padding: 30px 0 44px; margin-top: 20px; color: var(--ho-muted); font-size: 14px; }
.ho-foot-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.ho-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.ho-langs a { padding: 5px 9px; border-radius: 6px; border: 1px solid var(--ho-line); font-size: 13px; }
.ho-langs a:hover { background: var(--ho-soft); }
.ho-langs a[aria-current="true"] { background: var(--ho-navy); color: #fff; border-color: transparent; }

@media (max-width: 640px) {
  .ho-top-in { height: 56px; gap: 10px; }
  .ho-nav { gap: 2px; }
  .ho-nav a, .ho-nav span { padding: 6px 8px; font-size: 13px; }
  .ho-hero { padding: 36px 0 28px; }
  .ho-phase { grid-template-columns: 1fr; gap: 12px; }
}
