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

:root {
    --ink: #1a1a2e;
    --ink-soft: #5a5a72;
    --cream: #fff8ee;
    --peach: #ffd5b8;
    --coral: #ff6b4a;
    --grape: #6c5ce7;
    --mint: #4ad6a1;
    --line: rgba(26, 26, 46, 0.1);
}

html,
body {
    min-height: 100%;
    background: var(--cream);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

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

.container {
    width: min(100% - 56px, 1200px);
    margin: 0 auto;
}

.display {
    font-family: "General Sans", "Inter", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.98;
}

.site-nav {
    padding: 24px 0;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "General Sans", "Inter", system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.logo-mark {
    display: block;
    width: 36px;
    height: 36px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

.site-nav a:not(.logo) {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:not(.logo):hover {
    background: var(--peach);
}

.nav-cta {
    background: var(--ink);
    color: var(--cream);
}

.nav-cta:hover {
    background: var(--coral) !important;
    color: #fff;
}

.hero {
    padding: 56px 0 96px;
}

.hero h1 {
    max-width: 890px;
    font-size: 88px;
}

.hero h1 .pill {
    display: inline-block;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--cream);
    transform: rotate(-2deg);
}

.hero h1 .pill.grape {
    background: var(--grape);
    transform: rotate(1.5deg);
}

.hero h1 .pill.mint {
    background: var(--mint);
    color: var(--ink);
    transform: rotate(-1deg);
}

.hero p {
    max-width: 580px;
    margin-top: 36px;
    color: var(--ink-soft);
    font-size: 22px;
    line-height: 1.5;
}

.section {
    padding: 96px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}

.section-head h2,
.contact-copy h1,
.contact-copy h2 {
    font-size: 52px;
}

.section-head .count {
    color: var(--ink-soft);
    font-family: "General Sans", "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.product {
    display: flex;
    min-height: 380px;
    flex-direction: column;
    overflow: hidden;
    padding: 44px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.product:hover {
    transform: translateY(-4px);
}

.product.share {
    background: var(--grape);
    color: #fff;
}

.product.gift {
    background: var(--mint);
    color: var(--ink);
}

.tag {
    align-self: flex-start;
    margin-bottom: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product.share .tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.product.gift .tag {
    background: var(--ink);
    color: var(--mint);
}

.product h3 {
    margin-bottom: 14px;
    font-family: "General Sans", "Inter", system-ui, sans-serif;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0;
}

.product p {
    max-width: 370px;
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.92;
}

.product p.tagline {
    margin-bottom: 12px;
    font-family: "General Sans", "Inter", system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    opacity: 1;
}

.product p:not(.tagline) {
    margin-bottom: auto;
}

.product .arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    font-weight: 700;
}

.product .arrow::after {
    content: "->";
    transition: transform 0.2s ease;
}

.product:hover .arrow::after {
    transform: translateX(6px);
}

.contact-block {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
    padding: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.contact-copy p {
    max-width: 400px;
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.6;
}

.contact-copy .direct {
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 14px;
}

.contact-action {
    display: flex;
    justify-content: flex-end;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 28px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
    background: var(--coral);
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form label,
.captcha-fieldset legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid rgba(26, 26, 46, 0.12);
    border-radius: 8px;
    background: var(--cream);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    padding: 14px 16px;
    text-transform: none;
    transition: border-color 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--grape);
    outline: none;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.captcha-fieldset {
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-fieldset legend {
    margin-bottom: 0;
}

.captcha-equation {
    display: grid;
    grid-template-columns: minmax(54px, 0.7fr) auto minmax(54px, 0.7fr) auto minmax(120px, 1.2fr);
    gap: 10px;
    align-items: center;
}

.captcha-value,
.captcha-symbol {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--cream);
    color: var(--ink);
    font-weight: 700;
}

.contact-form button {
    align-self: flex-start;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
    min-height: 54px;
    padding: 16px 28px;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.contact-form button:hover {
    background: var(--coral);
}

.contact-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.status {
    border-radius: 8px;
    display: none;
    font-size: 14px;
    line-height: 1.45;
    padding: 12px 16px;
}

.status.show {
    display: block;
}

.status.info {
    background: rgba(108, 92, 231, 0.12);
    color: #4035a6;
}

.status.success {
    background: rgba(74, 214, 161, 0.15);
    color: #1d6b48;
}

.status.error {
    background: rgba(255, 107, 74, 0.12);
    color: #b04222;
}

.contact-page .section {
    min-height: calc(100vh - 188px);
    display: flex;
    align-items: center;
}

footer {
    padding: 60px 0 40px;
}

footer .container {
    text-align: center;
    color: var(--ink-soft);
    font-size: 14px;
}

footer a:hover {
    color: var(--coral);
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 64px;
    }

    .products,
    .contact-block {
        grid-template-columns: 1fr;
    }

    .contact-action {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 36px, 1200px);
    }

    .site-nav .container {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav ul {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 30px 0 60px;
    }

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

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

    .section {
        padding: 60px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 32px;
    }

    .section-head h2,
    .contact-copy h1,
    .contact-copy h2 {
        font-size: 38px;
    }

    .product,
    .contact-block {
        padding: 32px 24px;
    }

    .product h3 {
        font-size: 36px;
    }

    .captcha-equation {
        grid-template-columns: 1fr auto 1fr;
    }

    .captcha-symbol.equal,
    .captcha-answer {
        grid-column: 1 / -1;
    }
}
