:root {
    --teal: #00897b;
    --teal-dark: #00695f;
    --amber: #ffb300;
    --violet: #5e35b1;
    --ink: #18211f;
    --muted: #62716d;
    --line: #dbe6e2;
    --paper: #fbfcfb;
    --surface: #ffffff;
    --warm: #fff7e6;
    --shadow: 0 24px 70px rgba(24, 33, 31, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.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;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 40;
    transform: translateY(-160%);
    background: var(--ink);
    color: white;
    padding: 0.7rem 1rem;
    border-radius: 6px;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem min(4vw, 3rem);
    transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 34px rgba(24, 33, 31, 0.1);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 218px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(24, 33, 31, 0.08);
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.9rem;
    border-radius: 999px;
    color: #263633;
    font-weight: 700;
    font-size: 0.92rem;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    background: rgba(0, 137, 123, 0.1);
    outline: 0;
}

.primary-nav a.is-active {
    background: rgba(0, 137, 123, 0.12);
    color: var(--teal-dark);
}

.primary-nav .nav-cta {
    color: white;
    background: var(--teal);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
    background: var(--teal-dark);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(0, 137, 123, 0.25);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 86svh;
    padding: 7rem 0 2.75rem;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(251, 252, 251, 0.96) 0%, rgba(251, 252, 251, 0.82) 42%, rgba(251, 252, 251, 0.2) 78%),
        linear-gradient(180deg, rgba(251, 252, 251, 0.72) 0%, rgba(251, 252, 251, 0.12) 60%, rgba(251, 252, 251, 1) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.hero-copy {
    max-width: 670px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 0.9rem;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero h1 {
    margin: 0;
    font-size: 4.6rem;
    line-height: 0.94;
    font-weight: 950;
    letter-spacing: 0;
    color: var(--ink);
}

.hero-tagline {
    margin: 1rem 0 0;
    font-size: 1.7rem;
    line-height: 1.18;
    font-weight: 800;
    color: var(--violet);
}

.hero-text {
    max-width: 620px;
    margin: 1rem 0 0;
    color: #344540;
    font-size: 1.12rem;
}

.hero-actions,
.scenario-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-actions {
    margin-top: 1.55rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.15rem;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: 0;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-primary {
    color: white;
    background: var(--teal);
    box-shadow: 0 14px 28px rgba(0, 137, 123, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--teal-dark);
}

.button-secondary {
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    width: min(620px, 100%);
    margin-top: 1.6rem;
}

.hero-metrics div,
.tool-card,
.price-card,
.scenario-card,
.journal-panel,
.assessment-form,
.assessment-result,
.product-preview {
    border: 1px solid rgba(219, 230, 226, 0.92);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 8px;
}

.hero-metrics div {
    padding: 1rem;
}

.hero-metrics strong {
    display: block;
    color: var(--teal-dark);
    font-size: 1.4rem;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.product-preview {
    width: min(720px, 100%);
    padding: 0.9rem;
}

.intro-preview {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.4rem;
}

.preview-topbar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.preview-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.preview-topbar span:nth-child(2) {
    background: rgba(255, 179, 0, 0.75);
}

.preview-topbar span:nth-child(3) {
    background: rgba(94, 53, 177, 0.65);
}

.preview-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1.15fr;
    gap: 0.85rem;
}

.preview-panel {
    min-height: 132px;
    padding: 1rem;
    border-radius: 7px;
    background: #f7fbfa;
}

.preview-panel p,
.preview-panel span {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.preview-panel strong {
    display: block;
    margin: 0.45rem 0;
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.15;
}

.preview-score strong {
    color: var(--violet);
    font-size: 2.7rem;
}

.preview-bars {
    display: grid;
    align-content: center;
    gap: 0.65rem;
}

.preview-bars i {
    display: block;
    height: 10px;
    width: var(--bar);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--amber));
}

.section {
    padding: 5.25rem 0;
}

.intro-band {
    padding-top: 4rem;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: end;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.section-heading.compact {
    margin-bottom: 0;
}

h2,
h3,
p {
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: 2.45rem;
    line-height: 1.08;
}

h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.section-heading p:not(.section-kicker),
.intro-grid > p,
.journal-copy p,
.waitlist-layout p {
    color: var(--muted);
    font-size: 1.05rem;
}

.assessment-layout,
.scenario-layout,
.journal-layout,
.waitlist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 1.2rem;
    align-items: start;
}

.assessment-form,
.assessment-result,
.scenario-card,
.journal-panel,
.waitlist-form {
    padding: 1.2rem;
}

.assessment-form {
    display: grid;
    gap: 1.15rem;
}

label {
    display: grid;
    gap: 0.55rem;
    font-weight: 850;
}

label > span,
.assessment-form output {
    color: var(--ink);
    font-size: 0.94rem;
}

.assessment-form label {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.assessment-form input {
    grid-column: 1 / -1;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--teal);
}

input:not([type="range"]),
select,
textarea {
    width: 100%;
    padding: 0 0.85rem;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
}

input:not([type="range"]),
select {
    min-height: 48px;
}

textarea {
    min-height: 120px;
    padding-top: 0.75rem;
    resize: vertical;
}

input:not([type="range"]):focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(0, 137, 123, 0.14);
}

.assessment-result {
    display: grid;
    gap: 1rem;
}

.score-ring {
    position: relative;
    display: grid;
    place-items: center;
}

.score-ring canvas {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
}

.score-center {
    position: absolute;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 12px 30px rgba(24, 33, 31, 0.12);
}

.score-center span {
    color: var(--teal-dark);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.score-center small {
    color: var(--muted);
    font-weight: 800;
}

.result-label {
    margin: 0 0 0.45rem;
    color: var(--violet);
    font-weight: 900;
}

.assessment-result h3 {
    margin-bottom: 0.55rem;
}

.assessment-result p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.warm-section {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--warm) 100%);
}

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

.tool-card {
    padding: 1.25rem;
}

.tool-card span,
.price-card span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.tool-card.premium span,
.price-card.featured span {
    color: var(--violet);
}

.tool-card p,
.price-card li {
    color: var(--muted);
}

.split-section {
    background: #f4faf8;
}

.scenario-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    align-items: center;
}

.scenario-context {
    margin: 0 0 1rem;
    color: var(--ink);
    font-weight: 850;
}

.scenario-options {
    align-items: stretch;
}

.scenario-options button {
    flex: 1 1 190px;
    min-height: 74px;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: white;
    text-align: left;
    cursor: pointer;
}

.scenario-options button.is-selected,
.scenario-options button:hover,
.scenario-options button:focus-visible {
    border-color: var(--teal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.12);
}

.scenario-feedback {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 7px;
    background: #f7fbfa;
}

.scenario-feedback span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: white;
    background: var(--violet);
    border-radius: 50%;
    font-weight: 950;
}

.scenario-feedback p {
    margin: 0;
    color: var(--muted);
}

.journal-section {
    background: white;
}

.journal-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
    align-items: center;
}

.journal-panel form,
.waitlist-form {
    display: grid;
    gap: 0.9rem;
}

.journal-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.journal-entry {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 7px;
    background: #f7fbfa;
}

.journal-entry strong {
    display: block;
}

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

.journal-entry span {
    color: var(--teal-dark);
    font-weight: 950;
}

.journal-empty {
    margin: 0;
    color: var(--muted);
}

.journal-clear {
    width: 100%;
    margin-top: 0.75rem;
}

.pricing-section {
    background: #fbfcfb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.price-card {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
}

.price-card.featured {
    border-color: rgba(94, 53, 177, 0.35);
    box-shadow: 0 24px 70px rgba(94, 53, 177, 0.16);
}

.price {
    margin: 0;
    color: var(--ink);
    font-size: 2.4rem;
    font-weight: 950;
    line-height: 1;
}

.price small {
    color: var(--muted);
    font-size: 1rem;
}

ul {
    display: grid;
    gap: 0.6rem;
    padding-left: 1.1rem;
    margin: 0;
}

.waitlist-section {
    background:
        linear-gradient(135deg, rgba(0, 137, 123, 0.12), rgba(255, 179, 0, 0.17)),
        #ffffff;
}

.waitlist-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    align-items: center;
}

.waitlist-form {
    border: 1px solid rgba(0, 137, 123, 0.16);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.form-message {
    min-height: 1.5rem;
    margin: 0;
    color: var(--teal-dark);
    font-weight: 850;
}

.site-footer {
    padding: 3rem 0;
    background: #17211f;
    color: white;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2.4fr);
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 1rem;
}

.footer-brand img {
    width: 178px;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    max-width: 350px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.footer-columns nav {
    display: grid;
    align-content: start;
    gap: 0.55rem;
}

.footer-columns h2 {
    margin: 0 0 0.25rem;
    color: white;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.footer-columns a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    line-height: 1.35;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
    color: white;
    outline: 0;
}

.page-main {
    padding-top: 5.4rem;
}

.page-hero {
    background:
        linear-gradient(120deg, rgba(0, 137, 123, 0.1), rgba(255, 179, 0, 0.13)),
        #ffffff;
    padding: 5.2rem 0 4.2rem;
}

.compact-page-hero {
    padding: 4rem 0 3.2rem;
}

.page-hero h1,
.auth-layout h1 {
    max-width: 860px;
    margin: 0;
    font-size: 3rem;
    line-height: 1.03;
}

.page-hero p:not(.section-kicker),
.auth-layout p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.page-hero-grid,
.auth-layout,
.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    gap: 1.4rem;
    align-items: center;
}

.page-visual {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.page-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-matrix,
.seo-grid,
.emotion-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-matrix article,
.seo-card,
.emotion-family,
.metric-card,
.dashboard-panel,
.table-panel,
.guide-sidebar,
.guide-cta,
.message-card {
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
}

.feature-matrix article,
.seo-card,
.emotion-family,
.metric-card,
.dashboard-panel,
.table-panel,
.guide-sidebar,
.guide-cta,
.message-card {
    padding: 1.2rem;
}

.feature-matrix span,
.seo-card span,
.metric-card span,
.guide-sidebar span,
.message-card span {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.feature-matrix h2,
.seo-card h2,
.emotion-family h2,
.dashboard-panel h2,
.table-panel h2,
.guide-body h2,
.guide-sidebar h2 {
    margin: 0 0 0.7rem;
    font-size: 1.35rem;
}

.feature-matrix p,
.seo-card p,
.emotion-family p,
.dashboard-panel p,
.table-panel p,
.guide-body p,
.message-card p {
    color: var(--muted);
}

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

.seo-card {
    display: grid;
    align-content: start;
}

.seo-card a,
.feature-matrix a,
.form-note a,
.guide-sidebar a {
    color: var(--teal-dark);
    font-weight: 900;
}

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

.benefit-grid,
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

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

.benefit-grid article,
.comparison-grid > div,
.cta-panel,
.demo-window,
.steps-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
}

.benefit-grid article,
.comparison-grid > div,
.cta-panel,
.steps-list article {
    padding: 1.2rem;
}

.benefit-grid strong,
.comparison-grid .section-kicker {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: var(--violet);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.benefit-grid h3,
.comparison-grid h2,
.cta-panel h2 {
    margin: 0 0 0.6rem;
    color: var(--ink);
    font-size: 1.35rem;
}

.benefit-grid p,
.comparison-grid p,
.cta-panel p {
    color: var(--muted);
}

.final-cta {
    padding-top: 0;
}

.cta-panel {
    display: grid;
    gap: 0.8rem;
    background:
        linear-gradient(135deg, rgba(0, 137, 123, 0.08), rgba(255, 179, 0, 0.12)),
        white;
}

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

.resource-card {
    overflow: hidden;
}

.resource-card img {
    width: calc(100% + 2.4rem);
    max-width: none;
    height: 170px;
    object-fit: cover;
    margin: -1.2rem -1.2rem 1rem;
    border-bottom: 1px solid var(--line);
}

.steps-list {
    display: grid;
    gap: 1rem;
}

.steps-list article {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.steps-list span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-weight: 950;
}

.steps-list h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.steps-list p {
    margin: 0;
    color: var(--muted);
}

.demo-screen {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
    gap: 1.2rem;
    align-items: center;
}

.demo-window {
    overflow: hidden;
    padding: 0;
}

.demo-window-bar {
    display: flex;
    gap: 0.45rem;
    padding: 1rem;
    background: #17211f;
}

.demo-window-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffb300;
}

.demo-window-bar span:nth-child(2) {
    background: #00897b;
}

.demo-window-bar span:nth-child(3) {
    background: #5e35b1;
}

.demo-window-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.2rem;
    align-items: center;
}

.demo-radar {
    aspect-ratio: 1;
    border-radius: 8px;
    background:
        radial-gradient(circle at center, transparent 0 28%, rgba(0, 137, 123, 0.12) 29% 30%, transparent 31% 54%, rgba(0, 137, 123, 0.12) 55% 56%, transparent 57%),
        conic-gradient(from 18deg, rgba(0, 137, 123, 0.75), rgba(94, 53, 177, 0.72), rgba(255, 179, 0, 0.72), rgba(0, 137, 123, 0.75));
    border: 1px solid var(--line);
}

.demo-lines {
    display: grid;
    gap: 0.6rem;
}

.demo-lines strong,
.demo-lines p {
    margin: 0;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f6faf8;
}

.demo-lines p {
    color: var(--muted);
}

.stacked-list {
    display: grid;
    gap: 0.8rem;
}

.stacked-list p {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

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

.emotion-family div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.emotion-family span {
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: #f4faf8;
    color: var(--teal-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.auth-page {
    background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 55%);
}

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

.flash {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 850;
}

.flash-success {
    color: #075e54;
    background: rgba(0, 137, 123, 0.12);
    border: 1px solid rgba(0, 137, 123, 0.18);
}

.flash-error {
    color: #7c2d12;
    background: rgba(255, 179, 0, 0.18);
    border: 1px solid rgba(255, 179, 0, 0.24);
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.metric-card strong {
    display: block;
    color: var(--teal-dark);
    font-size: 2.35rem;
    line-height: 1;
}

.metric-card p {
    margin-bottom: 0;
}

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

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

.premium-tool-card {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    min-height: 280px;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
}

.premium-tool-card span,
.module-switcher a,
.rich-choice strong {
    color: var(--violet);
    font-weight: 950;
}

.premium-tool-card span {
    font-size: 0.78rem;
    text-transform: uppercase;
}

.premium-tool-card h2,
.premium-tool-card p {
    margin: 0;
}

.premium-tool-card p {
    color: var(--muted);
}

.premium-tool-card .button {
    align-self: end;
    margin-top: auto;
}

.member-tool-groups {
    display: grid;
    gap: 3rem;
}

.member-tool-group {
    display: grid;
    gap: 1.2rem;
}

.member-tool-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.member-tool-link {
    display: grid;
    align-content: start;
    gap: 0.55rem;
    min-height: 190px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
}

.member-tool-link span {
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-tool-link.is-premium span {
    color: var(--violet);
}

.member-tool-link strong {
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.15;
}

.member-tool-link small {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.member-tool-link em {
    align-self: end;
    margin-top: auto;
    color: var(--teal-dark);
    font-style: normal;
    font-weight: 950;
}

.breathing-panel {
    align-content: center;
    text-align: center;
}

.breathing-orb {
    display: grid;
    place-items: center;
    width: min(260px, 72vw);
    aspect-ratio: 1;
    margin: 1rem auto;
    border: 1px solid rgba(0, 137, 123, 0.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9) 0 30%, rgba(0, 137, 123, 0.16) 31% 100%),
        #f4faf8;
    box-shadow: 0 24px 70px rgba(0, 137, 123, 0.16);
    transform: scale(0.9);
    transition: transform 2.8s ease-in-out, background 1s ease;
}

.breathing-orb.is-inhale {
    transform: scale(1.05);
}

.breathing-orb.is-exhale {
    transform: scale(0.86);
}

.breathing-orb.is-hold {
    transform: scale(0.98);
}

.breathing-orb span,
.breathing-orb strong {
    display: block;
}

.breathing-orb span {
    color: var(--muted);
    font-weight: 850;
}

.breathing-orb strong {
    color: var(--teal-dark);
    font-size: 2.4rem;
}

.breathing-presets {
    justify-content: center;
}

.breathing-presets button {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--violet);
    font-weight: 950;
    cursor: pointer;
}

.breathing-presets button.is-active {
    border-color: var(--teal);
    background: rgba(0, 137, 123, 0.12);
    color: var(--teal-dark);
}

.section-offset {
    margin-top: 1rem;
}

.action-list {
    display: grid;
    gap: 0.75rem;
}

.action-list a {
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f7fbfa;
    font-weight: 900;
}

.module-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.module-switcher a {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    font-size: 0.9rem;
}

.module-switcher a.is-active {
    border-color: var(--teal);
    background: rgba(0, 137, 123, 0.12);
    color: var(--teal-dark);
}

.premium-form {
    display: grid;
    gap: 0.9rem;
}

.premium-form h2 {
    margin-bottom: 0;
}

.generated-panel {
    align-content: start;
}

.generated-message {
    padding: 1rem;
    border: 1px solid rgba(0, 137, 123, 0.18);
    border-radius: 8px;
    background: #f4faf8;
    color: var(--ink);
    font-weight: 750;
    line-height: 1.65;
}

.full-row {
    grid-column: 1 / -1;
}

.table-panel {
    margin-top: 1rem;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-heading h2,
.panel-heading p {
    margin: 0;
}

.panel-heading p {
    margin-top: 0.25rem;
}

.admin-tools {
    margin-bottom: 1rem;
}

.inline-form {
    margin-top: 1rem;
}

.table-action-form {
    margin: 0;
}

.table-action-form .button {
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f4faf8;
    color: var(--teal-dark);
    font-weight: 900;
    white-space: nowrap;
}

.lesson-card {
    align-content: start;
}

.lesson-exercise {
    margin-top: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(0, 137, 123, 0.16);
    border-radius: 8px;
    background: #f4faf8;
}

.lesson-exercise span {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.lesson-exercise p {
    margin: 0;
}

.rich-choice {
    grid-template-columns: auto 1fr minmax(52px, auto);
}

.rich-choice span {
    display: grid;
    gap: 0.35rem;
}

.rich-choice small {
    color: var(--muted);
    font-weight: 650;
    line-height: 1.35;
}

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

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

th,
td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--teal-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
}

td small {
    color: var(--muted);
}

.wide-entry {
    grid-template-columns: 1fr auto;
}

.wide-entry p {
    margin: 0.4rem 0 0;
    color: var(--muted);
}

.choice-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    cursor: pointer;
}

.choice-card:has(input:checked) {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.12);
}

.choice-card small {
    color: var(--violet);
    font-weight: 950;
}

.scenario-save-card {
    display: grid;
    gap: 0.8rem;
}

.guide-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
    gap: 1.3rem;
    align-items: center;
}

.guide-header {
    max-width: 760px;
}

.guide-featured-image {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.guide-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.guide-body {
    display: grid;
    gap: 1rem;
}

.guide-body section {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.guide-section p {
    font-size: 1.02rem;
}

.guide-bullets {
    margin: 0.9rem 0 0;
    padding-left: 1.25rem;
}

.guide-bullets li {
    color: var(--muted);
}

.guide-example,
.guide-exercise {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 137, 123, 0.16);
    background: #f7fbfa;
}

.guide-exercise {
    border-color: rgba(255, 179, 0, 0.24);
    background: #fff8e7;
}

.guide-example strong,
.guide-exercise strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--teal-dark);
}

.guide-example p,
.guide-exercise p {
    margin: 0;
}

.guide-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
    display: grid;
    gap: 0.85rem;
}

.guide-sidebar a {
    display: grid;
    gap: 0.2rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.message-card {
    display: grid;
    gap: 0.45rem;
}

.message-card p {
    margin: 0;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.table-actions a {
    color: var(--teal-dark);
    font-weight: 900;
}

.admin-form-layout {
    max-width: 940px;
}

.admin-editor-form {
    gap: 1rem;
}

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

.eq-test-form {
    display: grid;
    gap: 1.2rem;
}

.eq-question-group {
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(24, 33, 31, 0.08);
    overflow: hidden;
}

.eq-question-group > header {
    padding: 1.2rem;
    background: #f4faf8;
    border-bottom: 1px solid var(--line);
}

.eq-question-group > header span {
    display: inline-flex;
    margin-bottom: 0.35rem;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.eq-question-group > header h2 {
    font-size: 1.45rem;
}

.eq-question {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 1rem 1.2rem;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.eq-question:last-child {
    border-bottom: 0;
}

.eq-question legend {
    padding: 0;
    color: var(--ink);
    font-weight: 850;
}

.scale-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    gap: 0.5rem;
}

.scale-options label {
    display: block;
}

.scale-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scale-options span {
    display: grid;
    place-items: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fbfcfb;
    color: var(--muted);
    font-weight: 950;
    cursor: pointer;
}

.scale-options input:checked + span {
    border-color: var(--teal);
    background: rgba(0, 137, 123, 0.12);
    color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.12);
}

.eq-submit-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -16px 40px rgba(24, 33, 31, 0.08);
    backdrop-filter: blur(14px);
}

.eq-submit-bar p {
    margin: 0;
    color: var(--muted);
}

.faq-list,
.legal-content {
    display: grid;
    gap: 1rem;
}

.legal-content {
    max-width: 860px;
}

.legal-content section {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.legal-content h2 {
    margin: 0 0 0.6rem;
    font-size: 1.35rem;
}

.legal-content p {
    margin: 0;
    color: var(--muted);
}

.legal-details {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
}

.legal-details div {
    display: grid;
    grid-template-columns: minmax(140px, 0.45fr) 1fr;
    gap: 0.8rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.legal-details dt {
    color: var(--text);
    font-weight: 850;
}

.legal-details dd {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 940px) {
    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-radius: 8px;
        padding: 0.7rem;
        background: #ffffff;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        justify-content: center;
    }

    .brand {
        width: 185px;
    }

    .hero {
        min-height: 0;
        padding-top: 6.4rem;
    }

    .hero h1 {
        font-size: 3.45rem;
    }

    .hero-tagline {
        font-size: 1.35rem;
    }

    .product-preview {
        width: 100%;
    }

    .intro-grid,
    .assessment-layout,
    .scenario-layout,
    .journal-layout,
    .waitlist-layout,
    .demo-screen {
        grid-template-columns: 1fr;
    }

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

    .page-hero-grid,
    .auth-layout,
    .two-column,
    .guide-hero-grid,
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .feature-matrix,
    .seo-grid,
    .emotion-grid,
    .metric-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .guide-sidebar {
        position: static;
    }

    .eq-submit-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .container,
    .hero-inner {
        width: min(100% - 28px, 1120px);
    }

    .site-header {
        padding: 0.75rem 14px;
    }

    .brand {
        width: 158px;
    }

    .hero {
        padding-top: 5.6rem;
        padding-bottom: 1.25rem;
        background-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(251, 252, 251, 0.97) 0%, rgba(251, 252, 251, 0.86) 66%, rgba(251, 252, 251, 0.38) 100%),
            linear-gradient(180deg, rgba(251, 252, 251, 0.64) 0%, rgba(251, 252, 251, 1) 100%);
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-tagline {
        font-size: 1.22rem;
    }

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

    .hero-actions {
        gap: 0.55rem;
        margin-top: 1.2rem;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 1.2rem;
    }

    .hero-metrics div {
        padding: 0.82rem;
    }

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

    .section {
        padding: 4rem 0;
    }

    h2 {
        font-size: 2rem;
    }

    .page-main {
        padding-top: 4.6rem;
    }

    .page-hero,
    .compact-page-hero {
        padding: 3rem 0 2.5rem;
    }

    .page-hero h1,
    .auth-layout h1 {
        font-size: 2.25rem;
    }

    .tools-grid,
    .solution-tools-grid,
    .pricing-grid,
    .feature-matrix,
    .seo-grid,
    .emotion-grid,
    .metric-grid,
    .premium-tool-grid,
    .member-tool-list,
    .compact-matrix,
    .benefit-grid,
    .comparison-grid,
    .demo-window-grid {
        grid-template-columns: 1fr;
    }

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

    .guide-featured-image,
    .page-visual {
        aspect-ratio: 16 / 11;
    }

    .legal-details div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .scenario-feedback {
        grid-template-columns: 1fr;
    }

    .panel-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .panel-heading .button {
        width: 100%;
    }

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

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

    .scale-options {
        grid-template-columns: repeat(5, minmax(40px, 1fr));
    }
}
