.toa-subscription-page .wp-site-blocks > main,
.toa-subscription-page .wp-site-blocks > footer { margin-block-start: 0 !important; }
.toa-subscription-page .wp-site-blocks > main > .wp-block-group { padding-block: 0 !important; }

.toa-subscription-landing {
    --landing-ink: #e3dbce;
    --landing-dim: #c2b8aa;
    --landing-accent: #c8a779;
    --landing-rule: #53473a;
    --landing-surface: #201c18;
    --landing-serif: "Times New Roman", Georgia, serif;
    color: var(--landing-ink);
    background: #181613;
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
    line-height: 1.65;
    padding: 0 clamp(18px, 5vw, 76px) clamp(64px, 9vw, 120px);
    overflow-wrap: anywhere;
}
.toa-subscription-landing p { word-break: keep-all; }
.toa-subscription-landing :is(h1, h2, h3, p) { margin: 0; color: inherit; }
.toa-subscription-landing :is(h1, h2, h3) {
    font-family: var(--landing-serif);
    font-weight: 400;
    line-height: 1.05;
}
.toa-subscription-landing > :is(section, .toa-landing-closing) {
    max-width: 1160px;
    margin-inline: auto;
}
.toa-subscription-landing .toa-landing-invitation {
    position: relative;
    display: grid;
    gap: 18px;
    justify-items: start;
    padding-block: clamp(42px, 7.7vw, 108px);
    border-block-end: 1px solid var(--landing-rule);
}
.toa-subscription-landing .toa-landing-invitation h1 {
    font-size: clamp(2.25rem, 8.7vw, 8.1rem);
    letter-spacing: -.045em;
}
.toa-subscription-landing .toa-landing-slogan,
.toa-subscription-landing .toa-landing-eyebrow {
    color: var(--landing-accent);
    letter-spacing: .12em;
    font-size: .75rem;
    line-height: 1.4;
}
.toa-subscription-landing .toa-landing-kicker {
    color: var(--landing-accent);
    font-size: .76rem;
    letter-spacing: .15em;
}
.toa-subscription-landing .toa-landing-invitation-copy {
    max-width: 31ch;
    color: var(--landing-dim);
    font-size: clamp(1rem, 2vw, 1.35rem);
}
.toa-subscription-landing .toa-landing-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-block-start: 8px;
}
.toa-subscription-landing .toa-landing-cta .toa-landing-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding-inline: 24px;
    border: 1px solid var(--landing-accent);
    background: var(--landing-accent);
    color: #201912;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-decoration: none;
}
.toa-subscription-landing .toa-landing-cta .toa-landing-primary:hover { background: var(--landing-ink); }
.toa-subscription-landing .toa-landing-cta .toa-landing-primary:focus-visible {
    outline: 2px solid var(--landing-ink);
    outline-offset: 4px;
}
.toa-subscription-landing :is(.toa-landing-access-link, .toa-landing-guide-links a) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--landing-accent);
    text-underline-offset: .23em;
    font-size: .92rem;
}
.toa-subscription-landing :is(.toa-landing-access-link, .toa-landing-guide-links a):focus-visible {
    outline: 2px solid var(--landing-ink);
    outline-offset: 3px;
}
.toa-subscription-landing .toa-landing-guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-block-start: 18px;
}
.toa-subscription-landing .toa-landing-section {
    padding-block: clamp(34px, 6vw, 83px);
    border-block-end: 1px solid var(--landing-rule);
    scroll-margin-top: 7rem;
}
.toa-subscription-landing .toa-landing-section > h2 {
    font-size: clamp(2rem, 5.3vw, 4.8rem);
    letter-spacing: -.026em;
}
.toa-subscription-landing .toa-landing-section :is(.toa-landing-experience-grid, .toa-landing-plan-grid, .toa-landing-guide-items) {
    display: grid;
    gap: clamp(12px, 2vw, 25px);
    margin-block-start: 27px;
}
.toa-subscription-landing :is(.toa-landing-experience-grid, .toa-landing-guide-items) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.toa-subscription-landing .toa-landing-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.toa-subscription-landing :is(.toa-landing-experience, .toa-landing-plan, .toa-landing-guide-item, .toa-landing-founding) {
    margin-block: 0;
    padding: clamp(18px, 3vw, 35px);
    border: 1px solid var(--landing-rule);
    background: var(--landing-surface);
}
.toa-subscription-landing .toa-landing-section :is(h3, .toa-landing-plan-price) {
    font-size: clamp(1.3rem, 2.6vw, 2.4rem);
}
.toa-subscription-landing .toa-landing-section :is(.toa-landing-guide-item h3, .toa-landing-plan-price) {
    font-family: inherit;
    line-height: 1.45;
    font-size: 1.05rem;
}
.toa-subscription-landing .toa-landing-section h3 + p { margin-block-start: 12px; }
.toa-subscription-landing .toa-landing-experience .toa-landing-eyebrow { margin-block-end: 15px; }
.toa-subscription-landing .toa-landing-section p:not(.toa-landing-eyebrow) { color: var(--landing-dim); }
.toa-subscription-landing .toa-landing-journey .toa-landing-eyebrow { margin-block-end: 13px; }
.toa-subscription-landing .toa-landing-journey > p:not(.toa-landing-eyebrow) { margin-block-start: 10px; }
.toa-subscription-landing .toa-landing-journey .toa-landing-journey-slogan {
    color: var(--landing-accent);
    letter-spacing: .11em;
    font-family: var(--landing-serif);
}
.toa-subscription-landing .toa-landing-plan-notice { margin-block-start: 14px; }
.toa-subscription-landing .toa-landing-feature-caption {
    border-inline-start: 2px solid var(--landing-accent);
    margin-block-start: 26px;
    padding-inline-start: clamp(16px, 3vw, 36px);
}
.toa-subscription-landing .toa-landing-hero-image {
    aspect-ratio: 16 / 7;
    height: auto;
    min-height: 0;
    margin-block-start: 30px;
}
.toa-subscription-landing .toa-landing-experience-image {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    margin-block: 20px 15px;
}
.toa-subscription-landing .toa-landing-experience-image.toa-landing-placeholder {
    background: #29231e;
    border: 1px solid var(--landing-rule);
}
.toa-subscription-landing .toa-landing-hero-image.toa-landing-placeholder {
    background: radial-gradient(ellipse at 58% 85%, #32291f, #1d1a16 69%, #151310);
    border: 1px solid var(--landing-rule);
}
.toa-subscription-landing .toa-landing-founding { margin-block-start: 16px; }
.toa-subscription-landing .toa-landing-plan .toa-landing-plan-price { margin-block-start: 16px; color: var(--landing-accent); }
.toa-subscription-landing .toa-landing-closing { padding-block-start: clamp(34px, 6vw, 70px); }
.toa-subscription-landing .toa-landing-closing h2 {
    color: var(--landing-accent);
    font-size: clamp(1.4rem, 4vw, 3rem);
    letter-spacing: .035em;
}
@media (max-width: 730px) {
    .toa-subscription-landing :is(.toa-landing-experience-grid, .toa-landing-guide-items) { grid-template-columns: 1fr; }
    .toa-subscription-landing .toa-landing-hero-image { aspect-ratio: 4 / 3; }
}

/* Editorial layout for the updated landing pattern. */
.toa-subscription-page .wp-site-blocks:has(.toa-editorial):has(.toa-footer) { background: #181716; }
.toa-subscription-landing.toa-editorial {
    --landing-rule: #493f36;
    --landing-dim: #c9c0b4;
    background: #181716;
    container-type: inline-size;
}
.toa-editorial .toa-landing-invitation {
    gap: clamp(12px, 2.3vw, 26px);
    padding-block: clamp(42px, 8vw, 118px);
}
.toa-editorial .toa-landing-invitation h1 {
    font-size: clamp(2.53rem, 9vw, 8.4rem);
    letter-spacing: -.047em;
    max-inline-size: 100%;
}
.toa-editorial .toa-landing-cta .toa-landing-primary {
    background: transparent;
    color: var(--landing-ink);
    border-color: var(--landing-accent);
}
.toa-editorial .toa-landing-cta .toa-landing-primary:hover {
    color: #181716;
    background: var(--landing-accent);
}
.toa-editorial .toa-landing-section { padding-block: clamp(35px, 6vw, 86px); }
.toa-editorial .toa-landing-experience {
    display: grid;
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
    align-items: center;
    column-gap: clamp(12px, 6vw, 88px);
    border: 0;
    padding: 0;
    background: none;
    margin-block: clamp(24px, 4.7vw, 72px) 0;
}
.toa-editorial .toa-editorial-book { grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
.toa-editorial .toa-editorial-book .toa-landing-experience-image { grid-column: 2; grid-row: 1; }
.toa-editorial .toa-editorial-book .toa-editorial-copy { grid-column: 1; grid-row: 1; }
.toa-editorial .toa-landing-experience-image {
    aspect-ratio: 3 / 4;
    width: 100%;
    margin: 0;
    padding: 0;
}
.toa-editorial .toa-editorial-copy { min-width: 0; max-width: 34ch; }
.toa-editorial .toa-landing-experience h3 {
    font-size: clamp(1.49rem, 5.4vw, 4.8rem);
    letter-spacing: -.025em;
}
.toa-editorial .toa-editorial-copy .toa-landing-eyebrow { margin-block-end: clamp(7px, 1.6vw, 18px); }
.toa-editorial .toa-editorial-copy :is(.toa-editorial-long, .toa-editorial-short) {
    margin-block-start: clamp(8px, 1.7vw, 20px);
    font-size: clamp(.885rem, 1.3vw, 1.13rem);
    line-height: 1.62;
    word-break: keep-all;
}
.toa-editorial .toa-editorial-short { display: none; }
.toa-editorial .toa-landing-journey .toa-landing-hero-image { aspect-ratio: 1672 / 941; padding: 0; }
.toa-editorial .toa-landing-journey .toa-landing-feature-caption {
    padding-inline-start: 0;
    border: 0;
    margin-block-start: clamp(14px, 2.2vw, 31px);
}
.toa-editorial .toa-landing-feature-caption p { max-width: 56ch; }
.toa-editorial :is(.toa-landing-plan, .toa-landing-guide-item, .toa-landing-founding) {
    padding: 18px 0 0;
    background: transparent;
    border: 0;
    border-block-start: 1px solid var(--landing-rule);
}
.toa-editorial .toa-landing-founding { margin-block-start: 26px; }
.toa-editorial .toa-editorial-plan-note { max-width: 58ch; margin-block-start: 8px; }
.toa-editorial .toa-landing-plan .toa-landing-plan-price { margin-block-start: 8px; }
.toa-editorial .toa-landing-closing { padding-block-end: 16px; }

@media (max-width: 620px) {
    .toa-editorial .toa-landing-experience { column-gap: 12px; }
    .toa-editorial .toa-editorial-long { display: none; }
    .toa-editorial .toa-editorial-short { display: block; }
    .toa-editorial .toa-landing-eyebrow { font-size: .67rem; letter-spacing: .1em; }
}
@container (max-width: 330px) {
    .toa-editorial .toa-landing-experience { display: block; }
    .toa-editorial .toa-landing-experience-image { max-inline-size: 76%; }
    .toa-editorial .toa-editorial-copy { margin-block-start: 14px; }
    .toa-editorial .toa-landing-invitation h1 { font-size: clamp(2rem, 13.7cqi, 2.75rem); }
}
@container (max-width: 20rem) {
    .toa-editorial .toa-landing-experience { display: block; }
    .toa-editorial .toa-editorial-copy { margin-block-start: 14px; }
}

/* Only the refined page owns the surrounding theme canvas. */
body.toa-subscription-page:has(.toa-refined),
.toa-subscription-page .wp-site-blocks:has(.toa-refined),
.toa-subscription-page main:has(.toa-refined),
.toa-subscription-page main :is(.wp-block-group, .entry-content):has(.toa-refined) {
    background: #100f0d !important;
}
.toa-subscription-landing.toa-refined {
    --landing-ink: #ddd5c8;
    --landing-dim: #c5bdb1;
    --landing-rule: #39332c;
    --landing-accent: #b79a79;
    background: #100f0d;
    padding-bottom: max(100px, calc(76px + env(safe-area-inset-bottom)));
}
.toa-refined .toa-refined-masthead {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 4px 14px;
    padding-block: clamp(20px, 4vw, 44px) 12px;
    border-bottom: 1px solid var(--landing-rule);
}
.toa-refined .toa-refined-masthead h1 { font-size: clamp(1.48rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.toa-refined .toa-refined-action {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--landing-accent); font-size: .94rem; text-decoration: underline;
    text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.toa-refined .toa-refined-action:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.toa-refined .toa-refined-lead {
    font: 400 clamp(2.6rem, 6.7vw, 6.1rem)/.98 var(--landing-serif);
    letter-spacing: -.043em; padding-top: clamp(38px, 6vw, 84px);
}
.toa-refined .toa-refined-lead,
.toa-refined .toa-refined-lead em {
    color: var(--landing-ink);
    font-style: normal;
}
.toa-refined .toa-refined-deck { margin-top: 16px; color: var(--landing-dim); }
.toa-refined .toa-landing-experience h2 { font-size: clamp(1.48rem, 5vw, 4.8rem); letter-spacing: -.035em; }
.toa-refined .toa-editorial-copy .toa-refined-description { margin-top: 12px; font-size: clamp(.92rem, 1.35vw, 1.14rem); }
.toa-refined .toa-landing-experience:first-child { margin-top: 0; }
.toa-refined .toa-landing-feature-caption h3,
.toa-refined .toa-landing-plan h3 { font-size: clamp(1.13rem, 2.2vw, 1.8rem); }
.toa-refined .toa-landing-plan .toa-refined-action { margin-top: 7px; }
.toa-refined .toa-refined-notice { margin-top: 22px; scroll-margin-block: 35vh; }
.toa-refined .toa-refined-notice:target { color: var(--landing-ink); text-decoration: underline; text-underline-offset: .25em; }
.toa-refined .toa-landing-guide-items { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.toa-refined .toa-landing-guide-item p + p { margin-top: .65em; }
.toa-refined .toa-landing-guide { border: 0; padding-bottom: 0; }
@media (max-width: 730px) {
    .toa-refined .toa-landing-guide-items { grid-template-columns: 1fr; }
}

/* Supplemental links retain the approved Cover and heading block geometry. */
.toa-refined .toa-landing-journey .toa-polish-more { margin-block-start: 2px; }
.toa-refined .toa-landing-journey .toa-polish-more a,
.toa-refined .toa-polish-detail a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--landing-accent);
    font-size: .94rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .3em;
}
.toa-refined .toa-landing-journey .toa-polish-heading-link {
    color: inherit;
    text-decoration: none;
    font: inherit;
    letter-spacing: inherit;
}
.toa-refined .toa-landing-journey .toa-polish-heading-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.toa-refined .toa-landing-journey .toa-polish-photo-link { position: absolute; inset: 0; z-index: 3; }
.toa-refined .toa-landing-journey :is(.toa-polish-more a, .toa-polish-heading-link, .toa-polish-photo-link):focus-visible,
.toa-refined .toa-polish-detail a:focus-visible {
    outline: 2px solid var(--landing-ink);
    outline-offset: 3px;
}
.toa-refined .toa-landing-journey .toa-polish-photo-link:focus-visible { outline-offset: -3px; }

/* ABOUT TOA is its own movable Group block with an editor-owned link. */
.toa-refined .toa-landing-section:has(+ .toa-polish-about) { border-block-end: 0; }
.toa-refined .toa-polish-about {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding-block: clamp(12px, 2vw, 26px);
    border-block: 1px solid var(--landing-rule);
}
.toa-refined .toa-polish-about > h2 {
    font-size: clamp(1.45rem, 3vw, 2.6rem);
    letter-spacing: -.025em;
    color: var(--landing-ink);
}
.toa-refined .toa-polish-detail a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.toa-refined .toa-polish-detail a:focus-visible::after {
    outline: 2px solid var(--landing-ink);
    outline-offset: 3px;
}

/* 1.4.0 — pre-launch free start / founding pre-registration controls */
.toa-subscription-landing .toa-founding-form { display: inline-flex; margin: 0; }
.toa-subscription-landing .toa-founding-form button {
    margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: .94rem; line-height: inherit;
}
.toa-refined .toa-founding-form button.toa-refined-action { color: var(--landing-accent); }
.toa-refined .toa-refined-action.toa-founding-status { color: var(--landing-ink); text-decoration: none; }
.toa-subscription-landing .toa-founding-cancel {
    min-height: 44px; margin-inline-start: 14px !important; color: var(--landing-dim);
    font-size: .82rem !important; text-decoration: underline; text-underline-offset: .3em;
}
.toa-subscription-landing :is(.toa-founding-form button, .toa-founding-cancel):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.toa-subscription-landing .toa-founding-notice {
    margin: 10px 0 4px; padding-block: 10px; border-block: 1px solid var(--landing-rule);
    color: var(--landing-ink); font-size: .9rem; scroll-margin-block: 35vh;
}
