@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Sora:wght@400;500;600;700&display=swap');

:root {
    --bg: #f2ede5;
    --ink: #10161a;
    --muted: #54616a;
    --line: rgba(16, 22, 26, 0.12);
    --navy: #0a1722;
    --navy-soft: #112536;
    --teal: #0f8f84;
    --teal-soft: #d8f1eb;
    --orange: #ff8a3d;
    --orange-soft: #ffe7d6;
    --violet-soft: #ebe4ff;
    --sand: #fffaf3;
    --card: rgba(255, 255, 255, 0.78);
    --shadow: 0 24px 70px rgba(10, 23, 34, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(15, 143, 132, 0.1), transparent 24%),
        radial-gradient(circle at 90% 0%, rgba(255, 138, 61, 0.12), transparent 24%),
        linear-gradient(180deg, #09141d 0, #09141d 560px, var(--bg) 560px, var(--bg) 100%);
    line-height: 1.65;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.topbar {
    padding: 20px 0 8px;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #f9f3ea;
}

.brand img {
    width: 158px;
    height: auto;
}

.brand-copy {
    display: grid;
    gap: 4px;
}

.eyebrow,
.hero-kicker,
.tool-category,
.tool-label {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
}

.brand-copy strong {
    font-size: 1rem;
}

.top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ecf3f4;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.chip:hover,
.button:hover,
.source-link:hover {
    transform: translateY(-2px);
}

.hero {
    padding: 18px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.info-card,
.tool-card,
.scenario-card,
.faq-card,
.cta-band,
.table-wrap {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
    animation: rise-up 0.75s ease both;
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        linear-gradient(140deg, rgba(8, 21, 31, 0.96), rgba(17, 37, 54, 0.92)),
        linear-gradient(120deg, rgba(15, 143, 132, 0.24), transparent 36%);
    color: #f9f3ea;
}

.hero-copy::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.3), transparent 70%);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #a7f0e5;
}

.hero h1,
.section-head h2,
.cta-band h2,
.hero-panel h2 {
    margin: 16px 0 12px;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
}

.hero-panel h2,
.section-head h2,
.cta-band h2 {
    font-size: clamp(2rem, 4.3vw, 3.2rem);
}

.hero-lead,
.hero-panel p,
.section-head p,
.cta-band p {
    margin: 0;
    color: rgba(249, 243, 234, 0.88);
}

.hero-panel p {
    color: var(--muted);
}

.hero-actions,
.tool-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--orange), #ffb067);
    color: #1d120b;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fef4e8;
}

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

.metric-card {
    padding: 15px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.metric-card span {
    display: block;
    margin-top: 8px;
    color: rgba(249, 243, 234, 0.78);
    font-size: 0.92rem;
}

.disclosure {
    margin-top: 18px;
    max-width: 62ch;
    font-size: 0.94rem;
    color: rgba(249, 243, 234, 0.76);
}

.hero-panel {
    padding: 30px;
    background: linear-gradient(180deg, #fffefb 0%, #f2f7f8 100%);
}

.category-stack {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.category-pill {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(10, 23, 34, 0.03);
    border: 1px solid var(--line);
}

.category-pill strong {
    display: block;
    font-size: 0.98rem;
}

.category-pill span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.section {
    padding: 28px 0 40px;
}

.section-tight {
    padding-top: 0;
}

.section-contrast {
    margin-top: 12px;
    padding: 42px 0;
    background:
        radial-gradient(circle at top right, rgba(15, 143, 132, 0.16), transparent 20%),
        linear-gradient(180deg, #0b1c28 0%, #102433 100%);
}

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

.section-head p {
    max-width: 70ch;
    color: var(--muted);
}

.section-head-light,
.section-head-light p {
    color: #f2f6f7;
}

.section-head-light .eyebrow {
    color: #9deadd;
}

.principles-grid,
.tool-grid,
.scenario-grid,
.faq-grid {
    display: grid;
    gap: 18px;
}

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

.info-card,
.scenario-card,
.faq-card {
    padding: 24px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
}

.info-card h3,
.scenario-card h3,
.faq-card h3,
.tool-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.2;
}

.info-card p,
.scenario-card p,
.faq-card p {
    margin: 0;
    color: var(--muted);
}

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

.tool-card {
    position: relative;
    padding: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: linear-gradient(90deg, #9eb2bf, #ccd8df);
}

.tone-video::before {
    background: linear-gradient(90deg, #ff8a3d, #ffd07d);
}

.tone-voice::before {
    background: linear-gradient(90deg, #0f8f84, #79dacb);
}

.tone-content::before {
    background: linear-gradient(90deg, #4868ff, #9fb2ff);
}

.tone-creator::before {
    background: linear-gradient(90deg, #d75b7d, #ffc0c8);
}

.tool-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.tool-category {
    color: var(--muted);
}

.tool-label {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(10, 23, 34, 0.05);
    color: var(--navy-soft);
    white-space: nowrap;
}

.tool-summary {
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--muted);
}

.tool-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.tool-list li {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(10, 23, 34, 0.04);
    color: var(--ink);
}

.tool-list strong {
    color: var(--navy-soft);
}

.editor-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fffaf0;
    border: 1px dashed rgba(16, 22, 26, 0.18);
}

.editor-note p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.source-link {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.scenario-tools {
    display: inline-flex;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: #0c6058;
    font-weight: 700;
    font-size: 0.9rem;
}

.table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

th,
td {
    padding: 18px 16px;
    text-align: left;
    vertical-align: top;
}

thead th {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b6cad5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

tbody td {
    color: #f7fbfc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.faq-shell {
    padding-bottom: 8px;
}

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

.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    background:
        linear-gradient(135deg, #132735, #0f4d54 78%),
        linear-gradient(120deg, rgba(255, 138, 61, 0.2), transparent 30%);
    color: #f8f1e8;
}

.footer {
    padding: 18px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
}

.footer-inner p {
    margin: 8px 0 0;
    max-width: 58ch;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    text-decoration: none;
}

@keyframes rise-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    body {
        background:
            radial-gradient(circle at top left, rgba(15, 143, 132, 0.12), transparent 28%),
            linear-gradient(180deg, #09141d 0, #09141d 720px, var(--bg) 720px, var(--bg) 100%);
    }

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

    .principles-grid,
    .tool-grid,
    .faq-grid,
    .scenario-grid,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }
}

@media (max-width: 560px) {
    .hero-copy,
    .hero-panel,
    .tool-card,
    .scenario-card,
    .faq-card,
    .info-card,
    .cta-band {
        padding: 22px;
    }

    .chip,
    .button,
    .source-link {
        width: 100%;
    }

    .tool-header {
        flex-direction: column;
    }
}
