:root {
  --bg: #fff;
  --ink: #111;
  --muted: #5b5b5b;
  --line: #ececec;
  --soft: #f6f6f6;
  --accent: #ff5a00;
  --accent-ink: #fff;
  --dock: #171717;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
  min-height: 100svh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
header.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; gap: 10px;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; letter-spacing: -0.03em;
  margin-right: auto;
}
.brand img, .brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px;
  color: var(--muted);
}
nav.main a:hover, nav.main a.is-on { background: var(--soft); color: var(--ink); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; text-decoration: none; cursor: pointer;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  padding: 12px 18px; min-height: 44px;
}
.btn-orange { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-dark { background: var(--dock); color: #fff; }
.btn:hover { filter: brightness(0.97); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.pill-orange { background: var(--accent); color: #fff; }
.pill-soft { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px;
  align-items: center; padding: 48px 0 28px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.045em; margin: 14px 0 16px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.msg-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.msg {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600;
  min-height: 36px;
}
.msg:hover { background: var(--soft); }
.hero-card {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: var(--soft); min-height: 280px;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.section { padding: 56px 0; }
.section h2 {
  font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; margin: 0 0 8px;
}
.kicker { color: var(--muted); margin: 0 0 24px; }
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: #fff; text-decoration: none; display: block;
}
.card:hover { border-color: #ddd; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.price { font-weight: 700; margin-top: 12px; }
.case {
  overflow: hidden; padding: 0;
}
.case img { height: 220px; object-fit: cover; width: 100%; }
.case .pad { padding: 18px; }
.prose { max-width: 68ch; }
.prose p { color: #333; font-size: 17px; }
.prose ul { padding-left: 18px; color: #333; }
.faq details {
  border-top: 1px solid var(--line); padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
footer.foot {
  border-top: 1px solid var(--line); padding: 28px 0 120px; color: var(--muted); font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.made { margin-top: 22px; color: var(--ink); font-weight: 600; }
.dock {
  pointer-events: none;
  position: fixed; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px) + var(--vv, 0px));
  z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  width: min(390px, calc(100vw - 24px));
}
.dock * { pointer-events: auto; }
.dock-collapsed { display: flex; gap: 8px; align-items: center; }
.phone-fab, .chat-fab {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.phone-fab {
  width: 48px; height: 48px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 24px -14px rgba(27,22,18,.35);
}
.chat-fab {
  height: 48px; padding: 0 16px; gap: 8px; border-radius: 999px; background: var(--dock); color: #fff;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 28px -14px rgba(27,22,18,.45);
}
.panel {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); overflow: hidden;
}
.thread { max-height: 320px; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 90%; padding: 10px 12px; border-radius: 14px; font-size: 14px; }
.bubble.bot { background: var(--soft); align-self: flex-start; }
.bubble.me { background: var(--ink); color: #fff; align-self: flex-end; }
.composer {
  display: flex; gap: 8px; align-items: center; padding: 8px;
  border-top: 1px solid var(--line); background: #fff;
}
.composer input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-size: 16px; padding: 10px 8px; min-width: 0;
  font-family: inherit;
}
.composer button {
  width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer;
}
.composer button:disabled { opacity: .35; }
@media (max-width: 860px) {
  .hero, .grid-3, .grid-2, .foot-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
  .hero { padding-top: 28px; }
  .top-actions .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
