/* AestheticFonts.net — Global styles shared by all pages */
/* Load this file on every page. */

:root {
    --bg: #fbfaff;
    --surface: #fff;
    --surface-2: #f7f3ff;
    --text: #1f1830;
    --muted: #6c6578;
    --line: #e9e2f4;
    --primary: #7c3aed;
    --primary-2: #a855f7;
    --primary-soft: #f0e8ff;
    --shadow: 0 16px 40px rgba(72, 42, 112, .10);
    --shadow-sm: 0 6px 18px rgba(72, 42, 112, .07);
    --radius: 20px;
    --max: 1080px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

button,
input,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: inherit
}

img {
    max-width: 100%;
    height: auto
}

[hidden] {
    display: none !important
}

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

.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 99999;
    transform: translateY(-180%);
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    transform: none
}

.site-header {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(233, 226, 244, .92);
    backdrop-filter: blur(16px);
}

.header-inner {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-weight: 850;
    letter-spacing: -.025em;
    font-size: 1.18rem;
}

.brand-mark {
    color: var(--primary);
    font-size: 1.35em
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px
}

.main-nav a {
    text-decoration: none;
    color: #51475f;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 600;
}

.main-nav a:hover {
    background: var(--surface-2);
    color: var(--text)
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 8px 11px;
    border-radius: 10px;
    font-weight: 700;
}

.hero {
    max-width: 930px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 20px 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid #dccdff;
    background: #f6f0ff;
    color: #6542a0;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 800;
}

.hero h1 {
    margin: 16px auto 0;
    max-width: 880px;
    font-size: clamp(2.15rem, 6vw, 4.15rem);
    line-height: 1.05;
    letter-spacing: -.052em;
}

.hero-copy {
    max-width: 790px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.14rem);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 18px;
    color: #5c5269;
    font-size: .92rem;
    font-weight: 650;
}

.ad-slot {
    max-width: var(--max);
    min-height: 80px;
    margin: 26px auto;
    padding: 0 20px;
    text-align: center;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 16px
}

.section-heading h2,
.seo-content h2 {
    margin: 2px 0 0;
    letter-spacing: -.035em;
    line-height: 1.18
}

.section-heading h2 {
    font-size: clamp(1.65rem, 3.5vw, 2.4rem)
}

.eyebrow {
    margin: 0 !important;
    color: #7a4cc6 !important;
    text-transform: uppercase;
    font-size: .78rem !important;
    letter-spacing: .11em;
    font-weight: 850 !important;
}

.seo-content {
    max-width: 900px;
    margin: 62px auto 0;
    padding: 0 20px
}

.seo-content section {
    margin: 0 0 52px
}

.seo-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    color: #291c3a
}

.seo-content h3 {
    font-size: 1.02rem;
    margin: 0 0 5px
}

.seo-content p {
    color: #534a5e;
    margin: 10px 0 0
}

.steps,
.use-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px
}

.steps > div,
.use-grid > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 17px;
    box-shadow: var(--shadow-sm)
}

.steps span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: #6b36b6;
    font-weight: 900;
    margin-bottom: 10px
}

.steps p,
.use-grid p {
    font-size: .93rem;
    margin-top: 5px
}

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

.privacy-note {
    padding: 22px;
    border: 1px solid #dacdf2;
    background: #f8f4ff;
    border-radius: 20px
}

.privacy-note h2 {
    font-size: 1.3rem
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 30px 17px 0;
    font-weight: 800;
    position: relative
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 13px;
    font-size: 1.35rem;
    color: #7653ad
}

.faq-item[open] summary::after {
    content: "–"
}

.faq-item p {
    padding: 0 0 17px;
    margin: 0
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    background: #fff
}

.footer-inner {
    max-width: var(--max);
    margin: auto;
    padding: 28px 20px 12px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start
}

.footer-inner p {
    color: var(--muted);
    margin: 5px 0 0;
    font-size: .9rem
}

.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

.footer-inner nav a {
    color: #665d72;
    text-decoration: none;
    font-size: .9rem
}

.footer-inner nav a:hover {
    text-decoration: underline
}

.copyright {
    text-align: center;
    color: #817789;
    font-size: .82rem;
    margin: 0;
    padding: 12px 20px 22px
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #57368d;
    box-shadow: var(--shadow);
    font-size: 1.15rem;
    font-weight: 900;
    z-index: 100
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 2000;
    transform: translateX(-50%);
    background: #21182d;
    color: #fff;
    padding: 10px 15px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-size: .9rem;
    font-weight: 750;
}

@media (max-width:800px) {
    .steps {
            grid-template-columns: 1fr
        }

    .main-nav {
            display: none;
            position: absolute;
            top: 63px;
            left: 14px;
            right: 14px;
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 16px;
            padding: 8px;
            box-shadow: var(--shadow);
            flex-direction: column;
            align-items: stretch;
        }

    .main-nav.is-open {
            display: flex
        }

    .main-nav a {
            padding: 10px 12px
        }

    .menu-toggle {
            display: block
        }

    .hero {
            padding-top: 44px
        }
}

@media (max-width:600px) {
    .header-inner {
            padding: 0 14px
        }

    .hero {
            padding: 36px 16px 20px
        }

    .hero h1 {
            font-size: clamp(2rem, 11vw, 3rem)
        }

    .seo-content,
    .ad-slot {
            padding-left: 14px;
            padding-right: 14px
        }

    .section-heading {
            align-items: start
        }

    .use-grid {
            grid-template-columns: 1fr
        }

    .footer-inner {
            display: block
        }

    .footer-inner nav {
            margin-top: 18px
        }

    .trust-row {
            gap: 6px 12px
        }
}

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

    *,
    *::before,
    *::after {
            transition: none !important;
            scroll-behavior: auto !important
        }
}

.related-tool-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 18px;
}

.related-tool-card h3 { margin: 0; }
.related-tool-card p { margin-top: 5px; }

.related-tool-link {
    flex: 0 0 auto;
    text-decoration: none;
    color: #fff;
    background: var(--primary);
    border-radius: 11px;
    padding: 10px 13px;
    font-weight: 800;
}

.related-tool-link:hover { background: #6d28d9; }

@media (max-width: 900px) {
    .symbol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mini-symbol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .combo-form { grid-template-columns: 1fr 1fr; }
    .combo-text-field { grid-column: 1 / -1; }
    .copy-chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .symbol-controls { position: relative; }
    .category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        padding-bottom: 3px;
    }
    .symbol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mini-symbol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .copy-chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .copy-chip-grid-wide { grid-template-columns: 1fr; }
    .related-tool-card { display: block; }
    .related-tool-link { display: inline-block; margin-top: 14px; }
}
