:root {
  --ink: #1d2420;
  --muted: #5b6660;
  --line: #dfe3dc;
  --bg: #faf8f4;
  --card: #ffffff;
  --brand: #1f5f4a;
  --brand-dark: #174636;
  --accent: #e9b949;
  --soft: #eef3ee;
  --danger: #a33a2c;
  --radius: 14px;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--brand); }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
nav.top a:hover { color: var(--ink); }
@media (max-width: 640px) { nav.top a:not(.btn) { display: none; } }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 600;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px; transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.ghost:hover { background: var(--soft); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
nav.top .btn { margin-left: 18px; color: #fff; }

.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { color: var(--muted); font-size: .9rem; margin-top: 14px; }

section { padding: 56px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.015em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

/* before/after */
.ba { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 3 / 2; background: #ddd; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ba .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--ink); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.ba .tag { position: absolute; top: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; padding: 3px 9px; border-radius: 6px; }
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* pricing */
.price { position: relative; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand); }
.price .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.price .amount { font-size: 2rem; font-weight: 700; margin: 6px 0 2px; }
.price .amount small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price ul { padding-left: 20px; margin: 14px 0 22px; color: var(--ink); flex: 1; }
.price li { margin: 6px 0; }
.price .btn { text-align: center; }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .honest { grid-template-columns: 1fr; } }
.honest .yes, .honest .no { padding: 20px 22px; border-radius: var(--radius); }
.honest .yes { background: var(--soft); }
.honest .no { background: #f8eeec; }
.honest ul { margin: 8px 0 0; padding-left: 20px; }

.person { display: flex; gap: 20px; align-items: flex-start; }
.person .mono { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(31,95,74,.35); border-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 12px 0; }
.check input { margin-top: 5px; flex: 0 0 auto; width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; background: #fff; cursor: pointer; }
.drop.over { border-color: var(--brand); background: var(--soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.thumbs .t { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eee; }
.thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t .st { position: absolute; left: 0; right: 0; bottom: 0; font-size: .72rem; background: rgba(0,0,0,.6); color: #fff; padding: 2px 6px; }
.thumbs .t button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 50%; width: 24px; height: 24px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.msg { padding: 12px 14px; border-radius: 10px; margin: 16px 0; }
.msg.err { background: #f8eeec; color: var(--danger); }
.msg.ok { background: var(--soft); color: var(--brand-dark); }
.hidden { display: none !important; }

.legal h1 { font-size: 1.9rem; margin-top: 40px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 8px; }
.legal p, .legal li { color: #333; }
.legal table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 16px; }

#cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 18px; z-index: 50; font-size: .92rem; }
#cookie p { margin: 0 0 12px; }
#cookie .btns { display: flex; gap: 10px; flex-wrap: wrap; }
