:root {
    --blue: #1a73e8;
    --blue-dark: #0b3b78;
    --green: #00c853;
    --orange: #ff6d00;
    --red: #ff5252;
    --gold: #f5a623;
    --violet: #7b61ff;
    --ink: #1a2332;
    --muted: #6b7a8f;
    --line: #dfe6ef;
    --soft: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(26, 35, 50, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

code {
    padding: 2px 6px;
    border-radius: 6px;
    background: #eef3f9;
    color: var(--blue-dark);
}

.top-disclaimer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    color: #39475b;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    font-size: 13px;
}

.top-disclaimer strong {
    color: #9a3412;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-width: max-content;
}

.brand-logo {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--white);
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.08);
}

.brand-logo-wide {
    width: clamp(178px, 16vw, 238px);
    height: 58px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.main-nav a {
    padding: 9px 11px;
    border-radius: 8px;
    color: #4b5b70;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
    background: #edf5ff;
}

.header-actions,
.hero-actions,
.button-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 10px 22px rgba(26, 115, 232, 0.18);
}

.btn-primary:hover {
    background: #155fc0;
}

.btn-ghost {
    color: var(--blue-dark);
    border-color: var(--line);
    background: var(--white);
}

.btn-danger {
    color: #b42318;
    border-color: #fecaca;
    background: #fff5f5;
}

.btn-danger:hover {
    background: #ffe4e6;
}

.btn-large {
    min-height: 48px;
    padding: 13px 20px;
}

.btn-small {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 13px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.flash-wrap {
    position: fixed;
    top: 92px;
    right: 18px;
    z-index: 30;
    display: grid;
    gap: 8px;
    width: min(360px, calc(100vw - 36px));
}

.flash {
    padding: 13px 14px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--white);
    border-left: 4px solid var(--blue);
}

.flash.success {
    border-color: var(--green);
}

.flash.error {
    border-color: var(--red);
}

.flash.info {
    border-color: var(--orange);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 56px) 38px;
    background:
        radial-gradient(circle at 88% 16%, rgba(0, 200, 83, 0.12), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-editorial {
    position: relative;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    overflow: hidden;
    padding-top: clamp(34px, 4vw, 52px);
    padding-bottom: 18px;
    background:
        linear-gradient(115deg, rgba(10, 22, 40, 0.96) 0%, rgba(12, 52, 98, 0.94) 44%, rgba(255, 255, 255, 0) 44.2%),
        linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.hero-editorial .eyebrow,
.hero-editorial h1,
.hero-editorial .hero-lead {
    color: var(--white);
}

.hero-editorial .hero-copy {
    position: relative;
    padding: 24px;
    margin: -24px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(10, 22, 40, .88), rgba(10, 22, 40, .54) 72%, rgba(10, 22, 40, 0));
}

.hero.hero-editorial h1 {
    max-width: 680px;
    font-size: clamp(34px, 3.4vw, 44px);
    line-height: 1.04;
    color: #ffffff;
    background: linear-gradient(90deg, #ffffff 0%, #edf7ff 58%, #c8ffe0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .28));
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero.hero-editorial h1 {
        background: none;
        -webkit-text-fill-color: #ffffff;
    }
}

.hero-editorial .hero-lead {
    color: rgba(255, 255, 255, 0.82);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
    margin: 22px 0 0;
}

.hero-proof div {
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
}

.hero-proof dt {
    font-family: "JetBrains Mono", monospace;
    font-size: 26px;
    font-weight: 800;
}

.hero-proof dd {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.hero-product {
    position: relative;
}

.hero-product img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(26, 35, 50, 0.18);
}

.phone-panel {
    position: absolute;
    left: -34px;
    bottom: 26px;
    z-index: 2;
    display: grid;
    width: 178px;
    gap: 5px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.phone-panel span,
.phone-panel small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.phone-panel strong {
    font-family: "JetBrains Mono", monospace;
    color: var(--green);
    font-size: 54px;
    line-height: .95;
}

.meaning-section {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(380px, 1.1fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: center;
    padding: clamp(46px, 7vw, 90px) clamp(18px, 4vw, 56px);
    background: var(--white);
}

.meaning-copy h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.04;
}

.meaning-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.acronym-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.acronym-grid div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.acronym-grid strong,
.acronym-grid span {
    display: block;
}

.acronym-grid strong {
    color: var(--blue);
    margin-bottom: 6px;
}

.acronym-grid span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.meaning-visual {
    margin: 0;
}

.meaning-visual img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.signal-section {
    background: var(--soft);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.signal-grid article {
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(26, 35, 50, 0.04);
}

.signal-grid h3 {
    margin: 18px 0 8px;
}

.signal-grid p {
    color: var(--muted);
    line-height: 1.55;
}

.signal-dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.signal-dot.blue { background: var(--blue); }
.signal-dot.green { background: var(--green); }
.signal-dot.violet { background: var(--violet); }
.signal-dot.orange { background: var(--orange); }
.signal-dot.red { background: var(--red); }
.signal-dot.dark { background: var(--ink); }

.day-section {
    display: grid;
    grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    gap: 34px;
    padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 56px);
    color: var(--white);
    background: linear-gradient(135deg, #0a1628 0%, #123e70 58%, #116b4a 100%);
}

.day-intro h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.day-intro p {
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
}

.day-section .eyebrow {
    color: #7ee0ad;
}

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

.day-timeline div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.day-timeline strong,
.day-timeline span {
    display: block;
}

.day-timeline strong {
    margin-bottom: 9px;
    color: var(--white);
}

.day-timeline span {
    color: rgba(255, 255, 255, .75);
    line-height: 1.55;
}

.journal-showcase {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
    gap: 34px;
    align-items: center;
}

.journal-copy h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.journal-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.check-list.compact {
    margin-top: 18px;
}

.journal-mock {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.98)),
        var(--soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.journal-mock div {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
    background: #f7fafc;
    border: 1px solid var(--line);
}

.journal-mock span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.journal-mock b {
    font-family: "JetBrains Mono", monospace;
    font-size: 30px;
}

.journal-mock em {
    color: var(--blue);
    font-style: normal;
    font-weight: 700;
}

.articles-featured {
    background: #fbfdff;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.dashboard-top h1,
.legal-page h1,
.article-page h1 {
    margin: 0;
    color: var(--ink);
    line-height: 1.05;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
}

.hero-lead,
.lead,
.section-heading p,
.auth-layout p,
.split-band p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.hero-lead {
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.trust-row span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #475569;
    background: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.score-preview {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px clamp(18px, 4vw, 56px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.score-preview h2 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
}

.score-widget {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 280px;
}

.score-ring {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: conic-gradient(var(--green) 72%, #e8edf5 0);
    font-family: "JetBrains Mono", monospace;
    font-size: 24px;
    font-weight: 700;
}

.score-widget span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 56px);
}

.section.narrow,
.legal-page,
.article-page {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(42px, 7vw, 82px) 18px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 28px;
}

.section-heading h1,
.legal-page h1,
.article-page h1 {
    font-size: clamp(34px, 5vw, 56px);
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.feature-grid,
.article-grid,
.resource-grid,
.pricing-grid,
.metrics-grid {
    display: grid;
    gap: 18px;
}

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

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

.feature-card,
.article-card,
.resource-card,
.pricing-card,
.panel,
.form-panel,
.metric-card,
.score-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(26, 35, 50, 0.05);
}

.feature-card,
.article-card,
.resource-card,
.pricing-card {
    padding: 22px;
}

.feature-card h3,
.article-card h2,
.article-card h3,
.resource-card h2,
.pricing-card h2 {
    margin: 12px 0 8px;
}

.feature-card p,
.article-card p,
.resource-card p,
.pricing-card li,
.site-footer p {
    color: var(--muted);
    line-height: 1.65;
}

.resource-hero {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #fbfdff, #f0fff6);
    box-shadow: var(--shadow);
}

.resource-hero h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.5vw, 40px);
}

.resource-hero p {
    color: var(--muted);
    line-height: 1.7;
}

.resource-hero img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.resource-card {
    display: grid;
    align-content: start;
    gap: 10px;
}

.resource-card .btn {
    justify-self: start;
    margin-top: 4px;
}

.resource-detail-page {
    max-width: 980px;
}

.resource-detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.resource-actions {
    margin: 8px 0 26px;
}

.resource-bullet-list {
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.resource-bullet-list li + li {
    margin-top: 8px;
}

.resource-detail-block {
    padding-bottom: 8px;
}

.faq-band {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 30px;
    padding: 26px;
    border-radius: 8px;
    background: #0a1628;
    color: var(--white);
}

.faq-band h2 {
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.faq-list summary {
    cursor: pointer;
    padding: 14px;
    font-weight: 800;
}

.faq-list p {
    margin: 0;
    padding: 0 14px 14px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.65;
}

.icon-badge,
.article-card span,
.resource-card span,
.pricing-card > span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: #edf5ff;
    font-size: 12px;
    font-weight: 800;
}

.split-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    background: var(--soft);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding: 13px 14px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.04);
}

.pricing-section {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.pricing-card.featured {
    border-color: rgba(26, 115, 232, .4);
    box-shadow: 0 18px 42px rgba(26, 115, 232, .12);
}

.comparison-panel {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.pricing-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 24px;
}

.pricing-benefit-grid article,
.pricing-guide-callout,
.guide-public-hero,
.guide-step-card,
.guide-wide-panel,
.subscription-status {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.pricing-benefit-grid article {
    padding: 20px;
}

.pricing-benefit-grid span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #eef7ff;
    font-size: 22px;
}

.pricing-benefit-grid h2,
.pricing-guide-callout h2,
.guide-step-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.pricing-benefit-grid p,
.pricing-guide-callout p,
.guide-step-card p,
.guide-wide-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.pricing-guide-callout {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 26px;
    padding: 22px;
    background: linear-gradient(135deg, #f4f9ff, #f7fff7);
}

.price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 18px 0;
}

.price strong {
    font-size: 34px;
}

.price small {
    color: var(--muted);
}

.pricing-card ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    min-height: 128px;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 520px);
    gap: 42px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(42px, 7vw, 82px) 18px;
}

.auth-layout.compact {
    max-width: 920px;
}

.form-panel,
.journal-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.journal-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
}

textarea {
    resize: vertical;
}

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

.form-row:has(label:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-note,
.muted {
    color: var(--muted);
}

.checkbox-line {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}

.checkbox-line input {
    width: auto;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-form-panel {
    margin-bottom: 24px;
}

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

.range-field {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.range-field span {
    display: flex;
    justify-content: space-between;
}

input[type="range"] {
    padding: 0;
    accent-color: var(--blue);
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 72vh;
}

.dashboard-shell > *,
.dashboard-main,
.dashboard-sidebar,
.panel,
.admin-stat-card,
.admin-user-card {
    min-width: 0;
}

.dashboard-sidebar {
    padding: 28px;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
}

.member-profile-card {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(26, 115, 232, .16);
    border-radius: 8px;
    color: #0f172a;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.member-profile-card:hover {
    border-color: rgba(26, 115, 232, .35);
    background: #f8fbff;
}

.member-avatar {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #1a73e8, #20a464);
    font-weight: 900;
    letter-spacing: .03em;
}

.member-profile-card small,
.member-profile-card strong,
.member-profile-card em {
    display: block;
}

.member-profile-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.member-profile-card strong {
    margin-top: 2px;
    font-size: 18px;
}

.member-profile-card em {
    margin-top: 3px;
    color: var(--blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 8px;
}

.dashboard-sidebar nav a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #4b5b70;
    font-weight: 700;
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
    color: var(--blue);
    background: #edf5ff;
}

.sidebar-icon {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .04);
    font-size: 12px;
    font-weight: 900;
}

.dashboard-sidebar nav a:nth-child(3n+1) .sidebar-icon {
    background: #edf5ff;
    color: #1a73e8;
}

.dashboard-sidebar nav a:nth-child(3n+2) .sidebar-icon {
    background: #effdf5;
    color: #168451;
}

.dashboard-sidebar nav a:nth-child(3n) .sidebar-icon {
    background: #fff7ed;
    color: #c05621;
}

.dashboard-sidebar nav a.active .sidebar-icon,
.dashboard-sidebar nav a:hover .sidebar-icon {
    color: #ffffff;
    background: var(--blue);
    border-color: var(--blue);
}

.dashboard-main {
    padding: clamp(22px, 4vw, 40px);
    background: var(--soft);
}

.guide-public-page {
    padding-top: clamp(34px, 6vw, 72px);
}

.guide-public-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
    margin-bottom: 24px;
    padding: clamp(22px, 4vw, 34px);
    background: linear-gradient(135deg, #f4f9ff, #f7fff7 55%, #fff6ef);
}

.guide-public-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    color: var(--blue-dark);
}

.guide-public-hero p {
    color: var(--muted);
    line-height: 1.75;
}

.guide-public-hero img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.guide-step-grid,
.subscription-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.guide-step-card {
    padding: 20px;
}

.guide-step-card > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    font-weight: 900;
}

.guide-wide-panel {
    padding: 22px;
    margin-top: 16px;
}

.member-profile-form {
    max-width: 920px;
}

.subscription-grid {
    align-items: stretch;
}

.subscription-grid .panel {
    padding: 22px;
}

.dashboard-top,
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.metrics-grid {
    grid-template-columns: 1.15fr repeat(3, 1fr);
    margin-bottom: 18px;
}

.score-card,
.metric-card {
    padding: 18px;
}

.score-card span,
.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.score-card strong {
    display: block;
    margin: 8px 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 58px;
}

.score-card.high {
    border-color: rgba(0, 200, 83, .35);
    background: linear-gradient(135deg, #ffffff, #ecfff4);
}

.score-card.medium {
    border-color: rgba(255, 109, 0, .35);
    background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.score-card.low {
    border-color: rgba(255, 82, 82, .35);
    background: linear-gradient(135deg, #ffffff, #fff1f2);
}

.metric-card strong {
    display: block;
    margin-top: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 32px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 18px;
    margin-bottom: 18px;
}

.panel {
    padding: 20px;
}

.panel-header h2 {
    margin: 0;
}

.panel-header span,
.panel-header a {
    color: var(--muted);
    font-weight: 700;
}

.summary-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    margin: 0;
    font-weight: 800;
}

.panel-note {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.goal-list,
.saved-report-list {
    display: grid;
    gap: 12px;
}

.goal-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.goal-item.achieved {
    border-color: rgba(0, 200, 83, .32);
    background: #f0fff6;
}

.goal-item span {
    color: var(--muted);
    font-size: 14px;
}

.goal-actions,
.mini-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.saved-report-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.saved-report-list summary {
    cursor: pointer;
    padding: 13px 14px;
    font-weight: 800;
}

.saved-report-list details div {
    padding: 0 14px 14px;
    color: #334155;
    line-height: 1.65;
}

.privacy-panel {
    margin-top: 18px;
}

.table-wrap {
    overflow-x: auto;
}

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

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.sidebar-return {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 800;
}

.admin-shell .dashboard-main {
    background: #f3f6fb;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.admin-stat-card,
.admin-user-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(26, 35, 50, 0.05);
}

.admin-stat-card {
    display: grid;
    gap: 7px;
    padding: 18px;
}

.admin-stat-card span,
.admin-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-stat-card strong {
    font-family: "JetBrains Mono", monospace;
    font-size: 30px;
    color: var(--blue-dark);
    overflow-wrap: anywhere;
}

.admin-stat-card small {
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.activity-list,
.admin-user-list,
.content-admin-list {
    display: grid;
    gap: 12px;
}

.activity-item {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-item span {
    color: var(--muted);
    line-height: 1.5;
}

.admin-user-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.admin-user-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-user-head div {
    display: grid;
    gap: 4px;
}

.admin-user-head span,
.admin-mini-stats span {
    color: var(--muted);
}

.admin-mini-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-mini-stats span,
.status-pill {
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--soft);
    font-size: 12px;
    font-weight: 800;
}

.status-pill.active {
    color: #087443;
    border-color: #bbf7d0;
    background: #ecfdf3;
}

.status-pill.pending {
    color: #b54708;
    border-color: #fedf89;
    background: #fffaeb;
}

.status-pill.suspended {
    color: #b42318;
    border-color: #fecaca;
    background: #fff1f2;
}

.admin-checkbox {
    align-self: end;
    min-height: 44px;
}

.content-admin-list article {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.content-admin-list article:last-child {
    border-bottom: 0;
}

.content-admin-list img {
    width: 92px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.content-admin-list span,
.content-admin-list p {
    color: var(--muted);
    line-height: 1.5;
}

.content-admin-list p {
    margin: 6px 0 0;
}

.admin-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.admin-link-grid a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    font-weight: 800;
}

.admin-settings-form {
    max-width: 860px;
}

.admin-editor-form {
    display: grid;
    gap: 16px;
    max-width: 1100px;
}

.admin-editor-form textarea[name="body"] {
    min-height: 420px;
    font-family: "JetBrains Mono", monospace;
    line-height: 1.55;
}

.editor-image-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr) 180px;
    gap: 14px;
    align-items: end;
}

.editor-image-row small,
.editor-help span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.editor-image-preview {
    min-height: 118px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff, #eef7f0);
    color: var(--muted);
    font-weight: 800;
}

.editor-image-preview img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.editor-help {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #cfe0f5;
    border-radius: 8px;
    background: #f3f8ff;
}

.editor-help strong {
    color: var(--blue-dark);
}

.panel-header.compact {
    margin-top: 22px;
}

.content-page-grid {
    grid-template-columns: 1fr;
}

.empty-state {
    padding: 34px;
    text-align: center;
}

.readiness-panel {
    margin: 22px 0;
    padding: 22px;
}

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

.readiness-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.readiness-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, .14);
}

.readiness-item.is-ok .readiness-dot {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 200, 83, .14);
}

.readiness-item strong,
.readiness-item small {
    display: block;
}

.readiness-item small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.45;
}

.not-found-page {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    min-height: 68vh;
}

.not-found-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    color: var(--blue-dark);
}

.not-found-copy p {
    max-width: 640px;
    color: var(--muted);
    line-height: 1.75;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.not-found-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #eff7ff, #f7fff8 55%, #fff4ec);
    box-shadow: var(--shadow);
}

.not-found-visual span {
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 1;
    color: rgba(11, 59, 120, .13);
    font-size: clamp(74px, 12vw, 150px);
    font-weight: 900;
    line-height: 1;
}

.not-found-visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.tools-page {
    padding-top: clamp(34px, 6vw, 72px);
}

.tools-hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    padding: clamp(24px, 4vw, 38px);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #07182c 0%, #113e70 54%, #f5fbff 54.2%, #ffffff 100%);
    box-shadow: 0 24px 70px rgba(10, 35, 65, .16);
}

.tools-hero-copy h1 {
    max-width: 640px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
}

.tools-hero-copy .eyebrow,
.tools-hero-copy p {
    color: rgba(255, 255, 255, .86);
}

.tools-hero-copy p {
    max-width: 620px;
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.65;
}

.tool-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tool-chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.tool-chips strong {
    font-size: 20px;
}

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

.tool-mini-card {
    min-height: 132px;
    display: grid;
    gap: 8px;
    align-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 36px rgba(12, 35, 60, .11);
}

.tool-mini-card.primary {
    background: linear-gradient(135deg, #e8f4ff 0%, #eafaf0 100%);
    border-color: rgba(26, 115, 232, .24);
}

.tool-mini-card strong {
    font-size: 19px;
}

.tool-mini-card em {
    color: #526173;
    font-style: normal;
    line-height: 1.45;
}

.tool-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #edf5ff;
    font-size: 22px;
}

.tool-icon.large {
    width: 58px;
    height: 58px;
    font-size: 30px;
    background: #eafaf0;
}

.tools-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: stretch;
    margin: 30px 0;
}

.tools-editorial > div {
    padding: 24px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: linear-gradient(90deg, #f6fbff 0%, #ffffff 100%);
}

.tools-editorial h2,
.tools-guide h2 {
    margin: 0 0 12px;
}

.tools-editorial p,
.tools-guide p,
.tool-note p {
    color: #334155;
    line-height: 1.75;
}

.tool-info-card,
.tool-guide-block,
.tool-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.tool-info-card {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(12, 35, 60, .1);
}

.tool-info-card h3,
.tool-note h3 {
    margin: 0;
}

.tool-info-card p,
.tool-note p {
    margin: 0;
}

.tools-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 20px;
}

.tool-tabs {
    display: grid;
    gap: 8px;
    align-content: start;
}

.tool-tabs button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #475569;
    background: var(--white);
    cursor: pointer;
    text-align: left;
    font-weight: 800;
}

.tool-tabs button span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
}

.tool-tabs button.active {
    color: var(--blue);
    border-color: rgba(26, 115, 232, .35);
    background: #edf5ff;
}

.tool-tabs button.active span {
    background: #ffffff;
}

.tool-panel {
    display: none;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.tool-panel.active {
    display: grid;
    gap: 16px;
}

.tool-panel h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
}

.tool-panel > p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.tool-note {
    padding: 18px;
    background: #f8fbff;
}

.tools-guide {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    gap: 24px;
    margin-top: 34px;
}

.tool-guide-block {
    padding: 24px;
    background: #ffffff;
}

.tool-guide-block details {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.tool-guide-block details:first-of-type {
    border-top: 0;
}

.tool-guide-block summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--ink);
}

.tool-guide-block details p {
    margin: 10px 0 0;
}

.premium-tools-teaser,
.upgrade-panel,
.premium-note {
    border: 1px solid rgba(26, 115, 232, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f5fbff);
    box-shadow: 0 18px 48px rgba(26, 35, 50, .08);
}

.premium-tools-teaser {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 26px 0;
    padding: clamp(20px, 4vw, 32px);
}

.premium-tools-teaser h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
}

.premium-tools-teaser p,
.premium-tool-grid small,
.usage-meter span {
    color: var(--muted);
    line-height: 1.55;
}

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

.premium-tool-grid article {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.premium-tool-grid span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: #edf5ff;
    font-weight: 900;
}

.premium-tools-layout {
    margin-top: 0;
}

.locked-tools-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(26, 115, 232, .22);
    border-radius: 8px;
    background: linear-gradient(135deg, #f4f9ff, #f7fff7);
    box-shadow: var(--shadow);
}

.locked-tools-hero h2 {
    margin: 0 0 8px;
}

.locked-tools-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.locked-preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 300px;
}

.locked-preview-row span {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-weight: 900;
}

.locked-preview-row strong {
    color: var(--blue);
}

.locked-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.locked-tool-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.locked-tool-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -42px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(26, 115, 232, .08);
}

.locked-tool-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.lock-badge {
    padding: 6px 9px;
    border-radius: 999px;
    color: #9a3412;
    background: #fff7ed;
    font-size: 12px;
}

.elite-upgrade-panel {
    border-color: rgba(124, 58, 237, .22);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #fff7ed 100%);
}

.elite-upgrade-panel .locked-tool-grid {
    margin: 18px 0;
}

.elite-upgrade-panel .lock-badge {
    color: #5b21b6;
    background: #f3e8ff;
}

.locked-tool-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.locked-tool-card p {
    color: var(--muted);
    line-height: 1.6;
}

.locked-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.locked-field-grid span {
    padding: 8px;
    border-radius: 8px;
    background: var(--soft);
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.usage-meter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.usage-meter strong {
    color: var(--blue);
}

.question-list {
    display: grid;
    gap: 10px;
}

.result-box,
.alert {
    padding: 16px;
    border-radius: 8px;
    color: #334155;
    background: var(--soft);
    border: 1px solid var(--line);
    line-height: 1.6;
}

.insight-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
}

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

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

.achievement-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 88px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.achievement-card > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #0f172a;
    background: #e8f3ff;
    font-size: 13px;
    font-weight: 900;
}

.achievement-card strong,
.achievement-card small {
    display: block;
}

.achievement-card small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.45;
}

.achievement-card i {
    display: block;
    width: 100%;
    height: 6px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.achievement-card i::before {
    content: "";
    display: block;
    width: var(--progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #20a464);
}

.achievement-card.is-locked {
    opacity: .68;
}

.achievement-card.is-earned {
    border-color: rgba(32, 164, 100, .35);
    background: #f7fff9;
}

.correlation-list {
    display: grid;
    gap: 12px;
}

.correlation-list.compact {
    gap: 9px;
}

.correlation-card {
    display: grid;
    gap: 9px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.correlation-card.detailed {
    grid-template-columns: minmax(0, .8fr) minmax(160px, .45fr);
    align-items: center;
}

.correlation-card.detailed p {
    grid-column: 1 / -1;
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.correlation-card strong,
.correlation-card small {
    display: block;
}

.correlation-card small {
    color: var(--muted);
    margin-top: 2px;
}

.correlation-meter {
    display: block;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.correlation-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #20a464, #1a73e8);
}

.week-plan-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.week-plan-day {
    min-width: 120px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.week-plan-day span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--blue);
    font-weight: 900;
}

.week-plan-day strong {
    display: block;
    margin-bottom: 6px;
}

.week-plan-day p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.automation-list {
    display: grid;
    gap: 10px;
}

.automation-list div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.automation-list span {
    color: var(--muted);
    line-height: 1.55;
}

.alert-error {
    border-color: rgba(255, 82, 82, .35);
    background: #fff1f2;
}

.ai-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 18px;
}

.chat-log {
    display: grid;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
}

.chat-message {
    padding: 13px;
    border-radius: 8px;
    background: var(--soft);
}

.chat-message.user {
    background: #edf5ff;
}

.chat-message.assistant {
    background: #ecfff4;
}

.chat-message p {
    margin: 6px 0 0;
    line-height: 1.6;
}

.chat-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.report-box,
.article-body {
    color: #334155;
    line-height: 1.8;
}

.article-card a:hover,
.back-link:hover,
.footer-links a:hover {
    color: var(--blue);
}

.article-card-visual {
    overflow: hidden;
    padding: 0;
}

.article-image {
    display: block;
    overflow: hidden;
    background: var(--soft);
}

.article-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .35s ease;
}

.article-card-visual:hover .article-image img {
    transform: scale(1.035);
}

.article-card-body {
    padding: 20px;
}

.article-page {
    max-width: 840px;
}

.article-page-rich {
    max-width: 980px;
}

.article-hero-image {
    margin: 30px 0;
}

.article-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.article-takeaways {
    margin: 26px 0 32px;
    padding: 24px;
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: #f0fff6;
}

.article-takeaways h2 {
    margin: 0 0 12px;
}

.article-takeaways ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #334155;
    line-height: 1.65;
}

.article-body {
    margin-top: 28px;
    font-size: 18px;
}

.article-body section {
    margin: 0 0 34px;
}

.article-body h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 34px);
}

.article-body p {
    margin: 0 0 18px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--muted);
    font-weight: 800;
}

.legal-page p {
    color: #334155;
    font-size: 17px;
    line-height: 1.8;
}

.legal-intro {
    max-width: 760px;
    margin: 16px 0 30px;
}

.legal-page a {
    color: var(--blue);
    font-weight: 800;
}

.legal-block {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.legal-block h2 {
    margin: 0 0 10px;
}

.legal-block p {
    margin: 0 0 10px;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-left: 22px;
    color: #334155;
    line-height: 1.75;
}

.setup-steps {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.setup-steps div {
    padding: 14px;
    border-radius: 8px;
    background: var(--soft);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 34px clamp(18px, 4vw, 56px);
    border-top: 1px solid var(--line);
    background: #fbfdff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: start;
    justify-content: flex-end;
    color: #475569;
    font-weight: 700;
}

.footer-brand {
    margin-bottom: 12px;
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: none;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    width: min(520px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-banner.visible {
    display: grid;
}

.cookie-banner p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1120px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .site-header.nav-open .main-nav,
    .site-header.nav-open .header-actions {
        display: flex;
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .site-header.nav-open .main-nav {
        flex-wrap: wrap;
    }

    .hero,
    .score-preview,
    .split-band,
    .auth-layout,
    .dashboard-shell,
    .ai-layout,
    .meaning-section,
    .day-section,
    .journal-showcase,
    .resource-hero,
    .faq-band,
    .tools-hero,
    .tools-editorial,
    .tools-guide,
    .guide-public-hero,
    .locked-tools-hero,
    .premium-tools-teaser,
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .hero-editorial {
        background: linear-gradient(180deg, #0a1628 0%, #123e70 48%, #f5f7fa 48.1%, #ffffff 100%);
    }

    .phone-panel {
        left: 18px;
    }

    .dashboard-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .dashboard-sidebar nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow-x: auto;
    }

    .metrics-grid,
    .feature-grid.three,
    .article-grid,
    .resource-grid,
    .pricing-grid,
    .pricing-benefit-grid,
    .guide-step-grid,
    .subscription-grid,
    .locked-tool-grid,
    .achievement-grid.compact,
    .dashboard-grid,
    .signal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

@media (max-width: 720px) {
    .top-disclaimer {
        display: block;
        text-align: center;
    }

    .hero {
        padding-top: 34px;
        padding-bottom: 24px;
        gap: 22px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.08;
    }

    .brand-logo-wide {
        width: 176px;
        height: 44px;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-actions .btn {
        flex: 1 1 148px;
        min-height: 44px;
        padding: 11px 14px;
        font-size: 14px;
    }

    .trust-row {
        margin-top: 14px;
    }

    .trust-row span {
        padding: 6px 8px;
        font-size: 12px;
    }

    .hero-visual img {
        aspect-ratio: 16 / 7;
    }

    .hero-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-top: 14px;
    }

    .hero-proof div {
        padding: 9px 7px;
    }

    .hero-proof dt {
        font-size: 20px;
    }

    .hero-proof dd {
        font-size: 10px;
        line-height: 1.25;
    }

    .hero-product img {
        aspect-ratio: 16 / 6;
    }

    .phone-panel {
        display: none;
    }

    .meaning-section,
    .day-section,
    .journal-showcase,
    .resource-hero,
    .faq-band,
    .tools-hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .feature-grid.three,
    .article-grid,
    .resource-grid,
    .pricing-grid,
    .metrics-grid,
    .admin-stat-grid,
    .dashboard-grid,
    .form-row,
    .form-row:has(label:nth-child(3)),
    .slider-grid,
    .pricing-benefit-grid,
    .guide-step-grid,
    .subscription-grid,
    .visitor-guide-grid,
    .locked-tool-grid,
    .locked-tools-hero,
    .achievement-grid,
    .achievement-grid.compact,
    .correlation-card.detailed,
    .tools-layout,
    .tools-hero-visual,
    .premium-tool-grid,
    .site-footer,
    .acronym-grid,
    .signal-grid,
    .day-timeline,
    .journal-mock {
        grid-template-columns: 1fr;
    }

    .dashboard-top,
    .panel-header,
    .score-preview,
    .cookie-banner {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .dashboard-top,
    .panel-header {
        flex-direction: column;
    }

    .pricing-guide-callout {
        align-items: stretch;
        flex-direction: column;
    }

    .locked-preview-row {
        justify-content: flex-start;
        min-width: 0;
    }

    .editor-image-row,
    .readiness-grid,
    .not-found-page {
        grid-template-columns: 1fr;
    }

    .not-found-actions .btn {
        flex: 1 1 160px;
    }

    .dashboard-top .btn,
    .panel-header .btn {
        width: 100%;
        justify-content: center;
    }

    .score-widget {
        min-width: 0;
    }

    .tools-hero {
        background: linear-gradient(180deg, #07182c 0%, #113e70 55%, #f5fbff 55.2%, #ffffff 100%);
        padding-top: 24px;
    }

    .tools-hero-copy h1 {
        font-size: 32px;
        line-height: 1.06;
    }

    .tools-hero-copy p {
        font-size: 15px;
    }

    .tool-chips span {
        flex: 1 1 130px;
    }

    .tool-tabs {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-sidebar nav {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-sidebar nav a {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .admin-user-head,
    .goal-item,
    .content-admin-list article {
        grid-template-columns: 1fr;
    }

    .admin-user-head {
        display: grid;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
