:root {
    --bg: #f6f1e8;
    --paper: #fffaf0;
    --ink: #151515;
    --muted: #6c6258;
    --line: #ded2c0;
    --accent: #ff5a1f;
    --accent-soft: rgba(255, 90, 31, 0.12);
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 90, 31, 0.16), transparent 30rem),
        linear-gradient(180deg, #f8f2e9 0%, #f2eadc 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

.site-header {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
}

.brand-text {
    font-size: 22px;
}

.language-switch {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.78);
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.language-switch a[aria-current="true"],
.language-switch a:hover {
    background: var(--ink);
    color: var(--paper);
}

main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

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

h1 {
    margin-bottom: 18px;
    font-size: clamp(52px, 9vw, 118px);
    line-height: 0.9;
    letter-spacing: -0.08em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.eyebrow,
.section-label {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 26px;
    align-items: stretch;
    padding: 52px 0 28px;
}

.home-hero-text {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text {
    max-width: 700px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: clamp(21px, 3vw, 31px);
    line-height: 1.22;
}

.hero-text.small {
    max-width: 640px;
    margin-bottom: 0;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.4;
}

.featured-card,
.definition-box,
.small-word-card,
.word-facts,
.intro-strip,
.examples blockquote {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.84);
    box-shadow: var(--shadow);
}

.featured-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.featured-card h2 {
    margin-bottom: 8px;
}

.word-type,
.short-definition,
.entry-lead,
.definition-box p,
.examples blockquote,
.site-footer,
.word-facts span,
.intro-strip span,
.small-word-text {
    color: var(--muted);
}

.short-definition {
    margin-bottom: 24px;
    font-size: 21px;
    line-height: 1.35;
}

.card-facts {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
}

.card-facts div {
    display: grid;
    gap: 3px;
}

.card-facts dt {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.card-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.38;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 900;
    white-space: nowrap;
}

.button:hover {
    background: var(--accent);
}

.intro-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 10px 0 42px;
    background: var(--line);
}

.intro-strip div {
    padding: 22px;
    background: rgba(255, 250, 240, 0.9);
}

.intro-strip strong,
.word-facts strong {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
}

.intro-strip span,
.word-facts span {
    display: block;
    font-size: 15px;
    line-height: 1.35;
}

.word-list {
    padding: 10px 0 56px;
}

.section-head {
    margin-bottom: 18px;
}

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

.small-word-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.small-word-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.small-word-title {
    display: block;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.small-word-meta {
    display: block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.small-word-text {
    display: block;
    font-size: 17px;
    line-height: 1.42;
}

.small-word-detail {
    display: grid;
    gap: 3px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.38;
}

.small-word-detail strong {
    color: var(--ink);
    font-size: 13px;
}

.small-word-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.small-word-card:hover .small-word-cta {
    color: var(--accent);
}

.entry {
    max-width: 940px;
    padding: 52px 0 70px;
}

.entry-header {
    margin-bottom: 26px;
}

.entry-header.compact h1 {
    margin-bottom: 14px;
}

.entry-lead {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.18;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-row span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.78);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.word-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--line);
}

.word-facts div {
    padding: 22px;
    background: rgba(255, 250, 240, 0.9);
}

.definition-box {
    padding: 28px;
    margin-bottom: 18px;
}

.definition-box p {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 1.45;
}

.examples {
    margin-bottom: 18px;
}

.examples h2 {
    margin-bottom: 16px;
}

.examples blockquote {
    margin: 0 0 12px;
    padding: 22px 26px;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.38;
}

.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 36px;
    font-size: 14px;
}

.site-footer p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.site-footer a {
    font-weight: 800;
}

.site-footer a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding-top: 38px;
    }

    .home-hero-text {
        min-height: auto;
    }

    .intro-strip,
    .word-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .word-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.contact-form {
    margin-top: 22px;
}

.contact-form label {
    display: block;
    margin: 18px 0 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    outline: none;
}

.contact-form input {
    height: 52px;
    padding: 0 16px;
}

.contact-form textarea {
    min-height: 180px;
    padding: 14px 16px;
    resize: vertical;
}

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

.contact-form .button {
    border: 0;
    cursor: pointer;
}

.form-note {
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.form-success {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #92c98d;
    border-radius: 16px;
    background: #effbea;
    color: #245d21;
    font-weight: 900;
}

.form-errors {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #e0a0a0;
    border-radius: 16px;
    background: #fff0f0;
    color: #8a1f1f;
    font-weight: 800;
}

.form-errors p {
    margin: 0 0 8px;
    color: inherit;
}

.form-errors p:last-child {
    margin-bottom: 0;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .site-header {
        padding-top: 18px;
    }

    .brand-text {
        font-size: 18px;
    }

    .site-header {
        align-items: flex-start;
    }

    .home-hero {
        padding-top: 30px;
    }

    .featured-card,
    .definition-box,
    .small-word-card {
        padding: 22px;
    }

    .word-list-grid {
        grid-template-columns: 1fr;
    }

    .intro-strip,
    .word-facts {
        grid-template-columns: 1fr;
    }

    .entry {
        padding-top: 36px;
    }

    .examples blockquote {
        padding: 20px 22px;
        font-size: 19px;
    }
}
