/* Sophron account pages: login, register, account. Same palette and chrome as contact.html. */
:root {
  --cream: #f6f3ee; --cream-deep: #ede8df; --ink: #030248; --ink-soft: rgba(3,2,72,.7); --ink-faint: rgba(3,2,72,.45);
  --ink-line: rgba(3,2,72,.18); --gold: #daa520; --green: #044815; --body: #1a1410; --body-soft: rgba(26,20,16,.65);
  --error: #8e1814;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); color: var(--body); font-family: 'Chivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.sph-topnav { display: flex; align-items: center; justify-content: space-between; padding: 22px 40px; gap: 24px; }
.sph-topnav-brand { font-family: 'Cardo', serif; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.sph-topnav-brand sup { color: var(--gold); font-size: .5em; vertical-align: super; }
.sph-topnav-links { display: flex; gap: 28px; align-items: center; }
.sph-topnav-links a { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); transition: color .25s; }
.sph-topnav-links a:hover { color: var(--gold); }
.sph-topnav-links a[aria-current] { color: var(--ink); }
.sph-foot { width: 100%; max-width: 1100px; margin: 60px auto 0; padding: 32px 24px 0; text-align: center; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); border-top: 1px solid var(--ink-line); }
.sph-foot a { color: var(--ink-soft); transition: color .3s ease; }
.sph-foot a:hover { color: var(--gold); }
.sph-foot-brand { font-family: 'Cardo', serif; font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); text-transform: none; margin: 22px 0; }
.sph-foot-brand sup { color: var(--gold); font-size: .5em; vertical-align: super; }
.sph-foot-legal { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; font-size: .74rem; letter-spacing: .12em; }
.sph-foot-meta { opacity: .7; font-size: .66rem; letter-spacing: .18em; padding-bottom: 32px; }
@media (max-width: 600px) { .sph-foot { padding: 28px 16px 0; } .sph-foot-brand { font-size: 1.25rem; } .sph-foot-legal { gap: 14px; font-size: .68rem; letter-spacing: .08em; } }
@media (max-width: 640px) { .sph-topnav { padding-left: 20px; padding-right: 20px; } }

.acct { flex: 1 0 auto; width: 100%; max-width: 620px; margin: 0 auto; padding: 32px 24px 56px; }
/* The footer sits at the foot of the window, never floating mid-page (Vincent, 1 Oct 2026). */
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.acts .btn { width: auto; text-align: center; }
.acct.wide { max-width: 860px; }
.acct-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .22em; margin: 0 0 14px; padding: 6px 14px; background: rgba(3,2,72,.06); border: 1px solid var(--ink-line); border-radius: 999px; }
.acct h1 { font-family: 'Cardo', serif; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
.acct h1 sup { color: var(--gold); font-size: .5em; vertical-align: super; }
.acct .lede { font-family: 'Cardo', serif; font-style: italic; font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 30px; max-width: 60ch; }

.card { background: rgba(246,243,238,.7); border: 1px solid var(--ink-line); border-radius: 14px; padding: 26px 26px 24px; }
.card + .card { margin-top: 18px; }
.card h2 { font-family: 'Cardo', serif; font-size: 1.25rem; margin: 0 0 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--ink-line); border-radius: 10px; background: #fff; color: var(--body); }
.field input:focus, .field select:focus { outline: 2px solid rgba(218,165,32,.45); outline-offset: 1px; border-color: var(--gold); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--ink-line); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--body); cursor: pointer; user-select: none; }
.chips input { accent-color: var(--ink); margin: 0; }
.chips label:has(input:checked) { border-color: var(--ink); background: rgba(3,2,72,.06); }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 22px; }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }
.types label { display: block; padding: 16px 16px 14px; border: 1px solid var(--ink-line); border-radius: 12px; background: #fff; cursor: pointer; }
.types label:has(input:checked) { border-color: var(--ink); background: rgba(3,2,72,.06); box-shadow: 0 0 0 2px rgba(3,2,72,.12); }
.types input { position: absolute; opacity: 0; }
.types b { display: block; font-family: 'Cardo', serif; font-size: 1.15rem; margin-bottom: 4px; }
.types span { font-size: .85rem; color: var(--body-soft); line-height: 1.4; }

.branch { display: none; }
.branch[data-active] { display: block; }

.btn { display: inline-block; width: 100%; padding: 14px 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background .2s; }
.btn:hover { background: #060450; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink-line); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.msg { margin: 12px 0 0; font-size: .95rem; line-height: 1.5; }
.msg.error { color: var(--error); }
.msg.success { color: var(--green); }
.small { font-size: .88rem; color: var(--body-soft); line-height: 1.5; }
.small a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; margin: 4px 0 18px; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
/* The "agree to all three" shortcut above the three consents: the obvious first click.
   Ink border, serif title, one-line explainer, gold "quickest" pill; fills when ticked. */
.check.all { align-items: center; gap: 14px; padding: 16px 18px; margin: 22px 0 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; cursor: pointer; transition: background .2s, box-shadow .2s; }
.check.all:hover { box-shadow: 0 0 0 3px rgba(3,2,72,.10); }
.check.all:has(input:checked) { background: rgba(3,2,72,.06); }
.check.all input { width: 20px; height: 20px; margin: 0; flex: none; }
.check.all > span { flex: 1; min-width: 0; }
.check.all b { display: block; font-family: 'Cardo', serif; font-weight: 700; font-size: 1.12rem; line-height: 1.2; color: var(--ink); }
.check.all small { display: block; font-size: .84rem; color: var(--body-soft); margin-top: 3px; line-height: 1.4; }
.check.all em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 5px 10px; flex: none; }
@media (max-width: 480px) { .check.all { flex-wrap: wrap; gap: 10px 12px; } .check.all > span { flex-basis: calc(100% - 32px); } .check.all em { margin-left: 32px; } }

.steps { display: flex; gap: 6px; margin: 0 0 22px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--ink-line); }
.steps span[data-done] { background: var(--ink); }

.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: .95rem; }
.kv dt { color: var(--ink-soft); font-weight: 600; }
.kv dd { margin: 0; }
.clubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.club { border: 1px solid var(--ink-line); border-radius: 12px; padding: 16px; background: #fff; }
.club b { display: block; font-family: 'Cardo', serif; font-size: 1.1rem; margin-bottom: 4px; }
.club .small { margin-bottom: 12px; }
.club .btn { padding: 10px 14px; width: auto; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(4,72,21,.1); color: var(--green); }

.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 26px; align-items: stretch; }
@media (max-width: 600px) { .choose { grid-template-columns: 1fr; } }
/* Each card is a subgrid spanning four rows of the parent (logo, title, description, CTA), so
   the rows sit at the same height in both cards whatever the text length. */
.choose a, .choose button { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 8px; align-items: start; text-align: left; padding: 20px 20px 18px; border: 1px solid var(--ink-line); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; color: var(--body); height: 100%; }
@supports not (grid-template-rows: subgrid) { .choose a, .choose button { display: flex; flex-direction: column; gap: 10px; } .choose img { height: 56px; } .choose b { min-height: 2.5em; } }
.choose a:hover, .choose button:hover, .choose [data-on] { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(3,2,72,.12); }
.choose img { height: 34px; width: auto; align-self: center; justify-self: start; }
.choose img[alt="Amsterdam Investment Club"] { height: 56px; margin: -8px 0 -6px; }
.choose b { font-family: 'Cardo', serif; font-size: 1.2rem; align-self: end; }
.choose span { font-size: .9rem; color: var(--body-soft); line-height: 1.45; }
.choose em { font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); align-self: end; padding-top: 10px; }

/* "Same login as the club" strip at the top of the sign-in card: the club lockup beside two
   lines of text, so a member arriving from a club site sees at once that nothing is new. */
.same { display: flex; gap: 16px; align-items: center; padding: 14px 16px; margin: 0 0 22px; border: 1px solid var(--ink-line); border-radius: 12px; background: #fff; }
.same img { height: 72px; width: auto; flex: none; margin: -12px 0 -12px -4px; }
.same b { display: block; font-family: 'Cardo', serif; font-size: 1.1rem; color: var(--ink); margin: 0 0 3px; }
.same > div { min-width: 0; }
.same span { display: block; font-size: .88rem; color: var(--body-soft); line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 480px) { .same { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; } .same img { height: 56px; margin: -8px 0 0 -4px; } }
