/* =====================================================================
   Fundwise Legal — Regulation pathway page styles
   Extends assets/style.css. Used by reg-cf.html, reg-a.html, reg-d.html
   ===================================================================== */

/* — Page header (cream, large editorial title) ——————————————————————— */
.reg-hero {
    padding: clamp(150px, 18vw, 220px) var(--gutter) clamp(60px, 8vw, 100px);
    border-bottom: 1px solid var(--line-soft);
    background: var(--cream);
    position: relative;
    z-index: 2;
}
.reg-hero__inner {
    max-width: 980px;
    margin: 0 auto;
}
.reg-hero__crumb {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    white-space: nowrap;
}
.reg-hero__crumb a { color: var(--muted); }
.reg-hero__crumb a:hover { color: var(--terracotta); }
.reg-hero__crumb .sep { width: 18px; height: 1px; background: var(--line-soft); display: inline-block; }

.reg-hero__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--terracotta);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.reg-hero__eyebrow::before {
    content: ""; display: inline-block; width: 32px; height: 1px;
    background: rgba(26, 36, 33, 0.3);
}

.reg-hero__title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(56px, 9vw, 112px);
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 28px;
    color: var(--ink);
}
.reg-hero__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
}

.reg-hero__lede {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.45;
    letter-spacing: -0.005em;
    color: rgba(26,26,26,0.78);
    max-width: 720px;
}

/* — Stats strip (ink/dark band, like home reg cards inverted) ———————— */
.reg-stats {
    background: var(--ink);
    color: var(--paper);
    padding: 56px var(--gutter);
    position: relative;
    z-index: 2;
}
.reg-stats__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.reg-stats__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.12);
    padding-right: 24px;
}
.reg-stats__item:last-child { border-right: 0; }
.reg-stats__k {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(244,240,230,0.55);
}
.reg-stats__v {
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
.reg-stats__v em {
    font-style: italic;
    color: var(--terracotta-tint);
    font-weight: 300;
}

@media (max-width: 720px) {
    .reg-stats__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .reg-stats__item:nth-child(2) { border-right: 0; }
}

/* — Body content ——————————————————————————————————————————————— */
.reg-body {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 120px) var(--gutter);
    position: relative;
    z-index: 2;
}

.reg-body section + section { margin-top: 72px; }

.reg-body__index {
    font-family: var(--mono);
    font-size: 11px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.reg-body__index .bar { width: 40px; height: 1px; background: var(--line-soft); }

.reg-body h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.018em;
    margin: 0 0 32px;
    color: var(--ink);
    max-width: 22ch;
}
.reg-body h2 em {
    font-style: italic;
    color: var(--terracotta);
    font-weight: 400;
}

.reg-body h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 24px);
    letter-spacing: -0.005em;
    margin: 40px 0 14px;
    color: var(--ink);
}

.reg-body p {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: rgba(26,26,26,0.84);
    margin: 0 0 18px;
}

.reg-body strong, .reg-body b { color: var(--ink); font-weight: 600; }

.reg-body ul, .reg-body ol {
    padding-left: 0;
    margin: 0 0 22px;
    list-style: none;
}
.reg-body li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(26,26,26,0.84);
    margin-bottom: 10px;
}
.reg-body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 14px;
    height: 1px;
    background: var(--terracotta);
}
.reg-body li ul {
    margin: 12px 0 6px;
}
.reg-body li li::before {
    background: var(--line-soft);
    width: 8px;
    left: 6px;
}

.reg-body a:not(.btn) { color: var(--terracotta); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.reg-body a:not(.btn):hover { color: var(--terracotta-dark); }

/* — Callout / highlight box (paper card with green rule) ——————————————— */
.reg-call {
    margin: 36px 0;
    padding: 28px 32px;
    background: var(--paper);
    border-left: 2px solid var(--terracotta);
}
.reg-call h4 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -0.005em;
}
.reg-call p { font-size: 15px; margin-bottom: 0; color: rgba(26,26,26,0.78); }
.reg-call--warn { border-left-color: #b6633a; }
.reg-call--warn h4 { color: #8a4524; }

/* — Comparison table (editorial / mono headers) ——————————————————————— */
.reg-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0 8px;
    font-family: var(--sans);
    font-size: 14px;
}
.reg-table th {
    text-align: left;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-weight: 500;
    padding: 14px 16px 14px 0;
    border-bottom: 1px solid var(--ink);
    white-space: nowrap;
}
.reg-table td {
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
    color: rgba(26,26,26,0.84);
}
.reg-table td strong { color: var(--ink); font-weight: 600; }
.reg-table .yes { color: var(--terracotta); font-weight: 600; }
.reg-table .no  { color: var(--muted-2); }

@media (max-width: 720px) {
    .reg-table { font-size: 13px; }
    .reg-table th, .reg-table td { padding: 12px 10px 12px 0; }
}

/* — Tier / rule cards (two-up panels) ———————————————————————————————— */
.reg-tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 32px 0;
    border: 1px solid var(--line-soft);
}
.reg-tier {
    padding: 32px;
    border-right: 1px solid var(--line-soft);
}
.reg-tier:last-child { border-right: 0; }
.reg-tier--featured { background: var(--paper); }
.reg-tier__badge {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 12px;
}
.reg-tier--featured .reg-tier__badge { color: var(--terracotta); }
.reg-tier__name {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.012em;
    margin-bottom: 4px;
    color: var(--ink);
}
.reg-tier__name em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.reg-tier__sub {
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.reg-tier ul { margin: 0; }
.reg-tier li { font-size: 14px; line-height: 1.6; padding-left: 22px; margin-bottom: 8px; }
.reg-tier li::before { width: 10px; left: 4px; top: 11px; }
.reg-tier li.no::before { background: var(--muted-2); }

@media (max-width: 720px) {
    .reg-tiers { grid-template-columns: 1fr; }
    .reg-tier { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .reg-tier:last-child { border-bottom: 0; }
}

/* — Process timeline ——————————————————————————————————————————————— */
.reg-steps {
    margin: 36px 0;
    position: relative;
}
.reg-steps::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--line-soft);
}
.reg-step {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 28px;
    padding-bottom: 28px;
    position: relative;
}
.reg-step:last-child { padding-bottom: 0; }
.reg-step__dot {
    width: 28px;
    height: 28px;
    border: 1px solid var(--ink);
    background: var(--bg);
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink);
    z-index: 1;
    margin-top: 2px;
}
.reg-step h4 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--ink);
}
.reg-step h4 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.reg-step p { font-size: 15px; margin-bottom: 6px; color: rgba(26,26,26,0.78); }
.reg-step__dur {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
    padding-top: 8px;
    margin-top: 6px;
}

/* — Accredited investor box (dark) ———————————————————————————————————— */
.reg-accred {
    background: var(--ink);
    color: var(--paper);
    padding: 48px;
    margin: 36px 0;
}
.reg-accred h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--paper);
    font-size: 26px;
    margin: 0 0 28px;
}
.reg-accred h3 em { font-style: italic; color: var(--terracotta-tint); font-weight: 300; }
.reg-accred__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.reg-accred h4 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta-tint);
    margin: 0 0 14px;
    font-weight: 500;
}
.reg-accred ul { margin: 0; }
.reg-accred li {
    color: rgba(244,240,230,0.78);
    font-size: 14px;
    line-height: 1.65;
    padding-left: 22px;
    margin-bottom: 10px;
}
.reg-accred li::before { background: var(--terracotta-tint); top: 11px; }

@media (max-width: 720px) {
    .reg-accred { padding: 32px 24px; }
    .reg-accred__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* — FAQ accordion ——————————————————————————————————————————————————— */
.reg-faq {
    background: var(--paper);
    padding: clamp(80px, 10vw, 120px) var(--gutter);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.reg-faq__inner { max-width: 820px; margin: 0 auto; }
.reg-faq__head {
    text-align: left;
    margin-bottom: 56px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 28px;
}
.reg-faq__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta);
    margin-bottom: 14px;
}
.reg-faq__title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}
.reg-faq__title em { font-style: italic; color: var(--terracotta); font-weight: 400; }

.reg-faq__item {
    border-bottom: 1px solid var(--line-soft);
}
.reg-faq__q {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 24px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
}
.reg-faq__q:hover { color: var(--terracotta); }
.reg-faq__sign {
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 22px;
    color: var(--terracotta);
    font-weight: 300;
    line-height: 1;
    margin-top: 2px;
    transition: transform 0.25s var(--ease);
}
.reg-faq__item.is-open .reg-faq__sign { transform: rotate(45deg); }
.reg-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.reg-faq__a-inner {
    padding: 0 0 28px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(26,26,26,0.78);
    max-width: 68ch;
}

/* — CTA band ————————————————————————————————————————————————————————— */
.reg-cta {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(80px, 10vw, 120px) var(--gutter);
    text-align: left;
    position: relative;
    z-index: 2;
}
.reg-cta__inner { max-width: 820px; margin: 0 auto; }
.reg-cta__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta-tint);
    margin-bottom: 18px;
}
.reg-cta__title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    max-width: 16ch;
}
.reg-cta__title em { font-style: italic; color: var(--terracotta-tint); font-weight: 400; }
.reg-cta__lede {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 19px;
    color: rgba(244,240,230,0.78);
    margin-bottom: 36px;
    max-width: 56ch;
}
.reg-cta__btn {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--paper);
    border: 1px solid var(--terracotta-tint);
    padding: 16px 28px;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.reg-cta__btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

/* — Related pathways —————————————————————————————————————————————————— */
.reg-related {
    background: var(--cream-deep);
    padding: clamp(60px, 8vw, 96px) var(--gutter);
    position: relative;
    z-index: 2;
}
.reg-related__inner { max-width: 980px; margin: 0 auto; }
.reg-related__title {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.reg-related__title::before {
    content: ""; display: inline-block; width: 32px; height: 1px;
    background: rgba(26,26,26,0.3);
}
.reg-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-soft); }
.reg-related__card {
    padding: 32px;
    border-right: 1px solid var(--line-soft);
    background: var(--bg);
    color: var(--ink);
    transition: background .25s var(--ease), color .25s var(--ease);
}
.reg-related__card:last-child { border-right: 0; }
.reg-related__card:hover { background: var(--ink); color: var(--paper); }
.reg-related__card:hover h4 em { color: var(--terracotta-tint); }
.reg-related__card:hover p { color: rgba(244,240,230,0.7); }
.reg-related__card:hover .reg-related__chip { color: var(--terracotta-tint); border-color: var(--terracotta-tint); }
.reg-related__num {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 14px;
}
.reg-related__card:hover .reg-related__num { color: var(--terracotta-tint); }
.reg-related__card h4 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.012em;
    margin: 0 0 8px;
}
.reg-related__card h4 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.reg-related__card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 20px;
}
.reg-related__chip {
    display: inline-block;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
    padding-top: 10px;
}

@media (max-width: 720px) {
    .reg-related__grid { grid-template-columns: 1fr; }
    .reg-related__card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .reg-related__card:last-child { border-bottom: 0; }
}
