:root {
    --ink: #15171d;
    --muted: #5d6573;
    --paper: #fbfcfd;
    --soft: #f2f6f7;
    --tint: #eaf6f2;
    --line: #dce4e7;
    --teal: #0f766e;
    --teal-dark: #0b4f4b;
    --blue: #1f4f9a;
    --amber: #c77818;
    --green: #16824d;
    --white: #ffffff;
    --shadow: 0 18px 60px rgba(21, 23, 29, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}

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

img,
svg {
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
}
#preloader {
  display: none;
  position: fixed;
  z-index: 99999;
  background: #fff;

  width: 100%;
  height: 100%;
}
#preloader .locksgifloader {
  height: 100%;
}
.logotype {
	max-height: 45px;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px 5vw;
    background: rgba(251, 252, 253, 0.92);
    border-bottom: 1px solid rgba(220, 228, 231, 0.85);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--blue));
    border-radius: 8px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 16px;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.main-nav a {
    min-height: 40px;
    padding: 10px 13px;
    color: var(--muted);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
    background: var(--soft);
}

.main-nav .nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.22);
    font-weight: 750;
    cursor: pointer;
}

.main-nav .nav-cta:hover,
.button:hover {
    color: var(--white);
    background: var(--teal-dark);
}

.button-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow: none;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.button-light {
    color: var(--teal-dark);
    background: var(--white);
    border-color: var(--white);
    box-shadow: none;
}

.button-light:hover {
    color: var(--teal-dark);
    background: #e9fffb;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    padding: 9px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.flash {
    width: min(1120px, 90vw);
    margin: 18px auto 0;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 650;
}

.flash-success {
    color: #0a4f35;
    background: #dff7eb;
    border: 1px solid #9ad9bb;
}

.flash-error {
    color: #84201c;
    background: #ffebe8;
    border: 1px solid #f0a6a0;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 86px 5vw 96px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 18, 28, 0.9), rgba(7, 18, 28, 0.62) 44%, rgba(7, 18, 28, 0.12)),
        url("../img/hero-escrow.png") center right / cover no-repeat;
}

.hero-content {
    width: min(650px, 100%);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.footer-cta .eyebrow {
    color: #93efe5;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: 64px;
    line-height: 1.03;
}

h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.14;
}

h3 {
    margin-bottom: 8px;
    font-size: 19px;
    line-height: 1.25;
}

.hero-copy {
    max-width: 590px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 42px 0 0;
}

.hero-points div {
    min-height: 112px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
}

.hero-points dt {
    font-size: 24px;
    font-weight: 850;
}

.hero-points dd {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.signal-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.signal-band span {
    min-height: 76px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--white);
    color: var(--muted);
    font-weight: 750;
    text-align: center;
}

.section {
    width: min(1160px, 90vw);
    margin: 0 auto;
    padding: 86px 0;
}

.section-tint,
.section-dark {
    width: 100%;
    padding-left: max(5vw, calc((100vw - 1160px) / 2));
    padding-right: max(5vw, calc((100vw - 1160px) / 2));
}

.section-tint {
    background: var(--tint);
}

.section-dark {
    color: var(--white);
    background: #17212d;
}

.intro-grid,
.two-column,
.form-layout,
.api-layout,
.split-action,
.calculator-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 48px;
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list article,
.card-grid article,
.steps article,
.usecase-mini article,
.pricing-card,
.form-card,
.side-note,
.faq-list details,
.code-sample {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(21, 23, 29, 0.06);
}

.feature-list article {
    position: relative;
    padding: 22px 22px 22px 58px;
}

.icon-dot {
    position: absolute;
    top: 26px;
    left: 22px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.65);
}

.icon-dot.amber {
    background: var(--amber);
}

.icon-dot.green {
    background: var(--green);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-heading h2 {
    max-width: 760px;
}

.section-heading a,
.text-link {
    color: var(--teal-dark);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.steps article {
    min-height: 236px;
    padding: 22px;
}

.steps strong,
.process-detail span {
    color: var(--amber);
    font-size: 13px;
    font-weight: 900;
}

.usecase-mini,
.card-grid {
    display: grid;
    gap: 14px;
}

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

.usecase-mini article,
.card-grid article,
.pricing-card,
.side-note {
    padding: 24px;
}

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

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calculator-panel {
    align-items: center;
}

.calculator {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 14px;
    padding: 24px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.calculator output {
    grid-column: 1 / -1;
    padding: 20px;
    color: var(--teal-dark);
    background: var(--tint);
    border-radius: 8px;
    font-size: 34px;
    font-weight: 850;
}

.calculator small {
    grid-column: 1 / -1;
    color: var(--muted);
}

.page-hero {
    width: min(1160px, 90vw);
    margin: 0 auto;
    padding: 88px 0 46px;
}

.page-hero.compact h1 {
    max-width: 860px;
    color: var(--ink);
    font-size: 52px;
}

.page-hero.compact p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
}

.process-detail {
    display: grid;
    gap: 18px;
}

.process-detail article {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.check-list {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--teal);
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
}

.pricing-card h2 {
    color: var(--teal-dark);
    font-size: 44px;
}

.pricing-card.highlight {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: var(--shadow);
}

.api-layout {
    align-items: center;
}

.code-sample {
    min-height: 340px;
    margin: 0;
    padding: 26px;
    overflow: auto;
    color: #d6f8ff;
    background: #111827;
    border-color: #263244;
}

.code-sample code {
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 15px;
    line-height: 1.65;
}

.form-card {
    padding: 28px;
}

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

.form-row:has(> label:nth-child(3)) {
    grid-template-columns: 1fr 130px 150px;
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    color: var(--ink);
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #c9d4d8;
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(15, 118, 110, 0.18);
    border-color: var(--teal);
}

.form-note,
.fine-print {
    color: var(--muted);
    font-size: 13px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.side-note {
    position: sticky;
    top: 100px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 20px 24px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 850;
}

.faq-list p {
    margin: 14px 0 0;
    color: var(--muted);
}

.legal-copy {
    max-width: 860px;
}

.legal-copy h2 {
    margin-top: 34px;
    font-size: 24px;
}

.legal-copy p {
    color: var(--muted);
}

.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 54px 5vw;
    color: var(--white);
    background: linear-gradient(135deg, #113f47, #1f4f9a);
}

.footer-cta h2 {
    margin-bottom: 8px;
}

.footer-cta p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 36px;
    padding: 54px 5vw;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.footer-grid h3 {
    font-size: 15px;
}

.footer-grid a {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--teal-dark);
}

.footer-brand {
    margin-bottom: 18px;
}

.fine-print {
    margin: 0;
    padding: 18px 5vw 28px;
    background: var(--white);
    border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        grid-template-columns: 1fr;
        padding: 12px 5vw 18px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: grid;
    }

    .main-nav a {
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 660px;
        background:
            linear-gradient(90deg, rgba(7, 18, 28, 0.92), rgba(7, 18, 28, 0.72)),
            url("../img/hero-escrow.png") center / cover no-repeat;
    }

    h1,
    .page-hero.compact h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 31px;
    }

    .intro-grid,
    .two-column,
    .form-layout,
    .api-layout,
    .split-action,
    .calculator-panel,
    .footer-cta {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 720px) {
    .site-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .brand {
        min-width: 0;
    }

    .brand small {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 74px 24px 70px;
    }

    h1,
    .page-hero.compact h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 27px;
    }

    .hero-copy {
        font-size: 18px;
    }

    .hero-points,
    .signal-band,
    .steps,
    .usecase-mini,
    .card-grid.two,
    .card-grid.three,
    .card-grid.four,
    .pricing-grid,
    .footer-grid,
    .form-row,
    .form-row:has(> label:nth-child(3)),
    .calculator {
        grid-template-columns: 1fr;
    }

    .signal-band span {
        min-height: 58px;
    }

    .section,
    .page-hero {
        width: min(100% - 36px, 1160px);
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .section-tint,
    .section-dark {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-heading {
        display: block;
    }

    .process-detail article {
        grid-template-columns: 1fr;
    }

    .side-note {
        position: static;
    }

    .footer-cta,
    .footer-grid,
    .fine-print {
        padding-left: 24px;
        padding-right: 24px;
    }
}
