
:root {
    color-scheme: light;
    --ink: #16303a;
    --muted: #51636b;
    --brand: #136d73;
    --brand-dark: #0c5359;
    --pale: #eef7f5;
    --border: #dbe7e6;
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(16, 46, 50, .07);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    margin: 0;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.9;
    overflow-wrap: break-word;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #ffb74d;
    outline-offset: 4px;
}

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

.narrow {
    max-width: 790px;
}

.skip-link {
    position: absolute;
    top: -100px;
    right: 15px;
    padding: 10px 16px;
    background: var(--white);
    z-index: 100;
}

.skip-link:focus {
    top: 8px;
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-inner {
    min-height: 88px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.brand-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--brand);
    color: var(--white);
    font-size: 25px;
}

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

nav a {
    transition: color .2s ease;
}

nav a:hover {
    color: var(--brand);
}

/* Hero */

.hero {
    background: linear-gradient(
        115deg,
        #eaf7f3,
        #f5fbfb 62%,
        #e5f3f1
    );
    padding: 85px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 65px;
}

.eyebrow,
.section-kicker {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: .2px;
}

h1,
h2,
h3 {
    color: var(--ink);
}

h1 {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.4;
    margin: 16px 0 22px;
}

h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.5;
    margin: 10px 0 24px;
}

h3 {
    font-size: 19px;
    line-height: 1.6;
    margin: 12px 0 10px;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
}

.lead {
    font-size: 18px;
    max-width: 650px;
    line-height: 2;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 26px;
    margin-top: 15px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.button:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

/* Illustration */

.illustration {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    isolation: isolate;
}

.paper {
    position: relative;
    z-index: 1;
    width: 245px;
    height: 295px;
    padding: 35px 27px;
    border: 1px solid #d6e5e3;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 25px 65px #12575b22;
    transform: rotate(-5deg);
}

.paper-top,
.paper-line {
    display: block;
    height: 10px;
    margin-bottom: 17px;
    border-radius: 10px;
    background: #d8e8e5;
}

.paper-top {
    width: 48%;
    height: 14px;
    margin-bottom: 38px;
    background: #158088;
}

.paper-line.short {
    width: 65%;
}

.number {
    display: block;
    margin: 20px 0;
    color: var(--brand);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 3px;
    text-align: center;
}

.circle {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: #bfe5df;
}

.circle.one {
    width: 190px;
    height: 190px;
    right: 0;
    top: 12px;
}

.circle.two {
    width: 115px;
    height: 115px;
    left: 10px;
    bottom: 10px;
    background: #d2e9e4;
}

/* Sections */

.section {
    padding: 76px 0;
}

.muted {
    background: #f7faf9;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 46, 50, .10);
}

.step {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand);
}

/* FAQ */

details {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

details[open] summary {
    color: var(--brand);
}

details p {
    padding: 12px 22px 0;
    margin-bottom: 5px;
}

/* Notice */

.notice {
    padding: 25px 0;
    background: #edf5f4;
    color: #34535b;
    font-size: 14px;
}

.notice p {
    margin-bottom: 0;
}

/* Footer */

.footer {
    padding: 32px 0;
    background: #153740;
    color: #e5f0ef;
    font-size: 13px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    color: #e5f0ef;
}

/* Tablet */

@media (max-width: 960px) {
    .hero-grid {
        gap: 35px;
    }

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

    nav {
        gap: 15px;
    }
}

/* Mobile */

@media (max-width: 760px) {
    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 0;
    }

    .brand {
        font-size: 17px;
    }

    nav {
        width: 100%;
        gap: 12px 18px;
        font-size: 13px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    h1 {
        font-size: clamp(29px, 7vw, 39px);
    }

    h2 {
        font-size: 25px;
    }

    .lead {
        font-size: 16px;
    }

    .hero .illustration {
        min-height: 255px;
    }

    .paper {
        transform: rotate(-3deg) scale(.8);
    }

    .circle.one {
        right: 15%;
    }

    .circle.two {
        left: 13%;
    }

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

    .section {
        padding: 52px 0;
    }

    .card {
        padding: 23px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Small phones */

@media (max-width: 380px) {
    .container {
        width: calc(100% - 24px);
    }

    .brand {
        font-size: 15px;
    }

    h1 {
        font-size: 28px;
    }

    .button {
        width: 100%;
    }

    .card {
        padding: 19px;
    }
}

/* Accessibility */

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

    .button,
    .card,
    nav a {
        transition: none;
    }

    .button:hover,
    .card:hover {
        transform: none;
    }
}
