:root {
    --site-ink: #17313a;
    --site-ink-strong: #0d252d;
    --site-muted: #5d7077;
    --site-teal: #087f75;
    --site-teal-dark: #05665f;
    --site-teal-soft: #e6f3f1;
    --site-blue: #2c6377;
    --site-amber: #c97816;
    --site-amber-soft: #fff4df;
    --site-bg: #ffffff;
    --site-bg-soft: #f4f7f6;
    --site-bg-warm: #faf9f6;
    --site-border: #d9e2e1;
    --site-border-strong: #bdccca;
    --site-danger: #b42318;
    --site-success: #18714f;
    --site-shadow-sm: 0 1px 2px rgba(13, 37, 45, 0.05);
    --site-shadow-md: 0 16px 40px rgba(13, 37, 45, 0.1);
    --site-radius-sm: 4px;
    --site-radius: 8px;
    --site-container: 1180px;
    --site-nav-height: 82px;
    --site-font: "Inter", "Segoe UI", Arial, sans-serif;
    --bs-primary: var(--site-teal);
    --bs-primary-rgb: 8, 127, 117;
    --bs-body-color: var(--site-ink);
    --bs-body-bg: var(--site-bg);
    --bs-font-sans-serif: var(--site-font);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--site-nav-height) + 24px);
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--site-ink);
    background: var(--site-bg);
    font-family: var(--site-font);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    letter-spacing: 0;
}

img {
    max-width: 100%;
}

a {
    color: var(--site-teal-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--site-ink-strong);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--site-ink-strong);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    color: #fff;
    background: var(--site-teal);
}

:focus-visible {
    outline: 3px solid rgba(8, 127, 117, 0.34);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 5000;
    padding: 0.7rem 1rem;
    border-radius: var(--site-radius-sm);
    color: #fff;
    background: var(--site-ink-strong);
    transform: translateY(-140%);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.site-container {
    width: min(100% - 40px, var(--site-container));
    margin-inline: auto;
}

.site-main {
    min-height: 55vh;
}

.site-alerts {
    position: relative;
    z-index: 2;
    padding-top: 1rem;
}

.alert {
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-sm);
}

.alert-success {
    color: #0d5037;
    background: #edf8f2;
    border-color: #b8ddca;
}

.alert-error,
.alert-danger {
    color: #7a271a;
    background: #fff3f1;
    border-color: #efc5bf;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: var(--site-nav-height);
    border-bottom: 1px solid rgba(217, 226, 225, 0.9);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.site-navbar {
    min-height: var(--site-nav-height);
    padding: 0.35rem 0;
}

.site-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: calc(var(--site-nav-height) - 0.7rem);
    gap: 1.25rem;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.7rem;
    color: var(--site-ink-strong);
    text-decoration: none;
}

.site-brand:focus-visible {
    outline: 3px solid var(--site-accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.site-brand-logo {
    position: relative;
    display: block;
    width: 78px;
    height: 46px;
    flex: 0 0 78px;
    overflow: hidden;
    border: 1px solid rgba(23, 49, 58, 0.08);
    border-radius: 6px;
    background: #fff;
}

.site-brand-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(2.05);
    transform-origin: center 47%;
}

.site-brand-copy {
    display: grid;
    line-height: 1.05;
}

.site-brand-name {
    font-size: 0.95rem;
    font-weight: 750;
}

.site-brand-tagline {
    margin-top: 0.3rem;
    color: var(--site-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.site-nav-collapse {
    flex: 1 1 auto;
}

.site-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.5rem 0.62rem;
    border-radius: var(--site-radius-sm);
    color: #41575f;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: var(--site-ink-strong);
    background: var(--site-bg-soft);
}

.site-nav-link.active {
    box-shadow: inset 0 -2px 0 var(--site-teal);
}

.site-nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
}

.site-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--site-radius-sm);
    color: var(--site-ink);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
}

.site-login-link:hover {
    color: var(--site-ink-strong);
    background: var(--site-bg-soft);
}

.navbar-toggler {
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-sm);
    color: var(--site-ink);
    background: #fff;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(8, 127, 117, 0.2);
}

.navbar-toggler-icon {
    width: 1.15rem;
    height: 1.15rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: var(--site-teal);
    color: #fff;
    background: var(--site-teal);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--site-teal-dark);
    color: #fff;
    background: var(--site-teal-dark);
}

.btn-secondary,
.btn-outline-secondary {
    border-color: var(--site-border-strong);
    color: var(--site-ink);
    background: #fff;
}

.btn-secondary:hover,
.btn-outline-secondary:hover,
.btn-secondary:focus,
.btn-outline-secondary:focus {
    border-color: #93aaa7;
    color: var(--site-ink-strong);
    background: var(--site-bg-soft);
}

.btn-light {
    border-color: #fff;
    color: var(--site-ink-strong);
    background: #fff;
}

.btn-light:hover,
.btn-light:focus {
    border-color: var(--site-teal-soft);
    color: var(--site-ink-strong);
    background: var(--site-teal-soft);
}

.btn-link {
    min-height: auto;
    padding: 0;
    color: var(--site-teal-dark);
}

.btn-icon {
    width: 44px;
    padding: 0;
}

.btn-sm {
    min-height: 38px;
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
}

/* Page structure */
.page-section {
    position: relative;
    padding: 88px 0;
}

.page-section + .page-section {
    border-top: 1px solid rgba(217, 226, 225, 0.76);
}

.page-section--soft {
    background: var(--site-bg-soft);
}

.page-section--warm {
    background: var(--site-bg-warm);
}

.page-section--compact {
    padding: 64px 0;
}

.page-header {
    padding: 82px 0 72px;
    border-bottom: 1px solid var(--site-border);
    background: var(--site-bg-soft);
}

.page-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    align-items: end;
    gap: 3.5rem;
}

.page-header h1 {
    max-width: 760px;
    margin: 0.8rem 0 1rem;
}

.page-header p {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--site-muted);
    font-size: 1.12rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--site-teal-dark);
    font-size: 0.78rem;
    font-weight: 750;
}

.eyebrow i {
    font-size: 0.9rem;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2.75rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0.75rem 0 0.9rem;
}

.section-heading p,
.lead-copy {
    color: var(--site-muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.text-muted {
    color: var(--site-muted) !important;
}

.text-balance {
    text-wrap: balance;
}

/* Landing hero */
.home-hero {
    position: relative;
    display: flex;
    min-height: 630px;
    overflow: hidden;
    color: #fff;
    background: var(--site-ink-strong);
}

.home-hero-showcase,
.home-hero-overlay {
    position: absolute;
    inset: 0;
}

.home-hero-showcase {
    overflow: hidden;
    isolation: isolate;
}

.home-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    opacity: 0;
    filter: brightness(1.24) saturate(1.16) contrast(1.08);
    transform: scale(1.025);
    will-change: opacity, transform;
    animation: home-hero-showcase 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.home-hero-media:nth-child(2) { animation-delay: 4s; }
.home-hero-media:nth-child(3) { animation-delay: 8s; }
.home-hero-media:nth-child(4) { animation-delay: 12s; }
.home-hero-media:nth-child(5) { animation-delay: 16s; }

@keyframes home-hero-showcase {
    0%, 4% {
        opacity: 0;
        transform: scale(1.025);
    }
    8%, 20% {
        opacity: 0.58;
        transform: scale(1);
    }
    24%, 100% {
        opacity: 0;
        transform: scale(1.018);
    }
}

.home-hero-overlay {
    background: linear-gradient(90deg, rgba(9, 35, 43, 0.78) 0%, rgba(9, 35, 43, 0.68) 58%, rgba(9, 35, 43, 0.54) 100%);
}

.home-hero .site-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 630px;
    padding-block: 72px 52px;
}

.home-hero-content {
    max-width: 720px;
    animation: site-rise 520ms ease both;
}

.home-hero .eyebrow,
.home-hero h1,
.home-hero .hero-lead {
    color: #fff;
}

.home-hero h1 {
    margin: 0.9rem 0 0.8rem;
    font-size: 4rem;
}

.home-hero-value {
    margin-bottom: 1rem;
    color: #d9f0ed;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.home-hero .hero-action--primary,
.home-hero .hero-action--secondary {
    min-width: 150px;
    border-color: var(--site-teal);
    color: #fff;
    background: var(--site-teal);
    border-radius: 6px;
}

.home-hero .hero-action--primary:hover,
.home-hero .hero-action--secondary:hover,
.home-hero .hero-action--primary:focus,
.home-hero .hero-action--secondary:focus {
    border-color: var(--site-teal-dark);
    color: #fff;
    background: var(--site-teal-dark);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 2rem 0 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    list-style: none;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-trust i {
    color: #8dd5ce;
}

@keyframes site-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature and benefit components */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-card:hover {
    border-color: var(--site-border-strong);
    box-shadow: 0 10px 24px rgba(13, 37, 45, 0.07);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1.15rem;
    border: 1px solid #c7dfdc;
    border-radius: var(--site-radius);
    color: var(--site-teal-dark);
    background: var(--site-teal-soft);
}

.feature-card:nth-child(3n + 2) .feature-icon {
    border-color: #d8e0c0;
    color: #667327;
    background: #f3f6e7;
}

.feature-card:nth-child(3n + 3) .feature-icon {
    border-color: #efd4ac;
    color: #91530d;
    background: var(--site-amber-soft);
}

.feature-card h3 {
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--site-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 4rem;
}

.split-layout--reverse {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.split-layout--reverse .split-copy {
    order: 2;
}

.split-layout--reverse .split-media {
    order: 1;
}

.split-copy h2 {
    margin: 0.75rem 0 1rem;
}

.split-copy > p {
    color: var(--site-muted);
    font-size: 1.02rem;
}

.check-list,
.plain-list,
.feature-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.check-list i,
.feature-list > li > i {
    margin-top: 0.16rem;
    color: var(--site-teal);
}

.check-list strong,
.feature-list strong {
    color: var(--site-ink-strong);
}

.check-list span,
.feature-list span {
    display: block;
    color: var(--site-muted);
    font-size: 0.92rem;
}

.product-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-border-strong);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow-md);
}

.product-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 34px;
    padding: 0 0.8rem;
    border-bottom: 1px solid var(--site-border);
    background: #eef2f1;
}

.product-frame-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a8b8b6;
}

.product-frame img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    filter: brightness(1.09) saturate(1.12) contrast(1.03);
}

.image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: zoom-in;
}

.image-button img {
    transition: transform 220ms ease;
}

.image-button:hover img {
    transform: scale(1.008);
}

.product-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--site-muted);
    font-size: 0.82rem;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--site-border);
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--site-border);
}

.stat-item strong {
    display: block;
    color: var(--site-ink-strong);
    font-size: 1rem;
}

.stat-item span {
    color: var(--site-muted);
    font-size: 0.82rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pricing-trial-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.pricing-trial-row .pricing-card {
    width: min(100%, calc((100% - 2rem) / 3));
}

.pricing-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.6rem;
    border: 1px solid var(--site-border-strong);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pricing-card.is-featured {
    border: 1px solid var(--site-border-strong);
}

@media (hover: hover) {
    .pricing-card:hover {
        border-color: var(--site-teal);
        box-shadow: 0 14px 30px rgba(8, 127, 117, 0.11);
        transform: translateY(-2px);
    }
}

.plan-badge {
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.3rem 0.5rem;
    border-radius: var(--site-radius-sm);
    color: var(--site-teal-dark);
    background: var(--site-teal-soft);
    font-size: 0.72rem;
    font-weight: 750;
}

.pricing-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
}

.plan-duration {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    color: var(--site-muted);
    font-size: 0.86rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    min-height: 56px;
    margin-bottom: 1rem;
}

.plan-price strong {
    color: var(--site-ink-strong);
    font-size: 2.35rem;
    line-height: 1;
}

.plan-price span {
    color: var(--site-muted);
    font-size: 0.78rem;
}

.plan-description {
    min-height: 3.2rem;
    color: var(--site-muted);
    font-size: 0.9rem;
}

.plan-features {
    display: grid;
    gap: 0.65rem;
    margin: 1.2rem 0 1.6rem;
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--site-border);
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #41575f;
    font-size: 0.86rem;
}

.plan-features i {
    margin-top: 0.15rem;
    color: var(--site-teal);
}

.plan-action {
    margin-top: auto;
}

.plan-action .btn {
    width: 100%;
}

.shopify-buy-node {
    min-height: 54px;
}

.shopify-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    gap: 0.55rem;
    border: 1px solid var(--site-border);
    border-radius: 6px;
    color: var(--site-muted);
    background: var(--site-bg-soft);
    font-size: 0.82rem;
}

.shopify-fallback {
    display: none;
}

.shopify-buy-node.has-error .shopify-loading {
    display: none;
}

.shopify-buy-node.has-error .shopify-fallback {
    display: inline-flex;
    width: 100%;
}

.pricing-note {
    margin-top: 1.25rem;
    color: var(--site-muted);
    font-size: 0.82rem;
    text-align: center;
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2.5rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
}

.purchase-step {
    position: relative;
    padding: 1.4rem;
}

.purchase-step + .purchase-step {
    border-left: 1px solid var(--site-border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    color: #fff;
    background: var(--site-teal);
    font-size: 0.75rem;
    font-weight: 800;
}

.purchase-step h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.purchase-step p {
    color: var(--site-muted);
    font-size: 0.85rem;
}

/* Public referral program */
.referral-marketing-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(89, 196, 185, 0.2), transparent 28%),
        linear-gradient(132deg, #0a3038 0%, var(--site-ink-strong) 52%, #123f45 100%);
}

.referral-marketing-hero::before,
.referral-marketing-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.referral-marketing-hero::before {
    top: -210px;
    right: -130px;
    width: 470px;
    height: 470px;
}

.referral-marketing-hero::after {
    right: 16%;
    bottom: -220px;
    width: 390px;
    height: 390px;
}

.referral-marketing-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: clamp(2.75rem, 6vw, 5.5rem);
}

.referral-marketing-hero__copy {
    max-width: 690px;
    animation: site-rise 520ms ease both;
}

.referral-marketing-hero .eyebrow {
    color: #a9e1dc;
}

.referral-marketing-hero h1 {
    max-width: 650px;
    margin: 0.85rem 0 1.05rem;
    color: #fff;
    font-size: clamp(3rem, 5.2vw, 4.35rem);
    text-wrap: balance;
}

.referral-marketing-hero__lead {
    max-width: 660px;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    line-height: 1.58;
}

.referral-marketing-hero__lead strong {
    color: #fff;
}

.referral-marketing-hero__saving {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 640px;
    margin: 0;
    color: #bde7e3;
    font-size: 1rem;
    font-weight: 600;
}

.referral-marketing-hero__saving i {
    margin-top: 0.12rem;
    color: #73cec5;
}

.referral-marketing-hero__saving strong {
    color: #fff;
}

.referral-marketing-hero .hero-actions {
    margin-top: 1.75rem;
}

.referral-marketing-hero .referral-hero-primary {
    min-width: 164px;
    border-color: var(--site-teal);
    color: #fff;
    background: var(--site-teal);
}

.referral-marketing-hero .referral-hero-primary:hover,
.referral-marketing-hero .referral-hero-primary:focus {
    border-color: #0a968a;
    color: #fff;
    background: #0a968a;
}

.referral-marketing-hero .referral-hero-secondary {
    min-width: 124px;
    border-color: rgba(255, 255, 255, 0.48);
    color: #fff;
    background: transparent;
}

.referral-marketing-hero .referral-hero-secondary:hover,
.referral-marketing-hero .referral-hero-secondary:focus {
    border-color: #fff;
    color: var(--site-ink-strong);
    background: #fff;
}

.referral-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.2rem;
    margin: 1.55rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    list-style: none;
}

.referral-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.referral-hero-trust i {
    color: #73cec5;
}

.referral-hero-summary {
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: calc(var(--site-radius) + 6px);
    color: var(--site-ink);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 70px rgba(2, 20, 26, 0.25);
    backdrop-filter: blur(12px);
}

.referral-hero-summary__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0.25rem 0.95rem;
    color: var(--site-ink-strong);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.referral-hero-summary__heading i {
    color: var(--site-amber);
    font-size: 1rem;
}

.referral-hero-summary__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-bg-soft);
}

.referral-hero-summary__item + .referral-hero-summary__item {
    margin-top: 0.65rem;
}

.referral-hero-summary__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #c7dfdc;
    border-radius: 50%;
    color: var(--site-teal-dark);
    background: var(--site-teal-soft);
}

.referral-hero-summary__item div {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.referral-hero-summary__item div > span {
    color: var(--site-muted);
    font-size: 0.7rem;
    font-weight: 650;
}

.referral-hero-summary__item strong {
    color: var(--site-ink-strong);
    font-size: 0.92rem;
    line-height: 1.35;
}

.referral-hero-summary__footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 0.25rem 0.1rem;
    color: var(--site-muted);
    font-size: 0.72rem;
}

.referral-hero-summary__footer i {
    color: var(--site-amber);
}

.referral-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.referral-benefit-card {
    position: relative;
    min-height: 255px;
}

.referral-benefit-card__label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--site-teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.referral-benefit-card h3 {
    font-size: 1.22rem;
}

.referral-terms-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.35rem 0 0;
    color: var(--site-muted);
    font-size: 0.78rem;
    text-align: center;
}

.referral-terms-note i {
    margin-top: 0.16rem;
    color: var(--site-teal);
}

.referral-public-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.referral-public-timeline::before {
    content: "";
    position: absolute;
    top: 27px;
    right: 8.33%;
    left: 8.33%;
    height: 2px;
    background: linear-gradient(90deg, var(--site-teal), #73cec5, var(--site-amber));
}

.referral-public-timeline li {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.referral-public-timeline__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid #afd5d1;
    border-radius: 50%;
    color: var(--site-teal-dark);
    background: #fff;
    box-shadow: 0 0 0 6px var(--site-bg-soft);
    font-size: 1.1rem;
}

.referral-public-timeline li:last-child .referral-public-timeline__icon {
    border-color: #e4bd85;
    color: #8a510e;
    background: var(--site-amber-soft);
}

.referral-public-timeline__step {
    display: block;
    margin-top: 0.85rem;
    color: var(--site-teal-dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.referral-public-timeline h3 {
    margin: 0.3rem 0 0.4rem;
    font-size: 0.94rem;
    line-height: 1.35;
}

.referral-public-timeline p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.77rem;
    line-height: 1.55;
}

.referral-product-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.85rem;
}

.referral-product-card {
    grid-column: span 2;
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow-sm);
}

.referral-product-card:nth-child(5) {
    grid-column: 2 / span 2;
}

.referral-product-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 0.85rem;
    border: 1px solid #c7dfdc;
    border-radius: var(--site-radius);
    color: var(--site-teal-dark);
    background: var(--site-teal-soft);
}

.referral-product-card:nth-child(3n + 2) > i {
    border-color: #d8e0c0;
    color: #667327;
    background: #f3f6e7;
}

.referral-product-card:nth-child(3n + 3) > i {
    border-color: #efd4ac;
    color: #91530d;
    background: var(--site-amber-soft);
}

.referral-product-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.referral-product-card p {
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.referral-faq-noscript {
    max-width: 860px;
    margin-inline: auto;
}

.referral-faq-noscript h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
}

.referral-faq-noscript p {
    color: var(--site-muted);
}

.referral-final-cta {
    padding: 72px 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(89, 196, 185, 0.16), transparent 30%),
        var(--site-ink-strong);
}

.referral-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.referral-final-cta .eyebrow {
    color: #8dd5ce;
}

.referral-final-cta h2 {
    margin: 0.65rem 0 0.5rem;
    color: #fff;
}

.referral-final-cta p {
    color: rgba(255, 255, 255, 0.76);
}

.referral-final-cta__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.7rem;
}

.referral-final-cta__secondary {
    border-color: rgba(255, 255, 255, 0.48);
    color: #fff;
    background: transparent;
}

.referral-final-cta__secondary:hover,
.referral-final-cta__secondary:focus {
    border-color: #fff;
    color: var(--site-ink-strong);
    background: #fff;
}

@media (max-width: 1099.98px) {
    .referral-marketing-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
        gap: 2.5rem;
    }

    .referral-public-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .referral-public-timeline::before {
        display: none;
    }

    .referral-public-timeline li {
        padding: 1.15rem;
        border: 1px solid var(--site-border);
        border-radius: var(--site-radius);
        background: #fff;
        box-shadow: var(--site-shadow-sm);
    }

    .referral-public-timeline__icon {
        box-shadow: none;
    }

    .referral-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .referral-product-card:nth-child(5) {
        grid-column: span 2;
    }

    .referral-product-card:nth-child(7) {
        grid-column: 3 / span 2;
    }
}

@media (max-width: 991.98px) {
    .referral-marketing-hero {
        padding: 72px 0;
    }

    .referral-marketing-hero__grid {
        grid-template-columns: 1fr;
    }

    .referral-marketing-hero__copy {
        max-width: 760px;
    }

    .referral-hero-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .referral-hero-summary__heading,
    .referral-hero-summary__footer {
        grid-column: 1 / -1;
    }

    .referral-hero-summary__item {
        align-items: flex-start;
        margin: 0 !important;
    }

    .referral-final-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .referral-marketing-hero {
        padding: 58px 0;
    }

    .referral-marketing-hero h1 {
        font-size: 2.7rem;
    }

    .referral-marketing-hero__lead {
        font-size: 1.06rem;
    }

    .referral-hero-summary {
        grid-template-columns: 1fr;
    }

    .referral-hero-summary__heading,
    .referral-hero-summary__footer {
        grid-column: 1;
    }

    .referral-benefit-grid {
        grid-template-columns: 1fr;
    }

    .referral-benefit-card {
        min-height: 0;
    }

    .referral-public-timeline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .referral-public-timeline li {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.1rem 0.9rem;
        padding: 1rem;
        text-align: left;
    }

    .referral-public-timeline li:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -0.76rem;
        left: 33px;
        width: 2px;
        height: 0.76rem;
        background: var(--site-border-strong);
    }

    .referral-public-timeline__icon {
        grid-row: 1 / 4;
        width: 48px;
        height: 48px;
    }

    .referral-public-timeline__step,
    .referral-public-timeline h3,
    .referral-public-timeline p {
        grid-column: 2;
    }

    .referral-public-timeline__step {
        margin-top: 0;
    }

    .referral-public-timeline h3 {
        margin-top: 0.16rem;
    }

    .referral-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .referral-product-card,
    .referral-product-card:nth-child(5) {
        grid-column: span 1;
    }

    .referral-product-card:nth-child(7) {
        grid-column: 1 / -1;
    }

    .referral-final-cta {
        padding: 58px 0;
    }
}

@media (max-width: 575.98px) {
    .referral-marketing-hero h1 {
        font-size: 2.3rem;
    }

    .referral-marketing-hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .referral-marketing-hero .hero-actions .btn,
    .referral-final-cta__actions,
    .referral-final-cta__actions .btn {
        width: 100%;
    }

    .referral-hero-trust {
        display: grid;
    }

    .referral-hero-summary {
        padding: 0.9rem;
    }

    .referral-product-grid {
        grid-template-columns: 1fr;
    }

    .referral-product-card,
    .referral-product-card:nth-child(5),
    .referral-product-card:nth-child(7) {
        grid-column: 1;
    }

    .referral-final-cta__actions {
        display: grid;
    }
}

/* FAQ */
.faq-list {
    overflow: hidden;
    max-width: 860px;
    margin-inline: auto;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--site-border);
}

.faq-question {
    margin: 0;
}

.faq-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 66px;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 0;
    color: var(--site-ink-strong);
    background: #fff;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    text-align: left;
}

.faq-button:hover {
    background: var(--site-bg-soft);
}

.faq-button i {
    flex: 0 0 auto;
    color: var(--site-teal);
    transition: transform 180ms ease;
}

.faq-button[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--site-muted);
    font-size: 0.94rem;
    line-height: 1.72;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.gallery-item {
    min-width: 0;
}

.gallery-item h2 {
    margin: 1.2rem 0 0.45rem;
    font-size: 1.2rem;
}

.gallery-item p {
    color: var(--site-muted);
    font-size: 0.9rem;
}

.gallery-item .product-frame {
    aspect-ratio: 16 / 10;
    box-shadow: 0 10px 30px rgba(13, 37, 45, 0.08);
}

.gallery-item .product-frame img {
    width: 100%;
    height: calc(100% - 34px);
    object-fit: cover;
    object-position: top;
}

/* Release notes */
.release-timeline {
    position: relative;
    display: grid;
    max-width: 900px;
    margin-inline: auto;
    gap: 1.2rem;
}

.release-timeline::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 91px;
    width: 1px;
    background: var(--site-border-strong);
    content: "";
}

.release-entry {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 2rem;
}

.release-date {
    padding-top: 1.25rem;
    color: var(--site-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: right;
}

.release-card {
    position: relative;
    padding: 1.5rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: var(--site-shadow-sm);
}

.release-card::before {
    position: absolute;
    top: 1.35rem;
    left: -2.42rem;
    width: 11px;
    height: 11px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--site-teal);
    box-shadow: 0 0 0 1px var(--site-border-strong);
    content: "";
}

.release-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.release-heading h2 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.release-version {
    color: var(--site-teal-dark);
    font-size: 0.75rem;
    font-weight: 750;
}

.release-tag {
    flex: 0 0 auto;
    padding: 0.3rem 0.5rem;
    border-radius: var(--site-radius-sm);
    color: #7c4a10;
    background: var(--site-amber-soft);
    font-size: 0.7rem;
    font-weight: 750;
}

.release-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.release-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--site-muted);
    font-size: 0.9rem;
}

.release-list i {
    margin-top: 0.18rem;
    color: var(--site-teal);
}

/* Forms and contact */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
    gap: 4rem;
    align-items: start;
}

.contact-details {
    position: sticky;
    top: calc(var(--site-nav-height) + 32px);
}

.contact-details h2 {
    margin: 0.75rem 0 1rem;
}

.contact-details > p {
    color: var(--site-muted);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-method i {
    margin-top: 0.15rem;
    color: var(--site-teal);
}

.contact-method strong,
.contact-method span {
    display: block;
}

.contact-method span {
    margin-top: 0.15rem;
    color: var(--site-muted);
    font-size: 0.83rem;
}

.form-panel,
.auth-card {
    padding: 2rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(13, 37, 45, 0.07);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-label {
    margin-bottom: 0.4rem;
    color: var(--site-ink-strong);
    font-size: 0.84rem;
    font-weight: 700;
}

.form-control,
.form-select,
form input:not([type="checkbox"]):not([type="radio"]),
form select,
form textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.68rem 0.78rem;
    border: 1px solid var(--site-border-strong);
    border-radius: 6px;
    color: var(--site-ink-strong);
    background: #fff;
    font-size: 0.92rem;
    line-height: 1.4;
    box-shadow: none;
}

form textarea,
textarea.form-control {
    min-height: 138px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus,
form input:focus,
form select:focus,
form textarea:focus {
    border-color: var(--site-teal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(8, 127, 117, 0.13);
}

.field-error,
.errorlist {
    margin: 0.4rem 0 0;
    padding: 0;
    color: var(--site-danger);
    font-size: 0.78rem;
    list-style: none;
}

.help-text,
.helptext {
    display: block;
    margin-top: 0.4rem;
    color: var(--site-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
}

/* Authentication */
.auth-body {
    background: var(--site-bg-soft);
}

.auth-header {
    position: relative;
}

.auth-header .site-nav-inner {
    justify-content: space-between;
}

.auth-main {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--site-nav-height));
    padding: 56px 0;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
    align-items: center;
    gap: 5rem;
}

.auth-intro {
    max-width: 560px;
}

.auth-intro h1 {
    margin: 0.8rem 0 1rem;
    font-size: 2.6rem;
}

.auth-intro p {
    color: var(--site-muted);
    font-size: 1.02rem;
}

.auth-points {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #41575f;
    font-size: 0.88rem;
}

.auth-points i {
    color: var(--site-teal);
}

.auth-card h2 {
    margin-bottom: 0.45rem;
    font-size: 1.45rem;
}

.auth-card > p {
    margin-bottom: 1.4rem;
    color: var(--site-muted);
    font-size: 0.86rem;
}

.auth-form-field + .auth-form-field {
    margin-top: 1rem;
}

.auth-card .btn[type="submit"] {
    width: 100%;
    margin-top: 1.25rem;
}

.auth-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.82rem;
}

.auth-note {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--site-border);
    color: var(--site-muted);
    font-size: 0.78rem;
    text-align: center;
}

/* Legal content */
.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    gap: 4rem;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: calc(var(--site-nav-height) + 32px);
    display: grid;
    gap: 0.35rem;
}

.legal-nav a {
    padding: 0.5rem 0.65rem;
    border-radius: var(--site-radius-sm);
    color: var(--site-muted);
    font-size: 0.83rem;
    text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--site-ink-strong);
    background: var(--site-bg-soft);
}

.legal-content section + section {
    margin-top: 2.2rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--site-border);
}

.legal-content h2 {
    font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
    color: #4b6068;
    font-size: 0.92rem;
}

.legal-content li + li {
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    color: #d6e0df;
    background: var(--site-ink-strong);
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(140px, 0.7fr));
    gap: 3rem;
    padding: 64px 0 48px;
}

.site-footer .site-brand {
    color: #fff;
}

.site-footer .site-brand-tagline {
    color: #a9bcba;
}

.footer-statement {
    max-width: 340px;
    margin-top: 1.2rem;
    color: #a9bcba;
    font-size: 0.84rem;
}

.footer-heading {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #b8c9c7;
    font-size: 0.82rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-business {
    color: #b8c9c7;
    font-size: 0.82rem;
}

.footer-business strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 0.75rem;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #96aaa8;
    font-size: 0.76rem;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 22, 28, 0.91);
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-dialog {
    position: relative;
    width: min(1280px, 94vw);
    max-height: 94vh;
}

.lightbox-image {
    display: block;
    width: 100%;
    max-height: calc(94vh - 64px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: var(--site-radius);
    background: #fff;
}

.lightbox-caption {
    margin-top: 0.75rem;
    color: #dfe8e7;
    font-size: 0.82rem;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: #fff;
    background: rgba(13, 37, 45, 0.9);
}

.lightbox-close {
    top: 12px;
    right: 12px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.prev {
    left: 12px;
}

.lightbox-nav.next {
    right: 12px;
}

/* Responsive */
@media (max-width: 1099.98px) {
    .site-nav-inner {
        gap: 0.75rem;
    }

    .site-nav-link {
        padding-inline: 0.45rem;
        font-size: 0.8rem;
    }

    .site-brand-tagline {
        display: none;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.5rem);
        justify-self: center;
    }

    .pricing-trial-row .pricing-card {
        width: calc(50% - 0.5rem);
    }

    .split-layout,
    .split-layout--reverse {
        gap: 2.75rem;
    }

    .site-footer-main {
        grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(150px, 0.8fr));
    }

    .site-footer-main > :last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 991.98px) {
    :root {
        --site-nav-height: 76px;
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2rem;
    }

    .site-nav-inner {
        position: relative;
        flex-wrap: wrap;
        min-height: calc(var(--site-nav-height) - 0.7rem);
        padding-block: 0;
    }

    .site-nav-collapse {
        order: 5;
        width: 100%;
        flex-basis: 100%;
        margin-inline: 0;
        padding: 0.4rem 0 1rem;
        border-top: 1px solid var(--site-border);
        background: #fff;
    }

    .site-nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 0.25rem;
        padding-top: 0.5rem;
    }

    .site-nav-link {
        min-height: 42px;
        padding: 0.6rem;
        font-size: 0.86rem;
    }

    .site-nav-link.active {
        box-shadow: inset 3px 0 0 var(--site-teal);
    }

    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        order: 4;
    }

    .site-nav-actions {
        margin-left: auto;
    }

    .page-section {
        padding: 72px 0;
    }

    .page-header {
        padding: 64px 0 56px;
    }

    .page-header-grid,
    .split-layout,
    .split-layout--reverse,
    .contact-layout,
    .auth-layout,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .page-header-grid {
        gap: 1.5rem;
    }

    .split-layout,
    .split-layout--reverse {
        gap: 2.5rem;
    }

    .split-layout--reverse .split-copy,
    .split-layout--reverse .split-media {
        order: initial;
    }

    .home-hero,
    .home-hero .site-container {
        min-height: 600px;
    }

    .home-hero h1 {
        font-size: 3.15rem;
    }

    .contact-layout,
    .auth-layout,
    .legal-layout {
        gap: 2.5rem;
    }

    .contact-details,
    .legal-nav {
        position: static;
    }

    .legal-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .auth-main {
        align-items: flex-start;
        min-height: auto;
    }

    .auth-intro {
        max-width: 720px;
    }
}

@media (max-width: 767.98px) {
    .site-container {
        width: min(100% - 28px, var(--site-container));
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .page-section,
    .page-section--compact {
        padding: 56px 0;
    }

    .page-header {
        padding: 52px 0 46px;
    }

    .page-header p,
    .section-heading p,
    .lead-copy {
        font-size: 1rem;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .home-hero,
    .home-hero .site-container {
        min-height: 560px;
    }

    .home-hero .site-container {
        padding-block: 56px 38px;
    }

    .home-hero h1 {
        font-size: 2.55rem;
    }

    .home-hero-value {
        font-size: 1.2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-trust {
        display: grid;
        gap: 0.55rem;
    }

    .feature-grid,
    .pricing-grid,
    .gallery-grid,
    .stat-strip,
    .purchase-steps,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .pricing-trial-row .pricing-card {
        width: 100%;
    }

    .stat-item + .stat-item,
    .purchase-step + .purchase-step {
        border-top: 1px solid var(--site-border);
        border-left: 0;
    }

    .form-field--full {
        grid-column: auto;
    }

    .gallery-grid {
        gap: 2.5rem;
    }

    .release-timeline::before {
        left: 5px;
    }

    .release-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding-left: 24px;
    }

    .release-date {
        padding-top: 0;
        text-align: left;
    }

    .release-card::before {
        top: 1.35rem;
        left: -1.55rem;
    }

    .contact-layout,
    .auth-layout,
    .legal-layout {
        gap: 2rem;
    }

    .auth-intro h1 {
        font-size: 2.1rem;
    }

    .site-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
        padding: 48px 0 36px;
    }

    .site-footer-main > :first-child,
    .site-footer-main > :last-child {
        grid-column: 1 / -1;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .site-brand-copy {
        display: none;
    }

    .site-brand-logo {
        width: 64px;
        height: 40px;
        flex-basis: 64px;
    }

    .site-login-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .site-nav-actions {
        gap: 0.2rem;
    }

    .site-nav-actions .btn {
        min-height: 40px;
        padding-inline: 0.75rem;
        font-size: 0.78rem;
    }

    .navbar-toggler,
    .site-login-link {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .home-hero,
    .home-hero .site-container {
        min-height: 545px;
    }

    .home-hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .feature-card,
    .pricing-card,
    .form-panel,
    .auth-card,
    .release-card {
        padding: 1.25rem;
    }

    .form-actions,
    .release-heading {
        align-items: stretch;
        flex-direction: column;
    }

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

    .product-caption {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .lightbox-overlay {
        padding: 10px;
    }

    .lightbox-dialog {
        width: 100%;
    }

    .lightbox-nav {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-media {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .home-hero-media:first-child {
        opacity: 0.58;
    }

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
