:root {
  --bg-color: #000000;
  --sidebar-bg: #050505;
  --card-bg: #111111;
  --text-main: #ffffff;
  --text-muted: #888888;
  --border-color: #333333;
  --danger: #ff6b6b;
  --success: #d4ff64;
  --font-main: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg-color); }
body { min-height: 100vh; margin: 0; background: var(--bg-color); color: var(--text-main); font-family: var(--font-main); }
a { color: inherit; }

.account-header, .account-footer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: var(--sidebar-bg);
  border-color: var(--border-color);
}
.account-header { justify-content: space-between; border-bottom: 1px solid var(--border-color); }
.account-footer { justify-content: center; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 14px; }
.account-footer a:hover, .quiet-link:hover { color: var(--text-main); }
.account-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 22px; font-weight: 700; }
.account-brand img { display: block; object-fit: contain; }
.quiet-link { color: var(--text-muted); text-decoration: none; font-weight: 500; }

.account-main { min-height: calc(100vh - 154px); display: grid; place-items: center; padding: 48px 20px; }
.account-panel { width: min(100%, 480px); padding: 32px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; }
.eyebrow { margin: 0 0 10px; color: var(--text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 5vw, 42px); line-height: 1.08; letter-spacing: 0; }
.account-intro { margin: 16px 0 28px; color: #c8c8c8; line-height: 1.6; }
form { display: grid; gap: 10px; }
label { font-size: 14px; font-weight: 600; }
input { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #555; border-radius: 6px; background: #050505; color: var(--text-main); font: inherit; }
input:focus { outline: 2px solid var(--text-main); outline-offset: 2px; }
textarea { width: 100%; padding: 11px 12px; resize: vertical; border: 1px solid #555; border-radius: 6px; background: #050505; color: var(--text-main); font: inherit; }
textarea:focus { outline: 2px solid var(--text-main); outline-offset: 2px; }
.checkbox-row { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; margin: 8px 0 4px; color: #c8c8c8; font-weight: 400; line-height: 1.45; }
.checkbox-row input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: #fff; }
.primary-action { min-height: 46px; margin-top: 8px; padding: 12px 18px; border: 0; border-radius: 6px; background: var(--text-main); color: #000; font: inherit; font-weight: 700; cursor: pointer; }
.primary-action:hover { background: #dedede; }
.primary-action:disabled { cursor: progress; opacity: .6; }
.link-action { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.text-action { border: 0; background: transparent; color: var(--text-muted); font: inherit; cursor: pointer; text-decoration: underline; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--success); line-height: 1.45; }
.form-status.error { color: var(--danger); }
.account-switch, .account-note { margin: 20px 0 0; color: var(--text-muted); font-size: 14px; }
.account-disclosure { margin: 4px 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.account-disclosure a { color: var(--text-main); }
.account-switch a { color: var(--text-main); }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 26px 0 20px; }
.plan-price strong { font-size: 42px; }
.plan-price span, .account-note { color: var(--text-muted); }
.plan-list { display: grid; gap: 12px; margin: 0 0 24px; padding-left: 20px; color: #d4d4d4; }
.policy-main { padding: 56px 20px; }
.policy-content { width: min(100%, 760px); margin: 0 auto; }
.policy-content > p { color: #c8c8c8; line-height: 1.7; }
.policy-content h2 { margin: 34px 0 10px; font-size: 21px; letter-spacing: 0; }
.policy-content a { color: var(--text-main); }
.feedback-options { display: grid; gap: 11px; margin: 0 0 18px; padding: 0; border: 0; }
.feedback-options legend { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.feedback-options label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #d4d4d4; font-weight: 400; line-height: 1.4; }
.feedback-options input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: #fff; }
.optional-label { color: var(--text-muted); font-weight: 400; }
.feedback-skip { display: block; padding: 8px; text-align: center; }

@media (max-width: 640px) {
  .account-header { padding: 18px 20px; }
  .account-brand { font-size: 19px; }
  .quiet-link { font-size: 14px; }
  .account-main { min-height: calc(100vh - 143px); padding: 28px 16px; place-items: start center; }
  .account-panel { padding: 24px 20px; }
  .account-footer { flex-wrap: wrap; gap: 16px; padding: 18px 20px; }
}
