/* /doctor-support only: the big banner and its notes diagram (30 Nov 2026).
   The diagram is CSS only: complete as a still with no JavaScript, plays by itself,
   loops with no jump, and stands still under prefers-reduced-motion. */

.ds-hero {
  position: relative;
  overflow: hidden;
  background: var(--aubergine-deep);
  color: var(--cream);
  padding: 150px 0 96px;
}
.ds-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(91, 42, 140, 0.55), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(139, 95, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.ds-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.ds-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 22px;
}
.ds-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 26px;
  max-width: 13ch;
}
.ds-hero h1 em { color: var(--lilac); }
.ds-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: rgba(248, 245, 240, 0.86);
  max-width: 34rem;
  margin-bottom: 34px;
}
.ds-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ds-actions .btn-cream { background: var(--lilac); color: var(--aubergine-deep); }
.ds-actions .btn-cream:hover { background: var(--cream); }

/* The notes diagram: dictation on the left, where the note goes on the right. */
.ds-flow {
  position: relative;
  aspect-ratio: 560 / 440;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
.ds-flow svg.ds-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ds-line-base { fill: none; stroke: rgba(183, 148, 214, 0.22); stroke-width: 1.5; }
.ds-line-pulse {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 10 100;
  stroke-dashoffset: 10;
  opacity: 0;
  animation: ds-travel 10.8s linear infinite;
}

.ds-phone {
  position: absolute;
  left: 0;
  top: 50%;
  width: 31%;
  aspect-ratio: 9 / 17;
  transform: translateY(-50%);
  border-radius: 22px;
  background: linear-gradient(160deg, #3A2463, #24153F);
  border: 1px solid rgba(183, 148, 214, 0.35);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.5vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 8%;
}
.ds-phone-label {
  white-space: nowrap;
  font-size: clamp(0.55rem, 0.85vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
}
.ds-phone-title {
  font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  font-size: clamp(0.85rem, 1.35vw, 1.15rem);
  line-height: 1.15;
  color: var(--cream);
}
.ds-wave {
  display: flex;
  align-items: center;
  gap: 5%;
  height: 22%;
}
.ds-wave span {
  flex: 1;
  height: 30%;
  border-radius: 3px;
  background: var(--lilac);
  transform-origin: center;
  animation: ds-wave 1.8s ease-in-out infinite;
}
.ds-wave span:nth-child(2) { animation-delay: -0.3s; height: 60%; }
.ds-wave span:nth-child(3) { animation-delay: -0.6s; height: 90%; }
.ds-wave span:nth-child(4) { animation-delay: -0.9s; height: 55%; }
.ds-wave span:nth-child(5) { animation-delay: -1.2s; height: 75%; }
.ds-wave span:nth-child(6) { animation-delay: -1.5s; height: 40%; }
.ds-rec {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.55rem, 0.85vw, 0.74rem);
  color: rgba(248, 245, 240, 0.75);
}
.ds-rec::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E5484D;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.2);
  animation: ds-blink 1.8s ease-in-out infinite;
}

.ds-dest {
  position: absolute;
  left: 60%;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  top: 0;
  bottom: 0;
}
.ds-dest li {
  position: absolute;
  left: 0;
  right: 0;
  height: 13%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(183, 148, 214, 0.25);
  background: rgba(26, 15, 46, 0.65);
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  line-height: 1.2;
  font-weight: 600;
  color: rgba(248, 245, 240, 0.9);
  animation: ds-arrive 10.8s ease-out infinite;
}
.ds-dest li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(183, 148, 214, 0.5);
  background: transparent center / 11px no-repeat;
  animation: ds-tick 10.8s ease-out infinite;
  animation-delay: inherit;
}

/* Row positions match the SVG paths (viewBox 560 x 440). */
.ds-dest li:nth-child(1) { top: 9.09%; }
.ds-dest li:nth-child(2) { top: 25.45%; }
.ds-dest li:nth-child(3) { top: 41.82%; }
.ds-dest li:nth-child(4) { top: 58.18%; }
.ds-dest li:nth-child(5) { top: 74.55%; }
.ds-dest li:nth-child(6) { top: 90.91%; }

/* Six stops, 1.8 s apart, one 10.8 s cycle: the loop has no seam. */
.ds-p1, .ds-dest li:nth-child(1) { animation-delay: 0s; }
.ds-p2, .ds-dest li:nth-child(2) { animation-delay: 1.8s; }
.ds-p3, .ds-dest li:nth-child(3) { animation-delay: 3.6s; }
.ds-p4, .ds-dest li:nth-child(4) { animation-delay: 5.4s; }
.ds-p5, .ds-dest li:nth-child(5) { animation-delay: 7.2s; }
.ds-p6, .ds-dest li:nth-child(6) { animation-delay: 9s; }

@keyframes ds-travel {
  0%   { stroke-dashoffset: 10; opacity: 0; animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1); }
  1%   { opacity: 1; }
  9%   { stroke-dashoffset: -100; opacity: 1; }
  9.5%, 100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes ds-arrive {
  0%, 8%   { border-color: rgba(183, 148, 214, 0.25); background-color: rgba(26, 15, 46, 0.65); }
  10%      { border-color: var(--lilac); background-color: rgba(91, 42, 140, 0.55); }
  30%      { border-color: rgba(183, 148, 214, 0.45); background-color: rgba(58, 36, 99, 0.6); }
  100%     { border-color: rgba(183, 148, 214, 0.25); background-color: rgba(26, 15, 46, 0.65); }
}
@keyframes ds-tick {
  0%, 8% { background-color: transparent; border-color: rgba(183, 148, 214, 0.5); background-image: none; }
  10%, 60% {
    background-color: var(--lilac);
    border-color: var(--lilac);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231A0F2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  75%, 100% { background-color: transparent; border-color: rgba(183, 148, 214, 0.5); background-image: none; }
}
@keyframes ds-wave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
@keyframes ds-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Phone width: the diagram stacks, the lines go, the stops light in turn. */
@media (max-width: 1100px) {
  .ds-hero-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .ds-hero { padding: 120px 0 72px; }
  .ds-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .ds-hero h1 { max-width: 16ch; }
  .ds-flow {
    aspect-ratio: auto;
    justify-self: stretch;
    max-width: none;
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 16px;
    align-items: center;
  }
  .ds-flow svg.ds-lines { display: none; }
  .ds-phone { position: relative; top: auto; transform: none; width: 100%; }
  .ds-dest { position: relative; left: auto; display: grid; gap: 8px; }
  .ds-dest li { position: relative; top: auto !important; transform: none; height: auto; min-height: 44px; padding: 10px 12px; font-size: 0.9rem; }
  .ds-phone-label, .ds-rec { font-size: 0.72rem; }
}
@media (max-width: 420px) {
  .ds-flow { grid-template-columns: 1fr; }
  .ds-phone { width: 100%; aspect-ratio: auto; flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .ds-wave { flex: none; width: 88px; height: 28px; }
  .ds-rec { margin: 0 0 0 auto; }
  .ds-phone { flex-wrap: wrap; }
  .ds-phone-title { white-space: nowrap; }
  .ds-dest { border-left: 1.5px solid rgba(183, 148, 214, 0.3); padding-left: 14px; margin-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ds-line-pulse { display: none; }
  .ds-wave span, .ds-rec::before { animation: none; }
  .ds-dest li { animation: none; border-color: rgba(183, 148, 214, 0.45); }
  .ds-dest li::before {
    animation: none;
    background-color: var(--lilac);
    border-color: var(--lilac);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231A0F2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* "Who this is for" list: plain rows, no icons. */
.ds-who {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  max-width: 980px;
}
.ds-who li {
  padding: 18px 0;
  border-top: 1px solid var(--stone);
  font-size: 1.08rem;
  line-height: 1.5;
}
.ds-who li strong { display: block; font-weight: 700; margin-bottom: 2px; }
.ds-who li span { color: var(--slate); font-size: 0.98rem; }
@media (max-width: 700px) { .ds-who { grid-template-columns: 1fr; } }

.ds-included {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--lilac);
  margin: -18px 0 30px;
}

/* Sample screens: coded, made-up figures, not any real software's look. */
.ds-screens {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}
.ds-screen {
  margin: 0;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10, 10, 15, 0.04), 0 12px 32px -12px rgba(45, 27, 78, 0.18);
}
.ds-screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--aubergine);
  color: var(--cream);
  font-size: 0.85rem;
}
.ds-screen-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(248, 245, 240, 0.3); }
.ds-screen-bar b { margin-left: 8px; font-weight: 600; }
.ds-screen table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ds-screen th { text-align: left; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-weight: 700; padding: 12px 16px 8px; }
.ds-screen td { padding: 11px 16px; border-top: 1px solid var(--cream-dim); }
.ds-screen em { font-style: normal; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ds-screen em.ok { background: #E6F2EA; color: #1F6B3A; }
.ds-screen em.wait { background: #FBEFD9; color: #8A5A00; }
.ds-screen em.new { background: #EFE7F8; color: var(--royal); }
.ds-stats { display: grid; grid-template-columns: 1fr 1fr; }
.ds-stats div { padding: 20px 18px; border-top: 1px solid var(--cream-dim); }
.ds-stats div:nth-child(odd) { border-right: 1px solid var(--cream-dim); }
.ds-stats small { display: block; font-size: 0.78rem; color: var(--slate); margin-bottom: 4px; }
.ds-stats strong { font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-size: 1.7rem; font-weight: 500; color: var(--aubergine); }
.ds-screen figcaption { padding: 12px 16px 16px; font-size: 0.85rem; color: var(--slate); border-top: 1px solid var(--cream-dim); }
.ds-screens-note { margin-top: 16px; font-size: 0.82rem; color: var(--slate); }
@media (max-width: 900px) { .ds-screens { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .ds-screen table { font-size: 0.8rem; }
  .ds-screen th, .ds-screen td { padding-left: 10px; padding-right: 10px; }
  .ds-screen th:nth-child(3), .ds-screen td:nth-child(3) { display: none; }
}

/* Menu over the dark banner (design review, 30 Nov 2026). */
@media (min-width: 1025px) {
  nav:not(.scrolled) .nav-links > li > a:not(.nav-cta),
  nav:not(.scrolled) .dropdown-toggle { color: var(--cream); }
}
nav:not(.scrolled) .logo-doc { color: var(--lilac); }
nav:not(.scrolled) .logo-help { color: rgba(248, 245, 240, 0.78); }
nav:not(.scrolled) .mobile-toggle span { background: var(--cream); }
nav:not(.scrolled) .nav-cta:not(.nav-cta-builder),
nav:not(.scrolled) .nav-cta-mobile { background: var(--lilac) !important; color: var(--aubergine-deep) !important; }
nav:not(.scrolled) .nav-cta:not(.nav-cta-builder):hover { background: var(--cream) !important; }
nav:not(.scrolled) :focus-visible,
.ds-hero :focus-visible { outline-color: var(--lilac); }
.ds-actions .btn { padding: 15px 24px; }
.ds-hero h1 { text-wrap: balance; }
@media (min-width: 1025px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Two ways to work with us (30 Nov 2026). */
.ds-ways { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 40px; align-items: stretch; }
.ds-way { background: #fff; border: 1px solid var(--stone); border-radius: 18px; padding: 30px 28px; }
.ds-way h3 { font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-weight: 500; font-size: 1.6rem; margin: 12px 0 10px; }
.ds-way p { color: var(--slate); margin-bottom: 22px; max-width: 46ch; }
.ds-way--main { background: var(--aubergine); border-color: var(--aubergine); color: var(--cream); }
.ds-way--main p { color: rgba(248, 245, 240, 0.82); }
.ds-way--main .btn-primary { background: var(--lilac); color: var(--aubergine-deep); }
.ds-way--main :focus-visible { outline-color: var(--lilac); }
.ds-way-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--royal); }
.ds-way--main .ds-way-tag { color: var(--lilac); }
@media (max-width: 800px) { .ds-ways { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .ds-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ds-ways { align-items: start; }
.ds-email { padding: 16px 0 0; font-size: 0.9rem; }
.ds-email > p { padding: 0 16px 12px; }
.ds-email-head { color: var(--slate); border-bottom: 1px solid var(--cream-dim); }

/* Enquiry form (30 Nov 2026): same Web3Forms form as /contact, delivers to contact@dochelp.com.au. */
.ds-enquire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.ds-enquire-text p { color: var(--slate); font-size: 17px; line-height: 1.6; margin: 0 0 28px; max-width: 420px; }
.ds-enquire .form-wrap { padding: 48px 44px; }
.ds-fine { color: rgba(248, 245, 240, 0.75); font-size: 14px; }
.ds-fine a { color: inherit; }
.ds-send { width: 100%; justify-content: center; }
#enquire { scroll-margin-top: 90px; }
@media (max-width: 900px) { .ds-enquire { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .ds-enquire .form-wrap { padding: 32px 20px; } }
