/* Niche landing pages (e.g. Clinic Website Co. on clinics.inventive-interactive.com) */
:root {
  --ink: #15171c;
  --ink-2: #23262e;
  --muted: #5d636f;
  --line: #e6e7eb;
  --soft: #f4f5f7;
  --white: #ffffff;
  --trust: #2f5bea;
  --patients: #108a55;
  --ai: #7148d9;
  --trust-l: #5b8cff;
  --patients-l: #2fc485;
  --ai-l: #b08cff;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2.5px solid var(--trust); outline-offset: 3px; border-radius: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, box-shadow .2s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 19px; height: 19px; }
.dots { display: inline-flex; vertical-align: middle; }
.dots i { width: 11px; height: 11px; border-radius: 50%; margin-right: -3px; box-shadow: 0 0 0 2px var(--white); }
.dots i:nth-child(1) { background: var(--trust-l); }
.dots i:nth-child(2) { background: var(--patients-l); }
.dots i:nth-child(3) { background: var(--ai-l); margin-right: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -.05em; line-height: .98; margin: 20px 0 24px; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 30em; }
.price-line { margin-top: 26px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-line b { font-size: 34px; letter-spacing: -.04em; }
.price-line span { color: var(--muted); font-size: 15.5px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.phones { position: relative; height: 600px; }
.phone { position: absolute; top: 50%; left: 50%; width: 212px; aspect-ratio: 390 / 844; border-radius: 32px; padding: 8px; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(21, 23, 28, .55), inset 0 0 0 1.5px #3a3e48; text-decoration: none; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phone::after { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 99px; background: var(--ink); }
.phone:nth-child(1) { transform: translate(-136%, -46%) rotate(-9deg); z-index: 1; }
.phone:nth-child(2) { transform: translate(-68%, -54%) rotate(-3deg); z-index: 2; }
.phone:nth-child(3) { transform: translate(-2%, -48%) rotate(3deg); z-index: 3; }
.phone:nth-child(4) { transform: translate(64%, -42%) rotate(9deg); z-index: 4; }
.phones:hover .phone:nth-child(1) { transform: translate(-142%, -48%) rotate(-11deg); }
.phones:hover .phone:nth-child(4) { transform: translate(70%, -40%) rotate(11deg); }
.phone span { position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* how-to strip */
.howto { background: var(--ink); color: #c8ccd4; }
.howto .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 0; text-align: center; flex-wrap: wrap; font-size: 15.5px; }
.howto b { color: #fff; font-weight: 600; }
.howto .dots i { box-shadow: 0 0 0 2px var(--ink); }

/* sections */
section.block { padding: 110px 0; }
.head { max-width: 720px; margin-bottom: 52px; }
.head h2 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -.045em; }
.head p { margin-top: 16px; font-size: 18.5px; color: var(--muted); }

/* samples */
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sample { display: flex; flex-direction: column; text-decoration: none; border-radius: 24px; background: var(--soft); padding: 14px 14px 26px; transition: background .25s; }
.sample:hover { background: #eceef2; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -28px rgba(21,23,28,.4); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fbfbfc; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdde2; }
.browser .bar span { margin-left: 10px; flex: 1; max-width: 260px; height: 20px; border-radius: 6px; background: var(--soft); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.browser img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.sample .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 10px 0; }
.sample h3 { font-size: 24px; letter-spacing: -.03em; }
.sample .kind { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sample p { padding: 8px 10px 0; color: var(--muted); font-size: 16px; }
.sample .open { margin: 18px 10px 0; font-weight: 600; font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; }
.sample .open svg { width: 16px; height: 16px; transition: transform .2s; }
.sample:hover .open svg { transform: translateX(3px); }

/* three jobs */
.jobs { background: var(--soft); }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job { background: #fff; border-radius: 22px; padding: 32px 28px; box-shadow: 0 0 0 1px var(--line); }
.job .label { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--c); }
.job .label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.job h3 { font-size: 26px; letter-spacing: -.03em; margin: 14px 0 18px; }
.job ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15.5px; color: #3a3f4a; }
.job li svg { width: 18px; height: 18px; color: var(--c); margin-top: 3px; }

/* ai */
.ai .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ai .head { margin: 0; }
.ai .honest { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--soft); font-size: 15.5px; color: #3a3f4a; }
.ai .honest b { color: var(--ink); }
.chat { background: var(--ink); border-radius: 26px; padding: 26px; color: #e4e6eb; box-shadow: 0 40px 80px -40px rgba(21,23,28,.6); }
.chat .q { margin-left: auto; width: fit-content; max-width: 86%; background: #2c3039; color: #fff; padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-size: 15.5px; }
.chat .a { display: flex; gap: 12px; margin-top: 18px; }
.chat .spark { flex: none; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 200deg, var(--ai-l), var(--trust-l), var(--patients-l), var(--ai-l)); }
.chat .a p { font-size: 15.5px; line-height: 1.6; }
.chat .a mark { background: rgba(176, 140, 255, .2); color: #fff; padding: 0 3px; border-radius: 4px; }
.chat .src { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13px; color: #9ba1ad; background: #1f2229; padding: 5px 12px 5px 6px; border-radius: 99px; }
.chat .src::before { content: ""; width: 16px; height: 16px; border-radius: 5px; background: #0f4c5c; }
.chat .why { margin-top: 20px; padding-top: 18px; border-top: 1px solid #2c3039; font-size: 13.5px; color: #9ba1ad; }

/* offer */
.offer { background: var(--ink); color: #fff; }
.offer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.offer .head h2 { color: #fff; }
.offer .head p { color: #a9aeb9; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #23262e; color: #fff; box-shadow: inset 0 0 0 1px #3a3e48; }
.steps b { display: block; font-size: 18px; margin-bottom: 2px; }
.steps span { color: #a9aeb9; font-size: 15.5px; }
.card { background: #fff; color: var(--ink); border-radius: 28px; padding: 38px; }
.card .amt { font-size: 72px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.card .amt small { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); margin-left: 8px; }
.card > p { color: var(--muted); margin: 10px 0 26px; }
.card ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.card li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; }
.card li svg { width: 20px; height: 20px; color: var(--patients); margin-top: 2px; }
.card .btn { width: 100%; }
.card small { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 13.5px; }

/* faq */
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq .head { margin: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 48px 24px 0; color: var(--muted); }

/* final */
.final { padding: 0 0 110px; }
.final .box { border-radius: 32px; background: var(--soft); padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.final h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; max-width: 16ch; }
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1020px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero .wrap, .ai .wrap, .offer .wrap, .faq .wrap { grid-template-columns: 1fr; }
  .phones { height: 560px; }
  .samples { grid-template-columns: 1fr; }
  .job-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top .wrap { height: 62px; }
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 46px; }
  .hero .lede { font-size: 17px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .phones { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 10px -16px 0; padding: 10px 16px 50px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone, .phone:nth-child(n), .phones:hover .phone:nth-child(n) { position: relative; top: auto; left: auto; transform: none; flex: none; width: 200px; scroll-snap-align: center; }
  section.block { padding: 76px 0; }
  .sample .meta { flex-direction: column; gap: 2px; }
  .card { padding: 28px 22px; }
  .card .amt { font-size: 58px; }
  .final .box { padding: 36px 24px; }
}

/* ---------- added for the niche sales sites ---------- */
.personal { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; }
.personal[hidden] { display: none; }
.personal .dots i { box-shadow: 0 0 0 2px var(--ink); }
.start { background: var(--soft); }
.start .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.start .head { margin: 0; }
.assure { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.assure li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; color: #3a3f4a; }
.assure svg { width: 20px; height: 20px; color: var(--patients); margin-top: 2px; }
.or { margin-top: 24px; color: var(--muted); }
.or a { color: var(--ink); font-weight: 600; }
.lead { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(21,23,28,.35); }
.lead .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead .field { display: grid; gap: 6px; margin-bottom: 14px; }
.lead label { font-size: 14px; font-weight: 600; }
.lead input, .lead select { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); padding: 0 16px; font: 16px var(--font); }
.lead input:focus, .lead select:focus { outline: none; border-color: var(--ink); background: #fff; }
.lead .btn { width: 100%; margin-top: 6px; }
.lead .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 12px 0 0; color: #b42318; font-size: 14.5px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.foot a { color: inherit; }
.foot a:hover { color: var(--ink); }
.mbar { display: none; }
.simple-main { padding: 72px 0 96px; min-height: 60vh; }
.narrow { max-width: 760px; }
.simple-main h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.045em; }
.simple-main h2 { font-size: 22px; letter-spacing: -.02em; margin: 34px 0 8px; }
.simple-main .lede { font-size: 19px; color: var(--muted); margin: 18px 0 34px; }
.simple-main p { color: #3a3f4a; }
.simple-main .muted { color: var(--muted); margin-top: 30px; font-size: 14.5px; }
.simple-main .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.steps.light li::before { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.steps.light span { color: var(--muted); }
@media (max-width: 1020px) { .start .wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) {
  .lead { padding: 24px 18px; }
  .lead .two { grid-template-columns: 1fr; gap: 0; }
  .foot { padding-bottom: 110px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar a { min-height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--soft); color: var(--ink); }
  .mbar a.primary { background: var(--ink); color: #fff; }
  .mbar svg { width: 18px; height: 18px; }
  .simple-main { padding: 44px 0 72px; }
}
html.has-badge .mbar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) {
  .top .btn { display: none; }
  .brand { font-size: 17px; white-space: nowrap; }
}
