* {
	box-sizing: border-box;
}

:root {
	--header-height: 7rem;
	--hero-overlap: 5rem;    /* how far the hero is pulled up under the header */
	--partner-overlap: 2rem;   /* how far the partner-row overlaps the hero illustration above it */
}

html {
	font-family: 'Lato', 'Eina01', sans-serif;
	font-size: 13px;
}

body {
	margin: 0;
	padding-top: var(--header-height);
	font-family: 'Lato', 'Eina01', sans-serif;
	color: #333333;
	background: #fdfbf7;
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 3px;
    border-radius: 2px;
}

.main-wrap {
	position: relative;
}

.logo {
    position: relative;
    height: 85%;
    top: 5px;
}

.header::before {
	content: "";
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: #0f172a
}

.header {
	display: flex;
	height: var(--header-height);
	width: 100%;
	padding: 0 11rem;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 500;
	background: #fdfbf7;
	box-shadow: none;
	border-bottom: 2px solid rgba(15, 23, 42, 0.12);
}

#inner-header {
    flex: 1 1 auto;
    padding: 0 2rem;
    display: flex;
    height: 100%;
    align-content: baseline;
    justify-content: flex-end;
}

.nav {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    gap: 2.2rem;
}

.nav li {
    position: relative;
    z-index: 100;
    margin-bottom: 0;
    display: inline;
    font-size: 1rem;
    flex: 0 0 auto;
}

.nav li a {
    color: #333;
}

.nav > li:first-child > a {
    display: inline-block;
    font-size: 1.15rem;
    color: #333;
    font-weight: 500;
    padding: .75em .85em;
    margin: -.75em -.85em;
    border: 1px solid transparent;
    border-radius: 2em;
    transition: background .15s ease;
}

.nav > li:first-child > a:hover {
    background: #f2f4f8;
}

.nav li a.nav-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: #fff;
    padding: .75em 2em;
    border-radius: 4px;
    border: 1px solid #d7dbe3;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.nav li a.nav-login-link:hover {
    background: #c7d6f0;
}


button, a[role="button"] {
    padding: .70em 2em;
    border-radius: 2em;
    border-style: solid;
    border-width: 1px;
    margin-left: -1rem
}

.nav li a[role="button"] {
    display: inline-flex;
    gap: 0.5em;
    margin-top: 1rem;
    padding: .70em 2em;
    border-width: 1px;
    border-radius: 4px;
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
    margin-bottom: 1rem;
    transition: background .15s ease;
}

.nav li a[role="button"]:hover {
    background: #3b5375;
}


.dummy-content {
    padding: 0 11rem 2rem;
    margin-top: calc(-1 * var(--hero-overlap));
    min-height: auto;
    display: flex;
    align-items: flex-start;
    background: #fdfbf7;
}
.hero {
    display: flex;
    align-items: center;
    width: 100%;
}
.hero-copy {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}
.hero-icon {
    flex: 0 0 auto;
    height: 3rem;
    width: auto;
}
.hero-eyebrow {
    margin: .4rem 0 -.4rem;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8f99;
}
.hero-eyebrow--partners {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: calc(-1 * var(--partner-overlap) - 2rem) auto calc(var(--partner-overlap) + 1.5rem);
    max-width: 90rem;
    padding: 0 2rem;
}
.hero-title {
    margin: 0;
    font-size: 5rem;
    line-height: 1.15;
    font-weight: 400;
    color: #0f172a;
}
.hero-title-accent {
    font-weight: 600;
}
.hero-carousel {
    position: relative;
}
.hero-slide {
    display: none;
}
.hero-slide.is-active {
    display: block;
    animation: hero-slide-in .4s ease;
}
@keyframes hero-slide-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-dots {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 1.25rem 0 0;
}
.hero-dot {
    width: .6rem;
    height: .6rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d7dbe3;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.hero-dot:hover {
    background: #94a3b8;
}
.hero-dot.is-active {
    background: #0f172a;
    transform: scale(1.2);
}
.hero-subtitle {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #555;
    max-width: 50rem;
}
a[role="button"].hero-cta {
    margin-top: .5rem;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1rem;
    padding: .70em 2em;
    border-radius: 4px;
    border-color: #0f172a;
    background: #0f172a;
    color: #fff;
    transition: background .15s ease;
}

.hero-cta:hover {
    background: #3b5375;
}

.hero-illustration {
    position: relative;
    flex: 1 1 52%;
    aspect-ratio: 1800 / 1640;
    min-height: 26rem;
}
.hero-dashboard {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 65% center;
}
.hero-circle {
    position: absolute;
    left: 2.25%;
    top: 0;
    width: 95.65%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(59, 130, 246, 0.38) 0%,
        rgba(59, 130, 246, 0.24) 30%,
        rgba(59, 130, 246, 0.13) 55%,
        rgba(59, 130, 246, 0.05) 78%,
        rgba(59, 130, 246, 0) 100%);
    filter: blur(6px);
    z-index: 0;
}
.hero-card {
    position: absolute;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.18);
    overflow: hidden;
    z-index: 1;
}
.hero-card--main {
    left: 0;
    top: 14.39%;
    width: 96.07%;
    height: 65.15%;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.hero-card--reach {
    left: 6.74%;
    top: 51.83%;
    width: 46.07%;
    height: 33.63%;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 2;
}
.hero-card--competitors {
    left: 56.88%;
    top: 37.15%;
    width: 43.12%;
    height: 29.22%;
    padding: 1rem 1.25rem;
    z-index: 2;
}
.hero-card__greeting {
    font-size: .95rem;
    color: #555;
}
.hero-card__banner {
    background: linear-gradient(120deg, #1e1b4b, #4c1d95);
    color: #fff;
    border-radius: .75rem;
    padding: .9rem 1.1rem;
    font-weight: 600;
    font-size: 1rem;
}
.hero-card__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    flex: 1;
}
.hero-card__grid span {
    border-radius: .6rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.hero-card__grid span:nth-child(2) { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.hero-card__grid span:nth-child(3) { background: linear-gradient(135deg, #0891b2, #0f172a); }
.hero-card__grid span:nth-child(4) { background: linear-gradient(135deg, #db2777, #7c3aed); }
.hero-card__label {
    margin: 0;
    font-weight: 600;
    font-size: .95rem;
    color: #333;
}
.hero-card__chart {
    flex: 1;
    width: 100%;
}
.hero-card__list {
    list-style: none;
    margin: .5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .8rem;
    color: #333;
}
.hero-card__list li {
    padding-left: 1rem;
    position: relative;
}
.hero-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: #3b82f6;
}

.feature-panel {
    background: #0f172a;
    padding: 13rem 11rem;
}
.feature-panel__inner {
    max-width: 60rem;
}
.feature-panel__title {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}
.feature-panel__subtitle {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cbd5e1;
}
.feature-panel--light {
    background: #fff;
}
.feature-panel--light .feature-panel__title {
    color: #0f172a;
}
.feature-panel--light .feature-panel__subtitle {
    color: #555;
}

.contact-trust {
    background: #fff;
    padding: 3rem 11rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.contact-trust__label {
    margin: 0 0 1.75rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8f99;
}
.contact-trust__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
}

.contact-direct {
    background: #0f172a;
    padding: 5rem 11rem;
    text-align: center;
}
.contact-direct__inner {
    max-width: 64rem;
    margin: 0 auto;
}
.contact-direct__title {
    margin: 0 0 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-align: left;
}
.contact-direct__subtitle {
    margin: 0 0 3rem;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #cbd5e1;
    text-align: left;
}
.contact-direct__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}
.contact-direct__col-title {
    margin: 0 0 .75rem;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}
.contact-direct__col-text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.6;
    color: #cbd5e1;
}
.contact-direct__col-text a {
    color: #cbd5e1;
    transition: color .15s ease;
}
.contact-direct__col-text a:hover {
    color: #fff;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #0f172a;
    color: #fff;
    padding: 1.25rem 11rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 -0.5rem 1.5rem rgba(15, 23, 42, 0.25);
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner__text {
    margin: 0;
    font-size: .95rem;
    line-height: 1.5;
    color: #cbd5e1;
}
.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: .75rem;
    flex: 0 0 auto;
}
.cookie-banner__accept,
.cookie-banner__decline {
    margin: 0;
    border: 1px solid transparent;
    border-radius: 2em;
    padding: .6em 1.6em;
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cookie-banner__accept {
    background: #3b82f6;
    color: #fff;
}
.cookie-banner__accept:hover {
    background: #2563eb;
}
.cookie-banner__decline {
    background: transparent;
    border-color: #475569;
    color: #cbd5e1;
}
.cookie-banner__decline:hover {
    border-color: #94a3b8;
    color: #fff;
}
@media (max-width: 860px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem;
    }
    .cookie-banner__actions {
        justify-content: flex-end;
    }
}

.footer {
    background: #0f172a;
    color: #fff;
    padding: 3.5rem 11rem 2rem;
    text-align: left;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 1.75rem;
    width: auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
}

.footer-tagline {
    margin: 0;
    font-size: .9rem;
    color: #fff;
    white-space: nowrap;
}

.footer-columns {
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    min-width: 9rem;
}

.footer-col__title {
    margin: 0 0 .25rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
}

.footer-col a,
.footer-col span {
    color: #fff;
    font-size: .95rem;
    text-decoration: none;
}

.footer-col a {
    transition: color .15s ease;
}
.footer-col a:hover {
    color: #94a3b8;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright {
    margin: 0;
    font-size: .9rem;
    color: #cbd5e1;
}

.footer-social-row {
    display: flex;
    gap: 1.75rem;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
}
.footer-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background .15s ease;
}
.footer-social:hover .footer-social__icon {
    background: rgba(255, 255, 255, 0.18);
}

.login-icon {
    flex: 0 0 auto;
}

.contact-icon {
    flex: 0 0 auto;
}

.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

button.has-dropdown {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    color: #333;
    font-family: inherit;
     font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: .75em .85em;
    margin: -.75em -.85em;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: background .15s ease;
}

button.has-dropdown:hover {
    background: #f2f4f8;
}

.dropdown-icon {
    flex: 0 0 auto;
}

.nav-dropdown {
    position: static;
}

.dropdown-panel {
    display: block;
    position: fixed;
    top: var(--header-height);
    width: 80vw;
    left: 50%; transform: translate(-50%, -8px);
    background: #fdfbf7;
    border: 1px solid #ddd2b8;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.15);
    padding: 2rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .8s ease, transform .8s ease, visibility .8s;
}

.nav-dropdown.is-open .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown.is-open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    /* border-bottom: 1px solid #eee; */
}

.application-card {
    opacity: 0;
    transform: translateY(8px);
}

.nav-dropdown.is-open .application-card {
    animation: application-card-in .5s ease forwards;
}

.nav-dropdown.is-open .application-card:nth-child(1) { animation-delay: .05s; }
.nav-dropdown.is-open .application-card:nth-child(2) { animation-delay: .13s; }
.nav-dropdown.is-open .application-card:nth-child(3) { animation-delay: .21s; }
.nav-dropdown.is-open .application-card:nth-child(4) { animation-delay: .29s; }
.nav-dropdown.is-open .application-card:nth-child(5) { animation-delay: .37s; }
.nav-dropdown.is-open .application-card:nth-child(6) { animation-delay: .45s; }
.nav-dropdown.is-open .application-card:nth-child(7) { animation-delay: .53s; }
.nav-dropdown.is-open .application-card:nth-child(8) { animation-delay: .61s; }
.nav-dropdown.is-open .application-card:nth-child(9) { animation-delay: .69s; }
.nav-dropdown.is-open .application-card:nth-child(10) { animation-delay: .77s; }
.nav-dropdown.is-open .application-card:nth-child(11) { animation-delay: .85s; }
.nav-dropdown.is-open .application-card:nth-child(12) { animation-delay: .93s; }
.nav-dropdown.is-open .application-card:nth-child(13) { animation-delay: 1.01s; }
.nav-dropdown.is-open .application-card:nth-child(14) { animation-delay: 1.09s; }

@keyframes application-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.application-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    color: #333;
    padding-bottom: 1.5rem;
    transition: background 0.15s ease;
}

.application-card:hover {
    background: #f5f6f8;
}

.application-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    background: #fdfbf7;
    color: #333;
}

.application-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.application-card__title {
    font-weight: bold;
    font-size: 1.1rem;
}

.application-card__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.application-card__category {
    display: block;
    align-self: flex-start;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a8f99;
    margin-bottom: .15rem;
}


.signup-prompt {
    text-align: right;
    margin: 1rem auto 0;
}

.nav li .signup-prompt a {
    color: #3b82f6;
    font-weight: 500;
}

.partner-row {
    position: relative;
    z-index: 2;
    overflow: hidden;
    max-width: 90rem;
    margin: calc(-1 * var(--partner-overlap)) auto 0;
    padding: 0 0 8rem;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.partner-row__track {
    display: flex;
    align-items: center;
    gap: 2.5rem 3rem;
    width: max-content;
    animation: partner-scroll 42s linear infinite;
}
.partner-row:hover .partner-row__track {
    animation-play-state: paused;
}
@keyframes partner-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .partner-row__track {
        animation: none;
    }
}

@media (max-width: 1080px) {
    .header {
        padding: 1rem 2.5rem;
    }
    .dummy-content {
        padding: 3rem;
    }
    .partner-row {
        padding: 2.5rem 2.5rem 3rem;
    }
    .partner-row__track {
        gap: 1.75rem 2rem;
    }
    .footer {
        padding: 3.5rem 3rem 2rem;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 10.5rem;
    }
    .header {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--header-height);
        row-gap: .75rem;
        padding: 1rem 1.5rem;
    }
    .logo {
        height: auto;
        width: 8.5rem;
        top: 0;
    }
    #inner-header {
        flex: 1 1 100%;
        padding: 0;
        justify-content: flex-start;
    }
    .nav {
        flex-wrap: wrap;
        white-space: normal;
        gap: 1rem 1.5rem;
    }
    .nav-dropdown {
        position: relative;
    }
    .dropdown-panel {
        position: absolute;
        top: calc(100% + .75rem);
        left: 0;
        transform: translateY(-8px);
        width: min(92vw, 28rem);
        max-height: 70vh;
        overflow-y: auto;
        padding: 1.25rem;
    }
    .nav-dropdown.is-open .dropdown-panel {
        transform: translateY(0);
    }
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: none;
    }
    .signup-prompt {
        max-width: none;
    }
    .dummy-content {
        padding: 3rem 1.5rem;
    }
    .partner-row {
        padding: 2rem 1.5rem 2.5rem;
    }
    .partner-row__track {
        gap: 1.5rem;
    }
    .hero {
        flex-direction: column;
        gap: 2.5rem;
    }
    .hero-copy {
        flex: 1 1 auto;
        max-width: none;
    }
    .hero-subtitle {
        max-width: none;
    }
    .hero-illustration {
        flex: 1 1 auto;
        width: 100%;
        min-height: 20rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 560px) {
    .header {
        padding: 1rem 1.25rem;
    }
    .dummy-content {
        padding: 2.5rem 1.25rem;
        min-height: auto;
    }
    .partner-row {
        padding: 2rem 1.25rem 2.5rem;
    }
    .partner-row__track {
        gap: 1.25rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-cta {
        width: 100%;
        justify-content: center;
    }
    .hero-illustration {
        min-height: 16rem;
    }
    .hero-card--main {
        padding: 1rem 1.1rem;
    }
    .hero-card--reach,
    .hero-card--competitors {
        padding: .75rem .9rem;
    }
    .hero-card__label,
    .hero-card__greeting {
        font-size: .8rem;
    }
    .hero-card__list {
        font-size: .68rem;
        gap: .3rem;
    }
    .hero-card__banner {
        font-size: .85rem;
        padding: .6rem .8rem;
    }
    .applications-grid {
        grid-template-columns: 1fr;
    }
    .nav li a.nav-login-link,
    .nav li a[role="button"] {
        padding: .6em 1.4em;
    }
    .footer {
        padding: 3rem 1.5rem 2rem;
    }
    .footer-columns {
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.contact-content {
    padding: 4rem 15rem;
    min-height: 84vh;
    background: #fdfbf7;
}
.contact {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}
.contact-info {
    flex: 1 1 42%;
}
.contact-title {
    margin: 0 0 1.5rem;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.15;
    color: #0f172a;
}
.contact-subtitle {
    margin: 0 0 3rem;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    max-width: 34rem;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
    column-gap: 2.5rem;
    max-width: 30rem;
}
.partner-logo-img {
    height: 3rem;
    width: auto;
    max-width: 13rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter .2s ease, opacity .2s ease;
}
.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #0f172a;
    line-height: 1.15;
}
.partner-logo--sky {
    font-style: italic;
    background: linear-gradient(90deg, #ff3d81, #ff8a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.partner-logo--itvx em {
    font-style: normal;
    color: #e6317a;
}
.partner-logo--titan {
    font-size: 1.1rem;
    letter-spacing: .12em;
}
.partner-logo--titan sup {
    font-size: .6rem;
    margin-left: .15em;
    font-weight: 600;
}
.partner-logo--samsung {
    font-size: .95rem;
    letter-spacing: .02em;
}
.partner-logo--clearcast {
    font-size: 1.05rem;
    letter-spacing: .01em;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.partner-logo--barb {
    color: #0f8a7d;
}
.partner-logo--audiencexpress {
    font-size: 1.1rem;
    color: #4c1d95;
}
.partner-logo--audiencexpress em {
    font-style: normal;
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.partner-logo--media16 {
    color: #1e1b4b;
    font-size: 1.2rem;
}
.partner-logo--sambatv {
    color: #ef4444;
    font-size: 1.1rem;
    letter-spacing: .04em;
}
.contact-form-wrap {
    position: relative;
    flex: 1 1 58%;
    padding: 3rem 2.5rem 2.5rem;
}
.contact-bg {
    position: absolute;
    top: -3rem;
    right: -4rem;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        rgba(59, 130, 246, 0.4) 0%,
        rgba(59, 130, 246, 0.22) 35%,
        rgba(59, 130, 246, 0.08) 65%,
        rgba(59, 130, 246, 0) 100%);
    filter: blur(10px);
    z-index: 0;
}
.contact-form {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.15);
    padding: 2.5rem 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.form-field {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d7dbe3;
    background: transparent;
    padding: .5rem 0 .75rem;
    font-family: inherit;
    font-size: 1.05rem;
    color: #333;
}
.form-field::placeholder {
    color: #9aa2b1;
}
.form-field:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
textarea.form-field.form-field--textarea {
    border: 1px solid #d7dbe3;
    border-radius: .75rem;
    padding: 1rem;
    resize: vertical;
    min-height: 8rem;
}
.form-consent {
    margin: 0;
    font-size: .85rem;
    line-height: 1.5;
    color: #666;
}
.form-consent a {
    color: #333;
    text-decoration: underline;
}
.form-submit {
    border: none;
    border-radius: 2em;
    padding: 1em 2em;
    background: #0f172a;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-left: 0;
}
.form-submit:hover {
    background: #1e293b;
}

@media (max-width: 860px) {
    .contact {
        flex-direction: column;
        gap: 2.5rem;
    }
    .contact-info,
    .contact-form-wrap {
        flex: 1 1 auto;
        max-width: none;
    }
    .contact-title {
        font-size: 2.6rem;
    }
    .contact-subtitle {
        max-width: none;
    }
    .partner-grid {
        max-width: none;
        column-gap: 1.5rem;
        row-gap: 1.75rem;
    }
    .contact-content {
        padding: 3rem 1.5rem;
    }
    .contact-form-wrap {
        padding: 2rem 0 0;
    }
    .contact-bg {
        top: -2rem;
        right: -2rem;
        width: 22rem;
        height: 22rem;
    }
    .contact-form {
        padding: 2rem;
    }
    .contact-trust,
    .contact-direct {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .contact-direct__title {
        font-size: 2.25rem;
    }
    .contact-direct__columns {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }
}

@media (max-width: 560px) {
    .contact-content {
        padding: 2.5rem 1.25rem;
    }
    .contact-title {
        font-size: 2.1rem;
    }
    .contact-subtitle {
        font-size: 1rem;
    }
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.5rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .contact-trust,
    .contact-direct {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .contact-direct__title {
        font-size: 1.9rem;
    }
    .contact-direct__columns {
        grid-template-columns: 1fr;
        row-gap: 1.75rem;
    }
}

.legal-content {
    padding: 4rem 18rem;
    background: #fdfbf7;
    text-align: center;
}
.legal-title {
    margin: 0 0 .5rem;
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
}
.legal-updated {
    margin: 0 0 3rem;
    color: #888;
    font-size: .95rem;
}
.legal-content h2 {
    margin: 3rem 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}
.legal-content h2:first-of-type {
    margin-top: 0;
}
.legal-content h3 {
    margin: 2rem 0 .75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}
.legal-content h4 {
    margin: 1.5rem 0 .5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
}
.legal-content p {
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    max-width: 75rem;
    text-align: left;
}
.legal-content ul {
    margin: 0 auto 1rem;
    padding-left: 1.5rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 75rem;
    text-align: left;
}
.legal-content li {
    margin-bottom: .5rem;
}
.legal-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.legal-toc {
    text-align: left;
    max-width: 75rem;
    margin: 0 auto 3rem;
    padding: 1.5rem 2rem;
    background: #f8f9fb;
    border: 1px solid #eee;
    border-radius: 1rem;
}
.legal-toc__title {
    margin: 0 0 .75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
}
.legal-toc-columns {
    display: flex;
    gap: 0 3rem;
}
.legal-toc-col {
    flex: 1 1 50%;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .95rem;
    line-height: 1.7;
}
.legal-toc-col > li {
    margin-bottom: 0;
}
.legal-toc-col > li > a {
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
}
.legal-toc-num {
    font-weight: 600;
}
.legal-toc-col ul {
    list-style: none;
    margin: .35rem 0 0 1.25rem;
    padding: 0 0 0 .75rem;
    max-width: none;
    font-size: .95rem;
    line-height: 1.7;
    border-left: 1px solid #e2e5ea;
}
.legal-toc-col li {
    margin-bottom: .35rem;
}
.legal-toc-col a {
    color: #3b82f6;
    text-decoration: none;
}
.legal-toc-col a:hover {
    text-decoration: underline;
}

@media (max-width: 1080px) {
    .legal-content {
        padding: 3rem;
    }
}

@media (max-width: 860px) {
    .legal-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .legal-content {
        padding: 2.5rem 1.25rem;
    }
    .legal-toc-columns {
        flex-direction: column;
        gap: 1rem 0;
    }
    .legal-title {
        font-size: 2.1rem;
    }
    .legal-content h2 {
        font-size: 1.35rem;
    }
    .legal-content h3 {
        font-size: 1.1rem;
    }
}
