
/* =========================================================
   BirthCode — Editorial Teal / Ivory Redesign
   Drop-in replacement for /assets/style.css
   Keeps the existing class names and PHP/HTML structure.
   ========================================================= */

:root {
    --ink: #182625;
    --ink-soft: #343438;
    --teal: #3a3a3d;
    --teal-dark: #242427;
    --teal-light: #9a9aa0;
    --copper: #b86f4b;
    --copper-dark: #8e4f32;
    --ivory: #f6f1e7;
    --paper: #fffdf8;
    --sand: #dfd1bb;
    --mist: #edf3f1;
    --muted: #667773;
    --line: rgba(24, 38, 37, .14);
    --line-strong: rgba(58, 58, 61, .28);
    --shadow-sm: 0 10px 30px rgba(24, 38, 37, .08);
    --shadow-md: 0 24px 70px rgba(24, 38, 37, .13);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background:
        linear-gradient(rgba(80, 80, 84, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 80, 84, .035) 1px, transparent 1px),
        var(--ivory);
    background-size: 42px 42px;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 0%, rgba(170, 170, 175, .20), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(184, 111, 75, .13), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.75), transparent 48%);
}

img {
    max-width: 100%;
}

.page {
    min-height: 100vh;
    padding: 18px 22px 40px;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
}

h1 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.03;
    font-weight: 500;
}

/* =========================
   Header and brand
   ========================= */

.site-header {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    min-height: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrap,
.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-wrap {
    padding: 4px 0 10px;
}

.logo-wrap img {
    width: 520px;
    max-width: 88%;
    height: auto;
    display: block;
    filter: none;
}

.brand {
    margin-bottom: 28px;
}

.brand img {
    width: 250px;
    max-width: 88%;
    height: auto;
    display: block;
}

/* =========================
   Homepage hero
   ========================= */

.hero {
    position: relative;
    max-width: 1120px;
    margin: 26px auto 24px;
    padding: 68px 54px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(237,243,241,.90)),
        var(--paper);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero::before {
    content: "01  •  03  •  07  •  09";
    position: absolute;
    right: -12px;
    top: 34px;
    color: rgba(36, 94, 90, .09);
    font-family: Georgia, serif;
    font-size: clamp(34px, 7vw, 92px);
    letter-spacing: .15em;
    white-space: nowrap;
    transform: rotate(90deg) translateX(65%);
    transform-origin: top right;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 9px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--copper));
}

.hero.small {
    max-width: 900px;
    padding-top: 52px;
}

.hero h1 {
    max-width: 790px;
    margin-bottom: 22px;
    color: var(--muted);
}

.hero p {
    max-width: 720px;
    margin: 0;
    color: var(--teal);
    font-size: 19px;
    line-height: 1.72;
}

.hero-sub {
    margin-top: 20px !important;
    color: var(--copper-dark) !important;
    font-weight: 700;
}

/* =========================
   Form and general cards
   ========================= */

.card,
.results {
    max-width: 780px;
    margin: 28px auto 0;
}

.card,
.result-card,
.upgrade-card,
.feature-card,
.analysis-status,
.number-card,
.premium-section,
.locked-card,
.interpretation-block,
.cycle-card,
.timing-card,
.locked-preview-card {
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, .94);
    box-shadow: var(--shadow-sm);
}

.card {
    position: relative;
    padding: 34px;
    border-radius: var(--radius-lg);
}

.card::before {
    content: "PERSONAL READING";
    display: inline-block;
    margin-bottom: 4px;
    color: var(--copper);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

label {
    display: block;
    margin: 20px 0 9px;
    color: var(--muted);
    font-weight: 750;
}

label span {
    color: var(--teal);
    font-weight: 500;
}

input {
    width: 100%;
    min-height: 54px;
    padding: 15px 17px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(58, 58, 61, .11);
}

input::placeholder {
    color: #8d9996;
}
/*
button,
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 56px;
    margin-top: 24px;
    padding: 15px 22px;
    border: 1px solid var(--copper-dark);
    border-radius: var(--radius-sm);
    background: var(--copper-dark);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

button:hover,
.button:hover {
    transform: translateY(-2px);
    background: var(--teal-dark);
    box-shadow: 0 12px 26px rgba(58, 58, 61, .20);
}
*/

button,
.button,
.share-btn,
.premium-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 56px;

    margin-top: 24px;
    padding: 15px 22px;

    border: 1px solid rgba(216, 169, 54, 0.35);
    border-radius: 10px;

    background: var(--muted);

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

    transition: all 0.2s ease;
}

.premium-button {
    background: var(--muted);
    color: #ffffff;
    border-color: var(--muted);
}
.premium-button:hover {
    background: var(--copper-dark);
}
button:hover,
.button:hover,
.share-btn:hover
 {
    background: var(--copper-dark);
    border-color: #d8a936;
    color: #f5d98b;

    transform: translateY(-2px);
}

.result-card,
.upgrade-card {
    padding: 26px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
}

.result-card h2,
.upgrade-card h2 {
    margin-top: 0;
    color: var(--teal);
}

.result-card p,
.upgrade-card p {
    color: var(--muted);
    line-height: 1.72;
}

.highlight {
    border-color: var(--copper);
}

/* =========================
   Trust row and feature cards
   ========================= */

.trust-row {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 14px;
}

.trust-row > * {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.55);
}

.features {
    max-width: 1120px;
    margin: 92px auto;
}



.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--copper);
}

.feature-card h3 {
    color: var(--muted);
    font-size: 25px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* =========================
   Section headings
   ========================= */

.section-kicker,
.about-kicker {
    color: var(--copper-dark);
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-kicker span {
    width: 46px;
    height: 1px;
    background: var(--copper);
}

.section-title {
    margin: 0 0 52px;
    color: var(--muted);
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 500;
}

/* =========================
   How it works
   ========================= */

.how-section {
    max-width: 1160px;
    margin: 105px auto 72px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 52px 1fr 52px 1fr;
    align-items: center;
    gap: 12px;
}

.step-card {
    position: relative;
    min-height: 280px;
    padding: 54px 30px 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 28px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--copper);
    color: #fff;
    font-size: 17px;
    font-weight: 850;
    transform: rotate(-4deg);
}

.step-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    border: 1px solid rgba(36, 94, 90, .22);
    background: var(--mist);
    color: var(--teal);
    font-size: 37px;
}

.step-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 25px;
    font-weight: 500;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.68;
}

.step-arrow {
    color: var(--copper);
    font-size: 30px;
}

/* =========================
   About numerology
   ========================= */

.about-numerology {
    max-width: 1160px;
    margin: 60px auto 92px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--ink);
    color: var(--ivory);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 42px;
    align-items: center;
    padding: 58px;
}

.about-kicker {
    margin-bottom: 20px;
    color: #d49a78;
}

.about-kicker::after {
    content: "";
    display: block;
    width: 65px;
    height: 2px;
    margin-top: 14px;
    background: var(--copper);
}

.about-numerology h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 500;
}

.about-numerology p {
    color: #cfdbd8;
    font-size: 17px;
    line-height: 1.72;
}

.about-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
}

.spark {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #e2ad89;
    font-size: 25px;
}

.about-note p {
    margin: 0;
}

.number-wheel {
    position: relative;
    width: 330px;
    height: 330px;
    margin: 0 auto;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.18);
    background:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        rgba(255,255,255,.035);
    background-size: 32px 32px;
    transform: rotate(2deg);
}

.wheel-ring {
    position: absolute;
    inset: 44px;
    border: 1px solid rgba(170, 170, 175, .35);
    border-radius: 24px;
    transform: rotate(45deg);
}

.wheel-ring::before,
.wheel-ring::after {
    content: "";
    position: absolute;
    inset: 42px;
    border: 1px solid rgba(184, 111, 75, .40);
}

.wheel-ring::before {
    transform: rotate(45deg);
}

.wheel-ring::after {
    transform: rotate(-45deg);
}

.wheel-center {
    position: absolute;
    inset: 120px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.20);
    background: var(--teal);
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}

.n {
    position: absolute;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.16);
    background: var(--ink-soft);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 26px;
}

.n7 { top: 18px; left: 50%; transform: translateX(-50%); }
.n3 { bottom: 18px; left: 50%; transform: translateX(-50%); }
.n5 { left: 18px; top: 50%; transform: translateY(-50%); }
.n9 { right: 18px; top: 50%; transform: translateY(-50%); }
.n6 { top: 72px; left: 68px; }
.n8 { top: 72px; right: 68px; }
.n4 { bottom: 72px; left: 68px; }
.n1 { bottom: 72px; right: 68px; }

/* =========================
   Footer
   ========================= */

.site-footer {
    max-width: 1160px;
    margin: 90px auto 26px;
    padding: 44px 24px 24px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.site-footer img {
    width: 170px;
    margin-bottom: 18px;
    filter: none;
}

.site-footer p {
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.footer-links a {
    color: var(--copper);
    font-weight: 750;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--copper-dark);
}

.copyright {
    font-size: 13px;
    opacity: .72;
}

/* =========================================================
   READING PAGE
   ========================================================= */

.reading-page {
    padding-top: 18px;
}

.reading-header {
    max-width: 1180px;
    margin: 0 auto 18px;
    text-align: center;
}

.reading-logo img {
    width: 330px;
    max-width: 88%;
    height: auto;
    filter: none;
}

.reading-hero {
    max-width: 980px;
    margin: 24px auto 38px;
    text-align: center;
}

.reading-name {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 21px;
}

.main-number-card {
    position: relative;
    padding: 52px 40px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(237,243,241,.92)),
        var(--paper);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.main-number-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--copper));
}

.main-number-card::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -55px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(58, 58, 61, .13);
    border-radius: 32px;
    transform: rotate(28deg);
    pointer-events: none;
}

.main-label {
    color: var(--copper-dark);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 850;
}

.main-number {
    width: 164px;
    height: 164px;
    margin: 20px auto;
    display: grid;
    place-items: center;
    border: 2px solid var(--copper);
    border-radius: 26px;
    background: var(--copper);
    color: #fff;
    font-size: 90px;
    font-weight: 500;
    box-shadow: 14px 14px 0 rgba(184, 111, 75, .20);
    transform: rotate(-2deg);
}

.main-number-card h1 {
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: clamp(36px, 5vw, 50px);
    font-weight: 500;
}

.main-keywords {
    margin-bottom: 22px;
    color: var(--copper-dark);
    font-weight: 750;
}

.main-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.analysis-status {
    max-width: 980px;
    margin: 0 auto 35px;
    padding: 24px 28px;
    border-radius: var(--radius-md);
}

.analysis-status strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 18px;
}

.analysis-status span {
    color: var(--muted);
}

.progress-wrap {
    height: 9px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #dde7e4;
}

.progress-bar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--copper));
}

.reading-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.number-card {
    padding: 26px;
    border-radius: 22px;
}

.number-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.number-card-top span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.number-card-top strong {
    min-width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: var(--mist);
    color: var(--teal);
    font-size: 28px;
}

.number-card h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 27px;
    font-weight: 500;
}

.number-card p {
    color: var(--muted);
    line-height: 1.68;
}

.number-keywords {
    color: var(--copper-dark) !important;
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   Scorecard and matrices
   ========================= */

.birthcode-scorecard {
    max-width: 1140px;
    margin: 0 auto 42px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--paper);
    box-shadow: var(--shadow-md);
}

.scorecard-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.scorecard-header h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 40px;
    font-weight: 500;
}

.scorecard-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.scorecard-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.score-item {
    position: relative;
    min-height: 150px;
    padding: 19px 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center;
    background: var(--mist);
}

.score-item span {
    display: block;
    min-height: 34px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.score-item strong {
    display: block;
    margin: 10px auto;
    color: var(--teal);
    font-size: 46px;
    line-height: 1;
}

.score-item em {
    display: block;
    color: var(--ink-soft);
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
}

.score-item.featured {
    border-color: var(--copper);
    background: #f9eee7;
}

.premium-section,
.numerology-matrix,
.core-number-chapter {
    max-width: 940px;
    margin: 28px auto;
    padding: 38px;
    border-radius: 26px;
}

.premium-section h2 {
    margin: 10px 0 18px;
    color: var(--ink);
    font-size: 35px;
    font-weight: 500;
}

.premium-section p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

.matrix-intro {
    max-width: 780px;
    margin-bottom: 34px;
}

.matrix-group {
    margin-top: 35px;
}

.matrix-group h3 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--teal);
    font-size: 24px;
    font-weight: 500;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 14px;
}

.matrix-item {
    min-height: 130px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--mist);
}

.matrix-item.featured {
    border-color: var(--copper);
    background: #f9eee7;
}

.matrix-item span {
    min-height: 32px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.matrix-item strong {
    display: block;
    margin-top: 10px;
    color: var(--teal);
    font-size: 38px;
    font-weight: 500;
}

.special-number-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.special-number-summary > div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--mist);
}

.special-number-summary span {
    display: block;
    margin-bottom: 10px;
    color: var(--copper-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.special-number-summary strong {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
}

/* =========================
   Sharing and actions
   ========================= */

.share-section {
    max-width: 920px;
    margin: 52px auto;
}

.share-card {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.share-btn {
    width: auto;
    min-width: 220px;
    margin-top: 20px;
    border-radius: 12px;
    background: var(--muted);
    border-color: var(--muted);
    color: #fff;
}

.share-btn:hover {
    background: var(--copper-dark);
}

.share-status {
    margin-top: 15px;
    color: var(--teal);
}

.share-card .about-kicker {
    display: block;
    text-align: center;
    color: var(--copper-dark);
}

.share-card .about-kicker::after {
    width: 70px;
    margin: 15px auto 0;
}

.reading-actions {
    margin-bottom: 25px;
    text-align: center;
}

.reading-actions.bottom {
    margin-top: 52px;
    margin-bottom: 62px;
}

.start-over-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

.start-over-btn:hover {
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px);
}

.start-over-btn.secondary {
    background: #fff;
}

.share-link-box {
    display: flex;
    gap: 12px;
    max-width: 680px;
    margin: 22px auto 0;
}

.share-link-box input {
    flex: 1;
}

.share-link-box button {
    width: auto;
    min-width: 130px;
    margin: 0;
}

/* =========================
   Premium and locked content
   ========================= */

.premium-upgrade {
    max-width: 1180px;
    margin: 46px auto 82px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 30px;
    align-items: center;
}

.premium-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.premium-list span,
.keyword-row span,
.cycle-age {
    padding: 8px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--mist);
    color: var(--teal);
    font-size: 13px;
}

.premium-button {
    margin-top: 0;
}

.locked-reading-section {
    max-width: 940px;
    margin: 42px auto;
}

.locked-card {
    padding: 44px;
    border-radius: 28px;
    text-align: center;
}

.locked-card h2 {
    margin: 14px 0;
    color: var(--ink);
    font-size: 39px;
}

.locked-card p {
    max-width: 680px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.68;
}

.unlock-form {
    max-width: 620px;
    margin: 28px auto 0;
}

.unlock-form input {
    margin-bottom: 14px;
}

.premium-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 20px 0 40px;
}

.locked-preview-wrap {
    position: relative;
    max-width: 1120px;
    margin: 35px auto;
}

.locked-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    filter: blur(5px);
    opacity: .48;
    pointer-events: none;
    user-select: none;
}

.locked-preview-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 20px;
}

.locked-preview-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background: rgba(246, 241, 231, .90);
    text-align: center;
}

.locked-preview-overlay h2 {
    margin: 10px 0;
    color: var(--ink);
    font-size: 37px;
}

.locked-preview-overlay p {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.65;
}

.lock-icon {
    color: var(--copper);
    font-size: 42px;
}

.unlock-kicker {
    justify-content: center;
    margin-bottom: 22px;
}

.unlock-kicker span {
    width: 70px;
}

/* =========================
   Interpretation sections
   ========================= */

.interpretation-hero {
    text-align: center;
}

.signature-number,
.chapter-number-display > strong {
    display: grid;
    place-items: center;
    border: 2px solid var(--teal);
    border-radius: 22px;
    background: var(--teal);
    color: #fff;
    box-shadow: 12px 12px 0 rgba(184, 111, 75, .18);
}

.signature-number {
    width: 136px;
    height: 136px;
    margin: 28px auto 20px;
    font-size: 72px;
    transform: rotate(1deg);
}

.interpretation-hero h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 34px;
    font-weight: 500;
}

.signature-subtitle {
    color: var(--copper-dark) !important;
    font-size: 17px !important;
}

.interpretation-list {
    display: grid;
    gap: 22px;
}

.interpretation-block {
    margin-top: 20px;
    padding: 30px;
    border-radius: 22px;
}

.interpretation-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 18px;
}

.interpretation-heading span {
    color: var(--copper-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.interpretation-heading h3,
.interpretation-block h3 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 27px;
    font-weight: 500;
}

.interpretation-number {
    min-width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: var(--mist);
    color: var(--teal);
    font-size: 36px;
}

.interpretation-block h4,
.cycle-card h4,
.timing-card h4 {
    margin: 24px 0 8px;
    color: var(--copper-dark);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.interpretation-context {
    padding: 14px 0 14px 18px;
    border-left: 3px solid var(--copper);
    color: var(--muted) !important;
    background: #faf4ee;
}

.keyword-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

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

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

.cycle-card,
.timing-card {
    padding: 26px;
    border-radius: 20px;
}

.cycle-card > span,
.timing-card > span {
    color: var(--copper-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cycle-card > strong,
.timing-card > strong {
    display: block;
    margin: 15px 0 8px;
    color: var(--teal);
    font-size: 48px;
}

.cycle-card h3,
.timing-card h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 500;
}

/* =========================
   Long-form chapters
   ========================= */

.chapter-number-display {
    margin: 20px 0 30px;
    text-align: center;
}

.chapter-number-display > span {
    display: block;
    color: var(--copper-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.chapter-number-display > strong {
    width: 126px;
    height: 126px;
    margin: 20px auto 18px;
    font-size: 68px;
    font-weight: 500;
}

.chapter-number-display h2 {
    margin: 0;
    color: var(--ink);
    font-size: 39px;
    font-weight: 500;
}

.chapter-intro {
    max-width: 760px;
    margin: 0 auto 30px;
    padding: 20px 22px;
    border-left: 3px solid var(--copper);
    background: #faf4ee;
    color: var(--muted) !important;
    font-size: 17px !important;
    line-height: 1.78 !important;
}

.chapter-content {
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.84;
}

.chapter-content h3,
.chapter-insight h3 {
    margin: 32px 0 12px;
    color: var(--teal);
    font-size: 24px;
    font-weight: 500;
}

.chapter-content p,
.chapter-insight p {
    margin: 0 0 18px;
}

.chapter-insight {
    margin-top: 34px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--mist);
}

.chapter-insight h3 {
    margin-top: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .scorecard-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .about-content {
        grid-template-columns: 1fr;
        padding: 38px 30px;
    }

    .number-wheel {
        width: 280px;
        height: 280px;
    }

    .wheel-center {
        inset: 100px;
        font-size: 22px;
    }

    .scorecard-header {
        grid-template-columns: 1fr;
    }

    .premium-upgrade {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .cycle-grid,
    .timing-grid {
        grid-template-columns: 1fr;
    }

    .interpretation-heading {
        align-items: flex-start;
    }

    .interpretation-number {
        min-width: 58px;
        height: 58px;
        font-size: 29px;
    }
}

@media (max-width: 768px) {
    .page {
        padding: 12px 14px 30px;
    }

    .logo-wrap img {
        width: 270px;
    }

    .hero {
        margin-top: 14px;
        padding: 44px 26px;
        border-radius: 26px;
    }

    .hero::before {
        display: none;
    }

    .hero p {
        font-size: 17px;
    }

    .card {
        padding: 26px 21px;
    }

    .main-number-card {
        padding: 38px 22px;
    }

    .main-number {
        width: 118px;
        height: 118px;
        border-radius: 20px;
        font-size: 64px;
        box-shadow: 9px 9px 0 rgba(184, 111, 75, .18);
    }

    .birthcode-scorecard {
        padding: 25px;
    }

    .scorecard-header h2 {
        font-size: 32px;
    }

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

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

    .special-number-summary {
        grid-template-columns: 1fr;
    }

    .share-link-box {
        flex-direction: column;
    }

    .share-link-box button {
        width: 100%;
    }

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

    .premium-section,
    .numerology-matrix,
    .core-number-chapter,
    .locked-card {
        padding: 26px 22px;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 36px 22px;
    }

    .trust-row {
        justify-content: center;
    }

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

    .about-content {
        padding: 32px 22px;
    }

    .number-wheel {
        width: 250px;
        height: 250px;
    }

    .wheel-center {
        inset: 90px;
    }

    .n {
        width: 46px;
        height: 46px;
        font-size: 23px;
    }

    .n6 { top: 63px; left: 58px; }
    .n8 { top: 63px; right: 58px; }
    .n4 { bottom: 63px; left: 58px; }
    .n1 { bottom: 63px; right: 58px; }

    .chapter-number-display > strong {
        width: 102px;
        height: 102px;
        font-size: 56px;
    }

    .chapter-number-display h2 {
        font-size: 31px;
    }

    .chapter-content {
        font-size: 17px;
    }
}
