/*
 * Orthodontics: the archwire.
 * Every class is prefixed ort-. A clean porcelain ground and deep navy ink, the
 * steel of a wire for the line that runs through the page, and the colours of
 * the elastic ties a patient picks at every visit for the eight kinds of call.
 * One dark chapter for what the phone never does.
 */
.ort-page {
  --ort-paper: #f3f7f9;
  --ort-sheet: #ffffff;
  --ort-ink: #0f2230;
  --ort-soft: #33485a;
  --ort-muted: #506474;
  --ort-rule: #d0dbe3;
  --ort-steel: #8fa0ae;
  --ort-steel-deep: #5d6e7c;
  --ort-teal: #0b6f6c;
  --ort-teal-wash: #d6efec;
  --ort-coral: #b73a2a;
  --ort-coral-wash: #fbe2dd;
  --ort-amber-wash: #fbefc8;
  --ort-amber-deep: #7a5200;
  --ort-green-wash: #daf0df;
  --ort-green-deep: #1c6a39;
  --ort-night: #0c2230;
  --ort-night-2: #143142;
  --ort-on-night: #ecf3f7;
  --ort-on-night-soft: #b4c6d2;
  --ort-glow: #ffe08a;
  --ort-cardboard: #d3ac72;
  --ort-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
  --ort-hand: "Bradley Hand", "Segoe Print", "Marker Felt", "Comic Sans MS", cursive;
  background: var(--ort-paper);
  color: var(--ort-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.ort-page *, .ort-page *::before, .ort-page *::after { box-sizing: border-box; }
.ort-page ::selection { background: var(--ort-glow); color: var(--ort-ink); }
.ort-page a:focus-visible,
.ort-page summary:focus-visible,
.ort-page [tabindex]:focus-visible {
  outline: 2px solid var(--ort-teal);
  outline-offset: 4px;
}
.ort-close a:focus-visible { outline-color: var(--ort-glow); }
.ort-page section[id] { scroll-margin-top: 130px; }
.ort-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }

.ort-page h1, .ort-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.ort-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.ort-page h1 em, .ort-page h2 em { font-style: italic; }
.ort-page h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.ort-section { padding: clamp(64px, 8vw, 108px) 0; }
.ort-section p { max-width: 68ch; }
.ort-section h2 + p { margin-top: 18px; }
.ort-page p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ort-page p a:hover { color: var(--ort-teal); }
.ort-source { margin-top: 14px; font-size: 13px; color: var(--ort-muted); }
.ort-table-scroll { overflow-x: auto; margin-top: 28px; }

/* Buttons and quiet links */
.ort-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.ort-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ort-ink);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(15, 34, 48, 0.8);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.ort-button:hover { background: var(--ort-teal); transform: translateY(-1px); }
.ort-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(15, 34, 48, 0.4);
  text-underline-offset: 5px;
}
.ort-quiet-link:hover { text-decoration-color: currentColor; }
.ort-close .ort-button { background: var(--ort-glow); color: var(--ort-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7); }
.ort-close .ort-button:hover { background: #fff0bd; }
.ort-close .ort-quiet-link { text-decoration-color: rgba(236, 243, 247, 0.45); }

/* Hero */
.ort-hero-shell {
  padding-top: 101px;
  background-color: var(--ort-paper);
  background-image: radial-gradient(ellipse 55% 70% at 80% 40%, #ffffff 0, rgba(255, 255, 255, 0) 70%);
  border-bottom: 4px solid var(--ort-ink);
}
.ort-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 12px; font-size: 12.5px; color: var(--ort-muted); }
.ort-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ort-breadcrumb a:hover { color: var(--ort-ink); text-decoration: underline; }
.ort-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6vw, 84px);
}
.ort-hero-copy { padding: 6px 0; }
.ort-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.03; color: var(--ort-ink); }
.ort-hero h1 .h1-kicker {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ort-teal);
}
.ort-h1-line { display: block; }
.ort-hero h1 em { color: var(--ort-coral); }
.ort-lede { margin-top: 20px; max-width: 56ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.6; color: var(--ort-soft); }
.ort-price { display: grid; gap: 4px; margin-top: 20px; font-size: 15.5px; }
.ort-price span strong { display: inline-block; margin-right: 6px; font-weight: 800; color: var(--ort-ink); }
.ort-price small { margin-top: 4px; font-size: 13px; color: var(--ort-muted); }
.ort-hero .ns-stars { color: #8a5a10; }

/* The arch plate */
.ort-arch {
  margin: 0;
  padding: 14px 18px 18px;
  border-radius: 20px;
  background: var(--ort-sheet);
  border: 1px solid var(--ort-rule);
  box-shadow: 0 30px 60px -36px rgba(15, 34, 48, 0.5);
}
.ort-state { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ort-arch-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-bottom: 10px; }
.ort-arch-title { max-width: none !important; margin: 0; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.01em; }
.ort-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ort-paper); border: 1px solid var(--ort-rule); }
.ort-tabs label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ort-soft);
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.ort-tabs label:hover { background: #e4ecf1; }
.ort-state-out:checked ~ .ort-arch-head label[for="ort-state-out"] { background: var(--ort-coral-wash); color: #7d2418; }
.ort-state-in:checked ~ .ort-arch-head label[for="ort-state-in"] { background: var(--ort-teal-wash); color: #07504e; }
.ort-state:focus-visible ~ .ort-arch-head .ort-tabs { outline: 2px solid var(--ort-teal); outline-offset: 3px; }

.ort-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ort-ghost rect { fill: none; stroke: var(--ort-steel); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity 400ms ease-out; }
.ort-state-out:checked ~ .ort-svg .ort-ghost rect { opacity: 0.9; }
.ort-enamel { fill: #fbfcfc; stroke: #aebbc5; stroke-width: 2; }
.ort-shine { fill: none; stroke: #e3eaee; stroke-width: 3; stroke-linecap: round; }
.ort-bracket { fill: #c4ced6; stroke: var(--ort-steel-deep); stroke-width: 1.6; }
.ort-slot { fill: var(--ort-steel-deep); }
.ort-lig { fill: var(--tie); stroke: rgba(15, 34, 48, 0.3); stroke-width: 1; transition: fill 500ms ease-out; }
.ort-wire { fill: none; stroke: var(--ort-steel); stroke-width: 4.5; stroke-linecap: round; }
.ort-tooth { transition: transform 900ms cubic-bezier(0.3, 1.25, 0.5, 1); }
.ort-tooth-drift { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); }
.ort-state-in:checked ~ .ort-svg .ort-tooth-drift { transform: none; }
.ort-lig-drift { fill: #cfd8df; }
.ort-state-in:checked ~ .ort-svg .ort-lig-drift { fill: var(--tie); }
.ort-tooth-drift .ort-enamel { transition: fill 500ms ease-out; }
.ort-state-out:checked ~ .ort-svg .ort-tooth-drift .ort-enamel { fill: #fdf3f1; stroke: #d98f84; }
.ort-pip { fill: #fff; stroke: var(--tie); stroke-width: 4; }
.ort-pip-n { font-family: var(--font-sans); font-size: 15px; font-weight: 800; fill: var(--ort-ink); }

.ort-legend { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--ort-rule); }
.ort-legend li + li { border-top: 1px solid #e6edf2; }
.ort-legend-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 44px;
  padding: 10px 8px;
  color: var(--ort-ink);
  text-decoration: none;
  transition: background-color 140ms ease-out;
}
.ort-legend-row:hover { background: var(--ort-paper); }
.ort-legend-pip {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 4px solid var(--tie);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}
.ort-legend-text { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; }
.ort-legend-said { font-weight: 700; }
.ort-legend-when { margin-left: 6px; font-family: var(--ort-mono); font-size: 11.5px; font-weight: 600; color: var(--ort-muted); white-space: nowrap; }
.ort-legend-out, .ort-legend-in { color: var(--ort-soft); }
.ort-state-out:checked ~ .ort-legend .ort-legend-in,
.ort-state-in:checked ~ .ort-legend .ort-legend-out { display: none; }
.ort-arch figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ort-rule); font-size: 14.5px; font-weight: 600; }
.ort-state-out:checked ~ figcaption .ort-cap-in,
.ort-state-in:checked ~ figcaption .ort-cap-out { display: none; }
.ort-cap-out, .ort-cap-in { display: block; }

/* Jump nav */
.ort-jump {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(243, 247, 249, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ort-rule);
}
.ort-jump .ort-wrap { display: flex; gap: 6px 22px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.ort-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ort-soft);
  text-decoration: none;
}
.ort-jump a:hover { color: var(--ort-teal); text-decoration: underline; }

/* Two piles */
.ort-desk-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ort-desk p { margin-top: 18px; }
.ort-tally { margin: 0; padding: 22px 24px 18px; border: 2px solid var(--ort-ink); border-radius: 8px; background: var(--ort-sheet); box-shadow: 8px 8px 0 -2px #dbe6ec; }
.ort-tally-head { max-width: none !important; margin: 0 0 16px !important; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; }
.ort-tally-cols { display: grid; gap: 20px; }
.ort-tally h3 { padding-bottom: 6px; border-bottom: 2px solid var(--ort-ink); font-family: var(--ort-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.ort-tally ul { list-style: none; margin: 0; padding: 0; }
.ort-tally li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ort-rule); font-size: 15px; line-height: 1.3; }
.ort-tally-boxes { flex: none; display: inline-flex; gap: 4px; }
.ort-tally-boxes i { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--ort-steel-deep); border-radius: 3px; font-family: var(--ort-mono); font-size: 10px; font-style: normal; color: var(--ort-muted); }
.ort-tally figcaption { margin-top: 14px; font-size: 14px; color: var(--ort-soft); }

/* Chapters */
.ort-chapter { border-top: 1px solid var(--ort-rule); }
.ort-t1 { background: var(--ort-sheet); }
.ort-t6, .ort-t8 { background: var(--ort-paper); }
.ort-chapter-head { max-width: 76ch; }
.ort-chapter-head p { margin-top: 18px; }
.ort-chapter-tag { margin: 0 0 18px !important; font-family: var(--ort-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ort-soft); }
.ort-toothtag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 14px 0 4px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--ort-ink);
  color: #fff;
  font-family: var(--ort-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ort-toothtag-n { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--tie); }
.ort-chapter-tie { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ort-rule); font-weight: 500; }

/* Tooth 1: Monday */
.ort-monday { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 40px; }
.ort-slip {
  padding: 26px 24px 22px;
  background: #fbf7d8;
  border: 1px solid #d8cf93;
  border-radius: 2px;
  box-shadow: 0 18px 28px -20px rgba(15, 34, 48, 0.5);
  transform: rotate(-1.2deg);
}
.ort-slip p { max-width: none !important; margin: 0; }
.ort-slip-head { font-family: var(--ort-mono); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #4b4313; }
.ort-slip-body { margin-top: 14px !important; font-family: var(--ort-hand); font-size: 18px; line-height: 1.45; color: #1c2a4a; }
.ort-slip-foot { margin-top: 16px !important; padding-top: 10px; border-top: 1px dashed #9c9250; font-size: 13.5px; color: #4b4313; }
.ort-brief { border: 2px solid var(--ort-ink); border-radius: 8px; background: var(--ort-sheet); box-shadow: 0 18px 30px -24px rgba(15, 34, 48, 0.5); overflow: hidden; }
.ort-brief-head { max-width: none !important; margin: 0; padding: 12px 20px; background: var(--ort-teal); color: #fff; font-family: var(--ort-mono); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ort-brief dl { margin: 0; }
.ort-brief dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 16px; padding: 12px 20px; border-top: 1px solid var(--ort-rule); }
.ort-brief dl > div:first-child { border-top: 0; }
.ort-brief dt { font-family: var(--ort-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ort-muted); padding-top: 3px; }
.ort-brief dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.ort-brief dl > div:last-child { background: var(--ort-amber-wash); }

/* Tooth 2: three bands */

/* Tooth 3: ribbons */

/* Tooth 4: the moving box */

/* Tooth 5: the money sentences */

/* Tooth 6: two books */
.ort-books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.ort-book { padding: 24px 26px; border-radius: 8px; background: var(--ort-sheet); border: 2px solid var(--ort-ink); }
.ort-book h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.ort-book > p { max-width: none !important; margin-top: 4px; font-size: 14.5px; color: var(--ort-soft); }
.ort-book ul { list-style: none; margin: 16px 0 0; padding: 0; }
.ort-book li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border-bottom: 1px solid var(--ort-rule); font-size: 15px; }
.ort-book li b { font-family: var(--ort-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.ort-slot-full { color: var(--ort-muted); background: repeating-linear-gradient(135deg, #eef3f6 0 6px, #f8fafb 6px 12px); }
.ort-slot-open b { color: var(--ort-green-deep); }
.ort-slot-line { background: var(--ort-teal-wash); font-weight: 700; }
.ort-slot-line b { color: #07504e; }

/* Tooth 7: the retainer case */

/* Tooth 8: the letter */
.ort-letter-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 40px; }
.ort-letter { margin: 0; padding: 28px 30px 24px; background: #fffef9; border: 1px solid #d3d0bf; border-top: 6px solid var(--ort-teal); box-shadow: 0 22px 32px -22px rgba(15, 34, 48, 0.5); transform: rotate(-0.7deg); }
.ort-letter p { max-width: none !important; margin: 0; }
.ort-letter-head { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--ort-teal); padding-bottom: 10px; border-bottom: 1px solid #d3d0bf; }
.ort-letter-body { margin-top: 16px !important; font-family: var(--ort-hand); font-size: 18px; line-height: 1.5; color: #1c2a4a; }
.ort-letter-sign { margin-top: 14px !important; font-family: var(--ort-hand); font-size: 22px; color: #1c2a4a; }
.ort-letter-copy h3 { padding-bottom: 8px; border-bottom: 2px solid var(--ort-ink); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.ort-letter-copy p { margin-top: 14px; }

/* The day the braces come off */

/* The website */
.ort-site { background: var(--ort-paper); border-top: 1px solid var(--ort-rule); }
.ort-keepcut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 36px; }
.ort-keepcut > div { padding: 24px 26px; border-radius: 8px; background: var(--ort-sheet); border: 2px solid var(--ort-ink); }
.ort-keep { border-top: 10px solid #2f9a4f !important; }
.ort-cut { border-top: 10px solid var(--ort-coral) !important; }
.ort-keepcut h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.ort-keepcut ul { list-style: none; margin: 14px 0 0; padding: 0; }
.ort-keepcut li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--ort-rule); font-size: 15.5px; line-height: 1.45; }
.ort-keepcut li::before { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1; }
.ort-keep li::before { content: "✓"; background: var(--ort-green-wash); color: var(--ort-green-deep); }
.ort-cut li::before { content: "×"; background: var(--ort-coral-wash); color: #7d2418; }

/* Six ways in */
.ort-inbox { background: var(--ort-sheet); border-top: 1px solid var(--ort-rule); }
.ort-doors { list-style: none; margin: 36px 0 0; padding: 0; border: 2px solid var(--ort-ink); border-radius: 8px; overflow: hidden; }
.ort-doors li { display: grid; grid-template-columns: minmax(0, 0.8fr) 40px minmax(0, 1.2fr); gap: 12px; align-items: center; padding: 16px 22px; }
.ort-doors li + li { border-top: 1px solid var(--ort-rule); }
.ort-doors li:nth-child(odd) { background: var(--ort-paper); }
.ort-door-she { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.25; }
.ort-door-arrow { font-size: 1.4rem; text-align: center; color: var(--ort-teal); }
.ort-door-we { font-size: 15.5px; line-height: 1.5; color: var(--ort-soft); }

/* Never */

/* Compare */
.ort-compare { background: var(--ort-sheet); }
.ort-compare-table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.ort-compare-table th, .ort-compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid var(--ort-rule); }
.ort-compare-table thead th { background: var(--ort-paper); font-family: var(--ort-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.ort-compare-table thead .ort-th-ours { background: var(--ort-teal); color: #fff; }
.ort-compare-table tbody th { width: 19%; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; }
.ort-td-ours { background: var(--ort-teal-wash); font-weight: 500; }
.ort-models { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; font-size: 13.5px; color: var(--ort-soft); }
.ort-models p { max-width: none !important; margin: 0; font-weight: 700; color: var(--ort-ink); }
.ort-models ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.ort-models li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ort-ink); }
.ort-models li span { font-weight: 400; color: var(--ort-soft); }
.ort-model-openai { display: block; }

/* The worksheet */
.ort-sheet { padding: 24px 26px; border: 2px solid var(--ort-ink); border-radius: 8px; background: #fffef9; box-shadow: 8px 8px 0 -2px #dbe6ec; }
.ort-sheet ol { list-style: none; margin: 0; padding: 0; }
.ort-sheet li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 120px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ort-rule); }
.ort-sheet strong { display: block; font-size: 15.5px; line-height: 1.3; }

/* The practice card */

/* Setup and the test sheet */
.ort-how { background: var(--ort-paper); border-top: 1px solid var(--ort-rule); }
.ort-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ort-ink); border-radius: 8px; overflow: hidden; background: var(--ort-sheet); }
.ort-steps li { padding: 20px 18px 22px; }
.ort-steps li + li { border-left: 1px solid var(--ort-rule); }
.ort-steps h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; }
.ort-steps p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ort-soft); }

/* FAQ */
.ort-faq { background: var(--ort-sheet); border-top: 1px solid var(--ort-rule); }
.ort-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.ort-faq-grid > div:first-child { position: sticky; top: 140px; }
.ort-faq-list { border-top: 2px solid var(--ort-ink); }
.ort-faq-list details { border-bottom: 1px solid var(--ort-rule); }
.ort-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; }
.ort-faq-list summary::-webkit-details-marker { display: none; }
.ort-faq-list summary span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ort-paper); font-family: var(--font-sans); font-size: 1.2rem; transition: transform 160ms ease-out; }
.ort-faq-list details[open] summary span { transform: rotate(45deg); background: var(--ort-glow); }
.ort-faq-list details p { padding: 0 0 20px; max-width: 70ch; font-size: 16px; color: var(--ort-soft); }
.ort-faq-list details p + p { margin-top: -8px; font-size: 14px; }

/* Close */
.ort-close { background: var(--ort-night); color: var(--ort-on-night); padding: clamp(64px, 8vw, 104px) 0; border-top: 4px solid var(--ort-teal); }
.ort-close-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.ort-close h2 { color: #fff; }
.ort-close h2 em { color: var(--ort-glow); }
.ort-close p { margin-top: 18px; max-width: 60ch; color: var(--ort-on-night); }
.ort-close aside { display: grid; gap: 4px; padding: 22px 24px; border: 1px solid rgba(236, 243, 247, 0.22); border-radius: 6px; background: var(--ort-night-2); }
.ort-close aside strong { margin-bottom: 6px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ort-glow); }
.ort-close aside a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: var(--ort-on-night); text-decoration: none; font-weight: 600; font-size: 15px; border-top: 1px solid rgba(236, 243, 247, 0.14); }
.ort-close aside a:hover { color: #fff; text-decoration: underline; }

/* The shared plans block: 44px touch targets */
.ort-page .nj-section .nj-link,
.ort-page .nj-section li > p:last-child > a,
.ort-page .nj-section a:not([class]) { display: inline-flex; align-items: center; min-height: 44px; }

/* Six systems: the archwire */

/* Consult follow-up */

@media (max-width: 1080px) {
  .ort-jump { top: 64px; }
  .ort-hero, .ort-desk-grid, .ort-monday, .ort-letter-row, .ort-faq-grid, .ort-close-grid { grid-template-columns: minmax(0, 1fr); }
  .ort-faq-grid > div:first-child { position: static; }
  .ort-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ort-steps li:nth-child(odd) { border-left: 0; }
  .ort-steps li:nth-child(n + 3) { border-top: 1px solid var(--ort-rule); }
  .ort-books { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .ort-doors li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ort-door-arrow { display: none; }
  .ort-keepcut { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ort-wrap { width: min(100% - 40px, 1280px); }
  .ort-hero-shell { padding-top: 84px; }
  .ort-arch { padding: 10px 12px 14px; border-radius: 14px; }
  .ort-tabs { width: 100%; }
  .ort-tabs label { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; }
  .ort-brief dl > div { grid-template-columns: minmax(0, 1fr); }
  .ort-sheet li { grid-template-columns: 32px minmax(0, 1fr); }
  .ort-steps { grid-template-columns: minmax(0, 1fr); }
  .ort-steps li + li { border-left: 0; border-top: 1px solid var(--ort-rule); }
  .ort-tally { padding: 18px 16px 14px; }
  .ort-tally li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ort-button, .ort-faq-list summary span, .ort-legend-row, .ort-tooth, .ort-lig, .ort-ghost rect, .ort-tabs label { transition: none; }
  .ort-button:hover { transform: none; }
}

/* Three visitor tests extend the existing keep/cut website guide. */
.ort-consult-path { padding-top: 32px; margin-top: 36px; border-top: 1px solid var(--ort-rule); scroll-margin-top: 145px; }
.ort-consult-path h3 { font-family: var(--font-serif); font-size: clamp(1.6rem,3vw,2.1rem); line-height: 1.2; max-width: 36ch; }
.ort-consult-path p { max-width: 78ch; margin-top: 20px; }
.ort-consult-path dl { margin-block: 30px; }
.ort-consult-path dl > div { display: grid; grid-template-columns: .35fr 1fr; gap: 32px; padding-block: 22px; border-bottom: 1px solid var(--ort-rule); }
.ort-consult-path dt { font-weight: 700; color: var(--ort-teal); }
.ort-consult-path dd { margin: 0; max-width: 74ch; }
.ort-consult-path a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:700px) { .ort-consult-path dl > div { grid-template-columns: minmax(0,1fr); gap: 10px; } }

.ort-referral-receipt { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--ort-rule); scroll-margin-top: 150px; }
.ort-referral-receipt h3 { font-family: var(--font-serif); font-size: clamp(1.4rem,3vw,1.9rem); line-height: 1.3; }
.ort-referral-receipt p { margin-top: 16px; max-width: 85ch; }
.ort-referral-receipt dl { margin-block: 28px; }
.ort-referral-receipt dl > div { display: grid; grid-template-columns: minmax(140px,.3fr) 1fr; gap: 28px; padding-block: 18px; border-top: 1px solid var(--ort-rule); }
.ort-referral-receipt dt { font-weight: 700; }
.ort-referral-receipt dd { margin: 0; max-width: 78ch; }
@media(max-width:650px) { .ort-referral-receipt dl > div { grid-template-columns: 1fr; gap: 8px; } }
