/* AeglePro marketing homepage — isolated from other website pages and Flutter app. */
:root {
  color-scheme: light;
  --ink: #142f33;
  --ink-soft: #52676a;
  --teal: #167c73;
  --teal-deep: #0e655d;
  --paper: #ffffff;
  --mist: #f3f8f6;
  --line: #dce6e4;
  --shell: 1180px;
  --shadow: 0 22px 80px rgba(12, 58, 57, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.mobile-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-deep); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #2b8d80; outline-offset: 4px; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; color: var(--paper); padding: 12px 18px; background: var(--teal-deep); }
.skip-link:focus { top: 12px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 5.4vw, 5.65rem); font-weight: 750; line-height: 1.07; }
h2 { font-size: clamp(2.2rem, 3.65vw, 3.8rem); font-weight: 740; line-height: 1.14; }
h3 { font-size: clamp(1.4rem, 2vw, 2.1rem); font-weight: 690; line-height: 1.22; }
p { line-height: 1.7; }
.text-accent { color: var(--teal); }
.eyebrow { display: flex; gap: 10px; align-items: center; color: var(--teal); font-size: .72rem; font-weight: 760; letter-spacing: .16em; line-height: 1.5; }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; background: #27a78e; border-radius: 50%; }
.section { padding: 112px 0; }
.section-intro { max-width: 780px; margin-bottom: 64px; }
.section-intro .eyebrow { margin-bottom: 22px; }
.section-intro > p:last-child { margin-top: 24px; font-size: 1.1rem; color: var(--ink-soft); max-width: 620px; }
.section-intro-centered { margin-inline: auto; text-align: center; }
.section-intro-centered .eyebrow { justify-content: center; }
.section-intro-centered > p:last-child { margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; border-radius: 9px; padding: 12px 19px; min-height: 46px; border: 1px solid transparent; font-size: .91rem; font-weight: 670; line-height: 1.2; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-deep); color: white; }
.btn-outline { border-color: #a8beba; background: white; color: var(--ink); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--mist); }
.btn-large { padding: 17px 24px; min-height: 56px; font-size: .96rem; }
.btn-white { background: white; color: var(--teal-deep); }
.btn-white:hover { background: #e9f8f3; }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { color: white; border-color: white; background: rgba(255,255,255,.1); }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .93rem; font-weight: 730; color: var(--teal-deep); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 27px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 1.35rem; font-weight: 780; letter-spacing: -.06em; color: var(--teal-deep); }
.brand img { width: 52px; height: 34px; object-fit: contain; }
.brand:hover { color: var(--teal-deep); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.8vw, 26px); margin-left: auto; }
.desktop-nav a { font-size: .89rem; color: #344a4d; font-weight: 560; }
.desktop-nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 3px; margin-left: 3px; }
.menu-toggle { display: none; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px max(24px, calc((100vw - var(--shell))/2)); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 78px); overflow-y: auto; }
.mobile-nav > a { display: block; padding: 13px 3px; border-bottom: 1px solid #edf2f0; font-weight: 640; }
.mobile-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 3px; }

/* Home hero: original 1920x1078 image; subject stays visible without image filters. */
.home-page .site-header-home { position: relative; background: white; border-bottom: 1px solid var(--line); }
.home-page .site-header-home .brand { color: var(--teal-deep); }
.home-page .site-header-home .desktop-nav a,
.home-page .site-header-home .btn-quiet { color: #344a4d; }
.hero-photo { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(620px, 48vw, 785px); background: #183334; overflow: hidden; }
.hero-photo-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: none; transform: none; }
.hero-photo-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,25,28,.85) 0%, rgba(8,25,28,.73) 30%, rgba(8,25,28,.27) 59%, rgba(8,25,28,0) 83%); }
.hero-content { padding-top: 74px; padding-bottom: 76px; }
.hero-copy { max-width: 680px; }
.hero-kicker { color: #bbefdf; font-size: .77rem; font-weight: 760; letter-spacing: .14em; line-height: 1.6; margin-bottom: 18px; }
.hero-copy h1 { color: white; font-size: clamp(3.1rem, 5.1vw, 5.4rem); line-height: 1.07; max-width: 720px; }
.hero-copy h1 span { color: #b1e4d9; }
.hero-copy .hero-lead { margin: 26px 0 29px; color: #ecf5f2; font-size: clamp(1.04rem, 1.5vw, 1.19rem); line-height: 1.7; max-width: 580px; }
.hero-button-row { align-items: stretch; }
.hero-support { margin-top: 24px; color: #d5e6e1; font-size: .91rem; line-height: 1.6; }
.hero-platforms { margin-top: 29px; display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.hero-platforms a { display: inline-flex; border-radius: 9px; overflow: hidden; background: #0a0a0a; }
.hero-platforms a:focus-visible { outline-color: #fff; }
.hero-platforms img { height: 49px; width: auto; object-fit: contain; }
.hero-benefits-wrap { background: #f6faf8; border-bottom: 1px solid var(--line); }
.hero-benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); padding: 25px 0; }
.hero-benefits > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-content: start; padding: 8px 25px; border-right: 1px solid var(--line); }
.hero-benefits > div:first-child { padding-left: 0; }
.hero-benefits > div:last-child { border-right: 0; padding-right: 0; }
.hero-benefits .benefit-number { grid-row: span 2; color: #69a99c; font-size: .76rem; font-weight: 780; padding-top: 4px; }
.hero-benefits strong { font-size: .97rem; }
.hero-benefits > div > span:last-child { font-size: .86rem; color: var(--ink-soft); line-height: 1.6; margin-top: 4px; }

/* Trust */
.trust-strip { padding: 56px 0; border-bottom: 1px solid var(--line); }
.trust-layout { display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 46px; align-items: center; }
.trust-layout h2 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); margin-top: 10px; }
.trust-layout > p { color: var(--ink-soft); font-size: .98rem; }

/* Editorial features */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 108px); margin-top: 46px; }
.feature-row + .feature-row { margin-top: 94px; }
.feature-row-reverse .feature-copy { order: 2; }
.feature-row-reverse .feature-media { order: 1; }
.feature-copy { max-width: 490px; }
.feature-index, .audience-label { color: #6c9c94; letter-spacing: .15em; font-size: .73rem; font-weight: 760; }
.feature-copy h3 { font-size: clamp(1.9rem, 2.9vw, 3rem); margin: 20px 0 18px; }
.feature-copy p { font-size: 1.03rem; color: var(--ink-soft); }
.check-list { margin: 24px 0 27px; padding: 0; list-style: none; display: grid; gap: 11px; }
.check-list li { display: flex; align-items: center; gap: 13px; color: #374f50; font-size: .94rem; }
.check-list li::before { content: "✓"; color: var(--teal); font-weight: 850; }
.feature-media { overflow: hidden; display: flex; justify-content: center; align-items: center; min-height: 440px; border-radius: 22px; padding: 26px; }
.feature-media img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
.feature-media-mint { background: #e7f3ef; }
.feature-media-sand { background: #f5f2eb; }
.feature-media-lavender { background: #f0f2f8; }

/* Workflow */
.workflow-section { background: var(--mist); }
.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); padding: 0; margin: 0; border-top: 1px solid #bdd4cb; border-bottom: 1px solid #bdd4cb; }
.workflow-steps li { min-width: 0; padding: 27px 14px 27px 0; border-right: 1px solid #d4e5dc; }
.workflow-steps li + li { padding-left: 18px; }
.workflow-steps li:last-child { border-right: 0; }
.workflow-steps li > span { display: block; color: var(--teal); font-weight: 760; font-size: .8rem; margin-bottom: 27px; }
.workflow-steps strong { display: block; font-size: 1.17rem; }
.workflow-steps small { display: block; color: var(--ink-soft); margin-top: 7px; line-height: 1.45; }
.workflow-note { display: flex; align-items: center; gap: 19px; margin: 30px 0 0; max-width: 760px; }
.workflow-note > span { font-size: 1.7rem; color: var(--teal); }
.workflow-note p { color: #41595b; font-size: .94rem; }

/* Patient */
.split-section { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(42px, 8vw, 125px); align-items: center; }
.split-media { border-radius: 23px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; min-height: 490px; }
.split-media-patient { background: #e8f3f0; }
.split-media img { max-height: 515px; width: auto; object-fit: contain; }
.split-copy .eyebrow { margin-bottom: 18px; }
.split-copy h2 { margin-bottom: 21px; }
.split-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }
.mini-features { margin-top: 36px; display: grid; gap: 0; }
.mini-features > div { display: grid; gap: 7px; padding: 18px 0; border-top: 1px solid var(--line); }
.mini-features strong { font-size: 1.03rem; }
.mini-features span { color: var(--ink-soft); font-size: .95rem; line-height: 1.65; }

/* Clinic operations */
.operations-section { background: #f8faf9; }
.operations-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; }
.operations-copy .eyebrow { margin-bottom: 20px; }
.operations-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; margin: 20px 0 30px; }
.operations-list { display: grid; gap: 0; }
.operations-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid var(--line); }
.operations-list > div > span { color: #81aaa3; font-size: .79rem; padding-top: 3px; font-weight: 710; }
.operations-list h3 { font-size: 1.07rem; font-weight: 720; letter-spacing: -.025em; }
.operations-list p { margin-top: 5px; font-size: .92rem; color: var(--ink-soft); }
.operations-media { min-height: 540px; display: flex; align-items: center; justify-content: center; padding: 33px; background: #e6f1ec; border-radius: 20px; }
.operations-media img { max-height: 520px; width: auto; object-fit: contain; }

/* Solutions */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.audience-card { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 34px 28px; display: flex; flex-direction: column; min-height: 315px; }
.audience-card:nth-child(2) { background: #f6faf8; }
.audience-card h3 { font-size: 1.55rem; line-height: 1.24; margin: 34px 0 17px; }
.audience-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 24px; }
.audience-card .text-link { margin-top: auto; }

/* Testimonials */
.testimonials-section { background: #f5f8f7; }
.testimonial-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 44px; }
.testimonial-heading .eyebrow { margin-bottom: 18px; }
.testimonial-heading h2 { max-width: 670px; }
.testimonial-heading > p { max-width: 255px; color: var(--ink-soft); font-size: .95rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px; }
.testimonial-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(24px, 2.3vw, 34px); display: flex; flex-direction: column; }
.testimonial-card blockquote { font-size: .99rem; line-height: 1.82; margin: 0 0 26px; color: #314b4e; flex: 1; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 13px; padding-top: 21px; border-top: 1px solid var(--line); min-width: 0; }
.testimonial-avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.testimonial-person { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.testimonial-person strong { font-size: .88rem; }
.testimonial-person small { font-size: .76rem; color: var(--ink-soft); }
.testimonial-person a { font-size: .76rem; color: var(--teal-deep); line-height: 1.4; }
.clinic-logo { width: 76px; max-height: 46px; object-fit: contain; flex-shrink: 0; }
.video-link { color: var(--teal-deep); font-weight: 700; font-size: .85rem; margin-top: 17px; }
.video-link:hover { text-decoration: underline; }

/* Product gallery */
.product-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 41px; }
.product-intro .eyebrow { margin-bottom: 20px; }
.product-intro h2 { max-width: 700px; }
.product-intro p:last-child { color: var(--ink-soft); margin-top: 17px; }
.product-intro > a { flex-shrink: 0; }
/* Pricing stays on existing page. */
.pricing-band { padding: 65px 0; background: #eef6f3; }
.pricing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pricing-inner .eyebrow { margin-bottom: 12px; }
.pricing-inner h2 { font-size: clamp(2rem,2.7vw,2.8rem); }
.pricing-inner p:last-child { margin-top: 10px; color: var(--ink-soft); }
.pricing-inner > a { flex-shrink: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 94px; align-items: start; }
.faq-heading { position: sticky; top: 110px; }
.faq-heading .eyebrow { margin-bottom: 18px; }
.faq-heading > p:not(.eyebrow) { color: var(--ink-soft); margin: 19px 0 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: block; padding: 24px 40px 24px 0; cursor: pointer; font-weight: 680; line-height: 1.45; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 17px; color: var(--teal); font-size: 1.6rem; font-weight: 390; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 630px; padding: 0 38px 22px 0; color: var(--ink-soft); font-size: .94rem; }
.faq-list details p a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }

/* Final CTA */
.final-cta { padding: 110px 0; background: #11695f; color: white; }
.final-cta-content { text-align: center; }
.final-cta .eyebrow { justify-content: center; color: #b3e3d9; margin-bottom: 22px; }
.final-cta h2 { font-size: clamp(2.4rem,4.4vw,4.6rem); max-width: 940px; margin-inline: auto; }
.final-cta h2 span { color: #b3e3d9; }
.final-cta p:not(.eyebrow) { color: #dfefec; font-size: 1.08rem; max-width: 590px; margin: 23px auto 30px; }
.button-row-center { justify-content: center; }

/* Footer */
.site-footer { padding: 65px 0 23px; background: #f9fbfa; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .8fr .8fr 1fr; gap: clamp(22px,4vw,65px); }
.footer-about p { margin: 21px 0; max-width: 320px; font-size: .91rem; color: var(--ink-soft); }
.footer-about > a:not(.brand) { display: block; font-size: .86rem; line-height: 2.1; }
.footer-email { font-weight: 700; color: var(--teal-deep); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links h3 { font-size: .94rem; letter-spacing: 0; margin: 10px 0 8px; }
.footer-links > a { color: #405a5c; font-size: .87rem; }
.app-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 7px; }
.app-badges a { display: inline-block; }
.app-badges img { width: 103px; height: auto; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 32px; margin-top: 55px; border-top: 1px solid var(--line); }
.footer-bottom p, .footer-bottom a { color: var(--ink-soft); font-size: .78rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 16px; }
.whatsapp-contact { position: fixed; z-index: 20; right: 24px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #216e62; box-shadow: 0 8px 25px rgba(20,47,51,.2); color: white; font-size: .83rem; font-weight: 730; }
.whatsapp-contact:hover { color: white; background: #155b52; }
.whatsapp-contact svg { display: block; width: 21px; height: 21px; color: white; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1140px) {
  .header-inner { gap: 12px; }
  .desktop-nav { gap: 13px; }
  .header-demo { display: none; }
  .desktop-nav a { font-size: .85rem; }
  .trust-layout { gap: 22px; }
  .faq-grid { gap: 55px; }
}
@media (max-width: 1024px) {
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-inner { min-height: 70px; }
  .trust-layout { grid-template-columns: 1fr 1fr; }
  .trust-layout > .text-link { grid-column: 2; }
  .operations-grid { gap: 30px; }
  .operations-media { min-height: 400px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 40px), var(--shell)); }
  .section { padding: 76px 0; }
  .section-intro { margin-bottom: 38px; }
  .trust-strip { padding: 45px 0; }
  .trust-layout { grid-template-columns: 1fr; gap: 16px; }
  .trust-layout > .text-link { grid-column: auto; }
  .feature-row, .split-section, .operations-grid, .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-row + .feature-row { margin-top: 70px; }
  .feature-row-reverse .feature-copy, .feature-row-reverse .feature-media { order: initial; }
  .feature-media { min-height: 335px; }
  .feature-media img { max-height: 320px; }
  .workflow-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .workflow-steps li { border-bottom: 1px solid #d4e5dc; }
  .workflow-steps li:nth-child(3n) { border-right: 0; }
  .workflow-steps li:nth-last-child(-n+3) { border-bottom: 0; }
  .workflow-steps li:nth-child(4) { padding-left: 0; }
  .split-media { min-height: 350px; }
  .split-media img { max-height: 345px; }
  .operations-copy { order: 0; }
  .operations-media { order: 1; min-height: 340px; }
  .operations-media img { max-height: 340px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 250px; }
  .audience-card h3 { margin-top: 22px; }
  .testimonial-heading, .product-intro, .pricing-inner { flex-direction: column; align-items: flex-start; }
  .testimonial-heading > p { max-width: 600px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; }
  .brand { font-size: 1.24rem; }
  h1 { font-size: clamp(2.55rem, 11.3vw, 3.55rem); }
  h2 { font-size: clamp(2.05rem, 9vw, 3rem); }
  .feature-media, .operations-media { border-radius: 15px; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workflow-steps li { padding: 18px 10px 17px 0; }
  .workflow-steps li + li { padding-left: 10px; }
  .workflow-steps li:nth-child(3n) { border-right: 1px solid #d4e5dc; }
  .workflow-steps li:nth-child(2n) { border-right: 0; }
  .workflow-steps li:nth-child(4) { padding-left: 10px; }
  .workflow-steps li:nth-child(3), .workflow-steps li:nth-child(4) { border-bottom: 1px solid #d4e5dc; }
  .workflow-steps li:nth-child(5) { padding-left: 0; }
  .workflow-steps li > span { margin-bottom: 15px; }
  .testimonial-card { padding: 22px 18px; }
  .testimonial-card figcaption { flex-wrap: wrap; }
  .clinic-logo { margin-left: 57px; }
  .final-cta { padding: 79px 0; }
  .final-cta .button-row { display: grid; }
  .final-cta .button-row a { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { margin-top: 35px; }
  .whatsapp-contact { right: 12px; bottom: 11px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 768px) {
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
}

/* High-quality responsive hero. On small screens the entire image is shown. */
@media (max-width: 1024px) {
  .hero-photo { min-height: 640px; }
  .hero-photo-shade { background: linear-gradient(90deg, rgba(8,25,28,.87), rgba(8,25,28,.60) 55%, rgba(8,25,28,.05)); }
  .hero-copy { max-width: 625px; }
  .hero-copy h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
}
@media (max-width: 900px) {
  .hero-photo { display: block; min-height: 0; padding: 0; background: #102e32; }
  .hero-photo-image { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1078; object-fit: contain; object-position: center; z-index: 0; }
  .hero-photo-shade { display: none; }
  .hero-content { padding-top: 37px; padding-bottom: 47px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(2.48rem, 9vw, 3.8rem); }
  .hero-copy .hero-lead { color: #e1eeeb; }
  .hero-platforms img { height: 47px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 0; padding: 12px 0; }
  .hero-benefits > div { grid-template-columns: 30px 1fr; border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .hero-benefits > div:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .hero-copy h1 { font-size: clamp(2.3rem, 9.4vw, 3rem); }
  .hero-button-row { display: grid; }
  .hero-button-row a { width: 100%; }
  .hero-platforms { justify-content: flex-start; }
  .hero-platforms img { height: 39px; }
}


/* Homepage appointment calendar media */
.feature-media.feature-media-mint { background: linear-gradient(180deg, #edf7f3 0%, #e6f2ee 100%); }
.feature-calendar-image { width: 100%; max-width: 380px; max-height: 560px !important; object-fit: contain; border-radius: 22px; box-shadow: 0 18px 42px rgba(20,47,51,.12); }
@media (max-width: 768px) {
  .feature-calendar-image { max-width: 310px; max-height: 510px !important; }
}


/* Coming soon exercise ecosystem */
.hep-coming-section { background: linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%); border-top: 1px solid #e2eee8; border-bottom: 1px solid #e2eee8; }
.hep-coming-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 30px; flex-wrap: wrap; }
.hep-brand-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: #ffffff; border: 1px solid #d6e7e0; box-shadow: 0 10px 26px rgba(20,47,51,.06); color: var(--ink); }
.hep-physitrack-logo { display: block; width: min(206px, 52vw); height: 53px; object-fit: contain; object-position: left center; }
.hep-brand-context { color: var(--ink-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 650; }
.hep-brand-pill:hover { border-color: #a0cec2; color: var(--ink); }
.coming-soon-chip { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; background: #157a70; color: #fff; font-weight: 700; font-size: .92rem; }
.hep-coming-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.hep-coming-copy { background: #fff; border: 1px solid #d8e7df; border-radius: 24px; padding: 28px; box-shadow: 0 16px 42px rgba(20,47,51,.06); }
.hep-coming-copy h3 { font-size: clamp(1.65rem, 2vw, 2.1rem); margin-bottom: 12px; }
.hep-coming-copy p { color: var(--ink-soft); line-height: 1.78; }
.hep-check-list { margin-top: 18px; }
.hep-mini-note { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: #eff8f5; color: #395b56; line-height: 1.7; }
.hep-coming-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hep-shot-card { background: #fff; border: 1px solid #d8e7df; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 42px rgba(20,47,51,.06); }
.hep-shot-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #edf6f2; }
.hep-shot-card > div { padding: 18px; }
.shot-label { margin: 0 0 8px; color: #157a70; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hep-shot-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.hep-shot-card p:last-child { color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
.hep-source-note { margin-top: 18px; color: #6d837e; font-size: .83rem; line-height: 1.7; }
.hep-source-note a { color: #157a70; text-decoration: none; font-weight: 700; }
@media (max-width: 1120px) {
  .hep-coming-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hep-coming-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hep-coming-copy { padding: 22px 18px; border-radius: 18px; }
  .hep-shot-card { border-radius: 18px; }
  .hep-shot-card img { aspect-ratio: 16 / 10; }
  .hep-source-note { font-size: .8rem; }
}

/* Physitrack reference identity: official press-kit logo, no recreated mark. */
@media (max-width: 610px) {
  .hep-brand-pill { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 6px; padding: 10px 14px; }
  .hep-physitrack-logo { width: min(190px, 65vw); height: 44px; }
  .hep-brand-context { font-size: .68rem; }
  .hep-coming-topbar { align-items: stretch; }
  .coming-soon-chip { width: max-content; max-width: 100%; }
}

/* Mobile-only app download chooser. Shared by all public marketing pages. */
.app-choice-dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  width: min(92vw, 480px);
  max-height: min(90dvh, 720px);
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 28px 95px rgba(9, 44, 40, .32);
  color: #153d38;
}
.app-choice-dialog::backdrop { background: rgba(8, 29, 31, .67); backdrop-filter: blur(3px); }
.app-choice-content { position: relative; padding: clamp(25px, 5vw, 39px); text-align: center; }
.app-choice-close {
  position: absolute; top: 14px; right: 14px;
  background: #edf6f2; color: #174a41; border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.app-choice-close:hover { background: #dceee7; }
.app-choice-icon {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 16px; margin: 0 auto 20px; background: #dff3ed;
  color: #12786a; font-size: 1.6rem; font-weight: 800;
}
.app-choice-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .13em; color: #168075; }
.app-choice-dialog h2 { font-size: clamp(1.65rem, 4.5vw, 2.15rem); line-height: 1.2; margin: 11px auto 13px; }
.app-choice-content > p:not(.app-choice-eyebrow) { color: #5a736e; font-size: .96rem; line-height: 1.7; }
.app-choice-links { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 25px 0 17px; }
.app-choice-store { display: block; border-radius: 11px; overflow: hidden; }
.app-choice-store img { display: block; height: 58px; width: auto; }
.app-choice-store:focus-visible { outline: 3px solid #168075; outline-offset: 4px; }
.app-choice-footnote { font-size: .79rem !important; }
/* Explicit desktop-web badges and footer text must not be offered on app-only layouts. */
.app-only-device .desktop-web-link { display: none !important; }
@media (max-width: 900px) {
  .desktop-web-link { display: none !important; }
}
@media (max-width: 390px) {
  .app-choice-store img { height: 52px; }
  .app-choice-links { gap: 9px; }
}


/* v10 homepage refinements */
.feature-tall-image { max-height: 540px !important; width: auto; max-width: 100%; object-fit: contain; border-radius: 20px; box-shadow: 0 18px 42px rgba(20,47,51,.10); }
.feature-media-gallery { padding: 24px; }
.feature-image-grid { display: grid; width: 100%; gap: 16px; }
.feature-image-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-image-grid figure { margin: 0; background: rgba(255,255,255,.72); border: 1px solid rgba(148,168,160,.24); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(20,47,51,.08); }
.feature-grid-image { display: block; width: 100%; height: 100%; max-height: 430px; object-fit: cover; }
.demo-chart-image-card {
  grid-column: 1 / -1; /* span all three analytics columns */
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fbfa;
  border: 1px solid #d7e6df;
  border-radius: 18px;
  padding: 18px;
}
.demo-chart-image-card .demo-chart-top { flex-wrap: wrap; row-gap: 4px; }
.demo-chart-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain; /* show the complete artwork without cropping */
  margin-inline: auto;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(20,47,51,.10);
}
.capability-showcase { background: #f8fbfa; border-top: 1px solid #e2eee8; border-bottom: 1px solid #e2eee8; }
.capability-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.capability-card { grid-column: span 4; background: #fff; border: 1px solid #d8e7df; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 42px rgba(20,47,51,.06); }
.capability-card-wide { grid-column: span 8; display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.capability-image { display: block; width: 100%; height: 320px; object-fit: cover; object-position: top center; background: #edf6f2; }
.capability-card-wide .capability-image { height: 100%; min-height: 320px; }
.capability-copy { padding: 22px 22px 24px; }
.capability-label { display: inline-block; color: #6c9c94; letter-spacing: .14em; font-size: .72rem; font-weight: 760; margin-bottom: 12px; }
.capability-copy h3 { font-size: 1.34rem; line-height: 1.3; margin-bottom: 10px; }
.capability-copy p { color: var(--ink-soft); font-size: .95rem; line-height: 1.72; }
.hep-coming-grid-current { grid-template-columns: .9fr 1.1fr; }
.hep-current-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hep-current-card { background: #fff; border: 1px solid #d8e7df; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 42px rgba(20,47,51,.06); }
.hep-current-card img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: top center; background: #edf6f2; }
.hep-current-card > div { padding: 18px; }
.hep-coming-brandline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 1120px) {
  .capability-card { grid-column: span 6; }
  .capability-card-wide { grid-column: span 12; }
  .hep-coming-grid-current { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .feature-image-grid-two, .hep-current-gallery { grid-template-columns: 1fr; }
  .feature-grid-image, .hep-current-card img { max-height: none; height: 330px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card-wide { grid-column: auto; display: block; }
  .capability-image, .capability-card-wide .capability-image { height: 270px; min-height: 0; }
  .capability-copy { padding: 18px 18px 20px; }
  .feature-tall-image { max-height: 500px !important; }
}
@media (max-width: 480px) {
  .feature-media-gallery { padding: 18px; }
  .feature-grid-image, .hep-current-card img { height: 300px; }
  .capability-card { border-radius: 18px; }
  .capability-copy h3 { font-size: 1.22rem; }
  .hep-coming-brandline { align-items: stretch; }
}

/* v11: keep one clear exercise example instead of a cropped two-image grid */
.feature-image-grid-single { display: flex; justify-content: center; align-items: center; }
.feature-image-grid-single figure { width: min(100%, 420px); max-width: 420px; }
.feature-image-grid-single .feature-grid-image { width: 100%; height: 480px; max-height: 480px; object-fit: contain; object-position: center center; background: #fff; }

/* v11: full, sharp report screenshot for clinic visibility */
.operations-report-image { display: block; max-width: 100%; width: auto; max-height: 590px !important; height: auto; border-radius: 18px; object-fit: contain; box-shadow: 0 16px 38px rgba(20,47,51,.12); }
@media (max-width: 760px) {
  .feature-image-grid-single .feature-grid-image { height: 400px; max-height: 400px; }
  .operations-report-image { max-height: 440px !important; }
}
@media (max-width: 480px) {
  .feature-image-grid-single .feature-grid-image { height: 350px; max-height: 350px; }
  .operations-report-image { max-height: 390px !important; }
}


/* v12 AI illustration replacements */
.demo-chart-image-wide { width: 100%; max-width: 100%; height: auto; }
.capability-hero-card { background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%); border: 1px solid #d8e7df; border-radius: 28px; padding: 22px; box-shadow: 0 20px 52px rgba(20,47,51,.08); overflow: hidden; }
.capability-hero-image { display: block; width: 100%; height: auto; border-radius: 22px; }
.capability-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.capability-point { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #d8e7df; border-radius: 20px; padding: 18px; box-shadow: 0 12px 32px rgba(20,47,51,.05); }
.capability-point span { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: #e8f6f1; color: #0f766e; font-weight: 800; }
.capability-point h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 6px; }
.capability-point p { font-size: .94rem; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 980px) {
  .capability-points { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .capability-hero-card { padding: 14px; border-radius: 20px; }
  .capability-point { padding: 16px; border-radius: 16px; }
}

/* v13: brand-free illustration, responsive picture for phone and desktop */
.capability-hero-picture {
  display: block;
  width: min(100%, 890px);
  max-width: 100%;
  margin-inline: auto;
}
.capability-hero-picture .capability-hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px) {
  .capability-hero-card {
    padding: 8px;
    border-radius: 16px;
  }
  .capability-hero-picture { width: 100%; }
  .capability-hero-picture .capability-hero-image { border-radius: 12px; }
}


/* American Physical Therapy Association Digital Transparency Pledge section. */
.apta-pledge-section {
  padding: 58px 0 72px;
  background: #fff;
  border-top: 1px solid #e2eee8;
}
.apta-pledge-card {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 58px);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #dce9e3;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7fbf9 0%, #ffffff 100%);
  box-shadow: 0 16px 45px rgba(20, 47, 51, .05);
}
.apta-pledge-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.apta-pledge-logo {
  display: block;
  width: min(100%, 270px);
  max-height: 205px;
  object-fit: contain;
}
.apta-pledge-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}
.apta-pledge-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.8;
}
.apta-pledge-copy .text-link { margin-top: 17px; }
@media (max-width: 760px) {
  .apta-pledge-section { padding: 48px 0 58px; }
  .apta-pledge-card { grid-template-columns: 1fr; gap: 22px; padding: 24px 19px; border-radius: 18px; text-align: center; }
  .apta-pledge-logo { width: min(220px, 68vw); max-height: 165px; }
  .apta-pledge-copy .eyebrow { justify-content: center; }
}
