:root {
    --bg: #f4f8fc;
    --bg-soft: #fff9f0;
    --surface: #ffffff;
    --surface-muted: #eef4fb;
    --text: #16263c;
    --muted: #556982;
    --primary: #0f4c81;
    --primary-strong: #0b3a66;
    --teal: #0f766e;
    --accent: #f59e0b;
    --border: #d7e4ef;
    --ring: rgba(15, 76, 129, 0.2);
    --shadow-sm: 0 8px 20px rgba(10, 36, 64, 0.08);
    --shadow-lg: 0 28px 60px rgba(8, 30, 55, 0.14);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 7% -3%, rgba(15, 118, 110, 0.15), transparent 28%),
        radial-gradient(circle at 92% 6%, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, #ffffff 42%, var(--bg-soft) 100%);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-mark,
.brand-tag,
.stat-value,
.price-value,
.step-index,
.eyebrow,
.btn,
.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 2.4rem));
    margin: 0 auto;
}

body.menu-open {
    overflow: hidden;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    padding-top: 0.75rem;
}

.site-header.is-scrolled .topbar {
    border-color: rgba(16, 48, 76, 0.14);
    box-shadow: 0 14px 34px rgba(8, 29, 53, 0.12);
    transform: translateY(-2px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 48, 76, 0.08);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-badge {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.72rem;
    background: linear-gradient(145deg, var(--primary), var(--teal));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.brand-word {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-mark {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-tag {
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    padding: 0.35rem 0.2rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    background: linear-gradient(90deg, var(--primary), var(--teal));
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    padding: 0.78rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible,
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible,
.faq-toggle:focus-visible,
.nav-toggle:focus-visible,
.mobile-nav a:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    box-shadow: 0 10px 26px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 76, 129, 0.34);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-1px);
}

.btn-link {
    color: var(--primary);
    background: transparent;
    border: 1px solid rgba(15, 76, 129, 0.18);
    padding-inline: 1rem;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.8rem;
    color: var(--text);
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    display: block;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -6px;
}

.nav-toggle-bars::after {
    top: 6px;
}

.menu-open .nav-toggle-bars {
    transform: rotate(45deg);
}

.menu-open .nav-toggle-bars::before {
    opacity: 0;
}

.menu-open .nav-toggle-bars::after {
    transform: rotate(-90deg) translateX(6px);
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 29, 53, 0.44);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 90;
}

.mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    z-index: 95;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100vh;
    padding: 5.5rem 1.4rem 1.5rem;
    transform: translateX(100%);
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 34px rgba(9, 32, 58, 0.18);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.72rem 0.8rem;
}

.mobile-nav a:hover {
    border-color: var(--border);
    background: var(--surface-muted);
}

.mobile-nav .btn {
    margin-top: 0.4rem;
}

main {
    padding-top: 5.9rem;
}

.hero {
    position: relative;
    padding: clamp(3.6rem, 6vw, 6.3rem) 0 2.6rem;
    overflow: clip;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
    pointer-events: none;
}

.hero::before {
    width: 320px;
    height: 320px;
    top: -118px;
    right: -128px;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.22), rgba(15, 76, 129, 0));
    animation: float-hero 9s ease-in-out infinite;
}

.hero::after {
    width: 290px;
    height: 290px;
    left: -128px;
    bottom: -128px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0));
    animation: float-hero 11s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.1rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(15, 76, 129, 0.1);
    color: var(--primary-strong);
    border: 1px solid rgba(15, 76, 129, 0.16);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.76rem;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0.9rem 0 0;
    font-size: clamp(2.05rem, 4vw, 3.55rem);
    line-height: 1.07;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 1rem 0 0;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    color: var(--muted);
    max-width: 58ch;
}

.hero-actions {
    margin-top: 1.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.hero-meta {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.82rem;
    padding: 0.34rem 0.64rem;
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62));
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 0.95rem;
}

.dashboard-shell {
    border-radius: 18px;
    background: #0f2338;
    color: #ecf4ff;
    overflow: hidden;
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(202, 224, 248, 0.12);
    padding: 0.75rem 0.95rem;
    font-size: 0.82rem;
}

.dots {
    display: inline-flex;
    gap: 0.3rem;
}

.dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
}

.dashboard-body {
    padding: 0.95rem;
}

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

.metric {
    border-radius: 12px;
    padding: 0.72rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(199, 225, 246, 0.12);
}

.metric-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(220, 237, 255, 0.76);
}

.metric-value {
    margin-top: 0.38rem;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.trend-chart {
    margin-top: 0.7rem;
    height: 72px;
    border-radius: 12px;
    border: 1px solid rgba(199, 225, 246, 0.16);
    background:
        linear-gradient(180deg, rgba(25, 64, 100, 0.42), rgba(13, 37, 59, 0.1)),
        repeating-linear-gradient(
            to right,
            transparent,
            transparent 30px,
            rgba(194, 221, 244, 0.1) 30px,
            rgba(194, 221, 244, 0.1) 31px
        );
    position: relative;
    overflow: hidden;
}

.trend-line {
    position: absolute;
    inset: 14px 8px auto;
    height: 42px;
    border-radius: 9px;
    border: 2px solid transparent;
    border-top-color: #49d2be;
    border-right-color: #49d2be;
    transform: skewX(-16deg);
}

.trend-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 0.7rem;
    font-size: 0.73rem;
    font-weight: 700;
    border-radius: 999px;
    color: #dffaf4;
    background: rgba(15, 118, 110, 0.28);
    border: 1px solid rgba(123, 228, 207, 0.32);
    padding: 0.28rem 0.54rem;
}

.proof-strip {
    padding: 0.3rem 0 1.75rem;
}

.proof-grid {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.85rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.proof-item {
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    text-align: center;
    padding: 0.88rem 0.5rem;
}

.stat-value {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-label {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.section {
    padding: clamp(2.5rem, 7vw, 4.3rem) 0;
}

.section-head {
    max-width: 670px;
}

.section-kicker {
    margin: 0;
    font-size: 0.79rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.section h2 {
    margin: 0.72rem 0 0;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    line-height: 1.13;
    letter-spacing: -0.02em;
}

.section h1 {
    margin: 0.72rem 0 0;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-lead {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.feature-grid {
    margin-top: 1.45rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.78rem;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--primary), var(--teal));
    color: #fff;
    font-size: 1.02rem;
}

.feature-card h3 {
    margin: 0.75rem 0 0;
    font-size: 1.07rem;
}

.feature-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.workflow-grid {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.step {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.step-index {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(15, 76, 129, 0.12);
    color: var(--primary-strong);
}

.step h3 {
    margin: 0.68rem 0 0;
    font-size: 1rem;
}

.step p {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.highlight-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 1.2rem;
    align-items: stretch;
}

.highlight-copy {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.84);
    padding: 1.18rem;
    box-shadow: var(--shadow-sm);
}

.check-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.check-list li {
    display: flex;
    gap: 0.58rem;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.92rem;
}

.check-list li::before {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    margin-top: 0.3rem;
    background: linear-gradient(140deg, var(--primary), var(--teal));
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.outcome-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 43, 72, 0.2);
    background: linear-gradient(145deg, #103b63, #0f2f4d);
    color: #ecf3ff;
    padding: 1.15rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.outcome-card::before {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    right: -68px;
    top: -74px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(73, 210, 190, 0.44), rgba(73, 210, 190, 0));
}

.outcome-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.outcome-list {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.58rem;
}

.outcome-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.58rem 0.62rem;
    border-radius: 10px;
    background: rgba(236, 245, 255, 0.08);
    border: 1px solid rgba(201, 227, 253, 0.14);
}

.outcome-label {
    color: rgba(236, 243, 255, 0.86);
    font-size: 0.84rem;
}

.outcome-value {
    font-weight: 700;
    font-size: 0.9rem;
}

.quote-grid {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.88rem;
}

.quote-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.88);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.quote-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.quote-meta {
    margin-top: 0.72rem;
    font-size: 0.84rem;
    color: var(--text);
    font-weight: 700;
}

.contact-wrap {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
}

.contact-pane {
    border-radius: 16px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    padding: 0.95rem;
}

.contact-pane h3 {
    margin: 0;
    font-size: 1.2rem;
}

.contact-pane p {
    margin: 0.62rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-list {
    margin: 0.88rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.62rem;
}

.contact-list li {
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.65rem 0.72rem;
    font-size: 0.9rem;
}

.contact-list span {
    display: block;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
}

.contact-form {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 0.95rem;
}

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

.field {
    display: grid;
    gap: 0.35rem;
}

.field.span-2 {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.input,
.select,
.textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 0.94rem;
    padding: 0.66rem 0.72rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: rgba(15, 76, 129, 0.44);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
    outline: 0;
}

.textarea {
    min-height: 130px;
    resize: vertical;
}

.form-status {
    display: none;
    margin-top: 0.7rem;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    color: #05503f;
    background: rgba(15, 118, 110, 0.15);
    border: 1px solid rgba(15, 118, 110, 0.32);
}

.form-status.error {
    display: block;
    color: #7f1d1d;
    background: rgba(248, 113, 113, 0.16);
    border: 1px solid rgba(248, 113, 113, 0.42);
}

.section-cta .cta-band {
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    border: 1px solid rgba(15, 76, 129, 0.22);
    background: linear-gradient(130deg, #0f4c81, #0f766e);
    color: #f6fbff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

.section-cta h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.section-cta p {
    margin: 0.5rem 0 0;
    max-width: 52ch;
    color: rgba(236, 246, 255, 0.86);
    font-size: 0.95rem;
}

.section-cta .btn-secondary {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
    margin-top: 1.4rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    padding: 1.25rem 0 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.footer-grid h4 {
    margin: 0;
    font-size: 0.84rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-grid p {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 42ch;
}

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

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 0.72rem 0 1rem;
    font-size: 0.82rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.page-pricing .pricing-hero {
    padding-top: clamp(3.7rem, 6vw, 5.4rem);
}

.pricing-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 1rem;
    align-items: stretch;
}

.price-card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 76, 129, 0.24);
    background: linear-gradient(150deg, #0f4c81, #0f3254);
    color: #f0f6ff;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.price-card::before {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    top: -84px;
    right: -80px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(83, 208, 191, 0.36), rgba(83, 208, 191, 0));
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(214, 236, 255, 0.26);
    border-radius: 999px;
    padding: 0.34rem 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}

.price-card .price-title {
    margin: 0.75rem 0 0;
    font-size: 1.6rem;
}

.price-subtitle {
    margin: 0.52rem 0 0;
    color: rgba(231, 243, 255, 0.86);
    font-size: 0.95rem;
}

.price-value {
    margin: 1rem 0 0;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-note {
    margin: 0.42rem 0 0;
    color: rgba(223, 240, 255, 0.86);
    font-size: 0.86rem;
}

.price-feature-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.52rem;
}

.price-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.91rem;
}

.price-feature-list li::before {
    content: '';
    width: 0.76rem;
    height: 0.76rem;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.24);
    flex-shrink: 0;
}

.price-panel {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.panel-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 0.9rem;
}

.panel-card + .panel-card {
    margin-top: 0.72rem;
}

.panel-card h3 {
    margin: 0;
    font-size: 1rem;
}

.panel-card p {
    margin: 0.42rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.panel-kpi {
    display: inline-flex;
    margin-top: 0.62rem;
    font-size: 0.77rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.29rem 0.54rem;
    color: var(--primary-strong);
    background: rgba(15, 76, 129, 0.11);
    border: 1px solid rgba(15, 76, 129, 0.2);
}

.compare-grid {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.82rem;
}

.compare-card {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.compare-card h3 {
    margin: 0;
    font-size: 0.99rem;
}

.compare-card ul {
    margin: 0.58rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.compare-card li {
    display: flex;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.compare-card li::before {
    content: '\\2022';
    color: var(--teal);
    font-weight: 700;
}

.faq-list {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.62rem;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-toggle {
    width: 100%;
    text-align: left;
    border: 0;
    padding: 0.88rem 0.95rem;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
}

.faq-toggle svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 0.95rem 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--delay, 0ms);
}

body.is-loaded [data-animate] {
    opacity: 1;
    transform: none;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes float-hero {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .highlight-wrap,
    .pricing-wrap,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 700px;
    }

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

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

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

    .section-cta .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 880px) {
    .nav-links,
    .topbar .btn-link,
    .topbar .btn-primary {
        display: none;
    }

    .topbar {
        padding: 0.6rem 0.84rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

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

    .feature-grid,
    .compare-grid,
    .workflow-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .field.span-2 {
        grid-column: auto;
    }

    .section {
        padding: 2.2rem 0;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1120px, calc(100% - 1.4rem));
    }

    main {
        padding-top: 5.3rem;
    }

    .hero {
        padding-top: 3.1rem;
    }

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

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

    .price-card,
    .price-panel,
    .contact-wrap {
        padding: 0.85rem;
    }
}

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

    [data-animate],
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Subscribe Page */
.page-subscribe .subscribe-hero {
    padding-top: clamp(3.6rem, 6vw, 5.2rem);
}

.subscribe-layout {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    align-items: start;
}

.subscribe-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.form-panel {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
}

.form-panel + .form-panel {
    margin-top: 0.82rem;
}

.form-panel h3 {
    margin: 0;
    font-size: 1rem;
}

.form-panel p {
    margin: 0.48rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.plan-highlight {
    margin-top: 0.72rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 76, 129, 0.24);
    background: linear-gradient(145deg, rgba(15, 76, 129, 0.12), rgba(15, 118, 110, 0.12));
    padding: 0.9rem;
}

.plan-highlight strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
}

.plan-highlight span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.billing-grid {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
}

.billing-option {
    position: relative;
}

.billing-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.billing-option label {
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    padding: 0.8rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.billing-option label:hover {
    transform: translateY(-1px);
}

.billing-option input:checked + label {
    border-color: rgba(15, 76, 129, 0.5);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.billing-title {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.billing-price {
    display: block;
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.billing-save {
    display: inline-flex;
    margin-top: 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, 0.25);
    color: #07534d;
    background: rgba(15, 118, 110, 0.14);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.24rem 0.52rem;
}

.subscribe-form-grid {
    margin-top: 0.78rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
}

.subscribe-field {
    display: grid;
    gap: 0.34rem;
}

.subscribe-field.span-2 {
    grid-column: 1 / -1;
}

.subscribe-field label {
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.subscribe-field input,
.subscribe-field select,
.subscribe-field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 0.94rem;
    padding: 0.66rem 0.72rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.subscribe-field input:focus,
.subscribe-field select:focus,
.subscribe-field textarea:focus {
    outline: 0;
    border-color: rgba(15, 76, 129, 0.44);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.subscribe-field textarea {
    min-height: 86px;
    resize: vertical;
}

.legal-agreements {
    margin-top: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-muted);
    padding: 0.84rem;
}

.legal-agreements h3 {
    margin: 0;
    font-size: 0.95rem;
}

.agreement-item {
    margin-top: 0.56rem;
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 0.55rem 0.58rem;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 0.58rem;
    font-size: 0.89rem;
    color: var(--muted);
}

.agreement-item input[type='checkbox'] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.agreement-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.agreement-item a:hover {
    text-decoration: underline;
}

.agreement-item.error {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(254, 226, 226, 0.6);
}

.agreement-note {
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.subscription-submit {
    margin-top: 0.9rem;
    width: 100%;
}

.error-message {
    display: none;
    margin-bottom: 0.74rem;
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 10px;
    background: rgba(254, 226, 226, 0.7);
    color: #7f1d1d;
    font-size: 0.9rem;
    padding: 0.6rem 0.72rem;
}

.order-summary {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    position: sticky;
    top: 6.3rem;
}

.order-summary h3 {
    margin: 0;
    font-size: 1.08rem;
}

.summary-item,
.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.summary-item {
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 0;
}

.summary-label {
    color: var(--muted);
    font-size: 0.88rem;
}

.summary-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
}

.summary-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 2px solid rgba(15, 76, 129, 0.2);
}

.summary-total .summary-label {
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
}

.summary-total .summary-value {
    color: var(--primary);
    font-size: 1.22rem;
}

.payment-info {
    margin-top: 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
    padding: 0.74rem;
}

.payment-info h4 {
    margin: 0;
    font-size: 0.92rem;
}

.payment-info p {
    margin: 0.42rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.success-message {
    display: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: 1.4rem;
}

.success-icon {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0f4c81);
}

.success-message h2 {
    margin: 0.8rem 0 0;
    font-size: 1.42rem;
}

.success-message p {
    margin: 0.52rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.success-ref {
    margin: 0.86rem auto 0;
    border-radius: 10px;
    border: 1px dashed rgba(15, 76, 129, 0.4);
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary-strong);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    width: min(100%, 280px);
    padding: 0.68rem;
}

.success-actions {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.58rem;
}

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

/* Legal Pages */
.page-legal .legal-hero {
    padding-top: clamp(3.8rem, 6vw, 5.5rem);
}

.legal-hero-box {
    border: 1px solid rgba(15, 76, 129, 0.22);
    border-radius: var(--radius-xl);
    background: linear-gradient(140deg, #0f4c81, #0f766e);
    color: #eff7ff;
    padding: 1.4rem;
    box-shadow: var(--shadow-lg);
}

.legal-hero-box h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.12;
}

.legal-hero-box p {
    margin: 0.65rem 0 0;
    color: rgba(237, 247, 255, 0.86);
    max-width: 64ch;
}

.legal-meta {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.legal-meta-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(206, 228, 249, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #eaf4ff;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.58rem;
}

.legal-shell {
    margin-top: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

.legal-content {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
}

.legal-note {
    border-radius: 12px;
    border: 1px solid rgba(15, 76, 129, 0.23);
    background: rgba(15, 76, 129, 0.08);
    padding: 0.78rem;
    margin: 0 0 0.95rem;
}

.legal-note p {
    margin: 0;
    color: var(--text);
    font-size: 0.91rem;
}

.legal-content h2 {
    margin: 1.15rem 0 0.5rem;
    font-size: 1.34rem;
}

.legal-content h2:first-of-type {
    margin-top: 0.15rem;
}

.legal-content h3 {
    margin: 0.9rem 0 0.45rem;
    font-size: 1rem;
}

.legal-content p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-content ul,
.legal-content ol {
    margin: 0.48rem 0 0;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.92rem;
}

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

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-table-wrap {
    margin-top: 0.6rem;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.legal-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
}

.legal-table th,
.legal-table td {
    padding: 0.62rem 0.66rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.9rem;
    vertical-align: top;
}

.legal-table th {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    background: var(--surface-muted);
}

.legal-table td {
    color: var(--muted);
}

.legal-contact {
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-muted);
    padding: 0.86rem;
}

.legal-contact h3 {
    margin-top: 0;
}

.legal-contact p {
    margin-top: 0.35rem;
}

@media (max-width: 1080px) {
    .subscribe-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 880px) {
    .subscribe-form-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-field.span-2 {
        grid-column: auto;
    }

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

@media (max-width: 560px) {
    .subscribe-card,
    .order-summary,
    .legal-shell,
    .legal-content,
    .legal-hero-box {
        padding: 0.82rem;
    }

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

    .success-ref {
        font-size: 1rem;
    }
}
