:root {
    --navy: #101e38;
    --navy-soft: #40516d;
    --rust: #a74622;
    --cream: #f8f6f2;
    --pale: #f1f4f5;
    --line: #e2e6ea;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Lato", Arial, sans-serif;
    color: var(--navy);
    background: var(--white);
}

a { color: inherit; }

.container {
    width: min(100% - 72px, 1160px);
    margin-inline: auto;
}

/* HEADER */

.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 72px, 1160px);
    margin: auto;
}

.brand {
    text-decoration: none;
    line-height: 1;
}

.brand-name {
    font-size: 31px;
    letter-spacing: -1.2px;
    font-weight: 900;
}

.brand-name span {
    font-weight: 400;
}

.tagline {
    margin-top: 5px;
    font-size: 14px;
    color: var(--navy-soft);
}

.header-email {
    color: var(--rust);
    font-size: 18px;
    font-weight: 700;
}

/* HERO */

.hero {
    background: var(--cream);
    padding: 21px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.13fr;
    gap: 42px;
    align-items: center;
}

.hero-copy {
    padding: 25px 0 24px;
}

.hero h1 {
    margin: 0 0 13px;
    font-size: clamp(40px, 4.3vw, 51px);
    line-height: 1.02;
    letter-spacing: -1.8px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--rust);
}

.hero p {
    max-width: 515px;
    margin: 0;
    color: var(--navy-soft);
    font-size: 19px;
    line-height: 1.45;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 25px;
    border-radius: 28px;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.btn-primary {
    color: white;
    background: var(--rust);
}

.btn-secondary {
    border: 1.5px solid var(--rust);
    background: white;
}

.arrow {
    font-size: 25px;
    line-height: 0;
    margin-left: 17px;
    transform: translateY(-1px);
}

.hero-image {
    height: 299px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.18)),
        url("hero-sunset2.jpg")
        center center / cover no-repeat;
}

.hero-image-copy {
    position: absolute;
    right: 80px;
    top: 55px;
    color: white;
    font-size: 25px;
    line-height: 1.28;
    width: 145px;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}

.hero-image-copy::after {
    content: "";
    display: block;
    width: 34px;
    border-top: 3px solid white;
    margin-top: 21px;
}

/* FEATURED */

.featured {
    padding: 21px 0 29px;
}

.featured-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.featured-heading h2 {
    margin: 0;
    font-size: 35px;
    letter-spacing: -1px;
    font-weight: 900;
}

.featured-right {
    display: flex;
    align-items: center;
    gap: 17px;
}

.featured-note {
    color: #61718a;
    font-size: 15px;
}

.slider-buttons {
    display: flex;
    gap: 9px;
}

.circle-btn {
    width: 41px;
    height: 41px;
    border: 1px solid #aab6c5;
    border-radius: 50%;
    background: white;
    color: var(--navy);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

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

.domain-card {
    min-height: 239px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 19px 16px 15px;
    display: flex;
    flex-direction: column;
}

.domain-name {
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -0.7px;
    font-weight: 900;
    overflow-wrap: normal;
    word-break: normal;
}

.domain-name.long-name {
    font-size: 22px;
    letter-spacing: -0.5px;
}

.domain-desc {
    color: #52637c;
    font-size: 17px;
    line-height: 1.27;
    margin-top: 8px;
    min-height: 52px;
}

.domain-rule {
    width: 32px;
    border-top: 2px solid var(--rust);
    margin: 10px 0 14px;
}

.domain-price {
    color: var(--rust);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: auto;
}

.view-domain {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 50px;
    margin-top: 12px;
    border-radius: 25px;
    background: var(--rust);
    color: white;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.view-domain .new-window {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 400;
}

.view-domain:hover {
    opacity: 0.9;
}

/* BENEFITS */

.benefits {
    background: #f5f7f7;
    padding: 35px 0 34px;
}

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

.benefit {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
}

.benefit-icon {
    width: 47px;
    height: 47px;
    color: var(--navy);
}

.benefit h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.benefit p {
    margin: 0;
    color: #53637a;
    font-size: 14px;
    line-height: 1.45;
}

/* FOOTER */

.site-footer {
    padding: 21px 0 23px;
}

.footer-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.footer-brand {
    font-size: 20px;
    font-weight: 900;
}

.footer-brand span {
    font-weight: 400;
}

.copyright {
    margin-top: 5px;
    color: #63728a;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .domain-grid { grid-template-columns: repeat(3, 1fr); }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { height: 320px; }
}

@media (max-width: 700px) {
    .container,
    .header-inner {
        width: min(100% - 34px, 1160px);
    }

    .site-header {
        height: auto;
        padding: 18px 0;
    }

    .brand-name { font-size: 25px; }
    .tagline { font-size: 12px; }

    .header-email {
        font-size: 13px;
    }

    .hero-inner { gap: 10px; }
    .hero-copy { padding: 22px 0; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 17px; }

    .hero-image { height: 250px; }

    .hero-image-copy {
        right: 25px;
        top: 92px;
        font-size: 21px;
    }

    .featured-heading { align-items: flex-end; }
    .featured-heading h2 { font-size: 29px; }
    .featured-note { display: none; }

    .domain-grid { grid-template-columns: repeat(2, 1fr); }
    .domain-name { font-size: 23px; }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }
}
