@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
    --bg: #fbfaf6;
    --ink: #17233c;
    --ink-soft: #eef4f5;
    --panel: #ffffff;
    --panel-raised: #f6f3ec;
    --paper: #17233c;
    --paper-dim: #47556d;
    --muted: #5e6a7c;
    --gold: #b9412f;
    --gold-bright: #943425;
    --gold-soft: rgba(185, 65, 47, 0.12);
    --green: #4f9d79;
    --line: rgba(23, 35, 60, 0.12);
    --line-strong: rgba(23, 35, 60, 0.2);
    --shadow: 0 24px 70px rgba(39, 61, 89, 0.14);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --wrap: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 85% 8%, rgba(103, 172, 198, 0.16), transparent 25rem),
        var(--bg);
    color: var(--paper);
    font-family: "Manrope", system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open,
body.dialog-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--paper);
    color: #ffffff;
    text-decoration: none;
}

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

:focus-visible {
    outline: 3px solid #367f9a;
    outline-offset: 3px;
}

.site-nav {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(251, 250, 246, 0.84);
    backdrop-filter: blur(20px);
    transition: border-color 180ms ease, background 180ms ease;
}

.site-nav.is-scrolled {
    border-color: var(--line);
    background: rgba(251, 250, 246, 0.96);
}

.nav-shell {
    width: min(calc(100% - 40px), var(--wrap));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.brand-mark {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    background: url("/logo-mark.svg") center / contain no-repeat;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-links a {
    color: var(--paper-dim);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--paper);
}

.nav-account-link {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-link {
    color: var(--paper-dim);
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
}

.nav-toggle span {
    display: block;
    width: 17px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.button {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button[aria-disabled="true"] {
    cursor: not-allowed;
    border-color: #697586;
    background: #697586;
    color: #ffffff;
    opacity: 1;
    transform: none;
}

.button-primary {
    background: var(--gold);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--gold-bright);
}

.button-primary[aria-disabled="true"],
.button-primary[aria-disabled="true"]:hover {
    border-color: #697586;
    background: #697586;
    transform: none;
}

.button-secondary {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.72);
    color: var(--paper);
}

.button-secondary:hover {
    border-color: rgba(148, 52, 37, 0.5);
    background: var(--gold-soft);
}

.button-small {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.78rem;
}

.arrow {
    width: 16px;
    height: 16px;
    transition: transform 160ms ease;
}

.button:hover .arrow {
    transform: translateX(3px);
}

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

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 76px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.45;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
    align-items: center;
    gap: clamp(56px, 8vw, 112px);
}

.eyebrow {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.cta-panel h2 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(3.6rem, 7.2vw, 7.2rem);
}

.hero h1 em {
    color: var(--gold-bright);
    font-weight: 400;
}

.hero-copy {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--paper-dim);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin: 26px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.hero-note span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-note span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(79, 157, 121, 0.1);
}

.system-card {
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.system-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(107, 169, 190, 0.08), transparent 42%);
}

.system-topbar {
    min-height: 58px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.system-label,
.live-status,
.node-kicker,
.event-time,
.workflow-number,
.section-index,
.tag,
.post-meta,
.micro-label {
    font-family: "DM Mono", monospace;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.system-label {
    color: var(--paper-dim);
}

.live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
}

.live-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 7px rgba(79, 157, 121, 0); }
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 157, 121, 0.2); }
}

.system-body {
    padding: 22px;
}

.trigger-card {
    padding: 18px;
    border: 1px solid rgba(255, 118, 87, 0.34);
    border-radius: 14px;
    background: var(--gold-soft);
}

.node-kicker {
    margin-bottom: 7px;
    color: var(--gold-bright);
}

.trigger-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.9rem;
    font-weight: 700;
}

.status-pill {
    padding: 4px 8px;
    border: 1px solid rgba(79, 157, 121, 0.28);
    border-radius: 999px;
    color: var(--green);
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
}

.flow-line {
    width: 1px;
    height: 23px;
    margin-left: 24px;
    background: linear-gradient(var(--gold), var(--line));
}

.flow-steps {
    display: grid;
    gap: 9px;
}

.flow-step {
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 10px;
    background: rgba(238, 244, 245, 0.56);
}

.flow-step-index {
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
    font-size: 0.66rem;
}

.flow-step strong {
    font-size: 0.78rem;
}

.flow-step small {
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 0.61rem;
}

.system-event {
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.event-copy {
    color: var(--paper-dim);
    font-size: 0.73rem;
}

.event-copy strong {
    color: var(--paper);
}

.event-time {
    color: var(--muted);
    white-space: nowrap;
}

.signal-strip {
    border-block: 1px solid var(--line);
    background: rgba(238, 244, 245, 0.42);
}

.signal-grid {
    min-height: 105px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.signal {
    padding: 24px 25px;
    border-right: 1px solid var(--line);
}

.signal:last-child {
    border-right: 0;
}

.signal strong {
    display: block;
    margin-bottom: 5px;
    color: var(--paper);
    font-size: 0.9rem;
}

.signal span {
    color: var(--muted);
    font-size: 0.76rem;
}

.section {
    padding: 112px 0;
}

.section-tight {
    padding: 78px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
}

.section-index {
    padding-top: 9px;
    color: var(--gold-bright);
}

.section-heading h2 {
    max-width: 760px;
    font-size: clamp(2.65rem, 5vw, 5.2rem);
}

.section-heading p {
    max-width: 610px;
    margin: 24px 0 0;
    color: var(--paper-dim);
    font-size: 1rem;
}

.problem-grid,
.service-grid,
.principle-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.problem-card,
.service-card,
.principle-card,
.post-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
}

.problem-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.problem-card .number {
    color: var(--gold-bright);
    font-family: "Newsreader", Georgia, serif;
    font-size: 3.4rem;
    line-height: 1;
}

.problem-card h3,
.service-card h3,
.principle-card h3,
.post-card h2 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.35;
}

.problem-card p,
.service-card p,
.principle-card p,
.post-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.surface-section {
    border-block: 1px solid var(--line);
    background: var(--ink-soft);
}

.service-card {
    min-height: 285px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 118, 87, 0.3);
    background: var(--panel);
}

.service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 54px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
}

.service-card h3 {
    font-size: 1.08rem;
}

.service-card a {
    margin-top: 22px;
    display: inline-flex;
    color: var(--paper-dim);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

/* Organisation and personal routes */
.audience-section {
    padding-bottom: 28px;
}

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

.audience-card {
    min-height: 370px;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 18px 52px rgba(39, 61, 89, 0.06);
}

.audience-card-private {
    background: #eaf3ef;
}

.audience-card h3 {
    margin: 44px 0 16px;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.audience-card > p {
    max-width: 510px;
    margin: 0;
    color: var(--paper-dim);
    font-size: 0.88rem;
}

.audience-actions {
    margin-top: auto;
    padding-top: 36px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.audience-actions .text-link {
    font-size: 0.76rem;
}

/* FastAgent Private */
.personal-hero {
    background: linear-gradient(120deg, rgba(234, 243, 239, 0.78), rgba(220, 236, 239, 0.46));
}

.personal-hero h1 {
    max-width: 1050px;
}

.personal-hero .hero-actions {
    margin-top: 34px;
}

.private-product {
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
    background: #fff;
    box-shadow: var(--shadow);
}

.product-status {
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3a7f60;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(79, 157, 121, 0.12);
}

.private-product h2 {
    margin: 14px 0 18px;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.5rem, 6vw, 6.2rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.94;
}

.private-product-lead {
    margin: 0;
    color: var(--paper-dim);
}

.private-product .hero-actions {
    margin-top: 32px;
}

.private-inbox {
    padding: 18px;
    border: 1px solid rgba(23, 35, 60, 0.16);
    border-radius: 22px;
    background: #eef4f5;
    box-shadow: 0 24px 55px rgba(39, 61, 89, 0.13);
}

.private-inbox-top,
.private-inbox-foot {
    padding: 10px 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.67rem;
}

.private-inbox-top strong,
.private-inbox-foot strong {
    color: var(--paper);
}

.private-inbox-top span {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 118, 87, 0.12);
    color: var(--gold-bright);
}

.private-message {
    min-height: 86px;
    margin-bottom: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 13px;
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
}

.private-message.is-priority {
    border-color: rgba(79, 157, 121, 0.32);
    background: #fff;
}

.message-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6ba9be;
}

.private-message strong,
.private-message small {
    display: block;
}

.private-message strong {
    font-size: 0.78rem;
}

.private-message small,
.private-message > span:last-child,
.private-inbox-foot {
    color: var(--muted);
    font-size: 0.64rem;
}

.private-inbox-foot {
    padding: 14px 8px 2px;
}

.private-control {
    background: #eaf3ef;
}

.personal-section-title {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.personal-section-copy {
    max-width: 680px;
    margin: 24px 0 18px;
    color: var(--paper-dim);
}

.personal-inline-link {
    color: var(--gold-bright);
    font-size: 0.8rem;
}

.private-cta {
    background: #dfeee7;
}

.workflow-shell {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    overflow: hidden;
    background: var(--panel);
}

.workflow-tabs {
    padding: 12px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.workflow-tab {
    width: 100%;
    padding: 18px;
    border: 0;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    text-align: left;
    background: transparent;
    color: var(--muted);
    transition: color 160ms ease, background 160ms ease;
}

.workflow-tab:hover,
.workflow-tab[aria-selected="true"] {
    background: rgba(238, 244, 245, 0.8);
    color: var(--paper);
}

.workflow-tab[aria-selected="true"] .workflow-number {
    color: var(--gold-bright);
}

.workflow-tab strong {
    font-size: 0.84rem;
}

.workflow-panel {
    min-height: 530px;
    padding: clamp(32px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.workflow-panel[hidden] {
    display: none;
}

.workflow-panel h3 {
    max-width: 650px;
    margin: 12px 0 18px;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.workflow-panel > div > p {
    max-width: 610px;
    margin: 0;
    color: var(--paper-dim);
}

.workflow-map {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.workflow-map span {
    position: relative;
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    color: var(--paper-dim);
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    line-height: 1.45;
    text-transform: uppercase;
}

.workflow-map span:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -12px;
    width: 16px;
    color: var(--gold-bright);
    text-align: center;
    transform: translateY(-50%);
}

.workflow-foot {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.74rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--paper-dim);
}

.process-list {
    counter-reset: process;
    border-top: 1px solid var(--line);
}

.process-row {
    counter-increment: process;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 72px minmax(190px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 28px;
}

.process-row::before {
    content: "0" counter(process);
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
    font-size: 0.7rem;
}

.process-row h3 {
    margin: 0;
    font-size: 1rem;
}

.process-row p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.control-panel {
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 80px;
    background:
        radial-gradient(circle at 10% 90%, rgba(107, 169, 190, 0.14), transparent 23rem),
        var(--panel);
}

.control-panel h2 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.7rem, 4.5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1;
}

.control-panel > div > p {
    color: var(--paper-dim);
}

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

.control-item {
    padding: 18px 18px 18px 52px;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
}

.control-item::before {
    content: "✓";
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
}

.control-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.82rem;
}

.control-item span {
    color: var(--muted);
    font-size: 0.76rem;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    padding: 24px 42px 24px 0;
    position: relative;
    cursor: pointer;
    list-style: none;
    font-size: 0.96rem;
    font-weight: 600;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 22px;
    right: 4px;
    color: var(--gold-bright);
    font-family: "DM Mono", monospace;
    font-size: 1.2rem;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list p {
    max-width: 760px;
    margin: -8px 0 26px;
    color: var(--muted);
    font-size: 0.86rem;
}

.cta-section {
    padding: 20px 0 112px;
}

.cta-panel {
    padding: clamp(40px, 7vw, 88px);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: #dcecef;
    color: var(--ink);
}

.cta-panel::after {
    content: "FA";
    position: absolute;
    right: -2%;
    bottom: -26%;
    color: rgba(23, 35, 60, 0.06);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(10rem, 26vw, 23rem);
    line-height: 1;
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel .eyebrow {
    color: var(--ink);
}

.cta-panel h2 {
    max-width: 850px;
    font-size: clamp(3rem, 6vw, 6.5rem);
}

.cta-panel p {
    max-width: 620px;
    margin: 24px 0 32px;
    color: rgba(23, 35, 60, 0.72);
}

.cta-panel .button-primary {
    background: var(--ink);
    color: #fff;
}

.cta-panel .button-secondary {
    border-color: rgba(23, 35, 60, 0.25);
    color: var(--ink);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.6fr);
    gap: 48px;
}

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

.footer-brand p {
    max-width: 320px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-column h3 {
    margin: 0 0 15px;
    color: var(--paper-dim);
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column a {
    margin: 7px 0;
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--paper);
}

.footer-bottom {
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 0.61rem;
    text-transform: uppercase;
}

/* Intake dialog */
.intake-dialog {
    width: min(760px, calc(100% - 28px));
    max-height: min(88vh, 900px);
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: var(--panel);
    color: var(--paper);
    box-shadow: var(--shadow);
    overflow: auto;
}

.intake-dialog::backdrop {
    background: rgba(23, 35, 60, 0.48);
    backdrop-filter: blur(8px);
}

.dialog-inner {
    padding: clamp(28px, 6vw, 56px);
}

.dialog-close {
    position: sticky;
    z-index: 2;
    top: 14px;
    float: right;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-raised);
    color: var(--paper);
    font-size: 1.2rem;
}

.intake-dialog h2 {
    margin: 0 48px 8px 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.dialog-intro {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.field {
    margin-bottom: 18px;
}

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

.field label,
.field legend {
    margin-bottom: 7px;
    display: block;
    color: var(--paper-dim);
    font-size: 0.72rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbfaf6;
    color: var(--paper);
    outline: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px;
}

.field textarea {
    min-height: 110px;
    padding: 13px 14px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa2ad;
}

.required {
    color: var(--gold-bright);
}

fieldset.field {
    padding: 0;
    border: 0;
}

.channel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.channel-chip {
    position: relative;
    display: inline-flex;
}

.channel-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.channel-chip span {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.7rem;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.channel-chip input:checked + span {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-bright);
}

.channel-chip input:focus-visible + span {
    outline: 3px solid #367f9a;
    outline-offset: 3px;
}

.consent-row {
    margin-top: 11px;
    display: grid;
    gap: 10px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.68rem;
}

.consent-label input {
    margin-top: 3px;
    accent-color: var(--gold);
}

.consent-label a {
    color: var(--paper-dim);
}

.form-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.form-note {
    color: var(--muted);
    font-size: 0.68rem;
}

.form-status {
    min-height: 24px;
    margin: 12px 0 0;
    color: var(--paper-dim);
    font-size: 0.72rem;
}

.form-status.is-error {
    color: #b63e32;
}

.success-state {
    padding: 28px 0;
    text-align: center;
}

.success-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border: 1px solid rgba(79, 157, 121, 0.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green);
}

/* Interior pages */
.page-hero {
    padding: 104px 0 74px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 980px;
    font-size: clamp(3.5rem, 7vw, 7rem);
}

.page-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--paper-dim);
    font-size: 1.05rem;
}

.page-lead {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 60px;
}

.page-lead > p {
    margin: 0;
    color: var(--paper-dim);
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    line-height: 1.15;
}

.prose {
    max-width: 760px;
}

.prose h2 {
    margin: 50px 0 14px;
    font-family: "Newsreader", Georgia, serif;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.prose p,
.prose li {
    color: var(--paper-dim);
}

.prose a {
    color: var(--gold-bright);
}

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

.post-card {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-card h2 {
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card h2 a:hover {
    color: var(--gold-bright);
}

.post-meta {
    margin-bottom: 16px;
    color: var(--gold-bright);
}

/* Account access and edition registration */
.access-main {
    min-height: calc(100vh - 76px);
    padding: 88px 0 112px;
}

.access-intro {
    max-width: 760px;
    margin-bottom: 48px;
}

.access-intro h1 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.4rem, 7vw, 6.7rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.access-intro > p:last-child {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--paper-dim);
}

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

.edition-card {
    min-height: 480px;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 18px 52px rgba(39, 61, 89, 0.08);
}

.edition-card-private {
    background: #eef4f5;
}

.edition-type {
    margin-bottom: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.edition-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #dcecef;
    color: #477e93;
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
}

.edition-card-private .edition-icon {
    background: rgba(79, 157, 121, 0.13);
    color: #3a7f60;
}

.edition-badge {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 0.61rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.edition-card h2 {
    margin: 0 0 12px;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.edition-card > p {
    margin: 0;
    color: var(--paper-dim);
    font-size: 0.87rem;
}

.edition-points {
    margin: 28px 0 34px;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.edition-points li {
    padding-left: 22px;
    position: relative;
    color: var(--muted);
    font-size: 0.76rem;
}

.edition-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
}

.edition-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.edition-actions .button {
    flex: 1 1 170px;
}

.edition-detail-link {
    margin-top: 18px;
    align-self: flex-start;
    color: var(--paper-dim);
    font-size: 0.72rem;
    font-weight: 700;
}

.access-note {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 0.7rem;
    text-align: center;
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(34px, 7vw, 86px);
}

.registration-copy {
    position: sticky;
    top: 112px;
}

.registration-copy h1 {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(3.2rem, 6vw, 5.7rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.registration-copy > p {
    color: var(--paper-dim);
}

.provision-note {
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #eef4f5;
    color: var(--paper-dim);
    font-size: 0.75rem;
}

.provision-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--paper);
}

.registration-card {
    padding: clamp(28px, 5vw, 50px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 18px 52px rgba(39, 61, 89, 0.08);
}

.edition-selector {
    margin-bottom: 28px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 13px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    background: #f6f3ec;
}

.edition-choice input {
    position: absolute;
    opacity: 0;
}

.edition-choice span {
    min-height: 46px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
}

.edition-choice input:checked + span {
    background: #fff;
    color: var(--paper);
    box-shadow: 0 3px 12px rgba(39, 61, 89, 0.08);
}

.registration-card h2 {
    margin: 0 0 8px;
    font-family: "Newsreader", Georgia, serif;
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.registration-card > p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 0.78rem;
}

.registration-card form > p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 0.78rem;
}

.private-registration-main {
    background: linear-gradient(135deg, rgba(234, 243, 239, 0.42), transparent 45%);
}

.private-registration-card {
    border-color: rgba(79, 157, 121, 0.26);
}

.private-goal-grid .channel-chip span {
    padding: 10px 13px;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
        padding: 42px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: rgba(251, 250, 246, 0.99);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 180ms ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .nav-links .nav-account-link {
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions .button,
    .nav-actions .text-link {
        display: none;
    }

    .hero-grid,
    .section-heading,
    .control-panel,
    .page-lead,
    .registration-layout,
    .private-product {
        grid-template-columns: 1fr;
    }

    .private-product {
        gap: 54px;
    }

    .hero {
        padding-top: 74px;
    }

    .hero-grid {
        gap: 58px;
    }

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

    .section-heading {
        gap: 12px;
    }

    .problem-grid,
    .service-grid,
    .principle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-shell {
        grid-template-columns: 1fr;
    }

    .workflow-tabs {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .control-panel {
        gap: 44px;
    }

    .registration-copy {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.3fr repeat(2, 0.7fr);
    }

    .footer-column:last-child {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .wrap,
    .nav-shell {
        width: min(calc(100% - 28px), var(--wrap));
    }

    .brand-lockup {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: clamp(3.45rem, 17vw, 5.4rem);
    }

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

    .hero-note {
        flex-direction: column;
    }

    .system-body {
        padding: 14px;
    }

    .flow-step {
        grid-template-columns: 24px 1fr;
    }

    .flow-step small {
        display: none;
    }

    .signal-grid,
    .problem-grid,
    .service-grid,
    .principle-grid,
    .post-grid,
    .form-grid,
    .access-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-card {
        min-height: 340px;
    }

    .signal-grid {
        padding: 10px 0;
    }

    .signal {
        padding: 14px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .signal:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 82px 0;
    }

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

    .problem-card,
    .service-card {
        min-height: 0;
    }

    .service-icon {
        margin-bottom: 36px;
    }

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

    .workflow-panel {
        min-height: 560px;
        padding: 28px 20px;
    }

    .workflow-map {
        grid-template-columns: 1fr;
    }

    .workflow-map span {
        min-height: 58px;
    }

    .workflow-map span:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 50%;
        bottom: -15px;
        transform: translateX(50%);
    }

    .workflow-foot {
        flex-direction: column;
    }

    .process-row {
        grid-template-columns: 38px 1fr;
        gap: 16px;
    }

    .process-row p {
        grid-column: 2;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom,
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-footer .button {
        width: 100%;
    }

    .page-hero {
        padding-top: 76px;
    }

    .access-main {
        padding-top: 64px;
    }

    .edition-card {
        min-height: 0;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
