:root {
    --bg: #f4efe6;
    --bg-soft: #faf7f0;
    --paper: #fffcf6;
    --ink: #21182d;
    --ink-soft: #514757;
    --muted: #776d7b;
    --night: #1b1427;
    --night-soft: #2b1935;
    --wine: #6e2d4f;
    --gold: #c8a456;
    --gold-light: #e3c980;
    --gold-dark: #886724;
    --line: rgba(74, 53, 88, 0.16);
    --line-strong: rgba(74, 53, 88, 0.28);
    --shadow: 0 18px 48px rgba(36, 25, 45, 0.1);
    --serif: Georgia, "Yu Mincho", "YuMincho", serif;
    --sans: "Yu Gothic UI", "Yu Gothic", Meiryo, "Helvetica Neue", Arial, sans-serif;
    --shell: 1180px;
    --header-height: 4.5rem;
    color-scheme: light;
}

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

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--sans);
    font-size: 0.95rem;
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 92% 2%, rgba(200, 164, 86, 0.13), transparent 25rem);
    content: "";
    pointer-events: none;
}

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

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(200, 164, 86, 0.55);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
}

h1 {
    font-size: clamp(2.25rem, 10vw, 4.8rem);
    line-height: 1.15;
    letter-spacing: 0.025em;
}

h2 {
    font-size: clamp(1.85rem, 7vw, 3.35rem);
    line-height: 1.28;
    letter-spacing: 0.025em;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.35rem;
    background: var(--paper);
    color: var(--wine);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform 150ms ease;
}

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

.page-shell {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
}

.section-space {
    padding-block: clamp(4.5rem, 11vw, 8.5rem);
}

.eyebrow {
    margin: 0 0 0.9rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow span {
    margin-right: 0.4rem;
}

.light-eyebrow {
    color: var(--gold-light);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(244, 239, 230, 0.93);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    display: flex;
    width: min(100% - 2rem, var(--shell));
    height: 100%;
    margin-inline: auto;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.45);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 0.8rem;
}

.brand-text {
    display: grid;
    line-height: 1;
}

.brand-text strong {
    font-family: var(--serif);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.brand-text small {
    margin-top: 0.35rem;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.48rem;
    letter-spacing: 0.16em;
}

.desktop-nav {
    display: none;
}

.mobile-nav {
    position: relative;
}

.mobile-nav summary {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.78rem 0.7rem;
    align-content: space-between;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav summary span {
    display: block;
    height: 1px;
    background: var(--ink);
}

.mobile-nav[open] summary span:first-child {
    transform: translateY(0.43rem) rotate(45deg);
}

.mobile-nav[open] summary span:nth-child(2) {
    opacity: 0;
}

.mobile-nav[open] summary span:last-child {
    transform: translateY(-0.43rem) rotate(-45deg);
}

.mobile-nav nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    display: grid;
    width: min(19rem, calc(100vw - 2rem));
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.mobile-nav nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 0.45rem;
    font-weight: 700;
    text-decoration: none;
}

.mobile-nav nav a:hover {
    background: rgba(200, 164, 86, 0.12);
}

.mobile-nav nav .nav-app-link {
    margin-top: 0.35rem;
    background: var(--night);
    color: var(--paper);
    text-align: center;
}

.button {
    display: inline-flex;
    min-height: 3.2rem;
    padding: 0.75rem 1.15rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    font-weight: 750;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.primary-button {
    border-color: var(--gold);
    background: linear-gradient(180deg, #dabd71, var(--gold));
    color: #1a1325;
    box-shadow: 0 10px 24px rgba(112, 81, 28, 0.18);
}

.primary-button:hover {
    background: linear-gradient(180deg, #e5cc89, #d0ad5e);
    transform: translateY(-2px);
}

.text-button {
    color: var(--wine);
}

.text-button:hover {
    background: rgba(110, 45, 79, 0.07);
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    font-weight: 750;
    text-decoration: none;
}

.inline-link span {
    transition: transform 150ms ease;
}

.inline-link:hover span {
    transform: translateX(0.3rem);
}

.dark-link {
    color: var(--wine);
}

.home-hero {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding-block: 3.25rem 2.5rem;
    align-items: center;
    gap: 3rem;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    margin-bottom: 1.4rem;
}

.hero-copy h1 em {
    color: var(--wine);
    font-style: normal;
}

.hero-lead {
    margin: 0 0 1rem;
    color: var(--ink);
    font-weight: 750;
    line-height: 1.65;
}

.hero-description {
    max-width: 41rem;
    margin: 0;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    margin-top: 1.8rem;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-clarification {
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}

.hero-clarification span {
    margin-right: 0.4rem;
    color: var(--gold-dark);
}

.hero-visual {
    position: relative;
    min-height: 25rem;
    overflow: hidden;
}

.celestial-orbit {
    position: absolute;
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-radius: 50%;
}

.orbit-one {
    width: 24rem;
    height: 24rem;
    top: 0;
    left: calc(50% - 12rem);
}

.orbit-two {
    width: 18rem;
    height: 18rem;
    top: 3rem;
    left: calc(50% - 9rem);
    border-style: dashed;
}

.tarot-stage {
    position: relative;
    width: min(100%, 24rem);
    height: 22rem;
    margin: 1rem auto 0;
}

.tarot-card {
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 9.3rem;
    aspect-ratio: 2 / 3;
    padding: 0.18rem;
    overflow: hidden;
    border: 1px solid rgba(227, 201, 128, 0.72);
    border-radius: 0.5rem;
    background: var(--night);
    box-shadow: 0 22px 40px rgba(27, 20, 39, 0.22);
    transform-origin: 50% 110%;
}

.tarot-card img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.28rem;
    object-fit: cover;
}

.card-left {
    transform: translateX(-104%) rotate(-12deg);
}

.card-center {
    z-index: 2;
    top: 0.7rem;
    transform: translateX(-50%);
}

.card-right {
    transform: translateX(4%) rotate(12deg);
}

.prompt-slip {
    position: absolute;
    z-index: 4;
    right: max(0.2rem, calc(50% - 13rem));
    bottom: 0.6rem;
    width: 12.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(74, 53, 88, 0.12);
    border-radius: 0.45rem;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: var(--shadow);
    transform: rotate(3deg);
}

.prompt-slip span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.48rem;
    letter-spacing: 0.17em;
}

.prompt-slip strong {
    display: block;
    margin: 0.35rem 0 0.65rem;
    font-family: var(--serif);
    font-size: 0.78rem;
    line-height: 1.6;
}

.prompt-slip i {
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 0.42rem;
    background: var(--line);
}

.prompt-slip i:nth-of-type(2) {
    width: 84%;
}

.prompt-slip i:nth-of-type(3) {
    width: 58%;
}

.intro-strip {
    border-block: 1px solid var(--line);
    background: rgba(255, 252, 246, 0.48);
}

.strip-grid {
    display: grid;
    padding-block: 1.4rem;
    gap: 0.6rem;
}

.strip-grid p {
    margin: 0;
    font-family: var(--serif);
    font-size: 0.9rem;
}

.strip-grid p span {
    margin-right: 0.7rem;
    color: var(--gold-dark);
    font-size: 0.62rem;
}

.strip-grid > i {
    display: none;
    color: var(--gold-dark);
    font-style: normal;
}

.section-heading {
    margin-bottom: 2.5rem;
}

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

.section-heading > p:last-child,
.split-heading > p {
    margin: 1rem 0 0;
    color: var(--ink-soft);
}

.centered-heading {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

.feature-card {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: rgba(255, 252, 246, 0.72);
    box-shadow: 0 8px 30px rgba(36, 25, 45, 0.045);
}

.feature-card h3 {
    margin: 5.3rem 0 0.55rem;
}

.feature-card p {
    margin: 0;
    color: var(--ink-soft);
}

.feature-number {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
    letter-spacing: 0.13em;
}

.feature-icon {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    color: rgba(110, 45, 79, 0.58);
    font-family: var(--serif);
    font-size: 4rem;
}

.mini-spread {
    position: absolute;
    top: 2rem;
    right: 1rem;
    display: flex;
    gap: 0.45rem;
    transform: rotate(-5deg);
}

.mini-spread i {
    width: 2.7rem;
    height: 4.5rem;
    border: 1px solid rgba(227, 201, 128, 0.55);
    border-radius: 0.22rem;
    background: var(--night);
    box-shadow: 0 8px 15px rgba(27, 20, 39, 0.12);
}

.mini-spread i:nth-child(2) {
    transform: translateY(-0.6rem);
}

.boundary-section,
.position-section,
.storage-section,
.custom-spread-section {
    padding-block: clamp(4.5rem, 11vw, 8rem);
    background:
        radial-gradient(circle at 80% 20%, rgba(110, 45, 79, 0.2), transparent 23rem),
        var(--night);
    color: #eee7dc;
}

.boundary-grid {
    display: grid;
    gap: 3rem;
}

.boundary-copy h2,
.position-section h2,
.storage-section h2,
.custom-spread-section h2 {
    color: #fffaf1;
}

.boundary-copy > p:not(.eyebrow),
.position-section p,
.storage-section p,
.custom-spread-section p {
    color: #c9becb;
}

.boundary-flow {
    position: relative;
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0.8rem;
    list-style: none;
}

.boundary-flow::before {
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 1.35rem;
    width: 1px;
    background: rgba(227, 201, 128, 0.35);
    content: "";
}

.boundary-flow li {
    position: relative;
    display: grid;
    padding: 1rem 1rem 1rem 3.6rem;
    border: 1px solid rgba(227, 201, 128, 0.16);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.035);
}

.boundary-flow li::before {
    position: absolute;
    z-index: 1;
    top: calc(50% - 0.35rem);
    left: 1rem;
    width: 0.7rem;
    height: 0.7rem;
    border: 2px solid var(--night);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
    content: "";
}

.boundary-flow span {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
}

.boundary-flow strong {
    margin-top: 0.2rem;
    color: #fffaf1;
    font-family: var(--serif);
    font-size: 1rem;
}

.learn-grid {
    display: grid;
    gap: 1rem;
}

.learn-card {
    position: relative;
    display: grid;
    min-height: 23rem;
    padding: 1.5rem;
    align-content: space-between;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--paper);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.learn-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.learn-visual {
    display: grid;
    width: 11rem;
    height: 11rem;
    margin: 1rem auto;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 50%;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 4.5rem;
}

.moon-card .learn-visual::before,
.moon-card .learn-visual::after {
    position: absolute;
    color: var(--gold-dark);
    font-size: 0.55rem;
    content: "✦";
}

.moon-card .learn-visual::before {
    margin: -8rem 0 0 -8rem;
}

.moon-card .learn-visual::after {
    margin: 7rem -8rem 0 0;
}

.spread-symbol {
    position: relative;
    display: block;
    border: 0;
}

.spread-symbol i {
    position: absolute;
    top: 2.8rem;
    left: 4rem;
    width: 3.3rem;
    height: 5.4rem;
    border: 1px solid var(--gold);
    border-radius: 0.3rem;
    background: var(--night);
}

.spread-symbol i:first-child {
    transform: translateX(-2.8rem) rotate(-12deg);
}

.spread-symbol i:nth-child(2) {
    z-index: 2;
    transform: translateY(-0.6rem);
}

.spread-symbol i:last-child {
    transform: translateX(2.8rem) rotate(12deg);
}

.learn-copy {
    display: grid;
}

.learn-copy small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.55rem;
    letter-spacing: 0.16em;
}

.learn-copy strong {
    margin-top: 0.25rem;
    font-family: var(--serif);
    font-size: 1.3rem;
}

.learn-copy em {
    margin-top: 0.5rem;
    color: var(--wine);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

.final-cta {
    position: relative;
    padding-block: clamp(4.5rem, 12vw, 8.5rem);
    overflow: hidden;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
}

.final-cta::before,
.final-cta::after {
    position: absolute;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(136, 103, 36, 0.14);
    border-radius: 50%;
    content: "";
}

.final-cta::before {
    top: -12rem;
    left: -8rem;
}

.final-cta::after {
    right: -9rem;
    bottom: -13rem;
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 0.8rem;
}

.final-cta p:not(.eyebrow) {
    margin: 0 auto 1.6rem;
    color: var(--ink-soft);
}

.cta-star {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.4rem;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.32);
    border-radius: 50%;
    color: var(--gold-dark);
}

.guide-hero {
    display: grid;
    min-height: 31rem;
    padding-block: 4rem 3rem;
    align-items: center;
    gap: 2.5rem;
}

.guide-hero h1 {
    margin-bottom: 1.2rem;
}

.guide-hero > div:first-child > p:last-child {
    max-width: 43rem;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

.guide-hero-card {
    position: relative;
    display: grid;
    width: 12rem;
    height: 19rem;
    margin-inline: auto;
    padding: 1rem;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 6rem 6rem 0.6rem 0.6rem;
    background: var(--night);
    color: var(--gold-light);
    box-shadow: var(--shadow);
}

.guide-hero-card::before {
    position: absolute;
    inset: 0.6rem;
    border: 1px solid rgba(227, 201, 128, 0.25);
    border-radius: inherit;
    content: "";
}

.guide-hero-card span {
    font-size: 4.6rem;
}

.guide-hero-card small {
    align-self: end;
    font-family: var(--serif);
    font-size: 0.5rem;
    letter-spacing: 0.16em;
    text-align: center;
}

.in-page-nav {
    display: flex;
    padding-block: 0.9rem;
    overflow-x: auto;
    border-block: 1px solid var(--line);
    gap: 0.4rem;
    scrollbar-width: thin;
}

.in-page-nav a {
    flex: 0 0 auto;
    padding: 0.42rem 0.72rem;
    border-radius: 2rem;
    color: var(--ink-soft);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.in-page-nav a:hover {
    background: rgba(200, 164, 86, 0.13);
    color: var(--wine);
}

.anchor-section {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.structure-grid,
.suit-grid,
.choice-principles,
.responsible-grid {
    display: grid;
    gap: 1rem;
}

.structure-card {
    display: grid;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--paper);
    gap: 1rem;
}

.structure-count {
    color: rgba(110, 45, 79, 0.7);
    font-family: var(--serif);
    font-size: 3.5rem;
    line-height: 1;
}

.structure-card small,
.suit-card small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.57rem;
    letter-spacing: 0.15em;
}

.structure-card h3 {
    margin: 0.15rem 0 0.45rem;
}

.structure-card p,
.suit-card p {
    margin: 0;
    color: var(--ink-soft);
}

.major-section {
    background: rgba(255, 252, 246, 0.56);
}

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

.major-card {
    position: relative;
    display: grid;
    min-height: 13rem;
    padding: 1rem;
    align-content: end;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    background: var(--paper);
}

.major-card::before {
    position: absolute;
    top: -3rem;
    right: -3rem;
    width: 7rem;
    height: 7rem;
    border: 1px solid rgba(136, 103, 36, 0.15);
    border-radius: 50%;
    content: "";
}

.major-number {
    position: absolute;
    top: 0.7rem;
    left: 0.8rem;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.58rem;
}

.major-sigil {
    position: absolute;
    top: 2rem;
    left: calc(50% - 0.9rem);
    color: rgba(110, 45, 79, 0.42);
    font-size: 1.8rem;
}

.major-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.major-card small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.47rem;
    letter-spacing: 0.09em;
}

.major-card p {
    margin: 0.55rem 0 0;
    color: var(--ink-soft);
    font-size: 0.7rem;
    line-height: 1.55;
}

.suit-card {
    position: relative;
    min-height: 16rem;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--paper);
}

.suit-card > span {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    color: rgba(110, 45, 79, 0.35);
    font-family: var(--serif);
    font-size: 4rem;
}

.suit-card h3 {
    margin: 5rem 0 0.5rem;
}

.position-grid {
    display: grid;
    gap: 2rem;
}

.position-cards {
    display: flex;
    min-height: 15rem;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.position-cards i {
    display: grid;
    width: 6.5rem;
    height: 10.5rem;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 0.4rem;
    background: var(--night-soft);
    color: var(--gold-light);
    font-size: 2rem;
    font-style: normal;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.position-cards .reversed-card {
    transform: rotate(180deg);
}

.position-notes {
    display: grid;
    gap: 0.75rem;
}

.position-notes p {
    display: grid;
    margin: 0;
    padding: 0.9rem;
    border: 1px solid rgba(227, 201, 128, 0.14);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.035);
}

.position-notes strong {
    color: var(--gold-light);
    font-family: var(--serif);
}

.position-notes span {
    color: #c9becb;
    font-size: 0.78rem;
}

.guide-cta {
    display: grid;
    margin-block: clamp(4rem, 10vw, 7rem);
    padding: 2rem 1.25rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    background: var(--paper);
    gap: 1.4rem;
}

.guide-cta h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.65rem, 6vw, 2.5rem);
}

.guide-cta p:not(.eyebrow) {
    margin: 0;
    color: var(--ink-soft);
}

.home-ai-cta {
    margin-bottom: 0;
}

.spread-guide-hero {
    position: relative;
}

.spread-constellation {
    position: relative;
    width: 18rem;
    height: 18rem;
    margin-inline: auto;
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-radius: 50%;
}

.spread-constellation::before,
.spread-constellation::after {
    position: absolute;
    background: rgba(136, 103, 36, 0.35);
    content: "";
}

.spread-constellation::before {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
}

.spread-constellation::after {
    top: 10%;
    left: 50%;
    width: 1px;
    height: 80%;
}

.spread-constellation i {
    position: absolute;
    z-index: 1;
    width: 2.8rem;
    height: 4.5rem;
    border: 1px solid var(--gold);
    border-radius: 0.25rem;
    background: var(--night);
    box-shadow: 0 8px 18px rgba(27, 20, 39, 0.2);
}

.spread-constellation i:first-child { top: 1rem; left: calc(50% - 1.4rem); }
.spread-constellation i:nth-child(2) { top: calc(50% - 2.25rem); left: 1rem; }
.spread-constellation i:nth-child(3) { top: calc(50% - 2.25rem); left: calc(50% - 1.4rem); transform: rotate(90deg); }
.spread-constellation i:nth-child(4) { top: calc(50% - 2.25rem); right: 1rem; }
.spread-constellation i:last-child { bottom: 1rem; left: calc(50% - 1.4rem); }

.choice-principles article {
    padding: 1.4rem;
    border-top: 2px solid var(--gold);
    background: rgba(255, 252, 246, 0.62);
}

.choice-principles article > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 2rem;
}

.choice-principles h3 {
    margin: 0.8rem 0 0.35rem;
}

.choice-principles p {
    margin: 0;
    color: var(--ink-soft);
}

.spread-list-section {
    background: rgba(255, 252, 246, 0.52);
}

.spread-list {
    display: grid;
}

.spread-detail {
    display: grid;
    padding-block: clamp(4.5rem, 11vw, 8rem);
    border-bottom: 1px solid var(--line);
    gap: 3rem;
}

.spread-detail:last-child {
    border-bottom: 0;
}

.spread-detail-visual {
    position: relative;
    min-height: 18rem;
}

.spread-detail-visual > i {
    position: absolute;
    display: grid;
    width: 4.6rem;
    height: 7.4rem;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 0.35rem;
    background: var(--night);
    color: var(--gold-light);
    font-family: var(--serif);
    font-style: normal;
    box-shadow: 0 14px 25px rgba(27, 20, 39, 0.18);
}

.one-card-layout i { top: calc(50% - 3.7rem); left: calc(50% - 2.3rem); }
.two-card-layout i { top: calc(50% - 3.7rem); }
.two-card-layout i:first-child { left: calc(50% - 5rem); }
.two-card-layout i:last-child { left: calc(50% + 0.4rem); }
.three-card-layout i { top: calc(50% - 3.7rem); left: calc(50% - 2.3rem); }
.three-card-layout i:first-child { transform: translateX(-5.2rem); }
.three-card-layout i:last-child { transform: translateX(5.2rem); }
.four-card-layout { min-height: 18rem; }
.four-card-layout i:nth-child(1),
.four-card-layout i:nth-child(2) { top: 1rem; }
.four-card-layout i:nth-child(3),
.four-card-layout i:nth-child(4) { top: 9rem; }
.four-card-layout i:nth-child(odd) { left: calc(50% - 5rem); }
.four-card-layout i:nth-child(even) { left: calc(50% + 0.4rem); }
.choice-layout i:first-child { top: 0; left: calc(50% - 2.3rem); }
.choice-layout { min-height: 25rem; }
.choice-layout i:nth-child(2) { top: 8rem; left: calc(50% - 7.6rem); }
.choice-layout i:nth-child(3) { top: 16rem; left: calc(50% - 7.6rem); }
.choice-layout i:nth-child(4) { top: 8rem; left: calc(50% + 3rem); }
.choice-layout i:last-child { top: 16rem; left: calc(50% + 3rem); }
.relationship-layout { min-height: 25rem; }
.relationship-layout i:nth-child(1),
.relationship-layout i:nth-child(2) { top: 0; }
.relationship-layout i:nth-child(3),
.relationship-layout i:nth-child(4) { top: 8.2rem; }
.relationship-layout i:nth-child(5),
.relationship-layout i:nth-child(6) { top: 16.4rem; }
.relationship-layout i:nth-child(odd) { left: calc(50% - 5rem); }
.relationship-layout i:nth-child(even) { left: calc(50% + 0.4rem); }
.horseshoe-layout {
    --horseshoe-origin-x: max(0rem, calc(50% - 9.85rem));
    min-height: 24rem;
    transform: scale(0.82);
    transform-origin: center;
}
.horseshoe-layout i { width: 3.5rem; height: 5.6rem; }
.horseshoe-layout i:nth-child(1) { top: 0; left: var(--horseshoe-origin-x); }
.horseshoe-layout i:nth-child(2) { top: 6.1rem; left: calc(var(--horseshoe-origin-x) + 2.7rem); }
.horseshoe-layout i:nth-child(3) { top: 12.2rem; left: calc(var(--horseshoe-origin-x) + 5.4rem); }
.horseshoe-layout i:nth-child(4) { top: 17.8rem; left: calc(var(--horseshoe-origin-x) + 8.1rem); }
.horseshoe-layout i:nth-child(5) { top: 12.2rem; left: calc(var(--horseshoe-origin-x) + 10.8rem); }
.horseshoe-layout i:nth-child(6) { top: 6.1rem; left: calc(var(--horseshoe-origin-x) + 13.5rem); }
.horseshoe-layout i:nth-child(7) { top: 0; left: calc(var(--horseshoe-origin-x) + 16.2rem); }
.celtic-layout {
    --celtic-origin-x: max(0rem, calc(50% - 9.75rem));
    min-height: 27rem;
    transform: scale(0.78);
    transform-origin: center;
}
.celtic-layout i { width: 3.5rem; height: 5.6rem; }
.celtic-layout i:first-child { top: 9rem; left: calc(var(--celtic-origin-x) + 5rem); }
.celtic-layout i:nth-child(2) { top: 9rem; left: calc(var(--celtic-origin-x) + 5rem); transform: rotate(90deg); }
.celtic-layout i:nth-child(3) { top: 15rem; left: calc(var(--celtic-origin-x) + 5rem); }
.celtic-layout i:nth-child(4) { top: 9rem; left: var(--celtic-origin-x); }
.celtic-layout i:nth-child(5) { top: 3rem; left: calc(var(--celtic-origin-x) + 5rem); }
.celtic-layout i:nth-child(6) { top: 9rem; left: calc(var(--celtic-origin-x) + 10rem); }
.celtic-layout i:nth-child(7) { top: 20rem; left: calc(var(--celtic-origin-x) + 16rem); }
.celtic-layout i:nth-child(8) { top: 13.5rem; left: calc(var(--celtic-origin-x) + 16rem); }
.celtic-layout i:nth-child(9) { top: 7rem; left: calc(var(--celtic-origin-x) + 16rem); }
.celtic-layout i:nth-child(10) { top: 0.5rem; left: calc(var(--celtic-origin-x) + 16rem); }

.spread-detail-copy h2 {
    margin-bottom: 0.8rem;
}

.spread-intro {
    color: var(--ink-soft);
}

.spread-detail dl {
    display: grid;
    margin: 1.5rem 0;
    gap: 0.6rem;
}

.spread-detail dl div {
    display: grid;
    grid-template-columns: 2.3rem 1fr;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    gap: 0.7rem;
}

.spread-detail dt {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.4);
    border-radius: 50%;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.63rem;
}

.spread-detail dd {
    display: grid;
    margin: 0;
}

.spread-detail dd strong {
    font-family: var(--serif);
}

.spread-detail dd span {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.spread-best {
    margin: 0;
    padding: 1rem;
    border-left: 2px solid var(--gold);
    background: rgba(200, 164, 86, 0.08);
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.spread-best strong {
    display: block;
    color: var(--gold-dark);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.custom-spread-grid,
.storage-grid {
    display: grid;
    align-items: center;
    gap: 2rem;
}

.howto-hero {
    min-height: 29rem;
}

.hero-steps {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 0.8rem;
    list-style: none;
}

.hero-steps li {
    display: grid;
    width: 5rem;
    height: 7rem;
    padding: 0.7rem;
    align-content: space-between;
    border: 1px solid var(--gold);
    border-radius: 0.3rem;
    background: var(--night);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    text-align: center;
}

.hero-steps li:nth-child(2) {
    transform: translateY(-1rem);
}

.hero-steps span {
    font-size: 1rem;
}

.howto-section {
    display: grid;
}

.howto-step {
    display: grid;
    padding-block: 3.5rem;
    border-bottom: 1px solid var(--line);
    gap: 2rem;
}

.howto-step:first-child {
    padding-top: 0;
}

.step-number {
    display: flex;
    align-items: center;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.75rem;
    gap: 1rem;
}

.step-number i {
    width: 4rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.step-copy h2 {
    margin-bottom: 0.8rem;
}

.step-copy > p:not(.eyebrow, .step-note) {
    color: var(--ink-soft);
}

.example-box,
.step-note,
.prompt-anatomy {
    margin-top: 1.3rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
    background: rgba(255, 252, 246, 0.62);
}

.example-box small,
.step-note strong {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.55rem;
    letter-spacing: 0.14em;
}

.example-box p {
    margin: 0.25rem 0 0;
    font-family: var(--serif);
}

.step-note {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.step-note strong {
    display: block;
}

.prompt-anatomy {
    display: grid;
    gap: 0.55rem;
}

.prompt-anatomy p {
    display: flex;
    margin: 0;
    align-items: center;
    color: var(--ink-soft);
    gap: 0.65rem;
}

.prompt-anatomy span {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--night);
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 0.62rem;
}

.step-visual {
    position: relative;
    min-height: 15rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: rgba(255, 252, 246, 0.5);
}

.question-visual {
    display: grid;
    padding: 2rem;
    align-content: center;
}

.question-visual > span {
    position: absolute;
    right: 1.5rem;
    bottom: -1rem;
    color: rgba(110, 45, 79, 0.12);
    font-family: var(--serif);
    font-size: 11rem;
    line-height: 1;
}

.question-visual i,
.copy-visual i {
    display: block;
    width: 80%;
    height: 1px;
    margin: 0.55rem 0;
    background: var(--line-strong);
}

.question-visual i:nth-child(3),
.copy-visual i:nth-child(3) {
    width: 62%;
}

.spread-step-visual,
.draw-visual {
    display: flex;
    padding: 1.4rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.spread-step-visual i,
.draw-visual i {
    display: grid;
    width: 4.5rem;
    height: 7.3rem;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 0.3rem;
    background: var(--night);
    color: var(--gold-light);
    font-style: normal;
    box-shadow: 0 12px 25px rgba(27, 20, 39, 0.16);
}

.spread-step-visual i:nth-child(2),
.draw-visual i:nth-child(2) {
    transform: translateY(-1rem);
}

.spread-step-visual span {
    font-size: 0.65rem;
}

.draw-visual i {
    font-size: 1.5rem;
}

.copy-visual {
    padding: 2rem;
}

.copy-visual > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
}

.copy-visual b {
    position: absolute;
    right: 1.3rem;
    bottom: 1.3rem;
    padding: 0.55rem 1rem;
    border-radius: 0.35rem;
    background: var(--night);
    color: var(--gold-light);
    font-size: 0.65rem;
}

.ai-boundary-visual {
    display: flex;
    min-height: 10rem;
    padding: 1.2rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.ai-boundary-visual span {
    padding: 1.4rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 0.4rem;
    background: var(--paper);
    font-family: var(--serif);
    font-size: 0.7rem;
}

.ai-boundary-visual b {
    color: var(--gold-dark);
}

.storage-options {
    display: grid;
    gap: 0.65rem;
}

.storage-options p {
    display: grid;
    grid-template-columns: 2.7rem 1fr;
    margin: 0;
    padding: 0.8rem;
    align-items: center;
    border: 1px solid rgba(227, 201, 128, 0.14);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.035);
}

.storage-options p > span {
    grid-row: span 2;
    color: var(--gold-light);
    font-size: 1.2rem;
}

.storage-options strong {
    color: #fffaf1;
    font-family: var(--serif);
}

.storage-options small {
    color: #c9becb;
}

.responsible-grid p {
    display: grid;
    margin: 0;
    padding: 1.3rem;
    border-top: 1px solid var(--line-strong);
    color: var(--ink-soft);
}

.responsible-grid p > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.62rem;
}

.responsible-grid p > strong {
    margin: 0.5rem 0 0.35rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.policy-hero {
    padding-block: clamp(4rem, 10vw, 7rem) 3rem;
    border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
    margin-bottom: 0.8rem;
}

.policy-hero > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.policy-hero time {
    color: var(--muted);
    font-size: 0.75rem;
}

.policy-layout {
    display: grid;
    padding-block: 3rem 6rem;
    gap: 2.5rem;
}

.policy-toc {
    align-self: start;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: rgba(255, 252, 246, 0.6);
}

.policy-toc > strong {
    font-family: var(--serif);
}

.policy-toc nav {
    display: grid;
    margin-top: 0.7rem;
}

.policy-toc a {
    padding: 0.35rem 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
    text-decoration: none;
}

.policy-toc a:hover {
    color: var(--wine);
}

.policy-content {
    min-width: 0;
}

.policy-content > section {
    padding: 0 0 2.8rem;
}

.policy-content > section + section {
    padding-top: 2.8rem;
    border-top: 1px solid var(--line);
}

.policy-content section > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.63rem;
}

.policy-content h2 {
    margin: 0.35rem 0 1rem;
    font-size: clamp(1.45rem, 5vw, 2rem);
}

.policy-content h3 {
    margin: 1.5rem 0 0.45rem;
    font-size: 1.05rem;
}

.policy-content p,
.policy-content li {
    color: var(--ink-soft);
}

.policy-content ul {
    padding-left: 1.25rem;
}

.policy-content a,
.contact-layout a {
    color: var(--wine);
}

.policy-definition-list {
    display: grid;
    margin: 0 0 1rem;
    border-top: 1px solid var(--line);
}

.policy-definition-list > div {
    display: grid;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    gap: 0.15rem;
}

.policy-definition-list dt {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.72rem;
}

.policy-definition-list dd {
    margin: 0;
    color: var(--ink-soft);
}

.policy-caution {
    padding: 1.2rem;
    border: 1px solid rgba(136, 103, 36, 0.3);
    border-radius: 0.6rem;
    background: rgba(200, 164, 86, 0.09);
}

.policy-caution strong {
    color: var(--gold-dark);
    font-family: var(--serif);
}

.policy-caution p {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.contact-layout {
    display: grid;
    padding-block: clamp(3rem, 8vw, 6rem);
    gap: clamp(3rem, 8vw, 6rem);
}

.contact-card {
    display: grid;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--line-strong);
    border-radius: 0.9rem;
    background: var(--paper);
    box-shadow: var(--shadow);
    gap: 1.25rem;
}

.contact-symbol {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(136, 103, 36, 0.38);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 1.2rem;
    place-items: center;
}

.contact-card h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.65rem, 6vw, 2.5rem);
}

.contact-card p:not(.eyebrow) {
    max-width: 42rem;
    color: var(--ink-soft);
}

.contact-card address {
    margin-top: 1.5rem;
    font-style: normal;
}

.contact-email {
    display: inline-block;
    max-width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(110, 45, 79, 0.24);
    border-radius: 0.45rem;
    background: rgba(110, 45, 79, 0.06);
    font-family: var(--serif);
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-email:hover {
    border-color: rgba(110, 45, 79, 0.46);
    background: rgba(110, 45, 79, 0.1);
}

.contact-guidance {
    display: grid;
    gap: 0;
}

.contact-guidance section {
    padding-block: 2.2rem;
    border-top: 1px solid var(--line);
}

.contact-guidance section:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-guidance section > span {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.63rem;
}

.contact-guidance h2 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(1.35rem, 5vw, 1.8rem);
}

.contact-guidance p {
    max-width: 48rem;
    margin: 0;
    color: var(--ink-soft);
}

.simple-page {
    padding-block: 6rem;
}

.narrow-page {
    width: min(100% - 2rem, 44rem);
    margin-inline: auto;
}

.site-footer {
    padding-block: 3rem 2rem;
    background: #15101e;
    color: #c9becb;
}

.footer-inner {
    display: grid;
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-brand .brand-mark {
    color: var(--gold-light);
}

.footer-brand strong {
    color: #fffaf1;
    font-family: var(--serif);
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.footer-brand p {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
}

.site-footer nav a {
    font-size: 0.76rem;
    text-decoration: none;
}

.site-footer nav a:hover {
    color: var(--gold-light);
}

.footer-note {
    max-width: 48rem;
    margin: 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(227, 201, 128, 0.12);
    font-size: 0.68rem;
}

.copyright {
    margin: 0;
    color: #887f8b;
    font-family: var(--serif);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

@media (min-width: 700px) {
    body {
        font-size: 1rem;
    }

    .page-shell,
    .site-header-inner,
    .footer-inner {
        width: min(100% - 3rem, var(--shell));
    }

    .strip-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        text-align: center;
    }

    .strip-grid > i {
        display: block;
    }

    .split-heading {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
        align-items: end;
        gap: 2rem;
    }

    .split-heading > p {
        margin: 0;
    }

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

    .feature-wide {
        grid-column: span 2;
    }

    .feature-card {
        padding: 2rem;
    }

    .mini-spread {
        right: 2rem;
    }

    .learn-grid,
    .structure-grid,
    .choice-principles,
    .responsible-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .structure-card {
        grid-template-columns: 5rem 1fr;
    }

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

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

    .guide-cta {
        grid-template-columns: 1fr auto;
        padding: 2.3rem;
    }

    .guide-cta .button {
        justify-self: end;
    }

    .spread-detail-visual {
        min-height: 23rem;
    }

    .spread-detail-visual > i {
        width: 5.4rem;
        height: 8.7rem;
    }

    .one-card-layout i { top: calc(50% - 4.35rem); left: calc(50% - 2.7rem); }
    .two-card-layout i { top: calc(50% - 4.35rem); }
    .two-card-layout i:first-child { left: calc(50% - 5.8rem); }
    .two-card-layout i:last-child { left: calc(50% + 0.4rem); }
    .three-card-layout i { top: calc(50% - 4.35rem); left: calc(50% - 2.7rem); }
    .three-card-layout i:first-child { transform: translateX(-6.2rem); }
    .three-card-layout i:last-child { transform: translateX(6.2rem); }
    .four-card-layout { min-height: 23rem; }
    .four-card-layout i:nth-child(1),
    .four-card-layout i:nth-child(2),
    .four-card-layout i:nth-child(3),
    .four-card-layout i:nth-child(4) { top: calc(50% - 4.35rem); }
    .four-card-layout i:nth-child(1) { left: calc(50% - 12rem); }
    .four-card-layout i:nth-child(2) { left: calc(50% - 5.8rem); }
    .four-card-layout i:nth-child(3) { left: calc(50% + 0.4rem); }
    .four-card-layout i:nth-child(4) { left: calc(50% + 6.6rem); }
    .choice-layout i:first-child { left: calc(50% - 2.7rem); }
    .choice-layout { min-height: 29rem; }
    .choice-layout i:nth-child(2) { top: 9.5rem; left: calc(50% - 9rem); }
    .choice-layout i:nth-child(3) { top: 19rem; left: calc(50% - 9rem); }
    .choice-layout i:nth-child(4) { top: 9.5rem; left: calc(50% + 3.6rem); }
    .choice-layout i:nth-child(5) { top: 19rem; left: calc(50% + 3.6rem); }
    .relationship-layout { min-height: 29rem; }
    .relationship-layout i:nth-child(1),
    .relationship-layout i:nth-child(2) { top: 0; }
    .relationship-layout i:nth-child(3),
    .relationship-layout i:nth-child(4) { top: 9.5rem; }
    .relationship-layout i:nth-child(5),
    .relationship-layout i:nth-child(6) { top: 19rem; }
    .relationship-layout i:nth-child(odd) { left: calc(50% - 5.8rem); }
    .relationship-layout i:nth-child(even) { left: calc(50% + 0.4rem); }
    .horseshoe-layout { transform: scale(1); }
    .horseshoe-layout > i { width: 3.5rem; height: 5.6rem; }
    .celtic-layout { transform: scale(0.95); }
    .celtic-layout > i { width: 3.5rem; height: 5.6rem; }

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

    .storage-options p {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .storage-options p > span {
        grid-row: auto;
    }

    .policy-layout {
        grid-template-columns: 13rem minmax(0, 1fr);
        gap: 3rem;
    }

    .policy-definition-list > div {
        grid-template-columns: 8rem minmax(0, 1fr);
        gap: 1rem;
    }

    .contact-card {
        grid-template-columns: 3.5rem minmax(0, 1fr);
        gap: 1.75rem;
    }

    .policy-toc {
        position: sticky;
        top: calc(var(--header-height) + 1.5rem);
    }
}

@media (min-width: 960px) {
    :root {
        --header-height: 5rem;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .desktop-nav a {
        padding: 0.55rem 0.8rem;
        border-radius: 0.4rem;
        color: var(--ink-soft);
        font-size: 0.78rem;
        font-weight: 700;
        text-decoration: none;
    }

    .desktop-nav a:hover,
    .desktop-nav a.is-active {
        color: var(--wine);
        background: rgba(110, 45, 79, 0.06);
    }

    .desktop-nav .nav-app-link {
        margin-left: 0.6rem;
        padding-inline: 1rem;
        background: var(--night);
        color: #fffaf1;
    }

    .desktop-nav .nav-app-link:hover {
        background: var(--night-soft);
        color: #fffaf1;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
        padding-block: 4rem;
        gap: 2rem;
    }

    .hero-visual {
        min-height: 34rem;
    }

    .orbit-one {
        width: 32rem;
        height: 32rem;
        left: calc(50% - 16rem);
    }

    .orbit-two {
        width: 24rem;
        height: 24rem;
        top: 4rem;
        left: calc(50% - 12rem);
    }

    .tarot-stage {
        width: 31rem;
        height: 29rem;
        margin-top: 2rem;
    }

    .tarot-card {
        width: 11.5rem;
    }

    .prompt-slip {
        right: 0;
        bottom: 1.5rem;
        width: 14rem;
    }

    .feature-grid {
        grid-template-columns: 1.25fr 0.75fr 0.75fr;
    }

    .feature-wide {
        grid-column: auto;
    }

    .feature-card {
        min-height: 23rem;
    }

    .feature-card h3 {
        margin-top: 8.4rem;
    }

    .mini-spread i {
        width: 3.2rem;
        height: 5.3rem;
    }

    .boundary-grid {
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.85fr);
        align-items: center;
        gap: 5rem;
    }

    .learn-card {
        grid-template-columns: 0.85fr 1.15fr;
        min-height: 19rem;
        align-items: center;
    }

    .learn-copy {
        align-content: center;
    }

    .guide-hero {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
        min-height: 38rem;
        gap: 5rem;
    }

    .guide-hero-card {
        width: 14rem;
        height: 23rem;
    }

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

    .major-card {
        min-height: 15rem;
    }

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

    .position-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(15rem, 0.7fr) minmax(0, 1fr);
        align-items: center;
        gap: 3rem;
    }

    .spread-guide-hero {
        grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.55fr);
    }

    .spread-detail {
        grid-template-columns: minmax(22rem, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 6rem;
    }

    .reverse-detail .spread-detail-visual {
        grid-column: 2;
    }

    .reverse-detail .spread-detail-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .custom-spread-grid,
    .storage-grid {
        grid-template-columns: minmax(0, 1fr) minmax(28rem, 1fr);
        gap: 5rem;
    }

    .custom-spread-grid .button {
        justify-self: end;
    }

    .howto-step {
        grid-template-columns: 4rem minmax(0, 1fr) minmax(22rem, 0.9fr);
        align-items: center;
        gap: 3rem;
    }

    .step-number {
        align-self: stretch;
        flex-direction: column;
    }

    .step-number i {
        width: 1px;
        height: 100%;
        background: linear-gradient(var(--gold), transparent);
    }

    .howto-step:nth-child(even) .step-copy {
        grid-column: 3;
    }

    .howto-step:nth-child(even) .step-visual {
        grid-column: 2;
        grid-row: 1;
    }

    .final-step .step-copy {
        grid-column: 2;
    }

    .final-step .step-visual {
        grid-column: 3;
    }

    .policy-layout {
        grid-template-columns: 15rem minmax(0, 45rem);
        justify-content: center;
        gap: 5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .site-footer nav {
        justify-content: flex-end;
    }

    .footer-note,
    .copyright {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

/* Generated card catalog and card articles */
.card-guide-hero {
    min-height: 38rem;
}

.card-guide-feature {
    position: relative;
    display: block;
    width: min(15rem, 72vw);
    margin-inline: auto;
    color: var(--paper);
    text-decoration: none;
}

.card-guide-feature::before {
    position: absolute;
    z-index: -1;
    inset: -1.4rem;
    border: 1px solid rgba(136, 103, 36, 0.24);
    border-radius: 8rem 8rem 1.1rem 1.1rem;
    content: "";
}

.card-guide-feature img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(136, 103, 36, 0.42);
    border-radius: 7rem 7rem 0.7rem 0.7rem;
    background: var(--night);
    box-shadow: 0 24px 52px rgba(33, 24, 45, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-guide-feature:hover img {
    box-shadow: 0 30px 58px rgba(33, 24, 45, 0.28);
    transform: translateY(-0.35rem);
}

.card-guide-feature > span {
    position: absolute;
    right: -1rem;
    bottom: 1.3rem;
    display: grid;
    min-width: 8rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(227, 201, 128, 0.38);
    border-radius: 0.35rem;
    background: rgba(27, 20, 39, 0.92);
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}

.card-guide-feature small {
    color: var(--gold-light);
    font-size: 0.48rem;
    letter-spacing: 0.16em;
}

.card-catalog-section {
    background: rgba(255, 252, 246, 0.52);
}

.major-catalog-section {
    border-block: 1px solid rgba(74, 53, 88, 0.08);
}

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

.card-index-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(36, 25, 45, 0.045);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.card-index-card:hover {
    border-color: rgba(136, 103, 36, 0.46);
    box-shadow: 0 16px 30px rgba(36, 25, 45, 0.1);
    transform: translateY(-0.25rem);
}

.card-index-image {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--night);
}

.card-index-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.card-index-card:hover .card-index-image img {
    transform: scale(1.018);
}

.card-index-copy {
    display: grid;
    padding: 0.75rem;
    align-content: start;
}

.card-index-copy small {
    overflow: hidden;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.47rem;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.card-index-copy strong {
    margin-top: 0.18rem;
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.4;
}

.card-index-copy > span {
    display: -webkit-box;
    margin-top: 0.4rem;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.67rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.minor-catalog-intro {
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.suit-summary-grid {
    display: grid;
    margin-top: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.suit-summary-card {
    display: grid;
    min-height: 9rem;
    padding: 1rem;
    align-content: end;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 0.55rem;
    background: var(--paper);
    text-decoration: none;
}

.suit-summary-card small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
}

.suit-summary-card strong {
    font-family: var(--serif);
    font-size: 1.15rem;
}

.suit-summary-card span {
    color: var(--ink-soft);
    font-size: 0.68rem;
}

.suit-catalog-section:nth-of-type(even) {
    background: rgba(255, 252, 246, 0.28);
}

.suit-band-wands { border-top: 3px solid rgba(160, 81, 53, 0.32); }
.suit-band-cups { border-top: 3px solid rgba(69, 114, 145, 0.3); }
.suit-band-swords { border-top: 3px solid rgba(104, 112, 129, 0.3); }
.suit-band-pentacles { border-top: 3px solid rgba(120, 110, 58, 0.32); }

.suit-catalog-heading {
    margin-bottom: 2.2rem;
}

.suit-catalog-heading > p {
    max-width: 42rem;
    margin: 0;
    color: var(--ink-soft);
}

.breadcrumb {
    display: flex;
    padding-block: 1rem;
    align-items: center;
    overflow-x: auto;
    color: var(--muted);
    font-size: 0.7rem;
    gap: 0.55rem;
    white-space: nowrap;
}

.breadcrumb a {
    color: var(--wine);
    text-decoration: none;
}

.card-detail-hero {
    display: grid;
    min-height: calc(100svh - var(--header-height) - 3rem);
    padding-block: 2rem 4.5rem;
    align-items: center;
    gap: 2.7rem;
}

.card-detail-figure {
    width: min(20rem, 82vw);
    margin: 0 auto;
}

.card-detail-image-wrap {
    position: relative;
}

.card-detail-image-wrap::before {
    position: absolute;
    z-index: -1;
    inset: 7% -7% -5%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 86, 0.28), transparent 68%);
    content: "";
    filter: blur(0.5rem);
}

.card-detail-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(136, 103, 36, 0.45);
    border-radius: 0.8rem;
    background: var(--night);
    box-shadow: 0 28px 58px rgba(33, 24, 45, 0.22);
}

.card-detail-figure figcaption {
    margin-top: 0.65rem;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.card-detail-intro h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 11vw, 5rem);
}

.card-detail-intro h1 span {
    display: block;
    margin-top: 0.45rem;
    color: var(--gold-dark);
    font-size: 0.24em;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.card-lead {
    max-width: 39rem;
    margin: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: clamp(1.08rem, 4vw, 1.4rem);
    line-height: 1.75;
}

.keyword-list {
    display: flex;
    margin: 1.25rem 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
}

.keyword-list li {
    padding: 0.24rem 0.65rem;
    border: 1px solid rgba(136, 103, 36, 0.25);
    border-radius: 2rem;
    background: rgba(255, 252, 246, 0.58);
    color: var(--wine);
    font-size: 0.67rem;
}

.card-toc {
    display: flex;
    margin-top: 1.8rem;
    padding-top: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    gap: 0.25rem 0.8rem;
}

.card-toc a {
    color: var(--ink-soft);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}

.card-toc a::after {
    margin-left: 0.25rem;
    color: var(--gold-dark);
    content: "↓";
}

.card-article-narrow {
    max-width: 54rem;
}

.card-prose-section,
.card-topic-section {
    padding-block: clamp(4.5rem, 11vw, 8rem);
}

.card-section-heading {
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

.card-section-heading h2 {
    margin-bottom: 0;
}

.prose-text {
    margin: 0;
    color: var(--ink-soft);
    line-height: 2;
    white-space: pre-line;
}

.meaning-section {
    border-block: 1px solid rgba(74, 53, 88, 0.09);
    background: rgba(255, 252, 246, 0.58);
}

.meaning-grid {
    display: grid;
    gap: 1rem;
}

.meaning-card {
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: var(--paper);
}

.meaning-card > header {
    display: flex;
    padding-bottom: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 0.8rem;
}

.orientation-symbol {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.38);
    border-radius: 50%;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 1.2rem;
}

.meaning-card header p {
    margin: 0;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.52rem;
    letter-spacing: 0.14em;
}

.meaning-card header h3 {
    margin: 0;
}

.meaning-summary {
    margin: 1.2rem 0 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 600;
}

.meaning-card > .prose-text {
    margin-top: 1.6rem;
}

.reversed-meaning {
    background: rgba(244, 239, 230, 0.66);
}

.topic-sections > .card-topic-section + .card-topic-section {
    border-top: 1px solid var(--line);
}

.topic-reading-grid {
    display: grid;
    gap: 2rem;
}

.topic-reading-grid > section {
    min-width: 0;
}

.topic-reading-grid h3 {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.6rem;
}

.topic-reading-grid h3 span {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(136, 103, 36, 0.35);
    border-radius: 50%;
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.8rem;
}

.card-advice-section {
    padding-block: clamp(4.5rem, 11vw, 8rem);
    background: var(--night);
    color: #d7ced9;
}

.advice-grid {
    display: grid;
    gap: 2.5rem;
}

.card-advice-section h2,
.card-advice-section h3 {
    color: #fffaf1;
}

.advice-readings {
    display: grid;
    gap: 2rem;
}

.advice-readings > section {
    padding-top: 1rem;
    border-top: 1px solid rgba(227, 201, 128, 0.2);
}

.advice-readings .prose-text {
    color: #d7ced9;
}

.reading-note {
    display: grid;
    margin-block: clamp(4.5rem, 11vw, 7rem);
    padding: 1.4rem;
    border: 1px solid rgba(136, 103, 36, 0.28);
    border-radius: 0.75rem;
    background: rgba(200, 164, 86, 0.08);
    gap: 1rem;
}

.reading-note > span {
    color: var(--gold-dark);
    font-size: 1.5rem;
}

.reading-note h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 5vw, 2rem);
}

.reading-note p {
    margin: 0;
    color: var(--ink-soft);
}

.card-pager {
    display: grid;
    padding-block: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 1px solid var(--line);
    gap: 0.75rem;
}

.card-pager a {
    display: grid;
    min-width: 0;
    padding: 0.8rem;
    border-radius: 0.45rem;
    text-decoration: none;
}

.card-pager a:hover {
    background: rgba(110, 45, 79, 0.06);
}

.card-pager small {
    color: var(--gold-dark);
    font-family: var(--serif);
    font-size: 0.48rem;
    letter-spacing: 0.12em;
}

.card-pager strong {
    overflow: hidden;
    font-family: var(--serif);
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-pager span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.58rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.next-card {
    text-align: right;
}

@media (min-width: 700px) {
    .card-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

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

    .card-index-copy {
        padding: 1rem;
    }

    .card-index-copy strong {
        font-size: 1.12rem;
    }

    .card-index-copy > span {
        font-size: 0.72rem;
    }

    .suit-catalog-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
        align-items: end;
        gap: 2rem;
    }

    .meaning-card {
        padding: 2rem;
    }

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

    .topic-reading-grid > section + section {
        padding-left: 3.5rem;
        border-left: 1px solid var(--line);
    }

    .reading-note {
        grid-template-columns: 2rem 1fr;
        padding: 2rem;
        gap: 1.2rem;
    }

    .card-pager a {
        padding: 1.1rem 1.3rem;
    }
}

@media (min-width: 960px) {
    .card-guide-hero {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
        gap: 6rem;
    }

    .card-guide-feature {
        width: 17rem;
    }

    .card-catalog-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .minor-card-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .card-index-copy small {
        font-size: 0.45rem;
    }

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

    .card-index-copy > span {
        font-size: 0.66rem;
    }

    .card-detail-hero {
        grid-template-columns: minmax(19rem, 0.7fr) minmax(0, 1.3fr);
        min-height: calc(100svh - var(--header-height) - 3rem);
        padding-block: 3rem 6rem;
        gap: 6rem;
    }

    .card-detail-figure {
        width: min(25rem, 100%);
    }

    .meaning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 1.4rem;
    }

    .advice-grid {
        grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
        gap: 5rem;
    }
}
