/* PDO Threads — site styles */
:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-2: #edf6f5;
  --ink: #10282e;
  --ink-soft: #49656a;
  --muted: #74898d;
  --line: #d9e8e7;
  --accent: #16a3a3;
  --accent-deep: #0b5f66;
  --accent-soft: #dff4f1;
  --gold: #d9a441;
  --shadow: 0 14px 38px rgba(16, 40, 46, .09);
  --radius: 8px;
  --max: 1160px;
  --read: 760px;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: 0; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 1.4em; }
h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; margin-top: 1.4em; color: var(--accent-deep); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 251, 251, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.logo span { font-family: var(--serif); font-size: 1.42rem; font-weight: 700; letter-spacing: 0; }
.logo em { font-style: normal; color: var(--accent); }
.nav ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; align-items: center; }
.nav li { margin: 0; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: .82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-deep); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-deep); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  border: 1px solid var(--accent-deep); transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent-deep); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-deep); }
.nav .btn { padding: 8px 12px; font-size: .82rem; }

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; display: block; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { background: linear-gradient(160deg, var(--accent-soft), var(--surface-2)); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.hero-art svg { width: 100%; height: auto; }
.meta-line { font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Directory and form surfaces */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero-panel h2 {
  margin-top: 0;
  font-size: 1.35rem;
}
.lookup-form,
.lead-form {
  display: grid;
  gap: 14px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c8dcdb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 10px 12px;
}
textarea {
  min-height: 124px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 163, 163, .18);
  border-color: var(--accent);
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.form-note,
.form-status {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0;
}
.form-status {
  min-height: 1.4em;
  font-weight: 700;
}
.lookup-result {
  background: #f2faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.lookup-result[hidden] {
  display: none;
}
.lookup-result h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.lookup-result p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}
.vanity-preview {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2faf9;
  color: var(--accent-deep);
  font-size: .92rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.trust-row div,
.directory-card,
.plan,
.strategy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-row div {
  padding: 14px;
}
.trust-row b,
.directory-card b,
.plan b,
.strategy-card b {
  display: block;
  color: var(--ink);
}
.trust-row span {
  color: var(--ink-soft);
  font-size: .9rem;
}
.directory-section {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: start;
}
.directory-grid,
.plans,
.strategy-grid {
  display: grid;
  gap: 16px;
}
.directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.directory-card {
  padding: 20px;
}
.directory-card small,
.plan small {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .7rem;
}
.directory-card p,
.plan p,
.strategy-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin-bottom: 0;
}
.clinic-section,
.contact-section {
  padding: 64px 0;
}
.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}
.plan {
  padding: 24px;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-deep);
  margin: 4px 0 8px;
}
.strategy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}
.strategy-card {
  padding: 22px;
}
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.page-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.page-hero .container { max-width: calc(var(--read) + 40px); }
.page-hero p.lead { font-size: 1.12rem; color: var(--ink-soft); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Stat strip */
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--accent-deep); font-weight: 600; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--ink-soft); }

/* Article layout */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 56px 20px 40px; max-width: var(--max); margin: 0 auto; }
.layout.single { grid-template-columns: minmax(0, var(--read)); justify-content: center; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .9rem; }
.toc h2 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--accent-deep); border-left-color: var(--accent); }
article.prose { max-width: var(--read); }
article.prose > section:first-child > h2:first-child { margin-top: 0; }
article.prose h2 { padding-top: 8px; scroll-margin-top: 90px; }
article.prose h3, article.prose h4 { scroll-margin-top: 90px; }

/* Components */
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.note { background: var(--surface-2); border-left-color: var(--gold); font-size: .93rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 1.4em 0 1.8em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h4 { margin-top: 0; }
.card p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 0; }
.card .num { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 56px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent-deep); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: .95rem;
}
.steps li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }

.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--accent); }
.crosslist li::before { background: #fff; border-color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1.4em 0 1.8em; }
.timeline div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 10px; padding: 14px; font-size: .9rem; }
.timeline b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--accent-deep); }

.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 1.4em 0 2em; }
.ba { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ba-visual { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); }
.ba-visual figure { margin: 0; padding: 14px 10px 10px; text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ba-visual figure + figure { border-left: 1px dashed var(--line); }
.ba-visual svg { width: 100%; max-width: 120px; margin: 0 auto 6px; }
.ba-body { padding: 18px 20px; }
.ba-body h4 { margin-top: 0; }
.ba-body p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .6em; }
.tag { display: inline-block; font-size: .72rem; background: var(--accent-soft); color: var(--accent-deep); border-radius: 999px; padding: 3px 10px; margin: 0 4px 4px 0; font-weight: 500; }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--ink-soft); }

/* Guides grid */
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { margin-top: 0; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-soft); color: var(--ink); }
.guide small { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; }
.guide h3 { font-size: 1.4rem; margin: 8px 0 10px; }
.guide p { font-size: .93rem; color: var(--ink-soft); flex: 1; }
.guide span.more { font-size: .88rem; font-weight: 500; color: var(--accent-deep); }

.cta-band { background: var(--ink); color: #f3ebe4; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; margin: 24px 0 64px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #d7c9bf; margin: 0; }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-band .btn:hover { background: #fff; border-color: #fff; }

.related { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 28px; }
.related h2 { font-size: 1.6rem; margin-top: 0; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .9rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-deep); }
.disclaimer { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: .8rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .plans,
  .strategy-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 32px; }
  .guides { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .layout { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 44px 0 40px; }
  .hero-panel,
  .contact-panel { padding: 20px; }
  .field-grid,
  .directory-grid,
  .plans,
  .strategy-grid,
  .trust-row { grid-template-columns: 1fr; }
  .strip .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .guides { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 26px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
