html, body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #d3d0cb;
    font-family: "Lato", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #2c3e50;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: #2c3e50;
    text-decoration: none;
}

a:hover {
    color: #415B76;
}

h1, h2, h3, .hero-tagline {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    letter-spacing: -0.01em;
}

p {
    text-wrap: pretty;
}

::selection {
    background: rgba(44, 62, 80, 0.16);
}

.page {
    background: #d3d0cb;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-x: clip;
}

/* ---------- Shared bits ---------- */

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.eyebrow-row {
    margin-bottom: 20px;
}

.kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.65);
}

.link-arrow span {
    display: inline-block;
    transition: transform .25s ease;
}

.link-arrow:hover span {
    transform: translateX(5px);
}

.muted {
    color: rgba(44, 62, 80, 0.65);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color .25s ease;
}

.btn-small {
    padding: 9px 14px;
    border-radius: 7px;
    font-size: 0.78125rem;
    letter-spacing: 0.06em;
}

.btn-primary, .btn-primary:hover {
    background: #2c3e50;
    color: #e9e8e6;
}

.btn-primary:hover {
    background: #415B76;
}

.btn-secondary, .btn-secondary:hover {
    background: #d9d7d4;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #c9c6c1;
}

/* ---------- Logo ---------- */

.logo {
    --logo-size: 25.4px;
    display: flex;
    align-items: center;
    gap: 9px;
    flex: none;
    color: inherit;
}

.logo svg {
    display: block;
    width: calc(var(--logo-size) * 42 / 25.4);
    height: var(--logo-size);
}

.logo span {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: calc(var(--logo-size) * 0.75);
    line-height: 1;
}

/* ---------- App bar ---------- */

.appbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: 66px;
    display: flex;
    align-items: center;
    padding: 0 31px;
    padding: 0 clamp(18px, 4vw, 44px);
}

.appbar-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: #e9e8e6;
    border-bottom: 1px solid rgba(44, 62, 80, 0.14);
    box-shadow: 0 8px 24px -18px rgba(44, 62, 80, 0.5);
    opacity: 0;
    transition: opacity .3s ease;
}

.appbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.appbar-logo {
    display: flex;
    align-items: center;
    height: 34px;
    opacity: 0;
    transition: opacity .3s ease;
}

.appbar.is-scrolled .appbar-bg,
.appbar.is-scrolled .appbar-logo,
.appbar-solid .appbar-bg,
.appbar-solid .appbar-logo {
    opacity: 1;
}

.appbar-actions {
    display: flex;
    align-items: center;
    gap: 23px;
    gap: clamp(18px, 3vw, 34px);
}

.bar-nav {
    display: flex;
    align-items: center;
    gap: 17px;
    gap: clamp(14px, 2.2vw, 28px);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bar-burger {
    display: none;
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2c3e50;
    padding: 0;
    background-color: transparent;
    opacity: 0.55;
    transition: background-color .3s ease, border-color .3s ease, opacity .3s ease;
}

.appbar.is-scrolled .bar-burger,
.appbar-solid .bar-burger {
    background-color: #f4f3f1;
    border-color: rgba(44, 62, 80, 0.14);
    opacity: 1;
}

.bar-menu {
    position: absolute;
    top: 56px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 212px;
    padding: 10px;
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 11px;
    box-shadow: 0 18px 40px -20px rgba(44, 62, 80, 0.5);
}

.bar-menu.is-open {
    display: flex;
}

.bar-menu a {
    padding: 11px 12px;
    border-radius: 11px;
    font-size: 16px;
    font-family: "Playfair Display", Georgia, serif;
}

.bar-menu hr {
    border: 0;
    height: 1px;
    background: rgba(44, 62, 80, 0.14);
    margin: 6px 12px;
}

.bar-menu a.bar-menu-cta {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #415B76;
}

/* ---------- Heroes ---------- */

.photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #ded9cf;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
}

.hero-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 52% 54% at 50% 26%, rgba(233, 232, 230, 0.6) 0%, rgba(233, 232, 230, 0.5) 50%, rgba(233, 232, 230, 0.28) 82%, rgba(233, 232, 230, 0) 100%);
}

.hero-stack {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8vh;
    padding-top: min(8vh, 72px);
}

.hero-logo {
    pointer-events: auto;
    margin-bottom: 120px;
    transform: scale(3.2);
    transform-origin: top center;
    filter: drop-shadow(0 1px 3px rgba(233, 232, 230, 0.75));
}

.hero-logo .logo {
    flex-direction: column;
    gap: 8px;
}

.hero-tagline {
    margin: 44px 0 0;
    font-size: 26px;
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.01em;
    text-align: center;
    color: #2c3e50;
    text-shadow: 0 1px 3px rgba(233, 232, 230, 0.9), 0 0 10px rgba(233, 232, 230, 0.55);
    text-wrap: balance;
    max-width: 16em;
    line-height: 1.25;
}

.hero-rule {
    margin-top: 30px;
    width: 1px;
    height: 44px;
    background: rgba(44, 62, 80, 0.14);
}

@media (min-width: 761px) {
    .hero-stack {
        padding-top: calc(8vh + 64px);
        padding-top: calc(min(8vh, 72px) + 64px);
    }
}

.page-hero {
    position: relative;
    width: 100%;
    height: 52vh;
    height: 52svh;
    min-height: 380px;
    overflow: hidden;
}

.page-hero-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(233, 232, 230, 0.35) 0%, rgba(233, 232, 230, 0.55) 40%, rgba(233, 232, 230, 0.6) 100%),
    radial-gradient(ellipse 62% 60% at 50% 60%, rgba(233, 232, 230, 0.88) 0%, rgba(233, 232, 230, 0.72) 55%, rgba(233, 232, 230, 0.3) 90%, rgba(233, 232, 230, 0) 100%);
}

.page-hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 38px 0;
    padding: 96px clamp(24px, 5vw, 72px) 0;
}

.page-hero-content > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 18px 0 0;
    font-size: 34px;
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 600;
    line-height: 1.16;
    text-wrap: balance;
    max-width: 20em;
    text-shadow: 0 0 12px rgba(233, 232, 230, 0.95), 0 1px 2px rgba(233, 232, 230, 1);
}

.page-hero h1:first-child {
    margin-top: 0;
}

.page-hero p {
    margin: 20px 0 0;
    max-width: 30em;
    font-size: 17px;
    line-height: 1.7;
    text-shadow: 0 0 12px rgba(233, 232, 230, 0.95), 0 1px 2px rgba(233, 232, 230, 1);
}

.dark-hero {
    position: relative;
    width: 100%;
    padding: 132px 38px 64px;
    padding: 132px clamp(24px, 5vw, 72px) 64px;
    background: #2c3e50;
    color: #e9e8e6;
}

.dark-hero > div {
    max-width: 1140px;
    margin: 0 auto;
}

.dark-hero > div > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(233, 232, 230, 0.6);
}

.dark-hero h1 {
    margin: 18px 0 0;
    font-size: 34px;
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 600;
    line-height: 1.16;
    max-width: 24em;
}

.dark-hero p {
    margin: 18px 0 0;
    max-width: 34em;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(233, 232, 230, 0.78);
}

.dark-hero-meta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 14px;
    color: rgba(233, 232, 230, 0.6);
}

/* ---------- Main card ---------- */

.main-card {
    margin: 0;
    position: relative;
    background: #e9e8e6;
    padding: 46px 38px;
    padding: clamp(40px, 6vw, 88px) max(clamp(24px, 5vw, 72px), calc((100% - 1140px) / 2 + clamp(24px, 5vw, 72px)));
}

.main-card-compact {
    padding-top: 38px;
    padding-top: clamp(36px, 5vw, 72px);
    padding-bottom: 38px;
    padding-bottom: clamp(36px, 5vw, 72px);
}

.main-card-empty {
    min-height: 240px;
}

.intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.intro .eyebrow {
    justify-content: center;
}

.intro h2 {
    margin: 20px 0 0;
    font-size: 26px;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 600;
    line-height: 1.22;
    text-wrap: balance;
}

.intro p {
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(44, 62, 80, 0.65);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.feat-grid > * {
    min-width: 0;
}

.card {
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 14px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
    color: rgba(44, 62, 80, 0.65);
}

.steps-section {
    margin: 96px auto 0;
    max-width: 760px;
}

.steps-section h2 {
    margin: 0 0 36px;
    font-size: 24px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.24;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    counter-reset: step;
}

.steps li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ded9cf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 600;
}

.steps h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.32;
}

.steps p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.65);
}

.steps p a {
    color: #415B76;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-top: 96px;
}

.two-col > div {
    min-width: 0;
}

.media-col {
    position: relative;
}

.media-col-first {
    order: 1;
}

.media-col-last {
    order: 2;
}

.text-col-first {
    order: 1;
}

.text-col-last {
    order: 2;
}

.media-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 44px -22px rgba(44, 62, 80, 0.34);
}

.frame-accent, .frame-accent-l {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 18px;
    pointer-events: none;
    transform: translate(20px, 20px);
}

.frame-accent-l {
    transform: translate(-20px, 20px);
}

.text-col h2 {
    margin: 0 0 24px;
    font-size: 26px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.24;
}

.prose {
    font-size: 17px;
    line-height: 1.72;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.prose p {
    margin: 0;
}

.cta-band {
    margin-top: 88px;
    padding: 32px;
    padding: clamp(32px, 4vw, 52px);
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
}

.cta-band > div:first-child {
    flex: 1 1 300px;
    max-width: 34em;
}

.cta-band h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    line-height: 1.28;
}

.cta-band p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.65);
}

.cta-band-dark {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #e9e8e6;
}

.cta-band-dark p {
    color: rgba(233, 232, 230, 0.82);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
    justify-content: flex-end;
}

.notice {
    max-width: 940px;
    margin: 0 auto 40px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    background: #ded9cf;
    border-radius: 11px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notice::before {
    content: "!";
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2c3e50;
    color: #e9e8e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    font-family: "Playfair Display", Georgia, serif;
}

.notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- Home ---------- */

.home-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.home-intro > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.65);
}

.home-intro h1 {
    margin: 20px 0 0;
    font-size: 28px;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 600;
    line-height: 1.22;
    text-wrap: balance;
}

.home-intro hr {
    border: 0;
    width: 64px;
    height: 1px;
    background: rgba(44, 62, 80, 0.14);
    margin: 32px auto 36px;
}

.home-intro .prose {
    text-align: left;
    font-size: 18px;
    line-height: 1.75;
    gap: 20px;
}

.choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 72px;
}

.choice {
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 14px;
    padding: 38px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
    color: #2c3e50;
    box-shadow: 0 12px 34px -22px rgba(44, 62, 80, 0.45);
    transition: transform .3s ease, box-shadow .3s ease;
}

.choice:hover {
    color: #2c3e50;
    transform: translateY(-6px);
    box-shadow: 0 22px 46px -24px rgba(44, 62, 80, 0.5);
}

.choice-head {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.choice-head > span {
    flex: 1;
    height: 1px;
    background: rgba(44, 62, 80, 0.14);
}

.choice h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.choice-more {
    margin-top: auto;
    padding-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.choice-dark, .choice-dark:hover {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #ffffff;
}

.choice-dark {
    box-shadow: 0 12px 34px -22px rgba(44, 62, 80, 0.55);
}

.choice-dark .choice-head > span {
    background: rgba(233, 232, 230, 0.25);
}

.choice-dark .kicker {
    color: rgba(233, 232, 230, 0.75);
}

.accessibility {
    margin-top: 104px;
    background: #ded9cf;
    border-radius: 18px;
    padding: 32px;
    padding: clamp(32px, 4vw, 56px);
}

.accessibility > div:first-child {
    max-width: 760px;
}

.accessibility h2 {
    margin: 0 0 24px;
    font-size: 26px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.24;
}

.accessibility .prose {
    font-size: 17px;
}

.acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.acc-grid > div {
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 14px;
    padding: 26px;
}

.acc-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.acc-grid p, .accessibility-footnote {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.8);
}

.accessibility-footnote {
    margin-top: 32px;
    max-width: 44em;
}

.accessibility-footnote a {
    text-decoration: underline;
}

/* ---------- Partners ---------- */

.pricing {
    margin-top: 96px;
}

.pricing > div:first-child {
    text-align: center;
    margin-bottom: 44px;
}

.pricing .eyebrow {
    justify-content: center;
}

.price-card {
    max-width: 460px;
    margin: 0 auto;
    background: #2c3e50;
    color: #e9e8e6;
    border-radius: 14px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-card .kicker {
    color: rgba(233, 232, 230, 0.6);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 14px;
}

.price strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
}

.price span {
    font-size: 15px;
    color: rgba(233, 232, 230, 0.7);
}

.price-card p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(233, 232, 230, 0.82);
}

.price-card hr {
    border: 0;
    height: 1px;
    margin: 0;
    background: rgba(233, 232, 230, 0.2);
}

.price-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 15px;
    line-height: 1.55;
}

.price-card li {
    display: flex;
    gap: 10px;
}

.price-card li::before {
    content: "\2014";
}

.pricing-head {
    max-width: 720px;
    margin: 0 auto;
}

.pricing-head h2 {
    margin: 20px 0 0;
    font-size: 26px;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 600;
    line-height: 1.24;
    text-wrap: balance;
}

.pricing-head p {
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.72;
    color: rgba(44, 62, 80, 0.65);
}

.pricing-plans {
    max-width: 760px;
    margin: 48px auto 0;
}

.pricing-plans > .price-card {
    max-width: none;
    margin: 0;
}

.price-card-light {
    background: #f4f3f1;
    color: #2c3e50;
    border: 1px solid rgba(44, 62, 80, 0.14);
}

.price-card-light .kicker,
.price-card-light .price span,
.price-card-light p {
    color: rgba(44, 62, 80, 0.65);
}

.price-card-light hr {
    background: rgba(44, 62, 80, 0.14);
}

.pricing-note {
    margin: 24px auto 0;
    max-width: 44em;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(44, 62, 80, 0.65);
}

/* ---------- Tutorials ---------- */

.video-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    gap: clamp(28px, 3.4vw, 44px);
}

.video {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px -22px rgba(44, 62, 80, 0.45);
}

.video-duration {
    position: absolute;
    left: 14px;
    bottom: 14px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border-radius: 6px;
    background: rgba(44, 62, 80, 0.78);
    color: #f4f3f1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.video > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}

.contact-grid > * {
    min-width: 0;
}

.contact-grid h2 {
    margin: 0 0 24px;
    font-size: 24px;
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 600;
    line-height: 1.24;
}

.form {
    display: grid;
    gap: 8px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    margin-bottom: 7px;
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.06em;
    color: rgba(44, 62, 80, 0.65);
}

.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.4375;
    color: #2c3e50;
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.25);
    border-radius: 11px;
    outline: none;
    resize: vertical;
}

.field input:hover, .field textarea:hover {
    border-color: rgba(44, 62, 80, 0.45);
}

.field input:focus, .field textarea:focus {
    border-color: #415B76;
}

.field small {
    margin: 3px 0 0 11px;
    min-height: 18px;
    font-size: 0.71875rem;
    line-height: 18px;
    color: rgba(44, 62, 80, 0.65);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.form-note {
    margin: 16px 0 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(44, 62, 80, 0.65);
}

.form-note a {
    text-decoration: underline;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-details {
    padding: 24px;
    padding: clamp(24px, 3vw, 32px);
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-details hr {
    border: 0;
    height: 1px;
    margin: 0;
    background: rgba(44, 62, 80, 0.14);
}

.contact-details span {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.55);
}

.contact-details p {
    margin: 6px 0 0;
    font-size: 17px;
    line-height: 1.5;
}

.contact-details p.small {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(44, 62, 80, 0.65);
}

.contact-details p.address {
    font-size: 16px;
    line-height: 1.65;
}

.contact-details p.admin {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.8);
}

.response-time {
    padding: 24px;
    padding: clamp(24px, 3vw, 32px);
    background: #2c3e50;
    color: #e9e8e6;
    border-radius: 11px;
}

.response-time h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
}

.response-time p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(233, 232, 230, 0.82);
}

.routes {
    max-width: 940px;
    margin: 56px auto 0;
    margin: clamp(56px, 6vw, 88px) auto 0;
}

.routes h2 {
    margin: 0 0 28px;
    font-size: 22px;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 600;
    line-height: 1.26;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-grid > div {
    min-width: 0;
    padding: 26px;
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 11px;
}

.route-grid h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    font-weight: 600;
}

.route-grid p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(44, 62, 80, 0.8);
}

.route-grid a {
    font-size: 15px;
    font-weight: 700;
    color: #415B76;
}

/* ---------- Legal ---------- */

.legal-grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 38px;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}

.legal-grid > * {
    min-width: 0;
}

.legal-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    gap: clamp(40px, 4vw, 56px);
}

.toc {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.5);
    padding: 0 10px 10px;
}

.toc a {
    font-size: 14px;
    line-height: 1.45;
    padding: 7px 10px;
    border-radius: 8px;
    color: rgba(44, 62, 80, 0.72);
    transition: background-color .2s ease, color .2s ease;
}

.toc a:hover {
    background: #f4f3f1;
    color: #2c3e50;
}

.art {
    scroll-margin-top: 96px;
}

.art h2 {
    margin: 0 0 18px;
    font-size: 21px;
    font-size: clamp(21px, 2.2vw, 25px);
    font-weight: 600;
    line-height: 1.28;
}

.art p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.art p.lead {
    margin: 0 0 20px;
    color: rgba(44, 62, 80, 0.75);
}

.clauses {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clause {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px;
    align-items: baseline;
}

.clause > span {
    font-size: 14px;
    font-weight: 700;
    color: rgba(44, 62, 80, 0.5);
    font-variant-numeric: tabular-nums;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th {
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(44, 62, 80, 0.55);
    padding: 0 14px 10px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.14);
}

.data-table th:first-child {
    width: 34%;
}

.data-table td {
    padding: 14px 14px 14px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.14);
    line-height: 1.6;
    vertical-align: top;
}

.legal-questions {
    margin-top: 8px;
    padding: 26px;
    padding: clamp(26px, 3vw, 36px);
    background: #f4f3f1;
    border: 1px solid rgba(44, 62, 80, 0.14);
    border-radius: 11px;
}

.legal-questions .eyebrow-row {
    margin-bottom: 16px;
}

.legal-questions h3 {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 600;
}

.legal-questions p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.7;
    max-width: 36em;
}

.legal-questions p a {
    text-decoration: underline;
}

/* ---------- Footer ---------- */

.footer {
    background: #2c3e50;
    color: #e9e8e6;
    padding: 64px 38px 40px;
    padding: 64px clamp(24px, 5vw, 72px) 40px;
}

.footer-top {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    max-width: 560px;
}

.footer-brand .logo {
    --logo-size: 34px;
    color: #e9e8e6;
}

.footer-brand p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(233, 232, 230, 0.65);
    max-width: 320px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
}

.footer-nav > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(233, 232, 230, 0.5);
    margin-bottom: 4px;
}

.foot-link {
    position: relative;
    align-self: flex-start;
    color: #e9e8e6;
}

.foot-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.foot-link:hover {
    color: #fff;
}

.foot-link:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    max-width: 1140px;
    margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(233, 232, 230, 0.2);
    font-size: 14px;
    color: rgba(233, 232, 230, 0.65);
}

/* ---------- Cookie banner ---------- */

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 31px;
    padding: 18px clamp(18px, 4vw, 44px);
    background: #f4f3f1;
    border-top: 1px solid rgba(44, 62, 80, 0.14);
    box-shadow: 0 -8px 24px -18px rgba(44, 62, 80, 0.5);
}

#cookie-banner p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.6;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .bar-nav, .bar-cta {
        display: none;
    }

    .bar-burger {
        display: flex;
    }
}

@media (max-width: 760px) {
    .hero-logo {
        transform: scale(2.1);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feat-grid {
        grid-template-columns: 1fr;
    }

    /* Stack as eyebrow, photo, text, whichever side the photo is on. */
    .two-col .text-col {
        display: contents;
    }

    .two-col .text-col > * {
        order: 3;
    }

    .two-col .text-col > .eyebrow-row {
        order: 1;
        margin-bottom: 20px;
    }

    .two-col .media-col {
        order: 2;
        margin-bottom: 36px;
    }

    .frame-accent, .frame-accent-l {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .route-grid {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .toc {
        position: static;
    }

    .data-table {
        font-size: 14px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 599.95px) {
    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ---------- Fallbacks for older browsers (iOS 12, Safari 12, Chrome 70) ---------- */

@supports not (padding: max(1px, 2px)) {
    @media (min-width: 1140px) {
        .main-card {
            padding-left: calc((100% - 1140px) / 2 + 72px);
            padding-right: calc((100% - 1140px) / 2 + 72px);
        }
    }
}

@supports not (aspect-ratio: 1 / 1) {
    .media-frame {
        padding-top: 75%;
    }

    .video-thumb {
        padding-top: 62.5%;
    }
}

/*
 * Flexbox gap cannot be detected with @supports (grid gap makes it answer yes),
 * so site.js sets .no-flexgap on <html> and these margins stand in for it.
 */
.no-flexgap .eyebrow::before {
    margin-right: 12px;
}

.no-flexgap .logo > * + * {
    margin-left: 9px;
}

.no-flexgap .appbar-actions > * + * {
    margin-left: 23px;
}

.no-flexgap .bar-nav > * + * {
    margin-left: 17px;
}

.no-flexgap .bar-menu > * + * {
    margin-top: 4px;
}

.no-flexgap .hero-logo .logo > * + * {
    margin-left: 0;
    margin-top: 8px;
}

.no-flexgap .dark-hero-meta > * + * {
    margin-left: 28px;
}

.no-flexgap .card > * + * {
    margin-top: 14px;
}

.no-flexgap .steps > * + * {
    margin-top: 30px;
}

.no-flexgap .steps li::before {
    margin-right: 20px;
}

.no-flexgap .prose > * + * {
    margin-top: 18px;
}

.no-flexgap .home-intro .prose > * + * {
    margin-top: 20px;
}

.no-flexgap .cta-band > div:first-child {
    margin-right: 28px;
}

.no-flexgap .cta-buttons > * + * {
    margin-left: 14px;
}

.no-flexgap .notice::before {
    margin-right: 16px;
}

.no-flexgap .choice > * + * {
    margin-top: 18px;
}

.no-flexgap .choice > .choice-more {
    margin-top: auto;
}

.no-flexgap .choice-head > * + * {
    margin-left: 14px;
}

.no-flexgap .choice-more > span {
    margin-left: 7px;
}

.no-flexgap .price-card > * + * {
    margin-top: 20px;
}

.no-flexgap .price > * + * {
    margin-left: 8px;
}

.no-flexgap .price-card ul > * + * {
    margin-top: 11px;
}

.no-flexgap .price-card li::before {
    margin-right: 10px;
}

.no-flexgap .video > * + * {
    margin-top: 16px;
}

.no-flexgap .video > div:last-child > * + * {
    margin-top: 8px;
}

.no-flexgap .video-duration svg {
    margin-right: 8px;
}

.no-flexgap .form-actions > * + * {
    margin-left: 10px;
}

.no-flexgap .contact-side > * + * {
    margin-top: 28px;
}

.no-flexgap .contact-details > * + * {
    margin-top: 22px;
}

.no-flexgap .toc > * + * {
    margin-top: 2px;
}

.no-flexgap .legal-body > * + * {
    margin-top: 48px;
}

.no-flexgap .clauses > * + * {
    margin-top: 14px;
}

.no-flexgap .footer-top > * + * {
    margin-left: 40px;
}

.no-flexgap .footer-brand > * + * {
    margin-left: 28px;
}

.no-flexgap .footer-nav > * + * {
    margin-top: 16px;
}

.no-flexgap .cookie-buttons > * + * {
    margin-left: 10px;
}

@media (max-width: 760px) {
    .no-flexgap .cta-band > div:first-child {
        margin-right: 0;
        margin-bottom: 28px;
    }

    .no-flexgap .footer-top > * + * {
        margin-left: 0;
        margin-top: 32px;
    }
}

@media (max-width: 599.95px) {
    .no-flexgap .form-actions > * + * {
        margin-left: 0;
        margin-bottom: 10px;
    }
}
