/* Dedicated phone composition. The approved layout above 480px is untouched. */
@media (max-width:480px) {
  html:where([data-knowd-presentation="phone"]) {scroll-padding-top:94px}
  :where(html[data-knowd-presentation="phone"]) .version-3 {--phone-gutter:clamp(20px,5.6vw,24px)}
  :where(html[data-knowd-presentation="phone"]) .version-3 .section {padding:64px var(--phone-gutter);min-width:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 main, :where(html[data-knowd-presentation="phone"]) .version-3 section, :where(html[data-knowd-presentation="phone"]) .version-3 article, :where(html[data-knowd-presentation="phone"]) .version-3 .section-heading > *, :where(html[data-knowd-presentation="phone"]) .version-3 .split > * {min-width:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 h1, :where(html[data-knowd-presentation="phone"]) .version-3 h2, :where(html[data-knowd-presentation="phone"]) .version-3 h3 {overflow-wrap:break-word;text-wrap:pretty}
  :where(html[data-knowd-presentation="phone"]) .version-3 h2, :where(html[data-knowd-presentation="phone"]) .version-3 .how h2, :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy h2, :where(html[data-knowd-presentation="phone"]) .version-3 .v4-software-copy h2 {font-size:clamp(30px,8.2vw,35px);line-height:1.13;margin-bottom:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .section-label {margin-bottom:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 p {max-width:100%}
  :where(html[data-knowd-presentation="phone"]) .version-3 .lead {font-size:20px;line-height:1.5}
  :where(html[data-knowd-presentation="phone"]) .version-3 .section-heading {display:block;margin-bottom:36px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .section-heading > p {margin-top:22px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .split, :where(html[data-knowd-presentation="phone"]) .version-3 .three, :where(html[data-knowd-presentation="phone"]) .version-3 .system-layout, :where(html[data-knowd-presentation="phone"]) .version-3 .technical-detail-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .actions {flex-direction:column;align-items:stretch;gap:12px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .button {min-height:48px;justify-content:center;text-align:center;gap:12px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .text-link {max-width:none;min-height:48px;gap:16px}
/* The existing smart header keeps its scroll behaviour; only the phone menu changes. */
  :where(html[data-knowd-presentation="phone"]) .version-3 header {width:calc(100% - 32px);padding:10px 16px;gap:12px}
  :where(html[data-knowd-presentation="phone"]) .version-3 header .brand {width:132px}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu {position:relative;display:block;width:44px;height:44px;min-width:44px;padding:0;font-size:0;z-index:2}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu span {display:none}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu::before, :where(html[data-knowd-presentation="phone"]) .version-3 #menu::after {content:"";position:absolute;width:18px;height:2px;left:13px;background:var(--navy);transition:transform 280ms ease;transform-origin:center}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu::before {top:18px}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu::after {top:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu[aria-expanded="true"]::before {transform:translateY(3px) rotate(45deg)}
  :where(html[data-knowd-presentation="phone"]) .version-3 #menu[aria-expanded="true"]::after {transform:translateY(-3px) rotate(-45deg)}
  :where(html[data-knowd-presentation="phone"]) .version-3.phone-menu-open header {transform:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff;pointer-events:auto}
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav.open {position:fixed;inset:92px 16px 16px;width:auto;max-height:calc(100vh - 108px);max-height:calc(100dvh - 108px);margin:0;padding:30px 24px;background:var(--navy);color:#fff;border:1px solid #45616f;border-radius:20px;overflow-y:auto;overscroll-behavior:contain;box-shadow:none;justify-content:center;gap:14px}
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav a {white-space:normal;font-size:23px;line-height:1.3;padding:16px 0;min-height:52px;border-bottom:1px solid #45616f}
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav .nav-cta {color:var(--navy);background:var(--pale);text-align:center;padding:16px;margin-top:16px;border:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav a:focus-visible {outline-color:var(--aqua);outline-offset:3px}
  :where(html[data-knowd-presentation="phone"]) .version-3.phone-menu-open {overflow:hidden}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero {margin:7px;border-radius:22px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero-content {padding:40px calc(var(--phone-gutter) - 7px) 42px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero h1, :where(html[data-knowd-presentation="phone"]) .version-3 .tech-intro h1 {font-size:clamp(34px,9.1vw,39px);line-height:1.1;margin-bottom:26px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero p {font-size:17px;line-height:1.6}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero p.eyebrow {font-size:12px;letter-spacing:.12em;margin-bottom:26px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero p.hero-secondary {font-size:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero-media-area {padding:32px 0 40px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero-media {width:calc(100% - 32px);aspect-ratio:16/9;border-radius:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero-sound {min-height:44px;bottom:8px;right:8px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .proof-strip {margin:0 var(--phone-gutter);padding:0 0 20px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .proof-strip p {padding:18px 0;font-size:15px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .proof-strip p br {display:initial}
  :where(html[data-knowd-presentation="phone"]) .version-3 .proof-strip span {display:block;font-size:26px;margin-bottom:6px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why article {padding-top:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why h3 {font-size:25px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why .number {margin-bottom:18px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .editorial-close {font-size:23px;line-height:1.45;padding-top:28px;margin-top:36px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .cycle-stages {grid-template-columns:minmax(0,1fr)}
  :where(html[data-knowd-presentation="phone"]) .version-3 .cycle-stages li {grid-template-columns:24px minmax(0,1fr);gap:10px 12px;padding:24px 18px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .cycle-stages h3 {font-size:23px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .version-3 .cycle-stages p {font-size:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .cycle-return {margin:0 10px;padding:14px 12px;font-size:14px;line-height:1.5}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-value-strip {grid-template-columns:minmax(0,1fr);gap:26px;margin-top:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-value-strip p {font-size:16px;line-height:1.6}
  :where(html[data-knowd-presentation="phone"]) .version-3 .system-representation {padding:24px 14px;min-width:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 .system-input {gap:6px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .system-input span {padding:7px 9px;font-size:13px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .intelligence-node {padding:22px 14px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .intelligence-node h3 {font-size:25px;line-height:1.18;margin:0 0 14px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .intelligence-node p {font-size:14px;line-height:1.6}
  :where(html[data-knowd-presentation="phone"]) .version-3 .flow-node {padding:15px 10px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .system-return {font-size:14px;line-height:1.5}
  :where(html[data-knowd-presentation="phone"]) .version-3 .ecosystem article {padding:28px 0}
  :where(html[data-knowd-presentation="phone"]) .version-3 .ecosystem article:first-child {padding-top:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 .ecosystem h3 {font-size:27px;margin:12px 0 16px}
/* Retain the complete original artwork and transcribe its information for phone reading. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-diagram-scroll {overflow:visible;margin-top:28px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-cfs {width:100%;min-width:0;height:auto}
  :where(html[data-knowd-presentation="phone"]) .version-3 .phone-capabilities {display:grid;gap:0;margin-top:28px}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities article {border:1px solid var(--line);border-radius:14px;background:#fff;padding:24px 20px}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities h3 {font-size:23px;line-height:1.2;margin-bottom:14px}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities p {margin:0;font-size:16px;line-height:1.6}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities .phone-personalisation {background:var(--pale);border-color:#a9c7c7;margin-bottom:26px}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities .phone-validate {border-top:4px solid var(--teal)}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities .phone-collect {border-top:4px solid #149cec}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities .phone-evolve {border-top:4px solid #007f9e}
  :where(html[data-knowd-presentation="phone"]) .phone-capabilities .phone-connection {text-align:center;font-size:25px;line-height:1;padding:14px;color:var(--teal)}
  :where(html[data-knowd-presentation="phone"]) .version-3 .grower-cards {gap:40px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .grower-image {width:100%;margin-bottom:22px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .grower-cards h3 {font-size:27px;line-height:1.2;margin-bottom:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .grower-cards p {margin-bottom:0}
/* Keep Technology in the same page position; its copy leads into the full product visual. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-layout {display:flex;flex-direction:column;gap:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy {order:0;min-width:0;width:100%}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-kit {order:1;width:100%;margin:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-kit img {width:100%;max-width:100%;height:auto;object-fit:contain}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy .technical-capabilities {grid-template-columns:minmax(0,1fr);gap:12px;margin:28px 0 16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy .technical-capabilities > div {padding:18px 20px;font-size:17px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .philosophy h2 {font-size:clamp(34px,9vw,39px)}
  :where(html[data-knowd-presentation="phone"]) .version-3 .philosophy .lead {font-size:20px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .about .split {gap:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .purpose-promise {padding-left:20px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .contact h2 {font-size:clamp(38px,10vw,43px)}
  :where(html[data-knowd-presentation="phone"]) .version-3 .contact .partner-link {min-height:48px;text-align:center}
  :where(html[data-knowd-presentation="phone"]) .version-3 footer {padding:40px var(--phone-gutter) 28px}
  :where(html[data-knowd-presentation="phone"]) .version-3 footer > .brand {width:165px}
  :where(html[data-knowd-presentation="phone"]) .version-3 footer > div {gap:20px}
  :where(html[data-knowd-presentation="phone"]) .version-3 footer > div a {padding:10px 0;min-height:44px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .tech-intro {padding:34px calc(var(--phone-gutter) - 7px) 42px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .tech-intro .lead {font-size:21px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .back-link {padding:8px 0;min-height:44px;margin-bottom:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .benchmark {padding:24px 18px;margin-top:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .benchmark h3 {font-size:25px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .version-3 .benchmark-grid {grid-template-columns:minmax(0,1fr);gap:14px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .benchmark-grid article {padding:20px 16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .benchmark-grid p {font-size:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .technical-detail-grid {gap:28px;margin-top:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .technical-detail-grid h3 {font-size:26px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .technology-page .v4-software-layout {width:100%;max-width:100%}
  :where(html[data-knowd-presentation="phone"]) .technology-page .v4-software-copy .architecture-stack {margin:30px 0 0;width:100%}
  :where(html[data-knowd-presentation="phone"]) .technology-page .v4-software-copy .architecture-stack article {grid-template-columns:minmax(0,1fr);gap:18px;padding:26px 20px}
  :where(html[data-knowd-presentation="phone"]) .technology-page .v4-software-copy .architecture-stack h3 {font-size:25px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .technology-page .v4-software-copy .architecture-stack p {font-size:16px;line-height:1.6}
  :where(html[data-knowd-presentation="phone"]) .technology-page .engine-foundation {font-size:27px;line-height:1.25}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-engine-scroll {overflow:visible;margin:28px 0 32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-engine-image {width:100%;min-width:0;max-width:100%;height:auto}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-accessible-table {position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;border:0}
  :where(html[data-knowd-presentation="phone"]) .version-3 .engine-rows article {position:relative;grid-template-columns:minmax(0,1fr);gap:22px;padding:28px 0 44px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .engine-rows article::after {content:"↓";position:absolute;bottom:6px;left:0;color:var(--teal);font-size:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .engine-rows h3 {font-size:27px;line-height:1.2;margin-bottom:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .engine-rows ul {grid-template-columns:minmax(0,1fr);gap:10px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .engine-rows li {padding:15px 16px;font-size:16px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .shared-data {padding:26px 20px;margin-top:24px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .shared-data h3 {font-size:25px;line-height:1.2;margin-bottom:18px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .validation-statement {font-size:27px;line-height:1.3;margin-bottom:36px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .validation-body h3 {font-size:25px;line-height:1.2}
  :where(html[data-knowd-presentation="phone"]) .version-3 .validation-body p {margin-bottom:26px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .validation-goal {font-size:21px;line-height:1.5;padding-left:20px;margin:36px 0 28px}
/* Phone finishing refinements; every rule remains inside the 480px scope. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .hero h1 {text-align:center}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why .three h3 {margin-bottom:12px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .phone-capabilities {display:none}
  :where(html[data-knowd-presentation="phone"]) .version-3 .grower-cards .grower-image {width:85%;margin-left:auto;margin-right:auto}
/* Flatten the copy wrapper only on phones so the existing link can follow the kit. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-layout {gap:0;align-items:stretch}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy {display:contents}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-kit {margin-top:32px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-tech-copy > .text-link {order:2;width:100%}
/* Retain the image's full proportions, using a little of the existing side gutters. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-engine-scroll {width:110%;margin-left:-5%;margin-right:-5%}
/* Keep the original screen-reader description without the repeated visible cards. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-accessible-table {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Compact the space around the numbered-item dividers by 40%. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .why .three {row-gap:19.2px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why .three > article:not(:last-child) > p:last-child {margin-bottom:9.6px}
  :where(html[data-knowd-presentation="phone"]) .version-3 .why .three > article + article {padding-top:14.4px}
/* Use the side gutters for a larger, complete diagram, leaving 8px at each screen edge. */
  :where(html[data-knowd-presentation="phone"]) .version-3 .v4-diagram-scroll {width:calc(100% + var(--phone-gutter) + var(--phone-gutter) - 16px);margin-left:calc(8px - var(--phone-gutter));margin-right:calc(8px - var(--phone-gutter))}
/* A composed phone menu using Knowd's navy, aqua and circular diagram language. */
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav.open {
    bottom:auto;
    padding:clamp(24px,5vh,40px) 26px 28px;
    justify-content:flex-start;
    gap:6px;
    background-color:var(--navy);
    background-image:
      radial-gradient(ellipse at 100% 0%,rgba(91,217,208,.13),transparent 65%),
      radial-gradient(circle at 110% 100%,transparent 119px,rgba(91,217,208,.09) 120px,rgba(91,217,208,.09) 121px,transparent 122px,transparent 179px,rgba(91,217,208,.06) 180px,rgba(91,217,208,.06) 181px,transparent 182px),
      linear-gradient(155deg,transparent 40%,rgba(0,127,135,.10));
  }
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav a {
    flex-shrink:0;
    padding:18px 0;
    border-bottom-color:rgba(188,206,213,.20);
  }
  :where(html[data-knowd-presentation="phone"]) .version-3 header nav .nav-cta {
    margin-top:30px;
    padding:16px 20px;
    border:0;
  }
}
