:root {
  --ink: #15171c;
  --muted: #5b6270;
  --line: #e3e6ec;
  --bg: #f7f7f5;
  --card: #ffffff;
  --brand: #1f4d3a;
  --brand-ink: #ffffff;
  --accent: #f2c14e;
  --radius: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
a { color: var(--brand); }
button, .button {
  font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 12px 20px;
  background: var(--brand); color: var(--brand-ink); cursor: pointer; text-decoration: none; display: inline-block;
}
button.secondary, .button.secondary { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
input, select, textarea {
  font: inherit; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
textarea { resize: vertical; min-height: 70px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.hint { color: var(--muted); font-size: 14px; font-weight: 400; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 24px 20px 80px; }

/* Landing */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 48px 0; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: var(--muted); }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; letter-spacing: -0.01em; font-size: 20px; color: var(--ink); text-decoration: none; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.box h3 { margin: 0 0 6px; }
.price { font-size: 44px; font-weight: 800; }
.phone {
  width: 300px; height: 600px; border-radius: 40px; border: 10px solid #111; overflow: hidden; margin: 0 auto;
  background: #111; box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
section { margin-top: 56px; }
section h2 { font-size: 28px; letter-spacing: -0.01em; }
@media (max-width: 800px) { .hero, .steps3, .tool { grid-template-columns: 1fr !important; } }

/* Owner tool */
.tool { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.step h2 { margin: 0 0 4px; font-size: 20px; }
.step[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 14px; margin-right: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; }
.drop.over { border-color: var(--brand); background: #f0f5f2; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.pick { cursor: pointer; }
tr.pick:hover, tr.pick.on { background: #f0f5f2; }
.scroll { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.split { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.chip { background: #f0f2f5; border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.chip b { font-size: 16px; }
.ok { color: #1a7f45; font-weight: 600; }
.warn { color: #a5560b; }
.err { color: #b42318; font-weight: 600; }
.sticky { position: sticky; top: 20px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
input[type="color"] { padding: 2px; height: 42px; }
input[type="range"] { padding: 0; }
.tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag.r { background: #e3f4ea; color: #1a7f45; }
.tag.w { background: #fdf0dc; color: #a5560b; }
footer { color: var(--muted); font-size: 14px; margin-top: 64px; }
.legal h2 { margin-top: 40px; }
.legal h3 { margin-top: 24px; font-size: 18px; }
.legal li { margin-bottom: 8px; }
