/* FlightAtom homepage: restrained enterprise editorial layer */

body.home-page {
    --bg: #f3f5f6;
    --bg-secondary: #ffffff;
    --surface: #ffffff;
    --surface-solid: #ffffff;
    --surface-hover: #edf1f3;
    --surface-border: #d8dfe5;
    --text: #0b1728;
    --text-muted: #526171;
    --text-dim: #687788;
    --accent: #176b87;
    --accent-secondary: #12576e;
    --accent-rgb: 23, 107, 135;
    --accent-glow: rgba(23, 107, 135, 0.1);
    --border: #d8dfe5;
    --border-hover: #9fb3c1;
    --radius: 4px;
    --radius-sm: 3px;
    --radius-lg: 6px;
    background: var(--bg);
    color: var(--text);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4 {
    color: var(--text);
}

.home-page .reveal,
.home-page .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
}

.home-page :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #2787a5;
    outline-offset: 3px;
}

/* Navigation */
.home-page .site-nav,
.home-page .site-nav.scrolled {
    background: rgba(247, 249, 250, 0.97);
    border-bottom: 1px solid #d8dfe5;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-page .logo:hover {
    transform: none;
    opacity: 0.78;
}

.home-page .logo-atom {
    width: 150px;
    filter: none;
}

.home-page .nav-links > a,
.home-page .nav-disclosure {
    color: #4c5b6a;
    border-radius: 2px;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-page .nav-links > a:hover,
.home-page .nav-links > a.active,
.home-page .nav-disclosure:hover,
.home-page .nav-disclosure.active,
.home-page .nav-disclosure[aria-expanded="true"] {
    color: #0b1728;
    background: #e9edf0;
}

.home-page .nav-links > a.nav-cta {
    color: #ffffff;
    background: #0b1728;
    border: 1px solid #0b1728;
    border-radius: 3px;
    box-shadow: none;
}

.home-page .nav-links > a.nav-cta:hover {
    color: #ffffff;
    background: #17314d;
    border-color: #17314d;
    box-shadow: none;
}

.home-page .nav-links > a.nav-portal,
.home-page .nav-links > a.nav-portal:hover {
    color: #526171;
}

.home-page .dropdown-menu {
    color: #0b1728;
    background: #ffffff;
    border-color: #d8dfe5;
    border-radius: 4px;
    box-shadow: 0 16px 38px rgba(11, 23, 40, 0.13);
}

.home-page .dropdown-menu a {
    color: #526171;
    border-radius: 2px;
}

.home-page .dropdown-menu a:hover {
    color: #0b1728;
    background: #edf1f3;
    transform: none;
}

.home-page .dropdown-menu .menu-label,
.home-page .dropdown-menu a.menu-highlight {
    color: #176b87;
}

.home-page .nav-core-tag {
    color: #176b87;
    background: #e8f3f6;
    border-color: #c9e1e8;
}

.home-page .addons-menu-header,
.home-page .addons-menu-group + .addons-menu-group,
.home-page .addons-menu-footer {
    border-color: #d8dfe5;
}

.home-page .addons-menu-header strong,
.home-page .addons-menu-group a strong {
    color: #0b1728;
}

.home-page .addons-menu-header span,
.home-page .addons-menu-group a,
.home-page .addons-menu-footer a {
    color: #526171;
}

.home-page .addons-menu-group a:hover,
.home-page .addons-menu-group a.active {
    color: #0b1728;
    background: #edf1f3;
}

.home-page .addons-menu-group a.active strong,
.home-page .addons-menu-footer a.menu-highlight {
    color: #176b87;
}

.home-page .addons-menu-footer {
    background: #f3f7f8;
}

.home-page .hamburger span,
.home-page .hamburger .bar {
    background: #0b1728;
}

.home-page .hamburger {
    min-width: 44px;
    min-height: 44px;
}

/* Trust is visible before the marketing message, not buried in the footer. */
.home-page .trust-strip {
    color: #dce8ed;
    background: #176b87;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .trust-strip-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    max-width: 1240px;
    min-height: 48px;
    margin: 0 auto;
    padding: 8px 48px;
    font-size: 0.76rem;
    line-height: 1.45;
}

.home-page .trust-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.home-page .trust-strip-label svg {
    width: 17px;
    height: 17px;
}

.home-page .trust-strip-inner > span:nth-child(2) {
    color: #d5e6ec;
}

.home-page .trust-strip a {
    color: #ffffff;
    font-weight: 700;
    text-decoration-color: rgba(255, 255, 255, 0.52);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.home-page .trust-strip a:hover {
    text-decoration-color: #ffffff;
}

/* Hero */
.home-page .hero {
    min-height: 0;
    padding: clamp(80px, 7vw, 112px) 48px clamp(126px, 10vw, 164px);
    overflow: visible;
    background: #071d2d;
    border-bottom: 1px solid #14374b;
}

.home-page .hero::before,
.home-page .hero::after,
.home-page .hero-grid {
    display: none;
}

.home-page .hero-shell {
    max-width: 1240px;
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    gap: clamp(48px, 6vw, 82px);
    align-items: center;
}

.home-page .hero-text {
    max-width: 660px;
}

.home-page .hero-eyebrow {
    display: block;
    margin: 0 0 22px;
    color: #8ad6e1;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
    opacity: 1;
    animation: none;
}

.home-page .hero-eyebrow::before {
    display: none;
}

.home-page .hero-text h1 {
    max-width: 640px;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(2.85rem, 4.25vw, 3.55rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.home-page .hero-text p.hero-lede {
    max-width: 58ch;
    margin: 0 0 34px;
    color: #b9c8d1;
    font-size: clamp(1.05rem, 1.25vw, 1.16rem);
    line-height: 1.65;
    opacity: 1;
    animation: none;
}

.home-page .hero-cta {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    opacity: 1;
    animation: none;
}

.home-page .hero-cta .btn,
.home-page .module-cta .btn {
    min-width: 0;
    min-height: 50px;
    justify-content: center;
    padding: 0 21px;
    border-radius: 3px;
    font-size: 0.94rem;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-page .btn::before,
.home-page .btn-shine {
    display: none;
}

.home-page .btn-primary {
    color: #ffffff;
    background: #0b1728;
    border: 1px solid #0b1728;
    box-shadow: none;
}

.home-page .btn-primary:hover {
    color: #ffffff;
    background: #17314d;
    border-color: #17314d;
    box-shadow: none;
    transform: none;
}

.home-page .btn-primary:hover span,
.home-page .btn-primary:hover svg {
    color: inherit;
}

.home-page .btn:hover svg {
    transform: translateX(3px);
}

.home-page .hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: #0b1728;
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid #a8b4bf;
    transition: color 180ms ease, border-color 180ms ease;
}

.home-page .hero-text-link:hover {
    color: #176b87;
    border-color: #176b87;
}

.home-page .hero-text-link svg {
    width: 18px;
    height: 18px;
}

.home-page .hero .btn-primary {
    color: #071d2d;
    background: #ffffff;
    border-color: #ffffff;
}

.home-page .hero .btn-primary:hover {
    color: #071d2d;
    background: #dfecef;
    border-color: #dfecef;
}

.home-page .hero .hero-text-link {
    color: #e0ebef;
    border-color: #557183;
}

.home-page .hero .hero-text-link:hover {
    color: #ffffff;
    border-color: #8ad6e1;
}

.home-page .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
}

/* One direct product proof: the product itself, not another explanation of it. */
.home-page .hero-product-card {
    display: block;
    overflow: hidden;
    color: #ffffff;
    background: #0a1222;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .hero-product-card:hover,
.home-page .hero-product-card:focus-visible {
    border-color: #8ad6e1;
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(138, 214, 225, 0.12);
}

.home-page .home-product-window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 8px 12px;
    background: #08111f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page .home-product-window-dots {
    display: flex;
    flex: 0 0 auto;
    gap: 5px;
}

.home-page .home-product-window-dots i {
    display: block;
    width: 8px;
    height: 8px;
    background: #ff5f57;
    border-radius: 50%;
}

.home-page .home-product-window-dots i:nth-child(2) {
    background: #febc2e;
}

.home-page .home-product-window-dots i:nth-child(3) {
    background: #28c840;
}

.home-page .home-product-window-url {
    min-width: 0;
    flex: 1 1 auto;
    padding: 4px 12px;
    overflow: hidden;
    color: rgba(214, 226, 233, 0.5);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 4px;
    font-size: 0.64rem;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .hero-product-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: #0a1222;
}

.home-page .home-product-window-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 62px;
    padding: 12px 16px;
    color: #d9e5ea;
    background: #0b1728;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page .home-product-window-caption > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.home-page .home-product-window-caption > span > b {
    color: #8ad6e1;
    font-size: 0.59rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-product-window-caption strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-page .home-product-window-caption em {
    flex: 0 0 auto;
    color: #c9d8df;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.home-page .home-product-window-caption em b {
    display: inline-block;
    margin-left: 4px;
    transition: transform 180ms ease;
}

.home-page .home-product-window:hover .home-product-window-caption em,
.home-page .home-product-window:focus-visible .home-product-window-caption em {
    color: #ffffff;
}

.home-page .home-product-window:hover .home-product-window-caption em b,
.home-page .home-product-window:focus-visible .home-product-window-caption em b {
    transform: translateX(3px);
}

/* A clear self-selection layer between the brand promise and product catalog. */
.home-page .workflow-gateways {
    position: relative;
    z-index: 2;
    margin-top: -72px;
    padding: 0 48px 78px;
    background: linear-gradient(to bottom, transparent 72px, #f3f5f6 72px);
}

.home-page .workflow-gateways-inner {
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd5dc;
    border-radius: 4px;
    box-shadow: 0 22px 58px rgba(11, 23, 40, 0.15);
}

.home-page .workflow-gateways-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    padding: 28px 30px 24px;
    border-bottom: 1px solid #cbd5dc;
}

.home-page .workflow-gateways-heading .eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #176b87;
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-page .workflow-gateways-heading h2 {
    margin: 0;
    color: #0b1728;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.home-page .workflow-gateways-heading > a {
    flex: 0 0 auto;
    color: #176b87;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.home-page .workflow-gateways-heading > a:hover {
    color: #0b1728;
}

.home-page .workflow-gateways-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .workflow-gateway {
    display: flex;
    min-width: 0;
    min-height: 226px;
    padding: 26px 25px 24px;
    color: #0b1728;
    border-right: 1px solid #d8dfe5;
    flex-direction: column;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.home-page .workflow-gateway:last-child {
    border-right: 0;
}

.home-page .workflow-gateway:hover,
.home-page .workflow-gateway:focus-visible {
    background: #edf4f6;
}

.home-page .workflow-gateway-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #176b87;
}

.home-page .workflow-gateway-top svg {
    width: 25px;
    height: 25px;
}

.home-page .workflow-gateway-top > span {
    color: #7c8b99;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.home-page .workflow-gateway strong {
    margin: 26px 0 8px;
    color: #0b1728;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.home-page .workflow-gateway > span:nth-child(3) {
    color: #5b6978;
    font-size: 0.84rem;
    line-height: 1.55;
}

.home-page .workflow-gateway > b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    color: #176b87;
    font-size: 0.73rem;
    font-weight: 700;
}

.home-page .workflow-gateway > b span {
    transition: transform 180ms ease;
}

.home-page .workflow-gateway:hover > b span {
    transform: translateX(3px);
}

/* Customer and operational proof */
.home-page .credibility {
    background: #ffffff;
    border-top: 1px solid #d8dfe5;
    border-bottom: 1px solid #d8dfe5;
}

.home-page .credibility-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 72px) 48px 42px;
}

.home-page .customer-proof {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
    text-align: center;
}

.home-page .customer-proof h2 {
    max-width: 760px;
    margin: 0;
    color: #0b1728;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.home-page .customer-proof a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 4px;
    border-radius: 4px;
}

.home-page .customer-proof a:focus-visible {
    outline: 3px solid rgba(18, 212, 217, 0.38);
    outline-offset: 5px;
}

.home-page .customer-proof img {
    display: block;
    width: clamp(230px, 31vw, 340px);
    max-width: 100%;
    height: auto;
    filter: none;
    opacity: 1;
}

/* Shared editorial section language */
.home-page .section-header {
    text-align: left;
}

.home-page .section-header .eyebrow,
.home-page .consulting-promo-label,
.home-page .social-proof-label {
    color: #176b87;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .section-header .eyebrow::before,
.home-page .section-header .eyebrow::after {
    display: none;
}

.home-page .section-header h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #0b1728;
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.home-page .section-header p {
    color: #526171;
    font-size: 1.03rem;
    line-height: 1.65;
}

.home-page .section-header p a {
    color: #176b87;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Platform architecture */
.home-page #products {
    padding: 104px 0 112px;
    background: #f3f5f6;
}

.home-page #products .section-header.section-left {
    max-width: 1240px;
    padding: 0 48px 46px;
}

.home-page .home-core-product {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    max-width: 1144px;
    margin: 0 auto;
    overflow: hidden;
    color: #e9f0f4;
    background: #071d2d;
    border: 1px solid #14374b;
    border-radius: 4px;
    box-shadow: 0 22px 54px rgba(31, 45, 60, 0.14);
}

.home-page .home-core-copy {
    padding: clamp(34px, 4.5vw, 54px);
}

.home-page .home-core-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 8px;
    color: #8ad6e1;
    border: 1px solid rgba(138, 214, 225, 0.34);
    border-radius: 2px;
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .home-core-copy h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1;
}

.home-page .home-core-copy > p {
    margin: 0;
    color: #b4c5d0;
    font-size: 0.96rem;
    line-height: 1.7;
}

.home-page .home-core-copy ul {
    display: grid;
    gap: 9px;
    margin: 24px 0 28px;
    padding: 0;
    color: #d8e4ea;
    font-size: 0.84rem;
    list-style: none;
}

.home-page .home-core-copy li {
    position: relative;
    padding-left: 18px;
}

.home-page .home-core-copy li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 1px;
    content: '';
    background: #5edce2;
}

.home-page .home-core-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.home-page .home-core-links .btn-primary {
    color: #071d2d;
    background: #ffffff;
    border-color: #ffffff;
}

.home-page .home-core-links .btn-primary:hover {
    color: #071d2d;
    background: #dfecef;
    border-color: #dfecef;
}

.home-page .home-core-links .hero-text-link {
    color: #d5e2e8;
    border-color: #557183;
}

.home-page .home-core-links .hero-text-link:hover {
    color: #ffffff;
    border-color: #8ad6e1;
}

.home-page .home-core-visual {
    display: flex;
    align-self: center;
    min-width: 0;
    margin: 26px 26px 26px 0;
    overflow: hidden;
    color: #eaf2f5;
    background: #0a1222;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-page .home-core-visual:hover,
.home-page .home-core-visual:focus-visible {
    border-color: #8ad6e1;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.home-page .home-core-visual img {
    display: block;
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
}

.home-page .addons-section-heading {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 48px 28px;
    scroll-margin-top: calc(var(--nav-offset) + 20px);
}

.home-page .addons-section-heading h3 {
    margin: 8px 0 8px;
    color: #0b1728;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.home-page .addons-section-heading p {
    max-width: 660px;
    margin: 0;
    color: #526171;
    font-size: 0.95rem;
    line-height: 1.65;
}

.home-page .featured-addons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1144px;
    margin: 0 auto;
    border-top: 1px solid #bcc7d0;
    border-left: 1px solid #d8dfe5;
}

.home-page .featured-addon {
    display: flex;
    min-height: 250px;
    padding: 30px;
    color: #0b1728;
    background: transparent;
    border-right: 1px solid #d8dfe5;
    border-bottom: 1px solid #bcc7d0;
    flex-direction: column;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease;
}

.home-page .featured-addon:hover,
.home-page .featured-addon:focus-visible {
    background: #ffffff;
    border-color: #aebbc5;
}

.home-page .featured-addon-area {
    color: #687788;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-page .featured-addon h4 {
    margin: 22px 0 10px;
    color: #176b87;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.home-page .featured-addon p {
    margin: 0 0 26px;
    color: #526171;
    font-size: 0.9rem;
    line-height: 1.6;
}

.home-page .featured-addon-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    color: #0b1728;
    border-top: 1px solid #d8dfe5;
    font-size: 0.78rem;
    font-weight: 650;
}

.home-page .featured-addon-link b {
    color: #176b87;
    font-size: 1rem;
}

.home-page .additional-workflows {
    max-width: 1144px;
    margin: 24px auto 0;
    color: #687788;
    font-size: 0.84rem;
}

.home-page .additional-workflows a {
    color: #176b87;
    font-weight: 650;
    text-underline-offset: 3px;
}

.home-page .area-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1240px;
    padding: 0 48px;
}

.home-page .area-card {
    padding: 34px 30px 32px;
    background: transparent;
    border: 0;
    border-top: 1px solid #bcc7d0;
    border-right: 1px solid #d8dfe5;
    border-bottom: 1px solid #bcc7d0;
    border-radius: 0;
    transition: background 180ms ease;
}

.home-page .area-card:first-child {
    border-left: 1px solid #d8dfe5;
}

.home-page .area-card:hover {
    background: #ffffff;
    border-color: #bcc7d0 #d8dfe5;
    transform: none;
}

.home-page .area-index {
    color: #176b87;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.home-page .area-card h3 {
    min-height: 2.4em;
    margin: 12px 0 10px;
    color: #0b1728;
    font-size: 1.22rem;
    font-weight: 600;
}

.home-page .area-card > p {
    min-height: 4.8em;
    color: #526171;
    font-size: 0.9rem;
}

.home-page .area-modules {
    gap: 0;
    border-top: 1px solid #d8dfe5;
}

.home-page .area-modules a {
    gap: 12px;
    padding: 11px 0;
    color: #526171;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d8dfe5;
    border-radius: 0;
    font-size: 0.84rem;
    transition: color 180ms ease, padding-left 180ms ease;
}

.home-page .area-modules a::after {
    content: '\2192';
    margin-left: auto;
    color: #8695a4;
}

.home-page .area-modules a:hover {
    padding-left: 4px;
    color: #0b1728;
    background: transparent;
    border-color: #aebbc5;
    transform: none;
}

.home-page .area-modules a .m-name {
    flex: 0 0 70px;
    color: #176b87;
    font-weight: 700;
}

.home-page .module-cta {
    max-width: 1144px;
    margin: 58px auto 0;
    padding: 30px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #bcc7d0;
    border-bottom: 1px solid #bcc7d0;
    border-radius: 0;
}

.home-page .module-cta-copy h3 {
    color: #0b1728;
    font-size: 1.14rem;
    font-weight: 600;
}

.home-page .module-cta-copy p {
    color: #526171;
}

.home-page .btn-secondary {
    color: #0b1728;
    background: transparent;
    border: 1px solid #aebbc5;
    backdrop-filter: none;
}

.home-page .btn-secondary:hover {
    color: #0b1728;
    background: #ffffff;
    border-color: #6f8291;
    box-shadow: none;
    transform: none;
}

/* Workflow links */
.home-page .solution-links-section {
    max-width: 1240px;
    padding: 100px 48px 110px;
    background: #ffffff;
}

.home-page .solution-links-section .section-header.section-left {
    margin-bottom: 38px;
}

.home-page .solutions-list {
    border-top: 1px solid #bcc7d0;
}

.home-page .solutions-list a {
    padding: 25px 0;
    border-color: #d8dfe5;
}

.home-page .solutions-list .sol-title {
    color: #0b1728;
    font-size: 1.02rem;
}

.home-page .solutions-list .sol-desc {
    color: #5b6978;
}

.home-page .solutions-list a:hover .sol-title,
.home-page .solutions-list a:hover .sol-arrow {
    color: #176b87;
}

/* Consulting: a single sober dark editorial band */
.home-page .consulting-promo {
    max-width: none;
    margin: 0;
    padding: 92px 48px;
    color: #ffffff;
    background: #0b1728;
}

.home-page .consulting-promo-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.55fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.home-page .consulting-promo-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #86bcd0;
}

.home-page .consulting-promo-label span:last-child {
    color: #8798a9;
}

.home-page .consulting-promo-copy h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.home-page .consulting-promo-copy p {
    max-width: 56ch;
    color: #aebac5;
    font-size: 1rem;
    line-height: 1.65;
}

.home-page .consulting-capabilities {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-page .consulting-capabilities li {
    padding: 12px 0;
    color: #dbe3e9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.88rem;
}

.home-page .consulting-promo-link {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #9ad0e3;
    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(154, 208, 227, 0.5);
}

.home-page .consulting-promo-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* Trust and FAQ */
.home-page .assurance {
    max-width: 1240px;
    padding: 104px 48px 112px;
    background: #f3f5f6;
}

.home-page .assurance .section-header.section-left {
    margin-bottom: 46px;
}

.home-page .assurance-list {
    gap: 0 56px;
    border-top: 1px solid #bcc7d0;
}

.home-page .assurance-row {
    padding: 26px 0;
    border-bottom: 1px solid #d8dfe5;
}

.home-page .assurance-mark {
    color: #176b87;
}

.home-page .assurance-row h3 {
    color: #0b1728;
}

.home-page .assurance-row p {
    color: #526171;
}

.home-page .assurance-cta {
    margin-top: 34px;
    text-align: left;
}

.home-page .assurance-cta a {
    padding: 0 0 5px;
    color: #176b87;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(23, 107, 135, 0.45);
    border-radius: 0;
}

.home-page .assurance-cta a:hover {
    color: #0b1728;
    background: transparent;
    border-color: #0b1728;
    transform: none;
}

.home-page .faq {
    max-width: 920px;
    padding: 100px 48px 112px;
    background: #ffffff;
}

.home-page .faq .section-header {
    max-width: none;
    margin: 0 0 42px;
    padding: 0;
}

.home-page .faq-list {
    gap: 0;
    border-top: 1px solid #bcc7d0;
}

.home-page .faq-item,
.home-page .faq-item[open] {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d8dfe5;
    border-radius: 0;
}

.home-page .faq-item summary {
    padding: 21px 2px;
    color: #0b1728;
    font-size: 0.98rem;
    transition: color 180ms ease;
}

.home-page .faq-item summary:hover,
.home-page .faq-item[open] summary {
    color: #176b87;
}

.home-page .faq-answer {
    padding: 0 32px 24px 2px;
}

.home-page .faq-answer p {
    color: #526171;
}

/* Contact becomes a concise two-column closing section */
.home-page .contact {
    --text: #f4f7f9;
    --text-muted: #b4c0ca;
    --text-dim: #8d9dab;
    --border: rgba(255, 255, 255, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: clamp(64px, 9vw, 140px);
    min-height: 0;
    padding: 104px max(48px, calc((100vw - 1240px) / 2)) 112px;
    color: var(--text);
    background: #0b1728;
}

.home-page .contact::before {
    display: none;
}

.home-page .contact h2 {
    grid-column: 1;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.06;
    text-align: left;
}

.home-page .contact > p {
    grid-column: 1;
    max-width: 48ch;
    margin: 0;
    color: #aebac5;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}

.home-page .contact-form {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: none;
}

.home-page .form-group {
    margin-bottom: 20px;
}

.home-page .form-group label {
    color: #b4c0ca;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
}

.home-page .form-group input,
.home-page .form-group textarea,
.home-page .phone-row .country-code {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.home-page .form-group input:focus,
.home-page .form-group textarea:focus,
.home-page .phone-row .country-code:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: #75b9d0;
    box-shadow: 0 0 0 3px rgba(117, 185, 208, 0.18);
}

.home-page .form-group input::placeholder,
.home-page .form-group textarea::placeholder {
    color: #8393a2;
}

.home-page .btn-submit {
    color: #0b1728;
    background: #ffffff;
    border-radius: 3px;
    transition: background 180ms ease, color 180ms ease;
}

.home-page .btn-submit::before {
    display: none;
}

.home-page .btn-submit:hover {
    color: #ffffff;
    background: #176b87;
    transform: none;
}

/* Footer remains dark and quiet */
.home-page footer {
    --text: #f2f5f7;
    --text-muted: #a8b5c0;
    --text-dim: #8293a2;
    --border: rgba(255, 255, 255, 0.13);
    color: var(--text);
    background: #07111f;
}

.home-page footer .logo-atom {
    filter: brightness(0) invert(1);
}

.home-page footer a {
    color: #a8b5c0;
}

.home-page footer a:hover {
    color: #ffffff;
    opacity: 1;
}

/* Responsive */
@media (max-width: 1100px) {
    .home-page .hero-shell {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .home-page .hero-text {
        max-width: 720px;
    }

    .home-page .hero-visual {
        max-width: 720px;
    }

    .home-page .workflow-gateways-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .workflow-gateway:nth-child(2) {
        border-right: 0;
    }

    .home-page .workflow-gateway:nth-child(-n + 2) {
        border-bottom: 1px solid #d8dfe5;
    }

}

@media (max-width: 1080px) {
    .home-page .site-nav {
        padding: var(--safe-area-top) max(24px, var(--safe-area-right)) 0 max(24px, var(--safe-area-left));
    }

    .home-page .hamburger {
        display: flex;
    }

    .home-page .nav-links {
        position: fixed;
        top: var(--nav-offset);
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        gap: 8px;
        padding: 32px max(24px, var(--safe-area-right)) calc(32px + var(--safe-area-bottom)) max(24px, var(--safe-area-left));
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
        background: #f7f9fa;
        transform: translateX(-100%);
        transition: transform 240ms ease, visibility 240ms ease;
        -webkit-overflow-scrolling: touch;
    }

    .home-page .nav-links.active {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .home-page .nav-links > a,
    .home-page .nav-disclosure {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .home-page .trust-strip-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-right: 24px;
        padding-left: 24px;
    }

    .home-page .credibility-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .home-page .nav-cta {
        margin-top: 12px;
        text-align: center;
    }

    .home-page .dropdown {
        position: relative;
        width: 100%;
    }

    .home-page .dropdown-menu {
        position: static !important;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        min-width: 0;
        max-height: none;
        padding: 0 0 0 16px;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        background: #ffffff;
        border: 1px solid #d8dfe5;
        box-shadow: none;
        transform: none !important;
        transition: none;
    }

    .home-page .dropdown-menu[hidden] {
        display: none !important;
    }

    .home-page .addons-menu-group a {
        display: grid;
        width: 100%;
        padding: 11px 16px;
        text-align: left;
        white-space: normal;
        transform: none !important;
    }

    .home-page .area-grid {
        grid-template-columns: 1fr;
    }

    .home-page .featured-addons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-right: 24px;
        margin-left: 24px;
    }

    .home-page .additional-workflows {
        margin-right: 24px;
        margin-left: 24px;
    }

    .home-page .home-core-product {
        grid-template-columns: 1fr;
        margin-right: 24px;
        margin-left: 24px;
    }

    .home-page .home-core-visual {
        margin: 0 24px 24px;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .home-page .home-core-visual img {
        flex: none;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .home-page .area-card,
    .home-page .area-card:first-child {
        border-right: 1px solid #d8dfe5;
        border-bottom: 0;
        border-left: 1px solid #d8dfe5;
    }

    .home-page .area-card:last-child {
        border-bottom: 1px solid #bcc7d0;
    }

    .home-page .area-card h3,
    .home-page .area-card > p {
        min-height: 0;
    }

    .home-page .consulting-promo-inner {
        grid-template-columns: 0.8fr 2fr;
    }

    .home-page .consulting-capabilities {
        grid-column: 2;
    }

    .home-page .consulting-promo-link {
        grid-column: 2;
    }

    .home-page .contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-page .contact h2,
    .home-page .contact > p,
    .home-page .contact-form {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .home-page .logo-atom {
        width: 138px;
    }

    .home-page .trust-strip-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 48px;
        padding: 9px 20px;
    }

    .home-page .trust-strip-inner > span:nth-child(2) {
        display: none;
    }

    .home-page .trust-strip-label {
        font-size: 0.69rem;
        white-space: normal;
    }

    .home-page .trust-strip a {
        font-size: 0;
    }

    .home-page .trust-strip a::after {
        content: 'Trust Center \2192';
        font-size: 0.7rem;
    }

    .home-page .hero {
        padding: 64px 20px 104px;
    }

    .home-page .hero-shell {
        gap: 44px;
    }

    .home-page .hero-text {
        max-width: none;
        text-align: left;
    }

    .home-page .hero-eyebrow {
        margin-bottom: 18px;
        font-size: 0.68rem;
        text-align: left;
    }

    .home-page .hero-text h1 {
        margin-bottom: 22px;
        font-size: clamp(2.55rem, 12vw, 3.7rem);
        line-height: 1.02;
    }

    .home-page .hero-text p.hero-lede {
        display: block;
        margin: 0 0 28px;
        font-size: 1rem;
    }

    .home-page .hero-cta {
        flex-direction: row;
        align-items: flex-start;
        width: auto;
        max-width: none;
        margin: 0;
        gap: 18px;
    }

    .home-page .hero-cta .btn {
        display: inline-flex;
        width: auto;
        min-height: 48px;
        padding: 0 18px;
    }

    .home-page .hero-cta .btn svg {
        display: block;
    }

    .home-page .credibility-inner {
        gap: 24px;
        padding: 32px 20px 34px;
    }

    .home-page .customer-proof {
        gap: 13px;
        padding: 0;
    }

    .home-page .workflow-gateways {
        margin-top: -42px;
        padding: 0 20px 58px;
        background: linear-gradient(to bottom, transparent 42px, #f3f5f6 42px);
    }

    .home-page .workflow-gateways-heading {
        align-items: flex-start;
        padding: 24px 22px 22px;
        flex-direction: column;
    }

    .home-page .workflow-gateways-grid {
        grid-template-columns: 1fr;
    }

    .home-page .workflow-gateway,
    .home-page .workflow-gateway:nth-child(2) {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #d8dfe5;
    }

    .home-page .workflow-gateway:last-child {
        border-bottom: 0;
    }

    .home-page #products {
        padding: 78px 0 82px;
    }

    .home-page #products .section-header.section-left,
    .home-page .area-grid,
    .home-page .addons-section-heading {
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-page .featured-addons-grid {
        grid-template-columns: 1fr;
        margin-right: 20px;
        margin-left: 20px;
    }

    .home-page .home-core-visual {
        margin: 0 18px 18px;
    }

    .home-page .home-product-window-caption {
        min-height: 56px;
        padding: 10px 12px;
    }

    .home-page .home-product-window-caption em {
        font-size: 0.68rem;
    }

    .home-page .featured-addon {
        min-height: 0;
        padding: 26px 24px;
    }

    .home-page .additional-workflows {
        margin-right: 20px;
        margin-left: 20px;
        line-height: 1.6;
    }

    .home-page .addons-section-heading {
        padding-top: 56px;
    }

    .home-page #products .section-header.section-left {
        padding-bottom: 34px;
    }

    .home-page .area-card {
        padding: 27px 24px;
    }

    .home-page .module-cta {
        margin: 44px 20px 0;
        padding: 26px 0;
    }

    .home-page .module-cta-links {
        width: 100%;
    }

    .home-page .solution-links-section,
    .home-page .assurance,
    .home-page .faq {
        padding: 78px 20px 84px;
    }

    .home-page .solutions-list {
        grid-template-columns: 1fr;
    }

    .home-page .consulting-promo {
        padding: 76px 20px;
    }

    .home-page .consulting-promo-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-page .consulting-promo-label,
    .home-page .consulting-capabilities,
    .home-page .consulting-promo-link {
        grid-column: 1;
    }

    .home-page .assurance-list {
        grid-template-columns: 1fr;
    }

    .home-page .contact {
        padding: 78px 20px 86px;
    }

    .home-page .contact h2 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .home-page .contact > p {
        margin: 0;
        text-align: left;
    }

    .home-page .contact-form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-page .hero-text h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }

    .home-page .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .home-page .hero-cta .btn,
    .home-page .hero-text-link {
        width: 100%;
        justify-content: center;
    }

    .home-page .phone-row {
        flex-direction: column;
    }

    .home-page .phone-row .country-code {
        width: 100%;
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
