:root {
    --brand-green: #09EDA3;
    --brand-purple: #2D2A6D;
    --brand-black: #000000;
    --brand-white: #FFFFFF;
    --surface-light: #F5F6F8;
    --surface-border: #E5E7EB;
    --text-body: #1a1c1f;
    --radius-card: 8px;
    --radius-btn: 16px;
    --radius-pill: 64px;
    --section-py: 96px;
    --container-max: 1240px;
    --container-px: 15px;
}

/** Inner content wrapper — caps every section content at 1270px **/
.header-main > .row,
#trustedby > .row,
#howitworks > .section-header,
#howitworks > .hiw-grid,
#forpatients > .fp-grid,
#forclinicians > .fc-grid,
#clinicianpricing > .section-header,
#clinicianpricing > .pricing-grid,
#appdownload > .app-grid,
#research > .research-grid,
#faq > .section-header,
#faq > .faq-wrap,
footer.site-footer > .footer-top,
footer.site-footer > .footer-bottom {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

/** GLOBAL **/
* { font-family: 'Inter', 'Space Grotesk', system-ui, -apple-system, sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: #F8F9FA; color: #000; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6 { color: #000; font-weight: 700; }
h1 { font-size: 85px; line-height: 0.98; letter-spacing: -2.55px; }
h2 { font-size: 44px; line-height: 1.2; letter-spacing: -0.5px; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.5px; color: #000; }
p { font-size: 18px; line-height: 1.6; color: #000; }

.text-brand-green { color: var(--brand-green); }
.text-brand-purple { color: var(--brand-purple); }
.bg-brand-green { background-color: var(--brand-green); }
.bg-brand-purple { background-color: var(--brand-purple); }

/** Gradient text accent (Neuroplasticity, Brain Function) **/
.text-gradient-brand {
    background: linear-gradient(90deg, #18A08E 0%, #09EDA3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.text-highlight-green { color: var(--brand-green); }

/** Pill label (HOW IT WORKS, PRICING, etc.) **/
.section-pill {
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #2D2A6D 0%, #09EDA3 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}
.section-pill.dark-bg {
    background: linear-gradient(90deg, #000000 0%, #2D2A6D 100%);
}
.section-subtitle { /* legacy fallback */
    display: inline-block;
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #000 0%, #2D2A6D 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/** Primary button **/
.btn-neuro-primary,
.btn-brand-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: #000 !important;
    border: 2px solid var(--brand-green);
    border-radius: var(--radius-btn);
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-neuro-primary:hover,
.btn-brand-green:hover {
    background: #05d592;
    border-color: #05d592;
    color: #000 !important;
    transform: translateY(-1px);
}
.btn-neuro-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #000 !important;
    border: 2px solid #000;
    border-radius: var(--radius-btn);
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-neuro-outline:hover {
    background: #000;
    color: var(--brand-green) !important;
}

/** Navbar **/
.navbar.fixed-top {
    background: #F8F9FA !important;
    box-shadow:0 1px 0 #2D2A6D;
    padding: 24px 0;
}
.navbar-toggler {
    border: 1px solid #2D2A6D;
    border-radius: 8px;
    padding: 8px 10px;
    transition: background 0.25s ease;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler .navbar-toggler-icon {
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2A6D' stroke-width='2.5' stroke-linecap='round'><path d='M4 7h16M4 12h16M4 17h16'/></svg>");
    background-size: 24px;
    transition: transform 0.3s ease;
}
.navbar-toggler[aria-expanded="true"] {
    background: #2D2A6D;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309EDA3' stroke-width='2.5' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>");
    transform: rotate(90deg);
}
.navbar .container-fluid { max-width: var(--container-max); margin: 0 auto; padding: 0; }
.navbar-brand img { height: 34px; width: auto; }
.nav-link {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000 !important;
    text-transform: none !important;
    padding: 10px 14px !important;
    letter-spacing: 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2D2A6D 0%, #09EDA3 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover {
    color: var(--brand-purple) !important;
    text-decoration: none;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: center;
}
.nav-link.active {
    color: var(--brand-purple) !important;
}
.nav-link.active::after {
    transform: scaleX(1);
    animation: navLinkPop 0.45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes navLinkPop {
    0%   { transform: scaleX(0); }
    60%  { transform: scaleX(1.15); }
    100% { transform: scaleX(1); }
}
.navbar .btn-outline-success {
    background: var(--brand-green);
    color: #000;
    border: 2px solid var(--brand-green);
    border-radius: var(--radius-btn);
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
}
.navbar .btn-outline-success:hover {
    background: #05d592;
    border-color: #05d592;
    color: #000;
}

/** Section wrapper (full-width bg, content capped via inner wrapper) **/
section, .section-wrap, .container-fluid[id] {
    padding: var(--section-py) var(--container-px);
}

/** HERO **/
.header-main {
    /* background: #fff !important; */
    background-image: none !important;
    margin-top: 95px;
    padding: 96px var(--container-px);
}
.header-main .row { --bs-gutter-x: 0px; }
.header-main h1 {
    font-size: 85px;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -3px;
    color: #000;
    margin-bottom: 24px;
}
.header-main h1 .hl { color: var(--brand-green); }
.header-main p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 32px;
}
.ipad-wrapper { max-width: 100%; margin: 35px auto 0 56px; position: relative; }
.ipad-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  height: 4px;
  background: #d8d8d8;
  width: 100%;
  transform: translateX(-53%);
}
.video-overlay { position: absolute; top: 4%; left: 11%; width: 76%; height: 67%; overflow: hidden; z-index: 1; border-radius: 8px; }
.video-overlay video { object-fit: cover; width: 100%; height: 100%; }

/** TRUST BAR **/
#trustedby {
    /* background: #fff !important; */
    background-image: none !important;
    padding: 40px var(--container-px);
    /* border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border); */
}
#trustedby .trust-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    /* background: linear-gradient(90deg, #2D2A6D 0%, #09EDA3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; */
}
#trustedby img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
#trustedby img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
#trustedby .d-flex { gap: 36px !important; }

/** HOW IT WORKS **/
#howitworks {
    /* background: var(--surface-light) !important; */
    background-image: none !important;
    padding: var(--section-py) var(--container-px);
}
#howitworks .section-header { text-align: center; margin-bottom: 56px; }
#howitworks h2 { color: #000; font-size: 44px; line-height: 1.2; max-width: 880px; margin: 0 auto; }
#howitworks h2 .text-gradient-brand { display: inline; }

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;
}
.hiw-card {
    background: #fff;
    border: 2px solid #fff;
    border-radius: var(--radius-card);
    padding: 24px;
    min-height: 275px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}
.hiw-card:hover, .hiw-card.is-active {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #2D2A6D 0%, #09EDA3 100%) border-box;    
    transform: translateY(-2px);
}
.hiw-card img { width: 64px; height: 64px; margin-bottom: 18px; }
.hiw-card h3 { font-size: 22px; font-weight: 700; color: #000; margin: 0 0 8px; }
.hiw-card p { font-size: 18px; line-height: 1.6; color: #000; margin: 0; }

/** FOR PATIENTS / CLINICIANS **/
#forpatients {
    background-image: none !important;
    padding:  var(--section-py) var(--container-px);
}
#forclinicians {
    background-image: none !important;
     padding:  var(--section-py) var(--container-px);
}
.fp-grid, .fc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.media-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.media-card > img {
    width: 100%;
    height: auto;
    max-height: 770px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}
.media-card .store-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}
.media-card .store-badges img { height: 49px; width: auto; border-radius: 0; max-height: none; }

.fp-content, .fc-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.fp-content h2, .fc-content h2 {
    color: #000;
    margin-bottom: 16px;
}
.fp-content .lead, .fc-content .lead {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 32px;
}
.feature-row {
    display: flex;
    gap: 20px;
    padding: 24px 28px;
    margin-bottom: 16px;
    background: #F2F2F7;
    border: 2px solid transparent;
    border-radius: 12px;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row:hover {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 42, 109, 0.12);
}
.feature-row:hover .feature-icon {
    background: linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%);
    box-shadow: 0 0 0 4px rgba(9, 237, 163, 0.18);
    transform: scale(1.05);
}
.feature-row .feature-icon {
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-row .feature-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2D2A6D;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(45,42,109,0.08);
}
.feature-row .feature-icon img {
    max-width: 100%;
    max-height: 100%;
    /* filter: brightness(0) saturate(100%) invert(74%) sepia(64%) saturate(463%) hue-rotate(101deg) brightness(98%) contrast(97%); */
}
.feature-row h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
}
.feature-row p {
    font-size: 16px;
    line-height: 1.55;
    color: #000;
    margin: 0;
}

/** PRICING **/
#clinicianpricing {
    /* background: var(--surface-light) !important; */
    padding: var(--section-py) var(--container-px) 59px;
}
#clinicianpricing .section-header { text-align: center; margin-bottom: 70px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 36px;
}
.price-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    min-height: 575px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.price-card:not(.featured):hover {
    /* background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box; */
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(45, 42, 109, 0.14);
}
.price-card.featured:hover {
    transform: translateY(-44px);
    box-shadow: 0 28px 60px rgba(45, 42, 109, 0.2);
}
.price-card.featured {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box;
    box-shadow: 0 20px 48px rgba(45,42,109,0.12);
    transform: translateY(-36px);
    padding-top: 24px;
    padding-bottom: 80px;
}
.price-card .plan-name {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px;
    text-align: center;
}
.price-card .price {
    font-size: 65px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-green);
    letter-spacing: -0.5%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 4px;
}
.price-card .price sup {
    font-size: 0.4em;
    font-weight: 700;    
    margin-right: 4px;
    color: var(--brand-green);
}
.price-card .price-sub {
    font-size: 14px;
    color: #000;
    text-align: center;
    margin: 0 0 40px;
}
.price-card .btn-neuro-primary {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
}
.price-card .features {
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
}
.price-card .features h5 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px;
    text-align: left;
}
.price-card .features ul { list-style: none; padding: 0; margin: 0; }
.price-card .features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
}
.price-card .features li .check {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.price-card .features li .check img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.most-popular-pill {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    background: linear-gradient(78deg, #2D2A6D 0%, #09EDA3 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(45,42,109,0.25);
}

/** APP DOWNLOAD **/
#appdownload {
    background: #F8F9FA !important;
    background-image: none !important;
    padding: 0 var(--container-px) var(--section-py);
}
#appdownload .app-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(45, 42, 109, 0.08);
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(-66deg, #2D2A6D 0%, #09EDA3 100%) border-box;
}
#appdownload .app-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
#appdownload img.app-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}
#appdownload .app-copy { padding: 16px 0; }
#appdownload h2 {
    color: #000;
    margin-bottom: 16px;
    font-size: 40px;
    line-height: 1.15;
}
#appdownload p {
    color: #000;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
}
#appdownload .store-badges { display: flex; gap: 14px; align-items: center; }
#appdownload .store-badges img {
    height: 52px;
    width: auto;
    transition: transform 0.3s ease;
}
#appdownload .store-badges a:hover img,
#appdownload .store-badges img:hover { transform: translateY(-2px); }

/** RESEARCH **/
#research {
    /* background: #fff !important; */
    background-image: none !important;
    padding: var(--section-py) var(--container-px) ;
}
#research .research-grid {
    display: grid;
    grid-template-columns: 351px 1fr;
    gap: 60px;
    align-items: start;
}
#research h2 { color: #000; font-size: 44px; line-height: 1.2; }
.research-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.research-card:hover {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box;
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(45, 42, 109, 0.12);
}
.research-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}
.research-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    margin: 0 0 24px;
}
.research-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-green);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    transition: color 0.25s ease, transform 0.25s ease;
}
.research-link:hover {
    color: #05c389;
    transform: translateX(2px);
}

/** FAQ **/
#faq {
    background: transparent;
    padding: var(--section-py) var(--container-px) ;
}
#faq .section-header { text-align: center; margin-bottom: 56px; }
.faq-wrap { max-width: 916px; margin: 0 auto; }
.accordion-item {
    background: var(--brand-white);
    border: 2px solid #fff !important;
    border-radius: var(--radius-card);
    margin-bottom: 12px;
    overflow: hidden;
    transition: transform 0.35s ease, border 0.35s ease, background 0.35s ease;
}
.accordion-item:hover,
.accordion-item:has(.accordion-collapse.show) {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box;
     border: 2px solid transparent !important;
    /*box-shadow: 0 16px 36px rgba(45, 42, 109, 0.12); */
}

.accordion-header { background: transparent; }
.accordion-button {
    /* background: var(--surface-light); */
    padding: 24px 32px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
}
.accordion-button:not(.collapsed) {
    background: var(--brand-white);
    color: #000;    
    box-shadow: none;
    
}
.accordion-button:focus { box-shadow: none; border: none; }
.accordion-button::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>');
    background-size: 22px;
    width: 22px;
    height: 22px;
}
.accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round"><path d="M5 12h14"/></svg>');
    transform: none;
}
.accordion-body {
    padding: 0 32px 28px;
    font-size: 16px;
    line-height: 1.65;
    color: #000;
}

/** LEGAL PAGE (Privacy & Terms) **/
.legal-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px) var(--section-py);
}
.legal-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 56px 64px;
    box-shadow: 0 12px 40px rgba(45, 42, 109, 0.06);
}
.legal-card .last-updated {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-purple);
    background: rgba(45, 42, 109, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.legal-card p {
    font-size: 16px;
    line-height: 1.75;
    color: #1a1c1f;
    margin-bottom: 18px;
}
.legal-card .subhead {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-transform: none;
    letter-spacing: -0.3px;
    margin: 36px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #EEF0F3;
}
.legal-card .subhead:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.legal-card ol {
    padding-left: 22px;
    margin: 0 0 24px;
}
.legal-card ol li {
    font-size: 16px;
    line-height: 1.75;
    color: #1a1c1f;
    padding: 6px 0 6px 8px;
    margin-bottom: 6px;
}
.legal-card ol li::marker { color: var(--brand-purple); font-weight: 700; }
.legal-card a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-card a:hover { color: var(--brand-green); }

@media (max-width: 767.98px) {
    .legal-card { padding: 32px 24px; border-radius: 16px; }
    .legal-card .subhead { font-size: 18px; margin: 24px 0 10px; padding-top: 18px; }
}

/** CONTACT / SUPPORT PAGE **/
.page-hero {
    margin-top: 95px;
    padding: 72px var(--container-px) 48px;
    text-align: center;
}
.page-hero .section-pill {
    align-self: center;
    margin: 0 auto 20px;
    display: inline-flex;
}
.page-hero h1 {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -1.8px;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto;
    color: #000;
}

#contact-us-support {
    padding: 0 var(--container-px) var(--section-py);
    background: transparent !important;
}
.contact-card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 16px 48px rgba(45, 42, 109, 0.08);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2D2A6D 0%, #09EDA3 100%) border-box;
}
.contact-card .form-label {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}
.contact-card .form-control,
.contact-card .form-select {
    background: #F5F6F8;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    color: #000 !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-card .form-control::placeholder { color: #9ca3af; }
.contact-card .form-control:focus,
.contact-card .form-select:focus {
    background: #fff;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 4px rgba(45, 42, 109, 0.10);
    outline: none;
}
.contact-card textarea.form-control { resize: vertical; min-height: 140px; }
.contact-card .form-submit { margin-top: 8px; }
.contact-card .form-submit .btn-brand-green,
.contact-card .form-submit .btn-neuro-primary {
    padding: 14px 36px;
    font-size: 16px;
}
.contact-card .alert {
    border-radius: 12px;
    margin-bottom: 20px;
}
#success-popup {
    z-index: 1080;
    border-radius: 12px;
    background: var(--brand-green);
    border: none !important;
    color: #000;
    font-weight: 600;
}

/** FOOTER **/
footer.site-footer {
    background: #000 !important;
    background-image: none !important;
    border-top: none;
    padding: 72px var(--container-px) 56px;
    color: #fff;
}
footer.site-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
footer.site-footer .footer-brand img { height: 38px; width: auto; }
footer.site-footer .footer-social { margin-top: 24px; display: flex; gap: 18px; }
footer.site-footer .footer-social a {
    color: var(--brand-green);
    font-size: 22px;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0.95;
}
footer.site-footer .footer-social a:hover {
    color: var(--brand-green);
    opacity: 1;
    transform: translateY(-2px);
}
footer.site-footer .footer-contact { text-align: right; }
footer.site-footer .footer-contact a {
    display: block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
    font-weight: 400;
    transition: color 0.25s ease;
}
footer.site-footer .footer-contact a:last-child { margin-bottom: 0; }
footer.site-footer .footer-contact a:hover { color: var(--brand-green); }
footer.site-footer .footer-bottom {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 16px;
    color: #fff;
    text-align: center;
}
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
}
#backToTop span { font-size: 2.5rem; color: var(--brand-green); }
#backToTop.show { opacity: 1; visibility: visible; }

/** RESPONSIVE **/

@media (max-width: 1280px) {
.navbar.fixed-top{ padding-left: 15px; padding-right: 15px;}
}
@media (max-width: 1199.98px) {
    :root { --section-py: 72px; }
    h1, .header-main h1 { font-size: 64px; letter-spacing: -1.8px; }
    h2, #howitworks h2, #research h2 { font-size: 36px; }
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  
    #research .research-grid { grid-template-columns: 1fr; gap: 32px; }
    .nav-link{font-size: 13px !important;}
}

@media (max-width: 991.98px) {
    :root { --section-py: 64px; }
    .navbar.fixed-top { padding: 16px 15px; }
    .navbar-collapse {
        background: #fff;
        padding: 16px 20px 20px;
        margin: 14px -15px -16px;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 16px 40px rgba(45, 42, 109, 0.08);
    }
    .navbar-collapse .navbar-nav { width: 100%; gap: 4px; }
    .navbar-collapse .nav-item { width: 100%; border-bottom: 1px solid #F1F2F4; }
    .navbar-collapse .nav-item:last-child { border-bottom: none; }
    .navbar-collapse .nav-link { padding: 14px 4px !important; width: 100%; }
    .navbar-collapse .nav-link::after { display: none; }
    .navbar-collapse .ms-auto { margin-top: 12px; width: 100%; }
    .navbar-collapse .btn-outline-success { display: block; width: 100%; text-align: center; }
    .header-main { padding: 40px 15px; margin-top: 80px; }
    .header-main h1 { font-size: 52px; letter-spacing: -1.4px; }
    .ipad-wrapper { margin: 32px auto 0 !important; }
    .fp-grid, .fc-grid, #appdownload .app-grid { grid-template-columns: 1fr; gap: 32px; }
    .media-card { min-height: 420px; }
    .media-card > img { min-height: 420px; }
    #trustedby { padding: 32px 15px; }
    #trustedby .row { flex-direction: column; gap: 20px; text-align: center; }
    #trustedby img { height: 56px; }
    #clinicianpricing .section-header{margin-bottom: 30px;}
    .price-card{ margin-bottom: 50px;}
      .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .price-card.featured { transform: none; }
}

@media (max-width: 767.98px) {
    h1, .header-main h1 { font-size: 42px; letter-spacing: -1px; }
    h2, #howitworks h2, #research h2 { font-size: 30px; }
    h3 { font-size: 20px; }
    p, body { font-size: 16px; }
    .section-pill, .section-subtitle { font-size: 14px; padding: 6px 18px; }
    .hiw-grid { grid-template-columns: 1fr; }
    .hiw-card { min-height: 0; padding: 24px; }
    .btn-neuro-primary, .btn-brand-green { width: 100%; padding: 14px 20px; }
    footer.site-footer { padding: 48px 15px 32px; }
    footer.site-footer .footer-top { flex-direction: column; align-items: center; text-align: center; }
    footer.site-footer .footer-contact { text-align: center; }
    footer.site-footer .footer-social { justify-content: center; }
    .accordion-button { padding: 18px 20px; font-size: 15px; }
    .accordion-body { padding: 0 20px 20px; font-size: 15px; }
    #backToTop { bottom: 20px; right: 20px; }
}


@media (max-width: 475px) {
    #appdownload .store-badges img{height: 33px;}
    .media-card .store-badges img{ height: 40px;}
    
}