.account-page {
  --account-ink:var(--ink);
  --account-muted:var(--muted);
  --account-line:var(--line);
  min-height:100vh;
  padding:25px clamp(20px,4vw,54px);
  background:var(--bg);
}

.account-shell {
  max-width:1120px;
  margin:auto;
}

.account-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:50px;
  gap:20px;
}

.account-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  font-weight:600;
  letter-spacing:-.06em;
}

.account-brand svg,.account-brand img {
  width:31px;
  height:31px;
}

.account-home {
  color:var(--muted);
  font-size:14px;
}

.account-home:hover,.account-terms-link:hover {
  color:var(--accent);
}

.account-layout {
  display:grid;
  grid-template-columns:1fr .85fr;
  align-items:center;
  gap:90px;
  padding-block:75px 85px;
}

.account-story {
  min-width:0;
}

.account-kicker,.plan-eyebrow,.signed-in-label {
  color:var(--accent);
  font:10px/1.6 ui-monospace,monospace;
  letter-spacing:.12em;
}

.account-story h2 {
  margin-top:22px;
  font-size:clamp(38px,4vw,55px);
  font-weight:550;
  line-height:1.2;
  letter-spacing:-.055em;
}

.account-story-copy {
  max-width:46ch;
  margin-top:21px;
  color:var(--muted);
  font-size:14px;
  line-height:1.85;
}

.plan-panel {
  margin-top:30px;
  padding:27px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
}

.plan-panel-heading {
  display:flex;
  align-items:center;
  gap:13px;
}

.plan-mark {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid var(--border);
  border-radius:7px;
  color:var(--accent);
}

.plan-name {
  margin-top:3px;
  font-size:14px;
  font-weight:550;
}

.plan-eyebrow {
  font-size:9px;
}

.plan-offer {
  margin-top:22px;
}

.plan-promo-badge {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:4px 9px;
  border:1px solid var(--border);
  border-radius:4px;
  color:var(--accent);
  font-size:10px;
}

.plan-promo-badge i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--accent);
}

.plan-price-row {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
}

.plan-price {
  font-size:42px;
  font-weight:550;
  line-height:1.2;
  letter-spacing:-.05em;
}

.plan-original-price {
  color:var(--dim);
  font-size:22px;
  text-decoration:line-through;
}

.plan-price.is-unavailable {
  font-size:14px;
  line-height:1.7;
  letter-spacing:0;
}

.plan-countdown {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
}

.plan-countdown strong {
  color:var(--ink);
  font-weight:550;
  font-variant-numeric:tabular-nums;
}

.plan-caption {
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}

.plan-benefits {
  display:grid;
  gap:11px;
  margin:20px 0 0;
  padding:20px 0 0;
  border-top:1px solid var(--border);
  list-style:none;
}

.plan-benefits li {
  position:relative;
  padding-left:23px;
  color:var(--muted);
  font-size:12px;
}

.plan-benefits li::before {
  position:absolute;
  left:0;
  content:"✓";
  color:var(--accent);
}

.plan-scope {
  margin-top:22px;
  color:var(--dim);
  font-size:11px;
  line-height:1.7;
}

.account-terms-link {
  display:inline-block;
  margin-top:18px;
  color:var(--muted);
  font-size:11px;
}

.account-card {
  min-width:0;
  padding:34px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--raised);
  box-shadow:0 12px 35px var(--shadow);
}

.account-card-heading .eyebrow {
  color:var(--accent);
  font-size:9px;
}

.account-card h1 {
  margin-top:14px;
  font-size:31px;
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.045em;
}

.account-lede {
  margin-top:14px;
  color:var(--muted);
  font-size:12px;
  line-height:1.9;
}

.account-card form {
  display:grid;
  gap:10px;
  margin-top:26px;
}

.account-card label {
  color:var(--ink);
  font-size:12px;
}

.account-card input {
  width:100%;
  min-height:47px;
  padding:11px 13px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--bg);
  color:var(--ink);
  font-size:14px;
}

.account-card input::placeholder {
  color:var(--dim);
}

.account-card input:focus {
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.account-submit {
  width:100%;
  min-height:47px;
  margin-top:7px;
  border-radius:6px;
}

.account-submit:disabled {
  opacity:.5;
  cursor:wait;
}

.account-submit.is-loading {
  opacity:.8;
  cursor:wait;
}

.checkout-button-spinner,.checkout-progress-spinner {
  display:inline-block;
  flex-shrink:0;
  width:14px;
  height:14px;
  margin-left:7px;
  border:1px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:checkout-spin .8s linear infinite;
}

@keyframes checkout-spin {
  to {
    transform:rotate(360deg);
  }
}

.checkout-progress {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface);
  color:var(--accent);
  font-size:11px;
}

.account-back {
  display:block;
  margin:12px auto 0;
  padding:6px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
}

.account-back:hover {
  color:var(--accent);
}

.signed-in-panel {
  margin-top:25px;
  padding:17px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--surface);
}

.account-user {
  margin-top:7px;
  overflow-wrap:anywhere;
  font-size:14px;
}

.account-plan {
  margin-top:7px;
  color:var(--accent);
  font-size:12px;
}

.password-settings {
  margin-top:15px;
}

.password-settings h2 {
  margin:0;
  font-size:13px;
}

.password-settings-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.password-settings-copy {
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}

.password-settings .password-change-toggle {
  margin:0;
  padding:6px;
}

.password-settings form {
  margin-top:13px;
}

.account-status {
  min-height:22px;
  margin-top:14px;
  color:var(--accent);
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.7;
}

.account-status[style*="rgb(180, 35, 24)"] {
  color:#c65440!important;
}

.account-terms {
  margin-top:12px;
  color:var(--dim);
  font-size:11px;
  line-height:1.75;
}

.account-devices {
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.account-devices h2 {
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
  font-size:14px;
}

.account-devices h2 span:last-child {
  color:var(--accent);
  font-size:12px;
}

.account-devices ul {
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.account-device {
  padding:14px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--surface);
  overflow-wrap:anywhere;
}

.account-device-name {
  font-size:13px;
  font-weight:550;
}

.account-device-meta,.account-devices p {
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
}

.account-device-id {
  display:block;
  margin-top:7px;
  color:var(--muted);
  font:10px/1.6 ui-monospace,monospace;
  user-select:all;
  overflow-wrap:anywhere;
}

.account-devices a {
  color:var(--accent);
}

.account-footer {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding-top:20px;
  border-top:1px solid var(--line);
  color:var(--dim);
  font-size:10px;
}

@media(max-width:850px) {
  .account-layout {
    gap:35px;
  }
  .account-card {
    padding:27px;
  }
}

@media(max-width:700px) {
  .account-card input {
    font-size:16px;
  }
  .account-layout {
    grid-template-columns:1fr;
    max-width:530px;
    margin:auto;
    gap:30px;
    padding-block:45px 55px;
  }
  .account-story h2 {
    font-size:43px;
  }
}

@media(max-width:420px) {
  .account-page {
    padding:18px 20px;
  }
  .account-story h2 {
    font-size:38px;
  }
  .account-card,.plan-panel {
    padding:23px;
  }
  .account-card h1 {
    font-size:28px;
  }
}
