/* OrthoNu blog post preview.
   Colors and type are taken from the live orthonu.com stylesheet:
   brand blue #7bd2f6, link blue #5fb4ce, light blue #b7e2f4, navy #2e3f51,
   body gray #606261, warm white #fbf9f7, font helvetica-neue-lt-pro. */

:root {
  --blue: #7bd2f6;
  --blue-deep: #5fb4ce;
  --blue-light: #b7e2f4;
  --blue-wash: rgba(183, 226, 244, 0.26);
  --navy: #2e3f51;
  --text: #606261;
  --line: rgba(46, 63, 81, 0.12);
  --warm: #fbf9f7;
  --white: #ffffff;
  --font: "helvetica-neue-lt-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --col: 720px;
  --radius: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }

strong { color: var(--navy); font-weight: 700; }

.wrap { width: 100%; max-width: calc(var(--col) + 48px); margin: 0 auto; padding: 0 24px; }

/* Draft banner */
.draft-banner {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  line-height: 1.3;
  padding: 11px 16px;
  letter-spacing: 0.02em;
}
.draft-banner .review-link {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  background: var(--blue); color: var(--navy);
  font-size: 18px; font-weight: 700; letter-spacing: 0; text-decoration: none; white-space: nowrap;
  border-radius: 999px; padding: 13px 28px 13px 22px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}
.draft-banner .review-link svg { width: 24px; height: 24px; flex: none; }
.draft-banner .review-link:hover { background: var(--white); }
html { scroll-padding-top: 84px; }
@media (max-width: 640px) {
  .draft-banner { justify-content: space-between; gap: 10px; padding: 8px 12px; font-size: 12px; }
  .draft-banner .long { display: none; }
  .draft-banner .review-link { font-size: 14.5px; padding: 10px 16px 10px 13px; }
  .draft-banner .review-link svg { width: 20px; height: 20px; }
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-header .logo img { height: 46px; width: auto; }
.site-header .header-link { font-size: 15px; font-weight: 700; text-decoration: none; color: var(--navy); background: var(--blue); padding: 10px 20px; border-radius: 999px; white-space: nowrap; }
.site-header .header-link:hover { background: var(--navy); color: var(--white); }

/* Article head */
.post-head { padding-top: 72px; }
.kicker { font-size: 15px; color: var(--blue-deep); font-weight: 700; margin: 0 0 18px; }
h1 {
  color: var(--navy);
  font-weight: 400;
  font-size: clamp(36px, 6.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.byline { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; font-size: 15px; line-height: 1.45; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.byline span { display: block; }
.byline .who { color: var(--navy); font-weight: 700; }

/* Body copy */
.post-body { padding-bottom: 40px; }
.post-body p { margin: 0 0 24px; }
.lede { font-size: 20px; line-height: 1.65; color: var(--navy); }

h2 {
  color: var(--navy);
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 88px 0 24px;
  scroll-margin-top: 24px;
}
h3 { color: var(--navy); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; margin: 0; scroll-margin-top: 24px; }

.post-body ul, .post-body ol { margin: 0 0 24px; padding-left: 1.3em; }
.post-body li { margin-bottom: 10px; padding-left: 4px; }
.post-body li::marker { color: var(--blue-deep); font-weight: 700; }

/* Short version */
.short-version { background: var(--blue-wash); border-radius: var(--radius); padding: 28px 28px 24px; margin: 40px 0 0; }
.short-version p { margin: 0; color: var(--navy); }
.at-a-glance { list-style: none; margin: 22px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.at-a-glance li { margin: 0; padding: 0; }
.at-a-glance a { display: block; height: 100%; background: var(--white); border-radius: 14px; padding: 10px 10px 14px; text-decoration: none; color: var(--navy); }
.at-a-glance a:hover { box-shadow: 0 0 0 2px var(--blue); }
.at-a-glance svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.glance-title { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 14.5px; line-height: 1.3; font-weight: 700; }
.glance-title b { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--navy); font-size: 13px; transform: translateY(-2px); }

/* Product hero under the title */
.hero-buy { background: var(--blue-wash); border-radius: 24px; padding: 14px 14px 30px; margin: 34px 0 48px; }
.hero-photo { margin: 0 0 24px; }
.hero-photo img, .photo img { width: 100%; border-radius: 16px; }
.hero-photo figcaption, .photo figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.hero-photo figcaption { padding: 0 16px; }
.hero-copy { padding: 0 16px; }
.photo { margin: 30px 0; }
.hero-buy .eyebrow { font-size: 13.5px; font-weight: 700; color: var(--blue-deep); margin: 0 0 6px; }
.hero-name { color: var(--navy); font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 10px; }
.hero-line { color: var(--navy); font-size: 18px; line-height: 1.45; margin: 0 0 14px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0; }
.hero-cta span { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.product-card .per { font-size: 14px; margin: -14px 0 18px; color: var(--text); }

/* Explainer figures */
.xfig { margin: 36px 0; }
.xfig-art { display: grid; gap: 28px 16px; padding: 28px 20px 24px; background: var(--blue-wash); border-radius: var(--radius); }
.xfig-art.on-white { background: var(--blue-wash); }
.xfig-art.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xfig-art.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xfig-art.cols-1 { grid-template-columns: minmax(0, 1fr); }
.xfig-art > div { text-align: center; }
.xfig svg { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; }
.xfig-art.cols-1 svg { max-width: 470px; }
.xfig svg text { font-family: var(--font); }
.xfig .xfig-label { margin: 12px 0 4px; font-size: 19px; line-height: 1.25; color: var(--navy); font-weight: 700; }
.xfig .xfig-note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--text); }
.xfig figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text); }

.inline-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inline-cta span { font-size: 15px; line-height: 1.4; color: var(--navy); }

/* Step cards */
.steps { display: grid; gap: 20px; margin: 32px 0 0; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 8px; background: var(--white); }
.step h3 { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.step h3 .num { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--navy); font-size: 20px; font-weight: 700; }

.mini-steps { list-style: none; counter-reset: mini; padding: 0 !important; margin: 0 0 24px !important; border-top: 1px solid var(--line); }
.mini-steps li { counter-increment: mini; display: flex; gap: 14px; align-items: baseline; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(mini); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-wash); color: var(--navy); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transform: translateY(2px); }

/* Food lists */
.food li { margin-bottom: 12px; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; margin: 32px 0 8px; font-size: 16px; line-height: 1.5; }
.spec thead th { text-align: left; font-size: 17px; color: var(--navy); padding: 0 0 14px; border-bottom: 2px solid var(--navy); }
.spec tbody th { text-align: left; font-weight: 700; color: var(--navy); width: 38%; padding: 15px 18px 15px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec tbody td { padding: 15px 0; vertical-align: top; border-bottom: 1px solid var(--line); }

/* Product card */
.product-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--warm); border-radius: 24px; padding: 28px; margin: 44px 0; }
.product-card .shot { background: var(--white); border-radius: 18px; padding: 10px; }
.product-card .eyebrow { font-size: 13.5px; font-weight: 700; color: var(--blue-deep); margin: 0 0 6px; }
.product-card .tagline { color: var(--navy); font-size: 17px; margin: 0 0 12px; }
.ticks { list-style: none; padding: 0 !important; margin: 0 0 20px !important; font-size: 15.5px; line-height: 1.4; }
.ticks li { position: relative; padding: 0 0 0 26px; margin: 0 0 7px; text-align: left; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 4px; height: 7px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(40deg); }
.product-card .name { color: var(--navy); font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 4px; }
.product-card .price { color: var(--navy); font-weight: 700; font-size: 19px; margin: 0 0 2px; }
.product-card .sub { margin: 0 0 20px; font-size: 16px; }
.btn { display: inline-block; background: var(--blue); color: var(--navy); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--navy); color: var(--white); }

/* Trust row */
.trust { list-style: none; padding: 0 !important; margin: -20px 0 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; font-weight: 700; color: var(--navy); }
.trust li { margin: 0; padding: 0 0 0 16px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* Sticky buy bar */
.buy-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; width: calc(100% - 28px); max-width: 520px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 12px; box-shadow: 0 10px 30px -12px rgba(46, 63, 81, 0.35); }
.buy-bar[hidden] { display: none; }
.buy-bar img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.buy-bar p { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.buy-bar p b { display: block; color: var(--navy); font-size: 15.5px; }
.buy-bar .btn { padding: 12px 22px; font-size: 15px; flex: none; }

/* Founder */
.founder { background: var(--blue-wash); border-radius: 28px; padding: 40px; margin: 88px 0 0; }
.founder h2 { margin-top: 0; }
.founder-top { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.founder-top img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder .opening { font-size: 22px; line-height: 1.35; color: var(--navy); margin: 0 0 16px; }
.founder p { margin: 0 0 18px; }
.stats { list-style: none; padding: 0 !important; margin: 30px 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats li { background: var(--white); border-radius: 16px; padding: 18px 16px; margin: 0; font-size: 14px; line-height: 1.35; }
.stats b { display: block; font-size: 30px; line-height: 1.1; font-weight: 400; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 6px; }
.founder blockquote { margin: 30px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--blue); }
.founder blockquote p { font-size: 21px; line-height: 1.45; color: var(--navy); margin: 0 0 10px; }
.founder blockquote cite { font-style: normal; font-size: 15px; font-weight: 700; color: var(--navy); }

/* Between visits */
.between { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.between div { border-radius: 18px; padding: 24px; font-size: 16px; line-height: 1.55; }
.between .chair { background: var(--warm); }
.between .home { background: var(--navy); color: var(--white); }
.between b { display: block; font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.between .home b { color: var(--blue); }

.match { list-style: none; padding: 0 !important; margin: 20px 0 0 !important; border-top: 1px solid var(--line); }
.match li { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 12px; align-items: center; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.match .problem { color: var(--navy); font-weight: 700; }
.match .arrow { width: 24px; height: 2px; background: var(--blue); position: relative; }
.match .arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.sub-head { color: var(--navy); font-weight: 700; font-size: 19px; margin: 40px 0 0 !important; }

.pro-quote { margin: 36px 0 0; background: var(--warm); border-radius: 18px; padding: 26px 28px; }
.pro-quote p { color: var(--navy); margin: 0 0 12px; font-size: 18px; line-height: 1.6; }
.pro-quote cite { font-style: normal; font-size: 15px; font-weight: 700; color: var(--navy); }

/* Call list */
.call-list { list-style: none; padding: 0 !important; border-top: 1px solid var(--line); }
.call-list li { position: relative; padding: 14px 0 14px 34px; margin: 0; border-bottom: 1px solid var(--line); }
.call-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--blue); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; color: var(--navy); font-weight: 700; font-size: 19px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0 0 24px; padding-right: 32px; }

/* Signup */
.signup { background: var(--navy); color: var(--white); border-radius: 28px; padding: 40px; margin: 72px 0 0; }
.signup p { color: var(--white); font-size: 20px; line-height: 1.5; margin: 0 0 22px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 20px; border-radius: 999px; border: 0; background: var(--white); color: var(--navy); }
.signup .btn:hover { background: var(--white); color: var(--navy); }
.signup .note { font-size: 14px; margin: 14px 0 0; opacity: 0.8; min-height: 1.4em; }

/* Footer */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0 56px; font-size: 14px; line-height: 1.6; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer img { height: 38px; width: auto; }
.site-footer p { margin: 0; }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .site-header .logo img { height: 38px; }
  .site-header .header-link { font-size: 14px; padding: 9px 16px; }
  .post-head { padding-top: 44px; }
  h2 { margin-top: 68px; }
  .short-version { padding: 22px 20px 20px; }
  .at-a-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-title { font-size: 14px; }
  .buy-bar p b { font-size: 14px; white-space: nowrap; }
  .buy-bar .btn { padding: 12px 18px; }
  .hero-buy { padding: 10px 10px 24px; margin: 28px 0 38px; }
  .hero-copy, .hero-photo figcaption { padding: 0 10px; }
  .hero-photo { margin-bottom: 18px; }
  .hero-name { font-size: 27px; }
  .hero-buy .ticks { display: block; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .xfig-art.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .xfig-art { padding: 24px 16px 22px; }
  .xfig-art.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .xfig .xfig-note { font-size: 14px; }
  .ticks { display: inline-block; }
  .trust { justify-content: flex-start; margin-top: -12px !important; }
  .buy-bar { bottom: 10px; }
  .step { padding: 24px 20px 4px; }
  .step h3 { font-size: 21px; gap: 14px; }
  .step h3 .num { width: 42px; height: 42px; }
  .spec { font-size: 15px; }
  .spec tbody th { width: 40%; padding-right: 12px; }
  .product-card { grid-template-columns: 1fr; gap: 20px; padding: 22px; text-align: center; }
  .product-card .shot { max-width: 240px; margin: 0 auto; }
  .founder { padding: 26px 22px; border-radius: 22px; margin-top: 68px; }
  .founder-top { grid-template-columns: 1fr; gap: 22px; }
  .founder-top img { max-width: 260px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .between { grid-template-columns: 1fr; }
  .match li { grid-template-columns: 1fr; gap: 4px; }
  .match .arrow { display: none; }
  .signup { padding: 28px 22px; border-radius: 22px; }
  .signup p { font-size: 18px; }
  .signup .btn { flex: 1 1 100%; }
  .faq summary { font-size: 18px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
