/* ═══════════════════════════════════════════
   INFOBRIDGE  —  Main Stylesheet
   Linked from: infobridge_website/index.html
═══════════════════════════════════════════ */

/* ── Variables ──────────────────────────── */
:root {
    --green: #27a744;
    --green-dark: #1a7a32;
    --green-light: #e8f5ec;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --text: #334155;
    --muted: #64748b;
    --radius: 24px;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* ── Base ───────────────────────────────── */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 16px;
    line-height: 26px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--green);
}

a:hover {
    color: var(--green-dark);
}

/* ── Shared CTCAE menubar / off-canvas pattern ── */
#fh5co-menu {
display: block;
background: 0 0;
position: absolute;
top: 0;
z-index: 999;
width: 100%;
min-height: 50px;
padding: 0 0 20px;
margin-bottom: 20px;
border: 1px solid transparent;
-webkit-transition: .5s;
-o-transition: .5s;
transition: .5s;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
border-radius: 0;
margin-top: 20px;
}

/* Bootstrap 5 is used by INFOBRIDGE, while the CTCAE shell expects the
   Bootstrap 3 navbar grid. Keep this compatibility layer local to the shell. */
#fh5co-menu .container,
#fh5co-menu .row {
    display: block;
}

#fh5co-menu .row {
    margin-right: -15px;
    margin-left: -15px;
}

#fh5co-menu .row::before,
#fh5co-menu .row::after {
    display: table;
    content: ' ';
}

#fh5co-menu .row::after {
    clear: both;
}

#fh5co-menu .col-md-12 {
    position: relative;
    float: left;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    #fh5co-menu .container { max-width: 750px; }
}

@media (min-width: 992px) {
    #fh5co-menu .container { max-width: 970px; }
}

@media (min-width: 1200px) {
    #fh5co-menu .container {
        width: 1180px;
        max-width: none;
        padding: 0 20px;
    }
}

#fh5co-menu .row {
    margin-right: -20px;
    margin-left: -20px;
    margin-top: 0;
    margin-bottom: 0;
}

#fh5co-menu .col-md-12 {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
}

body.scrolled #fh5co-menu {
    background: #fff;
    position: fixed;
    top: 0;
    margin-top: 0;
    border-bottom: 1px solid #ccc;
}

#fh5co-menu .navbar-brand {
    display: block;
    float: left !important;
    position: relative;
    z-index: 10;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: left;
    text-decoration: none;
    height: 60px;
    margin: 0 0 0 -20px;
    padding: 20px;
}

#fh5co-menu .navbar-brand > div {
    display: block;
}

#fh5co-menu .navbar-brand img {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0;
}

.navbar-brand>span {
display: -moz-inline-stack;
display: inline-block;
zoom: 1;
float: left;
border: 2px solid #fff;
padding: 7px 10px 7px 12px;
}



#fh5co-menu .navbar-brand:hover {
    color: #fff;
    opacity: 0.8;
}

body.scrolled #fh5co-menu .navbar-brand {
    color: #444;
}

body.scrolled #fh5co-menu .navbar-brand > span {
    border-color: #444;
}

#fh5co-offcanvass {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    padding: 40px 30px;
    background: #fff;
    color: #878c93;
    transform: translateX(290px);
    transition: 0.5s;
}

#fh5co-offcanvass.fh5co-awake {
    transform: translateX(0);
}

#fh5co-offcanvass ul {
    padding: 0;
    margin: 30px 0;
}

#fh5co-offcanvass ul li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#fh5co-offcanvass ul li a {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px solid #eaeaea;
    color: #444;
    font-size: 18px;
    text-decoration: none;
}

#fh5co-offcanvass ul li a:hover,
#fh5co-offcanvass ul li a:focus {
    color: #5b97ca;
}

#fh5co-offcanvass .fh5co-lead {
    margin: 20px 0;
    color: #ccc;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#fh5co-offcanvass .feedback-heading {
    margin-top: 34px;
}

#fh5co-offcanvass .feedback-m a {
    color: #878c93;
}

#fh5co-page {
    position: relative;
    z-index: 89;
    float: left;
    width: 100%;
    background: #fff;
    transition: 0.5s;
}

#fh5co-page.fh5co-sleep {
    border-right: 1px solid #ccc;
    transform: translateX(-290px);
}

#fh5co-wrap {
    position: relative;
    z-index: 89;
    float: left;
    width: 100%;
    background: #fff;
}

.fh5co-nav-toggle {
    position: relative;
    top: 12px;
    right: 0;
    z-index: 21;
    display: block;
    float: right;
    width: 44px;
    height: 44px;
    padding: 6px 0 0;
    margin-right: -20px;
    color: #5b97ca;
    cursor: pointer;
    text-decoration: none;
}

.fh5co-nav-toggle > span {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100px;
    margin-top: 12px;
    margin-left: -70px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fh5co-nav-toggle i {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 3px;
    background: #fff;
    color: #fff;
    font: bold 14px/.4 Helvetica;
    text-indent: -55px;
    transition: 0.2s;
}

.fh5co-nav-toggle i::before,
.fh5co-nav-toggle i::after {
    position: absolute;
    width: 25px;
    height: 3px;
    background: #fff;
    left: 0;
    content: '';
}

.fh5co-nav-toggle i::before { top: -7px; }
.fh5co-nav-toggle i::after { bottom: -7px; }

.fh5co-nav-toggle.active i { background: transparent; }
.fh5co-nav-toggle.active i::before { top: 0; transform: rotate(45deg); }
.fh5co-nav-toggle.active i::after { bottom: 0; transform: rotate(-45deg); }

body.scrolled .fh5co-nav-toggle > span { color: #000; }
body.scrolled .fh5co-nav-toggle i,
body.scrolled .fh5co-nav-toggle i::before,
body.scrolled .fh5co-nav-toggle i::after { background: #000; }
body.scrolled .fh5co-nav-toggle.active i { background: transparent; }

/* ── Language toggle ─────────────────────── */
#lang-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 2px;
    gap: 0;
    margin-left: 8px;
    flex-shrink: 0;
}

#lang-toggle button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

#lang-toggle button.active {
    background: var(--green);
    color: #fff;
}

#lang-toggle button:hover:not(.active) {
    color: #fff;
}

#fh5co-offcanvass #lang-toggle {
    margin-left: 0;
    background: #fafafa;
    border: 1px solid #eaeaea;
}

#fh5co-offcanvass #lang-toggle button {
    color: #878c93;
}

#fh5co-offcanvass #lang-toggle button.active {
    background: #5b97ca;
    color: #fff;
}

#fh5co-offcanvass #lang-toggle button:hover:not(.active) {
    color: #5b97ca;
}

/* ── Hero ───────────────────────────────── */
#hero {
    background: url('../images/bg_2.png') center center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

#hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(55, 58, 68, 0.52);
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

#hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

#hero .hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#hero .hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.40);
}

/* ── Glassmorphism Utilities ──────────────── */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-panel-dark {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #fff;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--navy) !important;
    border-radius: 12px;
    padding: 13px 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: var(--navy) !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.40);
    border-radius: 12px;
    padding: 13px 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff !important;
}

/* ── Section scaffold ────────────────────── */
.ib-section {
    padding: 80px 0;
}

.ib-section.green-bg {
    background: var(--green-light);
}

.ib-section.dark-bg {
    background: var(--navy);
}

.ib-section.grey-bg {
    background: #f8fafc;
}

.section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

.section-lead {
    font-size: 12px;
    color: var(--muted);
    max-width: 600px;
}

.dark-bg .section-lead {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Flow / How it Works ─────────────────── */
.flow-container {
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 20px;
}

.flow-card {
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.flow-card:hover {
    border-color: var(--green);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(39, 167, 68, 0.1);
}

.flow-num {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.flow-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.btn-flow-more {
    background: none;
    border: none;
    padding: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.btn-flow-more:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

/* ── Alien Signal Section ─────────────────── */
.alien-box {
    background: #0f172a;
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
    margin: 40px 0;
}

.alien-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(39, 167, 68, 0.15) 0%, rgba(39, 167, 68, 0) 70%);
    pointer-events: none;
}

.gibberish-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    color: #f43f5e;
    opacity: 0.6;
    letter-spacing: 0.2em;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed rgba(244, 63, 94, 0.3);
}

.restored-text {
    font-size: 18px;
    color: #fff;
    background: rgba(39, 167, 68, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(39, 167, 68, 0.3);
}

/* ── Multimedia & Plus Alpha Group ───────── */
.multimedia-box {
    margin-top: 60px;
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.multimedia-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.multi-text {
    flex: 1;
}

.multi-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.multi-text p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.multi-text strong {
    color: var(--green);
    font-weight: 800;
}

.multi-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.multi-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .multimedia-box {
        flex-direction: column;
        padding: 32px;
        text-align: center;
        gap: 32px;
    }

    .multi-text h3 {
        font-size: 24px;
    }
}

/* ── Multimedia & Governance ────────────────── */
.light-bg {
    background-color: #f8fafc;
}

.mul-gov-section {
    position: relative;
    margin-top: 40px;
}

.mul-gov-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}


.mul-tag,
.gov-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    width: fit-content;
}

.mul-tag {
    background: #e0f2f1;
    color: #00796b;
}

.gov-tag {
    background: #f1f5f9;
    color: var(--navy);
}

.mul-gov-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.mul-gov-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 30px;
}

.mul-gov-card .illustration {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
}

.mul-gov-card .illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .mul-gov-card {
        padding: 30px;
        margin-bottom: 20px;
    }
}

/* ── Modals & Glassmorphism ──────────────── */
.ib-modal .modal-content {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ib-modal .modal-header h4 {
    color: var(--navy);
    letter-spacing: -0.01em;
}

.ib-modal .modal-body {
    color: var(--text);
    line-height: 1.75;
    font-size: 13px;
}

.ib-modal .modal-body h5 {
    font-size: 13px;
    color: var(--green-dark);
    margin: 20px 0 10px;
}

.ib-modal .modal-body ul {
    padding-left: 1.2rem;
}

.ib-modal .modal-body li {
    margin-bottom: 8px;
}

.ib-modal .modal-body strong {
    color: var(--navy);
}

/* ── Receiver section ────────────────────── */
.receiver-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 36px 32px;
    height: 100%;
    transition: border-color 0.3s, background 0.3s;
}

.receiver-card.balanced:hover {
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.08);
}

.receiver-card.secure:hover {
    border-color: var(--green);
    background: rgba(39, 167, 68, 0.08);
}

.receiver-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.badge-blue {
    background: rgba(26, 115, 232, 0.2);
    color: #6ea8fe;
}

.badge-green {
    background: rgba(39, 167, 68, 0.2);
    color: #75d89b;
}

.badge-blue-green {
    background: rgba(39, 167, 68, 0.28);
    color: #4ade80;
}

.receiver-card h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.receiver-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.btn-rec-open {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    background: #fff;
    color: var(--navy) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.btn-rec-open:hover {
    opacity: 0.9;
}

.btn-rec-dl {
    display: block;
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1.5px solid;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.balanced .btn-rec-dl {
    color: #6ea8fe;
    border-color: #6ea8fe;
}

.balanced .btn-rec-dl:hover {
    background: #1a73e8;
    color: #fff;
}

.secure .btn-rec-dl {
    color: #75d89b;
    border-color: #75d89b;
}

.secure .btn-rec-dl:hover {
    background: var(--green);
    color: #fff;
}

/* ── How-to steps ────────────────────────── */
.step-circle {
    width: 42px;
    height: 42px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: ;
    flex-shrink: 0;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Use-case table ──────────────────────── */
.uc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.uc-table td {
    padding: 16px 22px;
    background: #fff;
    border: 1.5px solid #e8edf2;
}

.uc-table tr td:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--green-dark);
    min-width: 170px;
    border-right: none;
    white-space: nowrap;
}

.uc-table tr td:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--muted);
    font-size: 14px;
    border-left: none;
}

/* ── Disclaimer ──────────────────────────── */
.disclaimer-banner {
    background: #fff8e1;
    border-left: 4px solid #f5a623;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
}

.disclaimer-banner strong {
    color: #b5720a;
}

.disclaimer-banner p {
    font-size: 13px;
    color: #7c6020;
    margin: 0;
    line-height: 1.65;
}

/* ── Accordion (Terms & Privacy) ─────────── */
#fh5co-faqs {
    position: relative;
    float: none;
    width: 100%;
    padding: 7em 0;
    background: #fafafa;
}

#fh5co-faqs .faq-accordion {
    position: relative;
    float: left;
    width: 100%;
    padding: 30px;
    margin-bottom: 0;
    border-radius: 4px;
    transition: 0.5s;
}

#fh5co-faqs .faq-accordion-icon-toggle {
    position: absolute;
    top: 27px;
    right: 30px;
    transition: 0.5s;
}

#fh5co-faqs .faq-accordion-icon-toggle i {
    font-size: 20px;
    color: #5b97ca;
}

#fh5co-faqs .faq-accordion-icon-toggle.active {
    transform: rotate(-180deg);
}

#fh5co-faqs .faq-body {
    clear: both;
    display: none;
    padding: 30px 0 0;
    color: #444;
    font-size: 16px;
    line-height: 30px;
    overflow: hidden;
}

#fh5co-faqs .faq-body h1,
#fh5co-faqs .faq-body h2,
#fh5co-faqs .faq-body h3,
#fh5co-faqs .faq-body h4,
#fh5co-faqs .faq-body h5 {
    color: #444;
}

#fh5co-faqs .faq-body h5 {
    margin-top: 1.4em;
    margin-bottom: 0.35em;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#fh5co-faqs .faq-accordion.active {
    background: #fff;
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
    #fh5co-faqs { padding: 4em 0; }
    #fh5co-faqs .faq-accordion { padding: 15px; }
}

@media screen and (max-width: 480px) {
    #fh5co-faqs .faq-accordion-icon-toggle { top: 17px; }
}

/* ── Footer ──────────────────────────────── */
#fh5co-footer {
    position: fixed;
    bottom: 0;
    float: none;
    width: 100%;
    padding: 2em 0;
    background: #323a45;
    color: #878c93;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 300;
}

#fh5co-footer .fh5co-overlay {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: #3b3d40;
    opacity: 0.5;
}

#fh5co-footer .fh5co-footer-content {
    position: relative;
    z-index: 9;
}

#fh5co-footer .container .row > div {
    margin-bottom: 30px;
}

#fh5co-footer .fh5co-lead {
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

#fh5co-footer a {
    color: #9a9fa5;
    text-decoration: none;
}

#fh5co-footer a:active,
#fh5co-footer a:focus,
#fh5co-footer a:hover {
    color: #5b97ca;
}

#fh5co-footer ul {
    padding: 0;
    margin: 0;
}

#fh5co-footer ul li {
    padding: 0;
    margin: 0 0 14px;
    list-style: none;
    line-height: 16px;
}

#fh5co-footer .fh5co-footer-logo {
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

#fh5co-footer .fh5co-footer-logo a {
    display: block;
    float: left;
    padding: 7px 10px 7px 12px;
    border: 2px solid #9a9fa5;
    color: #ccc;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#fh5co-footer .fh5co-footer-logo img {
    width: 38px;
    height: 38px;
    margin-right: 10px;
    vertical-align: middle;
}

#fh5co-footer .fh5co-footer-logo a:hover {
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

#fh5co-footer .footer-description {
    max-width: 360px;
    margin: 0 0 12px;
    line-height: 1.75;
}

#fh5co-footer .feedback-m {
    margin: 0;
}

#fh5co-footer .fh5co-copyright {
    margin-top: 20px;
}

#fh5co-footer .footer-copy {
    color: #878c93;
    font-size: 12px;
}

@media screen and (max-width: 992px) {
    #fh5co-footer {
        position: relative;
        bottom: auto;
        padding: 5em 0;
    }
}

/* ── Scroll offset for anchors ─────────────── */
[id] {
    scroll-margin-top: 70px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .ib-section {
        padding: 60px 0;
    }

    .receiver-card {
        padding: 28px 20px;
        margin-bottom: 16px;
    }

    .uc-table tr td:first-child {
        white-space: normal;
    }

    #lang-toggle {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ── Storytelling Flow Adjustments ─────────── */
.flow-step-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fdfdfd;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #e8edf2;
    transition: transform 0.2s, box-shadow 0.2s;
}


.flow-step-box .step-num {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.slide-img {
    transition: transform 0.4s ease;
}


/* ── Lang Selector Toggle ───────────────── */
.lang-selector-group {
    background: #f1f5f9;
    padding: 8px;
    border-radius: 30px;
    display: inline-flex;
}

.btn-lang-select {
    background: transparent;
    border: none;
    border-radius: 24px;
    padding: 12px 28px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted);
}

.btn-lang-select:hover:not(.active) {
    background: #e2e8f0;
    color: var(--navy);
}

.btn-lang-select.active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-lang-select .lang-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.btn-lang-select .lang-desc {
    font-size: 12px;
    opacity: 0.8;
}

/* ── Path Animation ───────────────────── */
.flow-path {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.flow-path.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scanner Note (Secondary Info) ────── */
.scanner-note {
    font-size: 0.9em;
    opacity: 0.65;
    display: block;
    margin-top: 12px;
}

/* ── Path Section Spacing ──────────────── */
.path-section {
    margin-bottom: 140px;
}

.path-section:last-child {
    margin-bottom: 0;
}

/* ── INFOBRIDGE readable type scale ─────────
   The shared base keeps html at 10px for the legacy CTCAE pages. Keep that
   base untouched and give the Bootstrap 5/rem-based INFOBRIDGE sections an
   explicit readable size instead. */
.ib-section h3 {
    font-size: 26px;
    line-height: 1.4;
}

.ib-section h4 {
    font-size: 20px;
    line-height: 1.4;
}

.ib-section h5,
.ib-section p,
.ib-section li,
.ib-section .fs-5 {
    font-size: 16px;
    line-height: 26px;
}

.ib-section .fs-5 {
    font-size: 16px !important;
}

.section-tag {
    font-size: 12px;
}

.section-title {
    font-size: clamp(26px, 3vw, 38px);
}

/* ═══════════════════════════════════════════
   VITAL LOGS LANDING PAGE
   The shared shell above remains the template base; these overrides carry
   the Vital Logs palette, layout, and responsive behavior.
═══════════════════════════════════════════ */
:root {
    --green: #5656d9;
    --green-dark: #3b3ba9;
    --green-light: #eef0ff;
    --navy: #15173d;
    --navy-light: #26295e;
    --text: #30334d;
    --muted: #69708c;
    --coral: #ff7268;
    --teal: #22c9cf;
    --soft-lavender: #f7f7ff;
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    color: var(--text);
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}

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

body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(21, 23, 61, 0.35);
}

#fh5co-offcanvass {
    display: none;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.5s ease, visibility 0s linear 0.5s;
}

#fh5co-offcanvass.fh5co-awake {
    display: block;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
}

#fh5co-menu {
    z-index: 100;
    margin-top: 0;
    padding: 22px 0;
    border: 0;
}

#fh5co-menu .container,
#fh5co-menu .row,
#fh5co-menu .col-md-12 {
    min-height: 0;
}

#fh5co-menu .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 17px;
    letter-spacing: 0.14em;
}

#fh5co-menu .navbar-brand > div,
#fh5co-menu .navbar-brand span {
    float: none;
    display: inline-flex;
    align-items: center;
    border: 0;
    padding: 0;
}

#fh5co-menu .navbar-brand img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 10px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-left: auto;
}

.desktop-nav > a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus {
    color: #fff;
}

#fh5co-menu #lang-toggle,
#fh5co-menu #desktop-lang-toggle {
    margin: 0 0 0 6px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#fh5co-menu #lang-toggle button,
#fh5co-menu #desktop-lang-toggle button {
    color: rgba(255, 255, 255, 0.8);
    border: 0;
    background: transparent;
}

#fh5co-menu #lang-toggle button.active,
#fh5co-menu #desktop-lang-toggle button.active {
    background: #fff;
    color: var(--navy);
}

body.scrolled #fh5co-menu {
    background: #fff;
    border-bottom: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.scrolled #fh5co-menu .navbar-brand,
body.scrolled .desktop-nav > a {
    color: var(--navy);
}

body.scrolled .desktop-nav > a:hover,
body.scrolled .desktop-nav > a:focus {
    color: var(--green-dark);
}

body.scrolled #fh5co-menu #lang-toggle,
body.scrolled #fh5co-menu #desktop-lang-toggle {
    background: var(--soft-lavender);
    border-color: rgba(86, 86, 217, 0.12);
}

body.scrolled #fh5co-menu #lang-toggle button,
body.scrolled #fh5co-menu #desktop-lang-toggle button {
    color: var(--muted);
}

body.scrolled #fh5co-menu #lang-toggle button.active,
body.scrolled #fh5co-menu #desktop-lang-toggle button.active {
    background: var(--green);
    color: #fff;
}

.fh5co-nav-toggle {
    display: none;
}

#hero {
    min-height: 760px;
    background: linear-gradient(115deg, #161941 0%, #292c70 58%, #5656d9 100%);
    isolation: isolate;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/bg_2.png') center / cover no-repeat;
    opacity: 0.12;
    mix-blend-mode: screen;
}

#hero .overlay {
    display: none;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
}

.hero-glow-one {
    top: -190px;
    right: -60px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.hero-glow-two {
    bottom: -270px;
    left: -160px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(34, 201, 207, 0.24), transparent 67%);
}

#hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 45px;
    min-height: 760px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 90px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

#hero .eyebrow {
    color: var(--teal);
}

#hero h1 {
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(3.2rem, 6.7vw, 6.2rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.99;
    text-shadow: none;
}

#hero h1 em {
    color: #a9adff;
    font-style: normal;
}

#hero .hero-tagline {
    max-width: 530px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.91);
    font-size: 19px;
    line-height: 1.65;
    text-shadow: none;
}

#hero .hero-desc {
    max-width: 500px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.7;
    text-shadow: none;
}

.app-store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 178px;
    padding: 10px 18px 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: #fff;
    color: var(--navy) !important;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(7, 8, 36, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-button:hover,
.app-store-button:focus {
    color: var(--navy) !important;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(7, 8, 36, 0.34);
}

.app-store-button .apple-mark {
    font-size: 30px;
    line-height: 1;
}

.app-store-button small,
.app-store-button strong {
    display: block;
    line-height: 1.15;
}

.app-store-button small {
    font-size: 10px;
}

.app-store-button strong {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-art {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-art > img {
    display: block;
    width: calc(100% + 90px);
    max-width: none;
    margin-left: -45px;
    filter: drop-shadow(0 28px 30px rgba(7, 8, 36, 0.22));
}

.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-badge-top { top: 19%; right: 7%; }
.hero-badge-bottom { bottom: 20%; left: 8%; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(34, 201, 207, 0.14); }
.badge-heart { color: var(--coral); font-size: 17px; line-height: 1; }

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 25px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: #fff;
    transform: translateX(-50%);
    animation: scrollCue 1.7s infinite ease-in-out;
}

@keyframes scrollCue { 0%, 100% { opacity: 0.35; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 9px); } }

.ib-section {
    padding: 118px 0;
}

.section-heading {
    max-width: 730px;
    margin: 0 auto 65px;
}

.section-heading.centered { text-align: center; }

.section-title {
    margin: 0 0 20px;
    color: var(--navy);
    font-size: clamp(2.1rem, 4.4vw, 3.55rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.13;
}

.section-lead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.features-section { background: #fff; }

.feature-story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(45px, 8vw, 110px);
    margin-bottom: 105px;
}

.feature-story:last-child { margin-bottom: 0; }
.feature-story-reverse { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.feature-story-reverse .feature-figure { order: 2; }
.feature-story-reverse .feature-copy-block { order: 1; }

.feature-figure {
    overflow: hidden;
    border-radius: 30px;
    background: var(--soft-lavender);
}

.feature-figure img,
.privacy-figure img,
.howto-figure img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.feature-figure:hover img,
.privacy-figure:hover img,
.howto-figure:hover img { transform: scale(1.025); }

.feature-copy-block { max-width: 480px; }
.feature-number { display: block; margin-bottom: 18px; color: var(--coral); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; }
.feature-copy-block h3 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.feature-copy-block p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.feature-note { padding-top: 17px; border-top: 1px solid #e3e5f1; font-size: 13px !important; line-height: 1.65 !important; }

.metric-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.metric-pills span { padding: 6px 11px; border: 1px solid #e2e4f3; border-radius: 99px; background: #fafaff; color: var(--navy); font-size: 12px; line-height: 1.3; }
.input-methods { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.input-methods > span { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 600; }
.input-methods .input-method-icon { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--green-light); color: var(--green); font-size: 16px; }
.input-figure-secondary { max-width: 285px; margin-top: 24px; overflow: hidden; border-radius: 16px; background: var(--soft-lavender); }
.input-figure-secondary img { display: block; width: 100%; height: auto; }

.privacy-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.privacy-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -180px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86, 86, 217, 0.52), transparent 70%);
}

.privacy-section .container { position: relative; z-index: 1; }
.light-heading .eyebrow { color: var(--teal); }
.light-heading .section-title { color: #fff; }
.light-heading .section-lead { color: rgba(255, 255, 255, 0.65); }

.ownership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ownership-card { min-height: 260px; padding: 31px 29px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 22px; background: rgba(255, 255, 255, 0.065); }
.ownership-card-highlight { background: linear-gradient(145deg, rgba(86, 86, 217, 0.86), rgba(38, 41, 94, 0.88)); border-color: rgba(169, 173, 255, 0.45); }
.ownership-icon { display: block; margin-bottom: 32px; color: var(--teal); font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.ownership-card h3 { margin: 0 0 12px; color: #fff; font-size: 21px; letter-spacing: -0.02em; line-height: 1.3; }
.ownership-card p { margin: 0; color: rgba(255, 255, 255, 0.69); font-size: 14px; line-height: 1.75; }
.privacy-figure { max-width: 850px; margin: 68px auto 0; overflow: hidden; border-radius: 25px; background: rgba(255, 255, 255, 0.08); }
.privacy-footnote { margin-top: 21px; color: rgba(255, 255, 255, 0.56); text-align: center; font-size: 13px; }
.privacy-footnote a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.howto-section { background: var(--soft-lavender); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card { min-height: 235px; padding: 27px 23px; border: 1px solid #e5e6f4; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(46, 48, 100, 0.04); }
.step-number { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 25px; border-radius: 50%; background: var(--green); color: #fff; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; }
.step-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; letter-spacing: -0.03em; line-height: 1.3; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.howto-figure { max-width: 980px; margin: 63px auto 0; overflow: hidden; border-radius: 30px; }

.terms-section { background: #fafafa; }
.terms-grid { max-width: 940px; margin: 0 auto; }
.legal-document { max-width: 940px;
margin: 0 auto;
padding: 20px 22px;
box-sizing: border-box;
border: 1px solid #e5e6f4;
border-radius: 14px;
background: #fff;
box-shadow: 0 10px 28px rgba(46, 48, 100, 0.04);}
.legal-markdown { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-markdown h1,
.legal-markdown h2,
.legal-markdown h3,
.legal-markdown h4,
.legal-markdown h5,
.legal-markdown h6 { margin: 1.8em 0 0.55em; color: var(--navy); font-family: 'Montserrat', sans-serif; line-height: 1.35; }
.legal-markdown h1 { margin-top: 0; font-size: 30px; }
.legal-markdown h2 { font-size: 22px; }
.legal-markdown h3 { font-size: 18px; }
.legal-markdown h4,
.legal-markdown h5,
.legal-markdown h6 { font-size: 15px; }
.legal-markdown p { margin: 0 0 1.1em; }
.legal-markdown ol,
.legal-markdown ul { margin: 0 0 1.1em; padding-left: 1.6em; }
.legal-markdown li { margin-bottom: 0.45em; }
.legal-markdown strong { color: var(--navy); }
.legal-markdown code { padding: 0.12em 0.35em; border-radius: 4px; background: #f0f1f8; font-size: 0.92em; }
.legal-markdown a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-markdown hr { margin: 2em 0; border: 0; border-top: 1px solid #e5e6f4; }
.legal-policy-toggle > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.legal-policy-toggle > summary::-webkit-details-marker { display: none; }
.legal-policy-toggle > summary h1 { flex: 1; margin: 0; }
.legal-policy-toggle-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--green); transition: transform 0.3s ease; }
.legal-policy-toggle[open] .legal-policy-toggle-icon { transform: rotate(-180deg); }
.legal-policy-body { padding-top: 24px; border-top: 1px solid #e5e6f4; }
#fh5co-faqs { padding: 7em 0; scroll-margin-top: 86px; }
#fh5co-faqs .faq-accordion { float: none; box-sizing: border-box; margin-bottom: 5px; }
#fh5co-faqs .faq-accordion summary { display: flex; align-items: center; justify-content: space-between; padding-right: 34px; color: var(--navy); cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.35; list-style: none; }
#fh5co-faqs .faq-accordion summary::-webkit-details-marker { display: none; }
#fh5co-faqs .faq-accordion-icon-toggle { top: 31px; right: 30px; }
#fh5co-faqs .faq-accordion-icon-toggle i { color: var(--green); }
#fh5co-faqs .faq-accordion[open] { background: #fff; box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.05); }
#fh5co-faqs .faq-accordion[open] .faq-accordion-icon-toggle { transform: rotate(-180deg); }
#fh5co-faqs .faq-accordion[open] .terms-body,
#fh5co-faqs .faq-accordion[open] .terms-links { display: block; }
.terms-body { display: none; padding: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.terms-links { display: none; padding: 18px 0 0; }
.terms-links a { color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.terms-links a:hover { text-decoration: underline; }
.legal-terms-link { display: flex; align-items: center; justify-content: space-between; max-width: 940px; margin: 18px auto 0; padding: 20px 24px; box-sizing: border-box; border: 1px solid #e5e6f4; border-radius: 14px; background: #fff; }
.legal-terms-label { margin: 0; color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.35; }

#fh5co-footer { position: relative; bottom: auto; padding: 45px 0 35px; background: #0f112e; color: rgba(255, 255, 255, 0.55); }
.footer-content { position: relative; z-index: 1; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 13px; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.13em; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
#fh5co-footer .footer-description { max-width: none; margin: 0 0 25px; color: rgba(255, 255, 255, 0.56); font-size: 14px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.11); color: rgba(255, 255, 255, 0.42); font-size: 12px; }
.footer-bottom a { color: var(--teal); text-decoration: none; }

@media (max-width: 991px) {
    .desktop-nav { gap: 14px; }
    .desktop-nav > a { font-size: 12px; }
    #hero .hero-content { gap: 20px; }
    .ownership-grid { gap: 12px; }
    .ownership-card { padding: 25px 22px; }
}

@media (max-width: 767px) {
    #fh5co-menu { padding: 17px 0; }
    #fh5co-menu .container { width: 100%; padding: 0 20px; box-sizing: border-box; }
    #fh5co-menu .row { margin: 0; }
    #fh5co-menu .col-md-12 { padding: 0; }
    .desktop-nav { display: none; }
    .fh5co-nav-toggle { display: block; float: right; width: 40px; height: 40px; right: 24px; top: 0px;padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 0; }
    .fh5co-nav-toggle i,
    .fh5co-nav-toggle i::before,
    .fh5co-nav-toggle i::after { display: block; width: 17px; height: 2px; margin: auto; border-radius: 2px; background: currentColor; }
    .fh5co-nav-toggle i { position: relative; }
    .fh5co-nav-toggle i::before,
    .fh5co-nav-toggle i::after { content: ''; position: absolute; left: 0; }
    .fh5co-nav-toggle i::before { top: -6px; }
    .fh5co-nav-toggle i::after { top: 6px; }
    body.scrolled .fh5co-nav-toggle { border-color: #e1e3ef; background: #fff; color: var(--navy); }
    #fh5co-offcanvass { z-index: 90; width: 290px; box-sizing: border-box; }
    #hero .hero-glow { display: none; }
    #hero, #hero .hero-content { min-height: auto; }
    #hero .hero-content { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 150px 20px 108px; }
    #hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
    #hero .hero-tagline { font-size: 17px; }
    .hero-art { margin: 0 -15px; }
    .hero-art > img { width: 100%; margin-left: 0; }
    .hero-badge { font-size: 10px; }
    .hero-badge-top { top: 18%; right: 4%; }
    .hero-badge-bottom { bottom: 15%; left: 4%; }
    .scroll-cue { display: none; }
    .ib-section { padding: 80px 0; }
    .section-heading { margin-bottom: 48px; }
    .section-title { font-size: clamp(2rem, 10vw, 3rem); }
    .feature-story,
    .feature-story-reverse { display: flex; flex-direction: column; gap: 30px; margin-bottom: 74px; }
    .feature-story-reverse .feature-figure,
    .feature-story-reverse .feature-copy-block { order: initial; }
    .feature-copy-block { max-width: none; }
    .feature-figure { border-radius: 22px; }
    .ownership-grid,
    .steps-grid { grid-template-columns: 1fr; }
    .ownership-card { min-height: 0; }
    .step-card { min-height: 0; }
    .privacy-figure,
    .howto-figure { margin-top: 45px; border-radius: 22px; }
    #fh5co-faqs { padding: 4em 0; }
    #fh5co-faqs .faq-accordion { padding: 20px; }
    #fh5co-faqs .faq-accordion summary { padding-right: 28px; font-size: 15px; }
    #fh5co-faqs .faq-accordion-icon-toggle { top: 22px; right: 20px; }
    .terms-body { padding-top: 20px; }
    .legal-document { padding: 28px 22px 30px; }
    .legal-markdown h1 { font-size: 25px; }
    .legal-terms-label { font-size: 25px; }
    .legal-terms-link { align-items: flex-start; flex-direction: column; gap: 9px; padding: 18px 20px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
