:root {
    --ink: #18221f;
    --muted: #66716d;
    --line: #dde3df;
    --canvas: #f6f7f4;
    --accent: #315f52;
    --accent-dark: #24493f;
    --accent-soft: #e8f1ed;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.account-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: white; }
.account-header > a:last-child { color: var(--accent); font-size: .9rem; font-weight: 700; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.brand strong { color: var(--accent); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--accent); font-weight: 800; }
.account-page { width: min(1000px, calc(100% - 40px)); min-height: calc(100vh - 76px); margin: 0 auto; display: grid; grid-template-columns: 1fr 430px; gap: clamp(40px, 8vw, 100px); align-items: center; padding: 60px 0; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.account-copy h1 { max-width: 560px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.055em; }
.account-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.account-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.account-copy li { margin: 12px 0; }
.account-copy li::before { content: "✓"; display: inline-grid; width: 24px; height: 24px; margin-right: 10px; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: .75rem; font-weight: 800; }
.account-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.status-pill { display: inline-block; margin-bottom: 18px; padding: 6px 9px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); font-size: .7rem; font-weight: 800; }
.account-card h2 { margin: 0; font-size: 1.8rem; letter-spacing: -.035em; }
.account-card > p { color: var(--muted); font-size: .9rem; }
form { margin-top: 24px; }
label { display: block; margin: 14px 0 7px; font-size: .84rem; font-weight: 750; }
input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: 0; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49,95,82,.1); }
button, .guest-link { min-height: 48px; display: grid; place-items: center; border-radius: 10px; font-weight: 750; }
button { width: 100%; margin-top: 20px; border: 0; color: white; background: var(--accent); cursor: pointer; }
button:hover { background: var(--accent-dark); }
button:disabled { cursor: not-allowed; opacity: .6; }
.secondary-account-button { border: 1px solid var(--line); color: var(--accent); background: white; }
.secondary-account-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.account-note { min-height: 42px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--muted); font-size: .76rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.guest-link { border: 1px solid var(--line); }
.guest-link:hover { border-color: var(--accent); }

@media (max-width: 800px) {
    .account-page { grid-template-columns: 1fr; gap: 38px; padding-top: 40px; }
    .account-copy h1 { font-size: clamp(2.3rem, 10vw, 3.7rem); }
}

@media (max-width: 520px) {
    .account-header { height: auto; align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 16px; }
    .account-page { width: min(100% - 24px, 440px); }
    .account-card { padding: 24px; }
}
