/* The Tooth Lab: one stylesheet for the whole site. */

:root {
  --blue: #0f7ffe;
  --blue-dark: #0a5fc2;
  --blue-soft: #e8f2ff;
  --blue-wash: #f4f9ff;
  --ink: #2b2f36;
  --text: #4c4c4c;
  --muted: #6b7280;
  --line: #d9e6f7;
  --sheet: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 60 120 / 6%), 0 8px 24px rgb(15 60 120 / 8%);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background-color: #8fbef5;
  background-image: linear-gradient(170deg, #1a7cf2 0%, #5fa6fb 35%, #b6d6fc 70%, #e8f2ff 100%);
  background-attachment: fixed;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* The white page floating over the blue gradient background. */
.sheet {
  max-width: 1000px;
  margin: 24px auto 0;
  background: var(--sheet);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 10px 40px rgb(15 60 120 / 18%);
  overflow: clip;
}
@media (max-width: 1048px) { .sheet { margin-top: 0; border-radius: 0; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gutter);
  background: rgb(255 255 255 / 94%);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.brand-icon { width: 44px; height: 44px; border-radius: 10px; }
.brand-word { width: 124px; height: auto; }

.primary-nav { display: flex; gap: 4px; }
.primary-nav a, .site-menu a {
  color: var(--text); text-decoration: none; font-size: 15px;
  padding: 6px 10px; border-radius: 8px;
}
.primary-nav a:hover, .site-menu a:hover { background: var(--blue-soft); color: var(--ink); }
.primary-nav a[aria-current], .site-menu a[aria-current] { color: var(--blue); font-weight: 600; }

.menu-toggle {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { background: var(--blue-soft); }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .menu-close, .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.site-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px;
  padding: 20px var(--gutter) 28px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.site-menu[hidden] { display: none; }
.menu-group { display: flex; flex-direction: column; }
.menu-group h2 {
  margin: 0 0 6px 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 760px) {
  .primary-nav { display: none; }
  .site-menu { grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 72px); overflow-y: auto; }
}
@media (max-width: 420px) { .site-menu { grid-template-columns: 1fr; } }

/* Hero strip of tiles that drifts sideways */
.hero { padding: 0 var(--gutter); }
.marquee { overflow: hidden; border-radius: 10px 10px 0 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track > * { width: clamp(150px, 22vw, 240px); aspect-ratio: 3 / 4; object-fit: cover; }
.marquee.is-running .marquee-track { animation: drift var(--marquee-duration, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee.is-running .marquee-track { animation: none; }
}

.contact-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px;
}
.contact-bar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.contact-bar-side strong { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact-bar-side .icon { color: var(--blue); }
.contact-bar-phone { font-size: 17px; }
.contact-bar-phone strong { color: var(--blue); }
.contact-bar a:hover { color: var(--blue); }
@media (max-width: 640px) {
  .contact-bar { flex-wrap: wrap; justify-content: center; }
  .contact-bar-phone { order: -1; flex-basis: 100%; justify-content: center; }
}

/* Sections */
.intro { text-align: center; max-width: 680px; margin: 0 auto; padding: 44px var(--gutter) 8px; }
.intro h1 { font-size: clamp(19.5px, 3vw, 28.5px); margin: 0 0 14px; }
.intro p { font-size: 17px; margin: 0; }

.typed::after {
  content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 2px;
  background: var(--blue); vertical-align: -0.05em; animation: blink 1s steps(1) infinite;
}
.typed.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

.band { padding: 40px var(--gutter); text-align: center; }
.band + .band { padding-top: 16px; }
.lede { max-width: 620px; margin: 0 auto 18px; }

/* The blue section labels, with the dotted line either side */
.pill {
  display: flex; align-items: center; gap: 14px;
  max-width: 560px; margin: 8px auto 22px;
  font-size: 18px; font-weight: 500;
}
.pill::before, .pill::after { content: ""; flex: 1; border-top: 2px dotted #8fbef5; }
.pill span {
  padding: 8px 26px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #4b9bff, #1a7cf2);
  box-shadow: 0 4px 12px rgb(15 127 254 / 25%);
}

/* Links read as links: blue and underlined, never shaped like the pill headings. */
.link-row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin: 0 0 28px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
}
.text-link:hover { color: var(--blue-dark); text-decoration-thickness: 2.5px; }
.text-link .icon { width: 1em; height: 1em; }

/* Product carousel */
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: var(--radius);
}
.carousel-track::-webkit-scrollbar { display: none; }
.product {
  scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #5d6577; color: #eef2f8; text-align: left; border-radius: var(--radius); overflow: hidden;
}
.product img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.product > div { padding: clamp(20px, 4vw, 44px); align-self: center; }
.product h3 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.product p { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b9c8de; margin-bottom: 8px !important; }
@media (max-width: 620px) { .product { grid-template-columns: 1fr; } .product img { aspect-ratio: 4 / 3; } }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.carousel-controls button {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
}
.carousel-controls button:hover { border-color: var(--blue); color: var(--blue); }
.carousel-count { min-width: 48px; font-size: 14px; color: var(--muted); }

.scanner-logos { margin: 0 auto; max-width: 540px; width: 100%; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  max-width: 980px; margin: 0 auto; text-align: left;
}
.split .pill { margin-left: 0; max-width: 360px; }
.split .pill::before { display: none; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-reverse > div { order: 2; }
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split .pill { margin: 8px auto 22px; }
  .split .pill::before { display: block; }
  .split-reverse > div { order: 0; }
}

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; text-align: left; }
@media (max-width: 720px) { .cards-2 { grid-template-columns: 1fr; } }
.feature-card {
  display: flex; flex-direction: column; padding: 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-wash);
  color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); transform: translateY(-2px); }
.feature-card h3 { margin: 12px 0 6px; font-size: 20px; }
.feature-card p { margin: 0 0 16px; flex: 1; }
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue); color: #fff;
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.team-grid figure { margin: 0; }
.team-grid img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; border-radius: var(--radius); }
.team-grid figcaption { font-size: 14px; margin-top: 10px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* Inner pages */
.page-banner { padding: 0 var(--gutter); }
.page-banner img { width: 100%; border-radius: 10px 10px 0 0; aspect-ratio: 1100 / 260; object-fit: cover; }
.page-banner video { width: 100%; border-radius: 10px 10px 0 0; }
.page-pad { padding: 36px var(--gutter) 48px; }
.page-intro { max-width: 640px; margin: 0 auto; text-align: center; padding: 32px var(--gutter) 8px; }
.page-intro h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; }
.page-intro > :last-child { margin-bottom: 0; }
.page-intro + .band { padding-top: 24px; }

.embed { padding: 24px var(--gutter) 48px; }
.embed iframe { display: block; width: 100%; border: 0; min-height: 900px; background: #fff; }
.embed-chat iframe { height: calc(100dvh - 120px); min-height: 640px; border-radius: var(--radius); border: 1px solid var(--line); }
.embed-note { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 12px; }

.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 0 auto; }
@media (max-width: 620px) { .link-grid { grid-template-columns: 1fr; } }
.link-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--text); text-decoration: none; text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.link-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.link-card strong { display: block; color: var(--ink); }
.link-card span { font-size: 14px; }
.link-card .feature-icon { flex: none; }

.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto 24px; }
.promo-row > * { width: 100%; aspect-ratio: 9 / 8; object-fit: cover; border-radius: var(--radius); overflow: hidden; }
.promo-row > [hidden] { display: none; }
.promo-video { background: #0d3b2e; box-shadow: var(--shadow); }
.promo-video video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 520px) { .promo-row { grid-template-columns: 1fr; max-width: 300px; } }

.offers { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.offers img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.ask-chat { display: block; max-width: 320px; margin: 0 auto 24px; }

/* Long-form text: blog posts and legal pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; padding-top: 8px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose p { margin: 0 0 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 8px; }
.toc a { font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.post-hero { padding: 0 var(--gutter); }
.post-hero img { width: 100%; aspect-ratio: 1200 / 380; object-fit: cover; border-radius: 10px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px !important; }
.post-next { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.post-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.post-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); transform: translateY(-2px); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; font-size: 14px; }
.post-card-body strong { color: var(--ink); font-size: 17px; }

/* Footer */
.site-footer { margin-top: 24px; padding: 28px var(--gutter) 0; background: #d6e8fb; font-size: 14px; line-height: 1.55; color: var(--ink); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
/* The top row uses the same four columns as the links below, so everything lines up. */
.footer-top, .footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 24px; }
.footer-about { grid-column: span 2; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 36px; width: auto; }
.footer-about p { margin: 12px 0 14px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.footer-badges li {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; white-space: nowrap;
  border-radius: 999px; background: rgb(255 255 255 / 65%); border: 1px solid rgb(15 60 120 / 10%);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.footer-badges .icon { width: 15px; height: 15px; color: var(--blue); }
.footer-office { font-style: normal; line-height: 1.7; }
.footer-links { margin: 22px 0 0; padding: 18px 0 22px; border-top: 1px solid rgb(15 60 120 / 10%); }
.footer-links h2, .footer-make h2, .footer-office h2 { font-size: 14px; margin: 0 0 4px; }
.footer-links ul, .footer-make ul { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
/* Bullet sits in its own column so a wrapped second line lines up with the text, not the bullet. */
.footer-links li, .footer-make li { display: flex; gap: 8px; }
.footer-links li::before, .footer-make li::before { content: "▪"; color: var(--blue); flex: none; }
.copyright {
  margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter);
  background: #1f2937; color: #e5e7eb; text-align: center; font-size: 13px;
}
@media (max-width: 760px) {
  .footer-top, .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .scanner-logos { max-width: 280px; } }

/* Short pages still fill the screen, with the footer at the bottom. */
.sheet { display: flex; flex-direction: column; min-height: 100vh; }
.sheet > main { flex: 1; }
.footer-office a { text-decoration: underline; text-underline-offset: 3px; }

/* Price list: password form and PDF viewer */
.signin-page main { display: flex; flex-direction: column; }
.signin-page .site-footer { margin-top: 0; }
.signin-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 560px; padding: 48px var(--gutter);
}
@media (min-width: 761px) { .signin-wrap { min-height: max(640px, 72vh); } }
.signin-card { width: 100%; }
.signin-card {
  display: flex; flex-direction: column;
  max-width: 400px; margin: 0 auto; padding: 36px 32px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 2px 4px rgb(15 60 120 / 5%), 0 18px 48px rgb(15 60 120 / 12%);
}
.signin-icon {
  display: grid; place-items: center; align-self: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue);
}
.signin-icon .icon { width: 24px; height: 24px; }
.signin-card h1 { margin: 16px 0 6px; font-size: 26px; text-align: center; }
.signin-lede { margin: 0 0 24px; text-align: center; color: var(--muted); }
.signin-card label { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.signin-card input {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 1px solid #b9cde6; border-radius: 10px; background: #fff; color: var(--ink);
}
.signin-card input:focus { outline: 3px solid rgb(15 127 254 / 25%); border-color: var(--blue); }
.signin-card.has-error input { border-color: #d92d20; }
.signin-card button {
  width: 100%; margin-top: 16px; padding: 12px 20px; border: 0; border-radius: 10px;
  font: inherit; font-weight: 600; background: var(--blue); color: #fff; cursor: pointer;
}
.signin-card button:hover { background: var(--blue-dark); }
.signin-error {
  margin: 0 0 16px; padding: 10px 12px; border-radius: 10px;
  background: #fef3f2; color: #b42318; font-size: 14px;
}
.signin-help {
  margin: 22px -32px -28px; padding: 16px 32px; border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px; background: var(--blue-wash); text-align: center; font-size: 14px;
}
@media (max-width: 480px) {
  .signin-card { padding: 28px 20px 22px; }
  .signin-help { margin: 20px -20px -22px; padding: 14px 20px; }
}
.pdf-frame { display: block; width: 100%; height: 85vh; min-height: 600px; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f6fa; }
.pdf-mobile-note { display: none; margin-top: 12px; }
@media (max-width: 700px) {
  .pdf-frame { height: 70vh; min-height: 420px; }
  .pdf-mobile-note { display: block; }
}

/* Contact form */
.enquiry-card {
  max-width: 680px; margin: 0 auto; padding: 30px 32px 26px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 2px 4px rgb(15 60 120 / 5%), 0 18px 48px rgb(15 60 120 / 10%);
}
.enquiry-card .field { margin: 0 0 16px; }
.enquiry-card label, .enquiry-card legend { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.enquiry-card .optional { font-weight: 400; color: var(--muted); }
.enquiry-card input:not([type="radio"]):not([type="checkbox"]), .enquiry-card select, .enquiry-card textarea {
  width: 100%; padding: 11px 13px; font: inherit; color: var(--ink);
  border: 1px solid #b9cde6; border-radius: 10px; background: #fff;
}
.enquiry-card textarea { resize: vertical; min-height: 140px; }
.enquiry-card input:focus, .enquiry-card select:focus, .enquiry-card textarea:focus { outline: 3px solid rgb(15 127 254 / 25%); border-color: var(--blue); }
.enquiry-card [aria-invalid="true"] { border-color: #d92d20 !important; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-grid > [hidden] { display: none; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } .enquiry-card { padding: 24px 18px 20px; } }
.role-field { border: 0; padding: 0; margin: 0 0 18px; }
.role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.role-options label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px;
  border: 1px solid #b9cde6; border-radius: 999px; font-weight: 500; cursor: pointer; background: #fff;
}
.role-options label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.role-options input { accent-color: var(--blue); margin: 0; }
.field-error { margin: 6px 0 0; color: #b42318; font-size: 14px; }
.form-alert { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; font-size: 15px; }
.enquiry-card .checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; color: var(--text); margin: 4px 0 18px; cursor: pointer; }
.enquiry-card .checkbox input { margin-top: 4px; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-card .cf-turnstile { margin: 0 0 16px; }
.enquiry-card button {
  width: 100%; padding: 13px 20px; border: 0; border-radius: 10px; font: inherit; font-weight: 600;
  background: var(--blue); color: #fff; cursor: pointer;
}
.enquiry-card button:hover { background: var(--blue-dark); }
.enquiry-card button:disabled { opacity: .7; cursor: progress; }
.form-privacy { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.thanks-icon { background: #e7f6ec; color: #067647; }
.thanks-links { margin: 0 0 4px; }

/* Homepage: open an account feature */
.account-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: center;
  max-width: 940px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); text-align: left;
  border-radius: 20px; color: #fff;
  background: radial-gradient(ellipse at 100% 0%, rgb(255 255 255 / 18%), transparent 55%), linear-gradient(135deg, #1a7cf2, #0a5fc2);
  box-shadow: 0 14px 40px rgb(15 127 254 / 25%);
}
.account-feature h2 { color: #fff; font-size: clamp(19.5px, 3vw, 28.5px); margin: 14px 0 8px; }
.account-feature p { margin: 0 0 18px; color: rgb(255 255 255 / 90%); font-size: 16px; }
.account-feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgb(255 255 255 / 18%); color: #fff;
}
.account-feature-link {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.account-feature-link:hover { color: #fff; text-decoration-thickness: 3px; }
.account-feature-list { list-style: none; margin: 0; padding: 18px 20px; border-radius: 14px; background: rgb(255 255 255 / 12%); }
.account-feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 1.45; }
.account-feature-list .icon { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; color: #0a5fc2; stroke-width: 3; }
@media (max-width: 720px) { .account-feature { grid-template-columns: 1fr; } }
.embed-lead { padding-top: 8px; }
/* Sits evenly between the photo above and "Smart Support" below: 40px each side, measured to the
   logos themselves. The logo images have built-in white margins (about 4% of their width top and
   bottom; 7% at the bottom of the phone version), which the negative margins trim away. */
.band.scanners { padding-top: 0; padding-bottom: 16px; }
.band.scanners + .band { padding-top: 16px; }
.band.scanners .scanner-logos { margin: calc(-0.0408 * min(540px, 100%)) auto calc(-0.0367 * min(540px, 100%)); }
@media (max-width: 600px) {
  .band.scanners .scanner-logos { margin: 0 auto calc(-0.0722 * min(280px, 100%)); }
}
.scanners-heading { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Money-saving ideas */
.lede-left { font-size: 18px; color: var(--ink); margin-bottom: 26px !important; }
.tips { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: tip; }
.tips li { position: relative; padding: 0 0 0 54px; margin: 0 0 22px; counter-increment: tip; }
.tips li::before {
  content: counter(tip); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 15px;
}
.prose .tips h2 { font-size: 19px; margin: 6px 0 4px; padding-top: 0; }
.prose .tips p { margin: 0; }
.tip-card .post-card-body { padding: 22px 20px; gap: 6px; }
.tip-card .post-card-body strong { font-size: 19px; }
.tip-card .post-card-body span { color: var(--blue); font-weight: 600; }

/* Flyer landing pages (welcome, trial, south08, west08) */
.landing-banner { position: relative; }
.landing-banner img, .landing-banner picture img { aspect-ratio: auto; border-radius: 10px; }
.landing-overlay { position: absolute; inset: 0 var(--gutter); width: calc(100% - 2 * var(--gutter)) !important; height: 100%; object-fit: cover; }
.trial-badge { display: block; width: 100%; max-width: 360px; margin: 0 auto 18px; }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 16px; text-align: left; }
.step-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 20px; }
.step-num {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 16px;
}
.step-card p { margin: 0 0 10px; }
.step-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 0 !important; }
.step-note { font-size: 14px; color: var(--muted); margin-top: 8px !important; }
.offer-conditions { max-width: 820px; margin: 22px auto 0; padding: 20px 24px; border-radius: var(--radius); background: var(--blue-wash); border: 1px dashed #8fbef5; text-align: left; }
.offer-conditions h2 { font-size: 17px; margin: 0 0 8px; }
.offer-conditions ul { margin: 0; padding-left: 20px; }
.offer-conditions li { margin: 4px 0; }
.regional-office { max-width: 820px; margin: 22px auto 0; font-style: normal; line-height: 1.8; text-align: left; padding: 0 4px; }
.regional-office .text-link { margin: 6px 18px 0 0; }

/* Learning */
.learning-video { max-width: 420px; margin-bottom: 28px; }
.learning-steps { list-style: none; margin: 0 auto 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; }
.learning-steps img { width: 100%; max-width: 240px; margin: 0 auto 10px; }
.learning-steps p { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .learning-steps { grid-template-columns: 1fr; } }
.learning-cta { margin: 22px 0 0; font-size: 18px; }
.game-wrap { padding: 24px var(--gutter) 40px; }
.game-frame { display: block; width: 100%; height: min(820px, calc(100dvh - 120px)); min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (max-width: 360px) { .footer-links { grid-template-columns: 1fr; } }

/* Footer top row on wider screens: "We make" and Head Office take only the width they need
   (so the email stays on one line) and the description gets the rest. */
@media (min-width: 761px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) max-content max-content; column-gap: clamp(32px, 6vw, 88px); }
  .footer-about { grid-column: auto; max-width: 520px; }
}

.account-feature-emoji { display: block; width: 64px; height: 64px; }

/* Lighter account panel: pale wash, dark text, white checklist card. */
.account-feature {
  padding: clamp(22px, 3.5vw, 34px); color: var(--text);
  background: linear-gradient(135deg, #f4f9ff 0%, #e6f0fd 100%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(15 60 120 / 4%), 0 8px 24px rgb(15 60 120 / 6%);
}
.account-feature h2 { color: var(--ink); }
.account-feature p { color: var(--text); }
.account-feature-link { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.account-feature-link:hover { color: var(--blue-dark); text-decoration-thickness: 2.5px; }
.account-feature-list { background: #fff; border: 1px solid var(--line); }
.account-feature-list li { color: var(--ink); }
.account-feature-list .icon { background: var(--blue); color: #fff; }
.account-feature-emoji { width: 52px; height: 52px; }
/* Brand-blue tint (same hue as #0f7ffe) so the panel reads blue, not grey-mauve. */
.account-feature {
  background: linear-gradient(135deg, #e7f2ff 0%, #cfe4ff 100%);
  border-color: #b9d6fb;
}
.account-feature-list { border-color: #cfe1f8; }

/* A soft gleam sweeps across the account panel every 5 seconds (about 1.2s of movement, then a pause). */
.account-feature { position: relative; overflow: hidden; isolation: isolate; }
.account-feature > * { position: relative; z-index: 1; }
.account-feature::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgb(255 255 255 / 0%) 15%, rgb(255 255 255 / 90%) 50%, rgb(255 255 255 / 0%) 85%);
  transform: translateX(-160%) skewX(-18deg);
  animation: panel-gleam 5s ease-in-out infinite;
}
@keyframes panel-gleam {
  0% { transform: translateX(-160%) skewX(-18deg); }
  24% { transform: translateX(320%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) { .account-feature::before { animation: none; display: none; } }
/* The logo image is pulled up to trim its white margin; keep the caption above it. */
.scanners-heading { position: relative; z-index: 1; margin-bottom: 14px; }
.band.scanners picture { position: relative; z-index: 0; display: block; }
/* More breathing room around the scanner logos: 64px to the photo above and to Smart Support below. */
.band.scanners { padding-top: 24px; padding-bottom: 40px; }

/* Scanner logos: eight separate logos spread evenly, 4 per row (2 on phones).
   Each logo's width is scaled by the square root of its aspect ratio (--s) so wide and
   compact logos carry similar visual weight. */
.scanners-heading { margin-bottom: 24px; }
.scanner-grid {
  --k: 64px;
  list-style: none; margin: 0 auto; padding: 0; max-width: 940px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px;
  align-items: center; justify-items: center;
}
.scanner-grid li { display: flex; justify-content: center; width: 100%; }
.scanner-logo { width: calc(var(--k) * var(--s)); max-width: 100%; height: auto; }
@media (max-width: 600px) { .scanner-grid { --k: 50px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* Fade and lift in one after another when scrolled into view (set up by site.js). */
.scanner-grid.will-reveal li {
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 90ms);
}
.scanner-grid.will-reveal.is-visible li { opacity: 1; transform: none; }

/* "Works with your scanner" heading above the scanner logos. */
.scanners-title { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 26px); }
.scanners-sub { margin: 0 auto 28px; max-width: 520px; color: var(--muted); font-size: 16px; }

/* Animated emoji in front of a page title (e.g. the delivery truck on Request a pickup). */
.title-with-icon { display: inline-flex; align-items: center; gap: 12px; }
.title-emoji { display: inline-block; width: 1.4em; height: 1.4em; flex: none; }
.title-emoji img, .title-emoji svg { display: block; width: 100%; height: 100%; }

/* Animated star after "Orders" in the top menu. */
.nav-with-emoji { display: inline-flex; align-items: center; gap: 4px; }
.nav-emoji { display: inline-block; width: 1.25em; height: 1.25em; flex: none; }
.nav-emoji img, .nav-emoji svg { display: block; width: 100%; height: 100%; }

/* Price list pages drawn by PDF.js: white sheets on a grey panel. */
.pdf-pages {
  display: grid; gap: clamp(14px, 2.5vw, 24px); justify-items: center;
  padding: clamp(14px, 3.5vw, 36px); border-radius: var(--radius);
  background: #d5dae1;
}
.pdf-pages[hidden] { display: none; }
.pdf-pages canvas {
  display: block; width: 100%; max-width: 860px; height: auto; background: #fff;
  border-radius: 3px; box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 8px 24px rgb(15 30 60 / 18%);
}
.pdf-frame { background: #d5dae1; }

/* "I am a" options: plain radio buttons with labels, no pill outlines. */
.role-options { gap: 10px 26px; }
.role-options label { padding: 4px 0; border: 0; border-radius: 0; background: none; font-weight: 500; }
.role-options label:has(input:checked) { background: none; color: var(--ink); }
.role-options input { width: 17px; height: 17px; }
/* Orders page: the three product tiles span the same width as the six link blocks below. */
.promo-row { max-width: 760px; }
/* Menu group headings in black so they stand out. */
.menu-group h2 { color: #111; }

/* Hero strip: keep the moving track on one GPU layer (smoother in Safari). Its images load
   eagerly: Safari's lazy-loading ignores the transform, so the duplicated tiles that only come
   into view through the animation could stay blank. */
.marquee-track { will-change: transform; backface-visibility: hidden; transform: translateZ(0); }

/* Australian flag in the contact bar: a picture, because Windows shows the flag emoji as the letters "AU". */
.contact-bar .flag { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -0.3em; }

/* Dated drop-down notice (Christmas closing, reopening). Hidden until site.js drops it in. */
.site-notice { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; color: #fff;
  background: linear-gradient(180deg, #1c3a8c 0%, #2f5dcf 100%); box-shadow: 0 6px 24px rgb(10 30 80 / 35%);
  padding: 22px 60px 24px; transform: translateY(-105%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.site-notice.is-open { transform: none; }
.site-notice-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 22px; }
.site-notice-icon { flex: none; width: 70px; height: 70px; }
.site-notice-text p { margin: 0; font-size: 18px; line-height: 1.55; }
.site-notice-text .site-notice-title { color: #ffe94d; font-weight: 700; font-size: 20px; }
.site-notice-close { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.site-notice-close:hover { background: rgb(255 255 255 / 12%); }
.site-notice-close:focus-visible { outline: 2px solid #ffe94d; outline-offset: 2px; }
@media (max-width: 600px) {
  .site-notice { padding: 18px 44px 20px; }
  .site-notice-inner { flex-direction: column; gap: 10px; text-align: center; }
  .site-notice-icon { width: 58px; height: 58px; }
  .site-notice-text p { font-size: 16px; }
  .site-notice-text .site-notice-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .site-notice { transition: none; } }

/* Clinician fact sheets (/fact-sheets/): the PDF's layout as a web page. */
.fs-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.fact-sheet { max-width: 860px; margin-inline: auto; text-align: left; }
.fs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 8px; }
.fs-card-panel { border-radius: 14px; padding: 18px 20px; }
.fs-card-panel h2, .fs-card-panel h3 { margin: 0; font-size: 20px; color: #13335c; }
.fs-blue { background: #e8f2ff; }
.fs-green { background: #e8f6ec; }
.fs-sub { margin: 2px 0 10px; color: #5b6770; font-size: 14px; }
.fs-ticks { list-style: none; margin: 0 0 10px; padding: 0; }
.fs-ticks li { position: relative; padding-left: 24px; margin: 6px 0; line-height: 1.45; }
.fs-ticks li::before { content: "✓"; position: absolute; left: 0; color: #1f9a50; font-weight: 700; }
.fs-best { margin: 0; font-size: 15px; color: #1d4f91; }
.fs-best strong { color: #13335c; }
.fs-heading { margin: 30px 0 10px; font-size: 22px; color: #13335c; }
.fs-lead { margin: 0 0 14px; }
.fs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fs-table th, .fs-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #dfe5ec; vertical-align: top; }
.fs-table thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #5b6770; }
.fs-table tbody th { color: #13335c; width: 26%; }
.fs-callout { margin: 24px 0 0; padding: 16px 18px; border-radius: 12px; background: #fff6df; line-height: 1.55; }
.fs-callout strong { color: #13335c; }
.fs-disclaimer { margin: 22px 0 0; font-size: 13px; color: #5b6770; line-height: 1.55; }
.fs-back { margin: 18px 0 0; }
@media (max-width: 640px) {
  .fs-pair { grid-template-columns: 1fr; }
  .fs-table thead { display: none; }
  .fs-table tr { display: block; padding: 10px 0; border-bottom: 1px solid #dfe5ec; }
  .fs-table th, .fs-table td { display: block; border: 0; padding: 3px 0; width: auto; }
  .fs-table td::before { content: attr(data-label) ": "; font-weight: 700; color: #5b6770; }
}
.fs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fs-list-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: #fff;
  border: 1px solid #dfe5ec; color: inherit; text-decoration: none; box-shadow: 0 2px 10px rgb(15 60 120 / 6%); }
.fs-list-card:hover { border-color: var(--blue); }
.fs-list-card strong { font-size: 19px; color: #13335c; }
.fs-list-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-dark); background: var(--blue-soft); padding: 2px 9px; border-radius: 999px; }
.fs-list-meta { font-size: 13px; color: #5b6770; }

