:root {
    --ink: #0c1d2a;
    --green: #13a873;
    --green-dark: #0d815a;
    --lime: #baf46a;
    --cream: #f5f7f0;
    --line: #dfe7df;
    --muted: #66746f;
    --danger: #c84949;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    z-index: 20;
    display: flex;
    width: 100%;
    height: 84px;
    padding: 0 max(5vw, 24px);
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #10231f14;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 20px;
    font-weight: 700;
}

.brand b {
    color: var(--green);
}

.mark {
    display: grid;
    width: 38px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
}

nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 14px;
    font-weight: 600;
}

nav > a:not(.nav-cta) {
    transition: color 0.2s ease;
}

nav > a:not(.nav-cta):hover {
    color: var(--green);
}

.nav-cta {
    padding: 13px 19px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: var(--ink);
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: #fff;
}

.hero {
    display: grid;
    min-height: 780px;
    padding: 154px max(5vw, 24px) 78px;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 6vw;
    overflow: hidden;
    background: linear-gradient(135deg, #fbfcf8, #f4f8f1);
}

.hero-copy {
    max-width: 650px;
}

.eyebrow,
.label {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 24px;
}

h1 {
    margin: 0;
    font-size: clamp(54px, 5.3vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

h1 em {
    display: block;
    color: var(--green);
    font-style: normal;
}

.hero-copy > p {
    margin: 27px 0 31px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    min-height: 52px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px #0c1d2a17;
}

.primary {
    background: var(--green);
    color: #fff;
}

.ghost {
    border: 1px solid var(--line);
    background: #fff;
}

.trust {
    display: flex;
    margin-top: 52px;
    gap: 28px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.trust b {
    color: var(--green);
}

.visual {
    position: relative;
    display: grid;
    min-height: 520px;
    place-items: center;
}

.visual::before {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #cff5c1, #70d5a8 60%, #42b98a);
    content: "";
}

.visual::after {
    position: absolute;
    width: 560px;
    height: 560px;
    border: 1px solid #1fa97a29;
    border-radius: 50%;
    content: "";
}

.dash {
    z-index: 2;
    width: min(92%, 510px);
    height: 330px;
    overflow: hidden;
    border-radius: 18px;
    background: #fffffff0;
    box-shadow: 0 35px 70px #11352a33;
    transform: rotate(-2deg);
}

.dash-top {
    display: flex;
    height: 48px;
    padding: 0 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7eeea;
}

.status {
    padding: 6px 10px;
    border-radius: 20px;
    background: #e9f8ef;
    color: #168e65;
    font-size: 10px;
}

.dash-body {
    padding: 32px;
}

.dash-body small {
    color: #84938d;
}

.dash-body h3 {
    margin: 8px 0 22px;
    font-size: 25px;
}

.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metrics div {
    display: flex;
    padding: 16px;
    flex-direction: column;
    border: 1px solid #e4ece7;
    border-radius: 11px;
    background: #f3f7f3;
}

.metrics b {
    color: var(--green);
    font-size: 27px;
}

.metrics span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.bars {
    display: flex;
    height: 95px;
    padding: 10px;
    align-items: end;
    gap: 10px;
    border-bottom: 1px solid #dce5e0;
}

.bars i {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(#37b888, #a9e0c5);
}

.float {
    position: absolute;
    z-index: 4;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 35px #11352a2e;
    font-size: 12px;
}

.float b {
    display: block;
}

.float small {
    color: var(--muted);
}

.f1 {
    top: 19%;
    right: -2%;
}

.f2 {
    bottom: 14%;
    left: 0;
}

.section {
    max-width: 1500px;
    padding: 105px max(5vw, 24px);
    margin: auto;
}

.intro {
    display: grid;
    padding-bottom: 55px;
    grid-template-columns: 1fr 0.65fr;
    align-items: end;
    gap: 10vw;
}

h2 {
    margin: 15px 0 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.intro p,
.process-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.services {
    display: grid;
    padding-top: 0;
    grid-template-columns: repeat(4, 1fr);
}

.service {
    position: relative;
    min-height: 365px;
    padding: 27px;
    margin-left: -1px;
    border: 1px solid var(--line);
    transition: background 0.25s ease, color 0.25s ease;
}

.service:hover {
    background: var(--ink);
    color: #fff;
}

.number {
    color: #8da098;
    font-size: 11px;
}

.icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 58px 0 23px;
    place-items: center;
    border-radius: 12px;
    background: #eaf8ef;
    color: var(--green);
    font-size: 23px;
}

.service h3 {
    font-size: 20px;
}

.service p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.service:hover p {
    color: #a8bbb4;
}

.service a {
    position: absolute;
    bottom: 28px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.dark {
    padding: 110px max(5vw, 24px);
    background: var(--ink);
    color: #fff;
}

.dark-inner {
    display: grid;
    max-width: 1360px;
    margin: auto;
    grid-template-columns: 0.8fr 1fr;
    align-items: center;
    gap: 10vw;
}

.light {
    color: var(--lime);
}

.dark-copy p {
    margin: 25px 0 32px;
    color: #a8bbb4;
    line-height: 1.75;
}

.light-btn {
    background: var(--lime);
    color: var(--ink);
}

.cases article {
    display: grid;
    padding: 28px 0;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    border-bottom: 1px solid #ffffff21;
}

.cases article > span {
    color: var(--lime);
    font-size: 11px;
}

.cases h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.cases p {
    margin: 0;
    color: #9fb1ab;
    font-size: 14px;
    line-height: 1.6;
}

.process-head {
    display: grid;
    margin-bottom: 60px;
    grid-template-columns: 1fr 0.45fr;
    align-items: end;
    gap: 8vw;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.steps article {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.steps b {
    color: var(--green);
    font-size: 12px;
}

.steps p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.cta {
    display: flex;
    padding: 80px;
    margin: 0 max(5vw, 24px);
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border-radius: 22px;
    background: linear-gradient(125deg, #1fa97a, #0f6e58);
    color: #fff;
}

.cta p {
    max-width: 650px;
    color: #d6efe6;
    line-height: 1.7;
}

.cta .btn {
    flex-shrink: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

.pricing-head {
    display: grid;
    margin-bottom: 54px;
    grid-template-columns: 1fr 0.55fr;
    align-items: end;
    gap: 8vw;
}

.pricing-head p {
    color: var(--muted);
    line-height: 1.75;
}

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

.price-card {
    position: relative;
    display: flex;
    min-height: 382px;
    padding: 29px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: 0.35s;
}

.price-card:hover {
    box-shadow: 0 24px 55px #0c1d2a1c;
    transform: translateY(-8px);
}

.price-card.featured {
    background: var(--ink);
    color: #fff;
}

.popular {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 10px;
    border-radius: 30px;
    background: var(--lime);
    color: var(--ink);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.plan {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price {
    margin-top: 25px;
    font-size: 42px;
    font-weight: 750;
    letter-spacing: -0.05em;
}

.price-card > small {
    color: #82918c;
}

.price-card ul {
    display: flex;
    padding: 0;
    margin: 35px 0 28px;
    flex-direction: column;
    gap: 13px;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.featured ul {
    color: #bdcbc6;
}

.price-card li::before {
    margin-right: 9px;
    color: var(--green);
    content: "✓";
    font-weight: bold;
}

.plan-action {
    display: flex;
    width: 100%;
    padding: 18px 0 0;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.plan-action:hover span {
    transform: translate(2px, -2px);
}

.plan-action span {
    transition: transform 0.2s ease;
}

.featured .plan-action {
    border-color: #ffffff26;
    color: var(--lime);
}

footer {
    display: grid;
    padding: 75px max(5vw, 24px) 30px;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 30px;
}

footer > p {
    max-width: 420px;
    color: var(--muted);
    font-size: 13px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 13px;
    font-weight: 600;
}

footer > small {
    padding-top: 24px;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    color: #8a9893;
    font-size: 11px;
}

.checkout-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.checkout-modal.open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #071811c7;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 650px);
    max-height: calc(100vh - 48px);
    padding: 42px;
    overflow-y: auto;
    border: 1px solid #ffffff6b;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 35px 90px #05150e66;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.checkout-modal.open .modal-card {
    transform: none;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.modal-card h2 {
    margin: 12px 40px 0 0;
    font-size: clamp(34px, 5vw, 48px);
}

.modal-intro {
    margin: 16px 0 24px;
    color: var(--muted);
    line-height: 1.65;
}

.selected-plan {
    display: flex;
    padding: 18px 20px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid #cbe9dc;
    border-radius: 13px;
    background: #f1faf5;
}

.selected-plan > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-plan small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.selected-plan strong {
    font-size: 16px;
}

.selected-price {
    align-items: flex-end;
    text-align: right;
}

.selected-price strong {
    color: var(--green-dark);
    font-size: 22px;
}

.field-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
}

.field label span {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
    height: 49px;
}

.field textarea {
    min-height: 140px;
    padding-top: 13px;
    padding-bottom: 13px;
    resize: vertical;
    line-height: 1.6;
}

.field select {
    padding-right: 40px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position:
        calc(100% - 19px) 21px,
        calc(100% - 14px) 21px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px #13a8731c;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--danger);
    font-size: 11px;
}

.plan-error {
    margin: -6px 0 14px;
}

.form-alert {
    padding: 13px 15px;
    margin-bottom: 18px;
    border: 1px solid #f0c4c4;
    border-radius: 9px;
    background: #fff4f4;
    color: #a93636;
    font-size: 13px;
    line-height: 1.5;
}

.pay-button {
    display: flex;
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pay-button:hover {
    background: var(--green-dark, #087352);
    transform: translateY(-1px);
}

.pay-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.secure-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.secure-note span {
    color: var(--green);
}

.thank-you-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 15%, #baf46a40, transparent 28%),
        linear-gradient(135deg, #fbfcf8, #edf7f0);
}

.thank-header {
    position: relative;
}

.back-home {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.thank-shell {
    display: grid;
    min-height: calc(100vh - 84px);
    padding: 55px 24px 90px;
    place-items: center;
}

.thank-card {
    width: min(100%, 760px);
    padding: 58px;
    border: 1px solid #dce8df;
    border-radius: 24px;
    background: #ffffffed;
    box-shadow: 0 30px 75px #0c1d2a17;
}

.result-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 800;
}

.success-icon {
    background: #daf5e5;
    color: var(--green-dark);
}

.failed-icon {
    background: #ffebeb;
    color: var(--danger);
}

.pending-icon {
    background: #eef1ed;
    color: var(--muted);
}

.failed-label {
    color: var(--danger);
}

.thank-card h1 {
    max-width: 650px;
    margin-top: 14px;
    font-size: clamp(44px, 6vw, 68px);
}

.thank-card > p:not(.receipt-note) {
    max-width: 640px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.order-summary {
    display: grid;
    padding: 20px;
    margin: 30px 0;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--cream);
}

.order-summary > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-summary small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-reference {
    grid-column: 1 / -1;
}

.order-reference strong {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.thank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.receipt-note {
    margin: 24px 0 0;
    color: #84938d;
    font-size: 11px;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    align-items: start;
    gap: 8vw;
}

.contact-copy {
    position: sticky;
    top: 35px;
}

.contact-copy > p {
    max-width: 520px;
    margin: 24px 0 30px;
    color: var(--muted);
    line-height: 1.75;
}

.contact-options {
    display: grid;
    gap: 12px;
}

.contact-form {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px #0c1d2a0d;
}

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

.contact-submit {
    margin-top: 4px;
}

.contact-privacy {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

.contact-alert {
    display: flex;
    padding: 15px;
    margin-bottom: 22px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.contact-alert b {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    border-radius: 50%;
    font-size: 12px;
}

.contact-alert.success {
    border-color: #a9dec6;
    background: #edf9f2;
    color: #176b4e;
}

.contact-alert.success b {
    background: #ccefdc;
}

.contact-alert.error {
    border-color: #f0c4c4;
    background: #fff4f4;
    color: #a93636;
}

.contact-alert.error b {
    background: #f7dada;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-options a {
    position: relative;
    display: flex;
    min-height: 112px;
    padding: 24px 65px 24px 24px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-options a:hover {
    border-color: #13a87370;
    box-shadow: 0 16px 35px #0c1d2a12;
    transform: translateY(-3px);
}

.contact-options span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-options strong {
    font-size: clamp(18px, 2vw, 24px);
    overflow-wrap: anywhere;
}

.contact-options b {
    position: absolute;
    top: 50%;
    right: 24px;
    color: var(--green);
    font-size: 20px;
    transform: translateY(-50%);
}

.legal-page {
    background:
        radial-gradient(circle at 90% 8%, #baf46a2e, transparent 25%),
        var(--cream);
}

.legal-shell {
    padding: 70px max(5vw, 24px) 100px;
}

.legal-document {
    max-width: 940px;
    padding: clamp(32px, 6vw, 72px);
    margin: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px #0c1d2a0f;
}

.legal-title {
    padding-bottom: 38px;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--line);
}

.legal-title h1 {
    max-width: 760px;
    margin-top: 14px;
    font-size: clamp(48px, 7vw, 76px);
}

.legal-title p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.legal-document > section {
    margin-top: 42px;
}

.legal-document > section:first-of-type {
    margin-top: 0;
}

.legal-document section h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.03em;
}

.legal-document section p,
.legal-document section li {
    color: #53635e;
    font-size: 15px;
    line-height: 1.8;
}

.legal-document section p {
    margin: 12px 0;
}

.legal-document section ul {
    padding-left: 22px;
}

.legal-document section a,
.legal-note a {
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #13a87355;
    text-underline-offset: 3px;
}

.legal-sources {
    padding: 24px;
    border: 1px solid #cce8dc;
    border-radius: 14px;
    background: #f2faf6;
}

.legal-sources h2 {
    font-size: 20px !important;
}

.legal-note {
    padding: 24px;
    margin-top: 52px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
}

.legal-note p {
    margin: 8px 0 0;
    color: #b8c7c2;
    font-size: 14px;
    line-height: 1.6;
}

.legal-note a {
    color: var(--lime);
}

.legal-footer {
    max-width: 1500px;
    margin: auto;
}

.docs-page {
    background: #f8faf7;
}

.docs-top-nav {
    gap: 26px;
}

.docs-shell {
    display: grid;
    max-width: 1500px;
    padding: 62px max(4vw, 24px) 110px;
    margin: auto;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: clamp(40px, 6vw, 90px);
}

.docs-sidebar {
    position: sticky;
    top: 30px;
    display: flex;
    padding: 22px 0;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sidebar-title {
    margin-bottom: 10px;
    color: #91a099;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.docs-sidebar a {
    padding: 8px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.docs-sidebar a:hover {
    color: var(--green-dark);
    transform: translateX(3px);
}

.docs-content {
    min-width: 0;
}

.docs-hero {
    display: grid;
    padding: clamp(35px, 6vw, 70px);
    grid-template-columns: 1fr 250px;
    align-items: end;
    gap: 50px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 20%, #baf46a38, transparent 30%),
        var(--ink);
    color: #fff;
}

.docs-hero h1 {
    margin-top: 16px;
    font-size: clamp(52px, 7vw, 82px);
}

.docs-hero p {
    max-width: 690px;
    margin: 24px 0 0;
    color: #b9c9c3;
    font-size: 17px;
    line-height: 1.7;
}

.api-meta {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid #ffffff1f;
    border-radius: 13px;
    background: #ffffff1f;
}

.api-meta > div {
    display: flex;
    padding: 15px;
    flex-direction: column;
    gap: 6px;
    background: #122c36;
}

.api-meta span {
    color: #89a099;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.api-meta strong {
    font-size: 12px;
}

.api-meta .online {
    color: var(--lime);
}

.api-meta .online i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--lime);
}

.doc-section {
    padding: 75px clamp(0px, 2vw, 22px);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 25px;
}

.doc-section h2 {
    max-width: 780px;
    margin: 12px 0 20px;
    font-size: clamp(36px, 5vw, 54px);
}

.doc-section h3 {
    margin: 38px 0 15px;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.doc-section > p {
    max-width: 800px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.doc-kicker {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.doc-section code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eaf2ec;
    color: #245542;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.9em;
}

.docs-callout {
    padding: 22px;
    margin-top: 26px;
    border: 1px solid #bfe2d3;
    border-left: 4px solid var(--green);
    border-radius: 10px;
    background: #f1faf5;
}

.docs-callout.warning {
    border-color: #ead8aa;
    border-left-color: #d69f19;
    background: #fffaf0;
}

.docs-callout b {
    font-size: 13px;
}

.docs-callout p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.requirement-grid {
    display: grid;
    margin-top: 28px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.requirement-grid > div {
    display: flex;
    min-height: 92px;
    padding: 20px;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.requirement-grid b {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    background: #dcf4e7;
    color: var(--green-dark);
    font-size: 11px;
}

.requirement-grid span {
    color: #53635e;
    font-size: 13px;
    line-height: 1.55;
}

.code-panel {
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid #203640;
    border-radius: 14px;
    background: #0c1d2a;
    box-shadow: 0 18px 40px #0c1d2a14;
}

.code-heading {
    display: flex;
    height: 47px;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff17;
}

.code-heading span {
    color: #8fa59e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.code-heading button {
    padding: 6px 10px;
    border: 1px solid #ffffff26;
    border-radius: 6px;
    background: #ffffff0f;
    color: #c9d7d2;
    cursor: pointer;
    font-size: 10px;
}

.code-heading button:hover {
    border-color: var(--green);
    color: var(--lime);
}

.code-panel pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
}

.code-panel code {
    padding: 0;
    background: transparent;
    color: #d9e8e2;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.75;
}

.endpoint-card {
    display: flex;
    padding: 18px 20px;
    margin-top: 26px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.http-method {
    padding: 7px 9px;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.endpoint-card code {
    padding: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.table-wrap {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.docs-table th {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #f1f5f1;
    color: #7b8983;
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.docs-table td {
    padding: 16px;
    border-bottom: 1px solid #e9eeea;
    color: #56665f;
    font-size: 12px;
    line-height: 1.6;
    vertical-align: top;
}

.docs-table tr:last-child td {
    border-bottom: 0;
}

.docs-table td:first-child {
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.docs-table code {
    white-space: nowrap;
}

.required,
.optional {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.required {
    background: #dff5e9;
    color: #16704f;
}

.optional {
    background: #eef1ef;
    color: #69766f;
}

.flow-list {
    display: grid;
    padding: 0;
    margin: 20px 0 0;
    gap: 10px;
    list-style: none;
    counter-reset: flow;
}

.flow-list li {
    display: grid;
    padding: 18px 20px;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    counter-increment: flow;
}

.flow-list b {
    color: var(--ink);
    font-size: 13px;
}

.flow-list b::before {
    margin-right: 9px;
    color: var(--green);
    content: "0" counter(flow);
    font-size: 9px;
}

.flow-list span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.status-grid {
    display: grid;
    margin-top: 25px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.status-grid > div {
    display: grid;
    min-height: 100px;
    padding: 20px;
    grid-template-columns: 55px 1fr;
    align-items: start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.status-grid strong {
    color: var(--green-dark);
    font-family: Consolas, monospace;
    font-size: 19px;
}

.status-grid span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.callback-flow {
    display: grid;
    margin: 30px 0;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.callback-flow > div {
    display: flex;
    min-height: 132px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.callback-flow span {
    display: grid;
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    place-items: center;
    border-radius: 50%;
    background: #dff5e9;
    color: var(--green-dark);
    font-size: 9px;
    font-weight: 800;
}

.callback-flow b {
    font-size: 12px;
}

.callback-flow small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.callback-flow > i {
    color: var(--green);
    font-style: normal;
}

.redirect-example {
    padding: 17px;
    overflow-x: auto;
    border: 1px solid #bce3d1;
    border-radius: 9px;
    background: #f0faf5;
}

.redirect-example.failed {
    border-color: #edd4c1;
    background: #fff7f0;
}

.redirect-example code {
    padding: 0;
    background: transparent;
    white-space: nowrap;
}

.muted-note {
    margin-top: 24px;
    font-size: 12px !important;
}

.security-list {
    display: grid;
    padding: 0;
    margin: 26px 0 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}

.security-list li {
    display: flex;
    min-height: 115px;
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}

.security-list b {
    color: var(--ink);
    font-size: 13px;
}

.security-list b::before {
    margin-right: 8px;
    color: var(--green);
    content: "✓";
}

.security-list span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.docs-support {
    display: flex;
    padding: clamp(35px, 6vw, 65px);
    margin-top: 75px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 20px;
    background: linear-gradient(125deg, #1fa97a, #0f6e58);
    color: #fff;
}

.docs-support h2 {
    margin-top: 12px;
    font-size: clamp(36px, 5vw, 52px);
}

.docs-support p {
    max-width: 580px;
    color: #d2ece2;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .intro,
    .dark-inner,
    .process-head,
    .pricing-head,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .services,
    .steps,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta {
        padding: 55px;
        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        grid-template-columns: 1fr 1fr;
    }

    .contact-copy {
        position: static;
    }

    .docs-top-nav {
        display: none;
    }

    .docs-shell {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        display: none;
    }

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

    .api-meta {
        grid-template-columns: repeat(3, 1fr);
    }

    .callback-flow {
        grid-template-columns: 1fr 1fr;
    }

    .callback-flow > i {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-header {
        height: 72px;
    }

    .menu-toggle {
        z-index: 2;
        display: block;
    }

    nav {
        position: absolute;
        top: 64px;
        right: 20px;
        display: none;
        width: min(270px, calc(100vw - 40px));
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 45px #0c1d2a21;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 12px;
    }

    .nav-cta {
        margin-top: 5px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
    }

    .trust {
        flex-wrap: wrap;
    }

    .visual {
        min-height: 390px;
    }

    .visual::before {
        width: 350px;
        height: 350px;
    }

    .visual::after {
        width: 390px;
        height: 390px;
    }

    .dash {
        height: 270px;
    }

    .dash-body {
        padding: 22px;
    }

    .bars {
        height: 65px;
    }

    .float {
        padding: 10px 12px;
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .services,
    .steps,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: 320px;
    }

    .dark {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .cta {
        padding: 42px 25px;
        margin: 0 16px;
    }

    .cta h2 {
        font-size: 36px;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .links {
        flex-wrap: wrap;
    }

    .modal-card {
        padding: 34px 22px 26px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .business-details {
        gap: 0;
    }

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

    .contact-copy {
        position: static;
    }

    .selected-plan {
        align-items: flex-start;
    }

    .thank-card {
        padding: 38px 24px;
    }

    .thank-card h1 {
        font-size: 44px;
    }

    .legal-shell {
        padding: 36px 14px 70px;
    }

    .legal-document {
        padding: 34px 22px;
        border-radius: 18px;
    }

    .legal-title h1 {
        font-size: 44px;
    }

    .docs-shell {
        padding: 35px 14px 70px;
    }

    .docs-hero {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .docs-hero h1 {
        font-size: 48px;
    }

    .api-meta,
    .requirement-grid,
    .status-grid,
    .security-list {
        grid-template-columns: 1fr;
    }

    .doc-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .flow-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .callback-flow {
        grid-template-columns: 1fr;
    }

    .docs-support {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 48px;
    }

    .visual::before {
        width: 300px;
        height: 300px;
    }

    .visual::after {
        width: 330px;
        height: 330px;
    }

    .metrics b {
        font-size: 22px;
    }

    .f1 {
        right: -10px;
    }

    .f2 {
        left: -10px;
    }

    .checkout-modal {
        padding: 10px;
    }

    .modal-card {
        max-height: calc(100vh - 20px);
    }

    .thank-shell {
        padding-right: 14px;
        padding-left: 14px;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
