:root {
    --bg: #ffffff;
    --surface: #f7f7f8;
    --surface-hover: #eeeeef;
    --text: #111111;
    --muted: #666666;
    --border: #e4e4e4;
    --accent: #111111;
    --max-width: 1120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.navigation {
    display: flex;
    gap: 28px;
}

.navigation a {
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--text);
}


/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-label,
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 800;
}

.hero-description {
    max-width: 600px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 1.1rem;
}


/* =========================
   SEARCH
========================= */

.tool-search {
    max-width: 600px;
    margin: 42px auto 0;
}

.tool-search input {
    width: 100%;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 20px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.tool-search input:focus {
    background: #ffffff;
    border-color: #999999;
    box-shadow: 0 0 0 4px #eeeeee;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.section-heading p {
    max-width: 600px;
    margin-top: 14px;
    color: var(--muted);
}


/* =========================
   TOOLS
========================= */

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

.tool-card {
    min-height: 190px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg);
    display: flex;
    gap: 20px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    background: var(--surface);
    border-color: #cccccc;
}

.tool-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--text);
    color: white;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.tool-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.tool-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.coming-soon {
    cursor: default;
}

.coming-soon:hover {
    transform: none;
}

.coming-label {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: var(--muted);
}


/* =========================
   CATEGORIES
========================= */

.categories-section {
    background: var(--surface);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
}

.category-card > span {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 700;
}

.category-card h3 {
    margin-top: 38px;
    font-size: 1.15rem;
}

.category-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.88rem;
}


/* =========================
   ABOUT
========================= */

.about-section {
    padding: 100px 0;
}

.about-box {
    max-width: 780px;
}

.about-box h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.about-box p {
    margin-top: 24px;
    max-width: 650px;
    color: var(--muted);
    font-size: 1rem;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 35px 0;
}

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

.site-footer strong {
    font-size: 1.05rem;
}

.site-footer p {
    color: var(--muted);
    font-size: 0.82rem;
}

.copyright {
    text-align: right;
}


/* =========================
   ACCESSIBILITY
========================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .navigation {
        gap: 16px;
    }

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

    .hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }

    .section {
        padding: 65px 0;
    }

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

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

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

    .copyright {
        text-align: left;
    }
}


@media (max-width: 480px) {

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

    .navigation a {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .tool-card {
        padding: 20px;
    }

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

/* =========================
   ABOUT — FINAL
========================= */

.about-section {
    width: 100%;
    padding: 100px 0;
}

.about-section > .container {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
}

.about-box {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-box .section-label {
    display: inline-block;
    margin-bottom: 18px;
}

.about-box h2 {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.about-box p {
    max-width: 650px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}


/* =========================
   FOOTER — FINAL
========================= */

.site-footer {
    width: 100%;
    margin: 0;
    padding: 35px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-footer strong {
    display: block;
    font-size: 1.05rem;
}

.site-footer p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.copyright {
    text-align: right;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}


/* =========================
   ABOUT + FOOTER MOBILE
========================= */

@media (max-width: 800px) {

    .about-section {
        padding: 70px 0;
    }

    .about-section > .container {
        width: min(100% - 28px, var(--max-width));
    }

    .about-box {
        max-width: 700px;
    }

    .footer-inner {
        width: min(100% - 28px, var(--max-width));
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .about-section {
        padding: 60px 0;
    }

    .about-section > .container {
        width: calc(100% - 24px);
    }

    .about-box {
        width: 100%;
    }

    .about-box p {
        font-size: 0.92rem;
    }

    .footer-inner {
        width: calc(100% - 24px);
    }

    .footer-links {
    justify-content: center;
    gap: 14px 18px;
    }
}


