@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1e1e1e;
    --navy: #121d2e;
    --teal: #004b5d;
    --teal-hover: #003a48;
    --amber: #f2990d;
    --amber-hover: #d9870c;
    --slate: #64748b;
    --cream: #f4f7f6;
    --line: rgba(0, 75, 93, 0.1);
    --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: #fafafa;
    color: var(--ink);
    line-height: 1.8;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font-family: inherit; }

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}
.nav-inner {
    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    min-width: 0;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0;
    flex: 0 0 auto;
}
.brand-logo {
    height: 36px;
    width: auto;
    flex: 0 0 auto;
}
.brand-logo-footer {
    background: #fff;
    border-radius: 10px;
    padding: 3px 5px;
}
.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
    background: var(--teal);
    color: #fff !important;
    padding: 0.45rem 0.95rem;
    border-radius: 0.8rem;
}
.nav-cta:hover { background: var(--teal-hover); color: #fff !important; }
.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--navy);
    position: relative;
    margin-inline: auto;
}
.menu-btn span:before, .menu-btn span:after {
    content: "";
    position: absolute;
    right: 0;
}
.menu-btn span:before { top: -6px; }
.menu-btn span:after { top: 6px; }
.mobile-menu {
    display: none;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 0.5rem 1rem 1rem;
}
.mobile-menu a {
    display: block;
    padding: 0.75rem 0.25rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}
.mobile-menu.open { display: block; }

main { padding-top: 64px; }

.hero {
    background: linear-gradient(145deg, #f0fdfa 0%, #ffffff 45%, #fff7ed 100%);
    border-bottom: 1px solid rgba(0, 128, 128, 0.1);
    padding: 4.5rem 0 5rem;
}
.hero-grid {
    display: grid;
    gap: 1.5rem;
}
.eyebrow {
    margin: 0;
    color: var(--amber);
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
}
.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo-hero { max-height: 92px; width: auto; }
.lede { font-size: 1.12rem; margin: 0 0 1rem; }
.muted { color: var(--slate); margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 1rem;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(0, 75, 93, 0.16); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { background: transparent; color: var(--teal); border-color: rgba(0, 75, 93, 0.3); }
.btn-ghost:hover { background: #fff; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hover); }
.fine { margin-top: 1.4rem; color: #4b5563; font-size: 0.92rem; }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 1.75rem 2rem;
}
.card h2, .day-one-title {
    margin: 0 0 1rem;
    color: var(--teal);
    font-size: 1.15rem;
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 0.75rem; color: var(--slate); font-size: 0.95rem; }
.num { color: var(--amber); font-weight: 800; }

.section { padding: 4.5rem 0; }
.section h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.45;
    font-weight: 800;
}
.center { text-align: center; }
.intro { max-width: 42rem; margin: 0 auto 2.5rem; color: var(--slate); }
.grid-3, .grid-4 { display: grid; gap: 1.4rem; }
.card h3 { margin: 0 0 0.45rem; color: var(--teal); font-size: 1.2rem; }
.card p, .step p { margin: 0; color: var(--slate); font-size: 0.95rem; }
.card:hover { border-color: rgba(242, 153, 13, 0.35); }
.bg-white { background: #fff; }
.bg-cream { background: var(--cream); }

.step-no {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: rgba(0, 75, 93, 0.1);
    color: var(--teal);
}
.step-no.amber { background: rgba(242, 153, 13, 0.15); color: #c77a08; }
.step h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }

.fit {
    background: var(--teal);
    color: #fff;
}
.fit h2 { color: #fff; }
.fit-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.fit-list li::before { content: "• "; }
.fit-note {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}
.fit-note p { color: rgba(255, 255, 255, 0.88); }
.fit-note a { color: var(--amber); font-weight: 600; }

.demo-grid, .fit-grid { display: grid; gap: 2.5rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input, .field select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.85rem;
    padding: 0.7rem 0.9rem;
    background: #fff;
    color: var(--ink);
}
.field input:focus, .field select:focus {
    outline: 2px solid rgba(0, 128, 128, 0.35);
    border-color: transparent;
}
.form-row { display: grid; gap: 1rem; }
.hp {
    position: absolute;
    right: -9999px;
    height: 0;
    width: 0;
    opacity: 0;
}
.form-note { min-height: 1.4rem; font-size: 0.92rem; }
.form-note.ok { color: #0f766e; }
.form-note.err { color: #dc2626; }

.sticky-cta {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    z-index: 40;
}
.sticky-cta a {
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0.85rem;
    padding: 0.75rem 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    font-size: 0.92rem;
}
.sticky-cta a:hover { background: var(--teal-hover); }
.hidden { display: none; }

footer {
    background: var(--navy);
    color: #fff;
    padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; gap: 2rem; }
footer h4 { margin: 0 0 0.8rem; }
.paradox-title { color: #20b2aa; font-weight: 600; margin: 0 0 0.4rem; }
.footer-copy, footer a, .news p { color: #9ca3af; font-size: 0.92rem; }
footer a { text-decoration: none; }
footer a:hover { color: #20b2aa; }
footer .footer-cta .btn { color: var(--ink); margin-top: 0.5rem; }
footer .footer-cta .btn:hover { color: var(--ink); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.news-form { display: flex; }
.news-form input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0 0.45rem 0.45rem 0;
    padding: 0.6rem 0.75rem;
}
.news-form button {
    border: 0;
    background: #008080;
    color: #fff;
    border-radius: 0.45rem 0 0 0.45rem;
    padding: 0 1rem;
    cursor: pointer;
    font-weight: 600;
}
.news-form button:hover { background: #006666; }
.legal {
    border-top: 1px solid #004d4d;
    margin-top: 2rem;
    padding-top: 1.2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.88rem;
}

@media (min-width: 768px) {
    .logo-hero { max-height: 110px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
}
@media (min-width: 1024px) {
    .hero { padding: 6rem 0 7rem; }
    .logo-hero { max-height: 140px; }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
        row-gap: 1.25rem;
        align-items: start;
    }
    .hero-eyebrow { grid-column: 1; grid-row: 1; }
    .hero-title { grid-column: 1; grid-row: 2; }
    .hero-logo { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; }
    .hero-body { grid-column: 1; grid-row: 3; }
    .hero-aside { grid-column: 2; grid-row: 3; justify-self: end; width: min(100%, 32rem); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .fit-grid, .demo-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
    .demo-grid { grid-template-columns: 2fr 3fr; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .menu-btn { display: inline-grid; place-items: center; }
    .step { text-align: center; }
    .step-no { margin-inline: auto; }
}
@media (max-width: 767px) {
    .news-form input { border-radius: 0.45rem 0.45rem 0 0; }
    .news-form { flex-direction: column; }
    .news-form button { border-radius: 0 0 0.45rem 0.45rem; min-height: 42px; }
}
