:root {
  --bg: #fbfaf7;
  --bg2: #f3f1ec;
  --card: #ffffff;
  --ink: #14213d;
  --text: #1d2433;
  --muted: #5c6475;
  --line: #e6e2d9;
  --coral: #ff6b4a;
  --coral-d: #e8512f;
  --teal: #0f9d8a;
  --amber: #e98a15;
  --indigo: #5b5ce2;
  --tint-lets: #e6f4f1;
  --tint-trades: #fdf0e3;
  --tint-clinics: #eeeefd;
  --r: 18px;
  --shadow: 0 1px 2px rgb(20 33 61 / .05), 0 12px 32px -12px rgb(20 33 61 / .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI", Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 40px); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .86rem; color: var(--muted); }
.fine a { text-decoration: underline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-d); margin-bottom: .7rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--coral) 28%, transparent) 62%); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; border: 0; font: inherit; font-weight: 700;
  color: #fff; background: var(--coral); cursor: pointer; transition: background .15s, transform .15s; box-shadow: 0 8px 20px -10px var(--coral); }
.btn:hover { background: var(--coral-d); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--card); border-color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .92rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; }
.brand em { font-style: normal; font-weight: 500; color: var(--muted); }
.nav__links { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: .95rem; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }

/* hero */
.hero { padding: 76px 0 84px; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; padding: 0; margin: 0; list-style: none; }
.trust li::before { content: "✓ "; color: var(--teal); font-weight: 800; }

/* sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg2); }
.section h2 { text-align: center; }

/* niche doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.door { display: flex; flex-direction: column; border-radius: var(--r); padding: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.door:hover { transform: translateY(-4px); }
.door .emoji { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.door--lets .emoji { background: var(--tint-lets); }
.door--trades .emoji { background: var(--tint-trades); }
.door--clinics .emoji { background: var(--tint-clinics); }
.door p { color: var(--muted); flex: 1; }
.door .go { font-weight: 700; color: var(--coral-d); }

/* steps + features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.tile p { color: var(--muted); margin: 0; font-size: .97rem; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 14px; }
.ficon { font-size: 1.5rem; margin-bottom: 10px; display: block; }

/* pain list */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: var(--card); border-left: 4px solid var(--coral); border-radius: 12px; padding: 20px 22px; box-shadow: var(--shadow); }
.pain b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.pain span { color: var(--muted); font-size: .95rem; }

/* demo chat */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; height: 500px; }
.demo__tabs { display: flex; gap: 6px; padding: 10px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.demo__tabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 9px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.demo__tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.demo__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; background: var(--tint-lets); }
.demo__head b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.demo__head small { color: var(--teal); font-size: .8rem; font-weight: 600; }
.demo__head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 5px; }
.demo__tag { margin-left: auto; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--bg2); padding: 3px 8px; border-radius: 6px; }
.demo__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.45; animation: pop .25s ease; }
.msg--bot { background: var(--bg2); color: var(--text); border-bottom-left-radius: 5px; align-self: flex-start; }
.msg--me { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.msg--typing { color: var(--muted); letter-spacing: 3px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.demo__chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.demo__chips button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .83rem; cursor: pointer; }
.demo__chips button:hover { border-color: var(--coral); color: var(--coral-d); }
.demo__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.demo__form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font: inherit; font-size: .95rem; background: var(--bg); color: var(--text); }
.demo__form input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.demo__form button { border: 0; background: var(--coral); color: #fff; font: inherit; font-weight: 700; padding: 0 18px; border-radius: 10px; cursor: pointer; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.plan--hot { border: 2px solid var(--coral); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 7px; }
.price { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: .2em 0 0; line-height: 1.1; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.monthly { color: var(--muted); margin-bottom: 1.2em; font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; display: grid; gap: 9px; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: .96rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* founding offer */
.announce { display: block; text-align: center; background: var(--ink); color: #fff; font-size: .9rem; padding: 9px 16px; }
.announce b { color: #ffb4a3; }
.announce span { color: #ffb4a3; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.announce:hover span { text-decoration: underline; }
.founding { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-bottom: 34px; padding: 28px 32px; border-radius: var(--r);
  background: linear-gradient(120deg, #fff4ef, #fff); border: 2px dashed var(--coral); }
.founding h3 { font-size: 1.45rem; margin: .35em 0 .4em; }
.founding s { color: var(--muted); font-weight: 500; }
.founding p { color: var(--muted); margin: 0; max-width: 680px; }
.founding__tag { display: inline-block; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 7px; }
.form .check { display: flex; align-items: center; gap: 10px; color: #c6cbe0; font-size: .92rem; cursor: pointer; }
.form .check input { width: 18px; height: 18px; accent-color: var(--coral); }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--coral-d); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* contact */
.contact { background: var(--ink); color: #fff; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact h2 { color: #fff; text-align: left; }
.contact p { color: #c6cbe0; }
.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid #34406a; background: #1d2b4d; color: #fff; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: .95rem; }
.form input::placeholder, .form textarea::placeholder { color: #8f98b8; }
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { width: 100%; }
.form-status { margin: 0; min-height: 1.2em; font-size: .92rem; color: #c6cbe0; }
.form-status.ok { color: #7be0b6; font-weight: 600; }
.form-status.err { color: #ffb4a3; font-weight: 600; }
.contact .fine { color: #8f98b8; }
.contact .fine a { color: #c6cbe0; }

/* niche page hero tint */
.hero--lets { background: linear-gradient(180deg, var(--tint-lets), var(--bg)); }
.hero--trades { background: linear-gradient(180deg, var(--tint-trades), var(--bg)); }
.hero--clinics { background: linear-gradient(180deg, var(--tint-clinics), var(--bg)); }
.stat { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 1.4rem; }
.stat div b { display: block; font-size: 1.6rem; color: var(--ink); }
.stat div span { color: var(--muted); font-size: .88rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0; margin-top: 40px; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--muted); font-size: .88rem; flex: 1; }
.foot nav { display: flex; gap: 18px; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.foot nav a:hover { color: var(--ink); }

/* legal */
.legal h1 { font-size: 2.2rem; }
.legal h2 { text-align: left; font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--coral-d); text-decoration: underline; }

@media (max-width: 920px) {
  .hero__in, .contact { grid-template-columns: 1fr; }
  .doors, .grid3, .plans, .pains, .founding { grid-template-columns: 1fr; }
  .founding { padding: 24px; }
  .nav__links { display: none; }
  .nav__in .btn { margin-left: auto; }
  .contact { padding: 34px 24px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .demo { height: 460px; }
}
