/* Native Apple typography with the measured black payment-row geometry. */
:root {
  color-scheme: dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica,
    Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: #f5f5f7;
  background: #211f22;
  --page: #211f22;
  --surface: #252326;
  --surface-raised: #2d2a2f;
  --line: #3a373c;
  --muted: #b2aeb7;
  --quiet: #8f8a95;
  --black: #000;
  --radius: 22px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
[hidden] {
  display: none !important;
}
.recovery-page {
  min-height: 100vh;
  background: #151618;
  color: #f7f8fb;
}
.recovery-page > header,
.recovery-page > footer {
  display: none;
}
.recovery-screen {
  width: min(456px, calc(100% - 48px));
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(40px, 7vh, 64px) 0 48px;
  text-align: center;
}
.recovery-brand {
  margin: 0 0 clamp(65px, 12.6vh, 112px);
  font-size: clamp(36px, 9vw, 46px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -2px;
}
.recovery-card {
  padding: 26px clamp(14px, 4.5vw, 24px) 20px;
  margin-bottom: 24px;
  border-radius: 21px;
  background: #17212b;
}
.recovery-chain {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 26px;
  overflow: visible;
}
.recovery-chain-top {
  animation: recovery-separation-up 2.2s ease-in-out 3;
}
.recovery-chain-bottom {
  animation: recovery-separation-down 2.2s ease-in-out 3;
}
.recovery-sparks {
  animation: recovery-sparks 2.2s ease-in-out 3;
}
.recovery-card h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.8px;
}
.recovery-card p {
  margin: 0;
  font-size: clamp(17px, 4.5vw, 21px);
  line-height: 1.22;
  overflow-wrap: anywhere;
  letter-spacing: -0.25px;
}
.recovery-card p a {
  color: #48a9ff;
}
.recovery-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px 12px;
  border-radius: 12px;
  background: #258ef3;
  color: #fff;
  font-size: clamp(20px, 5.5vw, 25px);
  font-weight: 650;
  line-height: 1.14;
  transition: background-color 0.16s;
}
.recovery-button:hover {
  background: #1681eb;
}
@keyframes recovery-separation-up {
  50% {
    transform: translateY(-5px);
  }
}
@keyframes recovery-separation-down {
  50% {
    transform: translateY(5px);
  }
}
@keyframes recovery-sparks {
  50% {
    opacity: 0.45;
  }
}
@media (max-height: 650px) {
  .recovery-brand {
    margin-bottom: 42px;
  }
  .recovery-chain {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
  }
  .recovery-button {
    min-height: 66px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recovery-chain-top,
  .recovery-chain-bottom,
  .recovery-sparks {
    animation: none;
  }
}
.icon-sprite {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
output {
  font: inherit;
}
button {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button:not(:disabled),
a {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
button {
  transition:
    background-color 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
button:not(:disabled):active {
  transform: scale(0.985);
}
.native-emoji {
  font-family:
    "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-variant-emoji: emoji;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 1;
}
.header {
  max-width: 1100px;
  height: 88px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.9px;
}
.header-label {
  color: var(--quiet);
  font-size: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: #f5f5f7;
}
h1 {
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: -2.7px;
  font-weight: 600;
  margin-bottom: 24px;
}
h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.75px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.25px;
  font-weight: 550;
}
.muted {
  color: var(--muted);
  line-height: 1.6;
}
.small {
  font-size: 12px;
  line-height: 1.55;
}
.full {
  width: 100%;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.4px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b5b0bb;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 20px;
  border: 1px solid #000;
  border-radius: 16px;
  background: var(--black);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.25px;
}
.primary:not(:disabled):hover,
.secondary:not(:disabled):hover {
  background: #0b0a0c;
  border-color: #0b0a0c;
}
.primary:disabled,
.secondary:disabled {
  background: #000;
  color: #a7a2ad;
  opacity: 1;
}
.secondary {
  border-color: var(--line);
}
.action-row {
  display: flex;
  height: 80px;
  min-height: 80px;
  padding: 16px;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  background: #000;
  text-align: left;
}
.action-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
  line-height: 1.2;
}
.action-copy strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.25px;
}
.action-copy > span {
  font-size: 14px;
  font-weight: 400;
  color: #b8b4bd;
  letter-spacing: -0.2px;
}
.action-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 33px;
  flex-shrink: 0;
}
.sbp-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.row-chevron {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #fff;
}
.action-row:disabled .row-chevron {
  color: #8e8995;
}
.action-row:disabled .action-copy > span {
  color: #8e8995;
}

/* Authentication keeps all original states and IDs. */
#auth-main {
  max-width: 1100px;
  margin: auto;
  padding: 76px 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 166px);
}
.intro .eyebrow {
  margin-bottom: 26px;
}
#intro-title span {
  color: #aaa5b0;
}
.intro-copy {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 35px;
}
.benefit {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 23px 0;
}
.benefit-mark {
  display: grid;
  place-items: center;
  background: #2d2a2f;
  border: 1px solid var(--line);
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  font-size: 24px;
}
.benefit strong {
  font-size: 14px;
  font-weight: 550;
}
.benefit p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--quiet);
}
.private-note {
  margin-top: 38px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--quiet);
}
.private-note .native-emoji {
  font-size: 15px;
  margin-right: 5px;
}
.access-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 40px #0000000a;
}
.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: var(--quiet);
}
.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0;
}
.state-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 30px;
  border-radius: 18px;
  background: #000;
  color: #fff;
  margin: 36px 0 26px;
}
.state-icon.loading {
  animation: breathe 1.5s ease-in-out infinite;
}
.state-icon.warning {
  color: #e6d7be;
}
.state-icon.success {
  color: #d8eddb;
}
.step-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--quiet);
  margin-bottom: 13px;
}
.card-copy h2 {
  font-size: 28px;
  line-height: 1.22;
  margin-bottom: 15px;
  letter-spacing: -0.9px;
}
.description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 27px;
}
.actions .primary {
  justify-content: space-between;
}
.actions .secondary {
  width: 100%;
}
.card-hint {
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
  color: var(--quiet);
  margin: 15px 0 0;
}
.card-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.6;
}
.small-diamond {
  font-size: 20px;
}
.session-info {
  padding: 16px;
  background: #211f22;
  border-radius: 14px;
  font-size: 12px;
}
.session-info > span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}
.session-info strong {
  font-size: 13px;
  font-weight: 500;
}
.session-info p {
  margin: 10px 0 0;
  color: var(--quiet);
  line-height: 1.6;
}
footer {
  max-width: 1100px;
  padding: 24px 32px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 10px;
}
footer a {
  color: var(--muted);
}
.noscript {
  max-width: 600px;
  padding: 20px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Account: neutral grouped surfaces, no blue or purple button overlays. */
.signed-in .header {
  max-width: 816px;
  height: 80px;
}
#dashboard {
  display: block;
  max-width: 816px;
  margin: auto;
  padding: 34px 32px 32px;
  min-height: calc(100vh - 156px);
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.dashboard-heading .eyebrow {
  margin-bottom: 9px;
}
.dashboard-heading h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.05px;
  margin-bottom: 0;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: #eeeaf2;
  font-size: 25px;
  background: #000;
  border: 0;
}
.icon-button:hover {
  background: #0c0b0e;
}
#dashboard h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
#dashboard h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.balance-card,
.subscription-card,
.selection-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.balance-card {
  text-align: center;
}
.balance-card > .muted {
  font-size: 14px;
  margin-bottom: 9px;
}
.balance-value {
  color: #f5f5f7;
  font-size: 72px;
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
  margin: 11px 0 18px;
}
.balance-value > span {
  color: #88838f;
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -1px;
}
.balance-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}
.balance-card .small {
  margin: 13px 0 0;
  color: var(--quiet);
  font-size: 11px;
}
.subscription-card {
  display: grid;
  align-self: start;
  min-width: 0;
}
.tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  color: var(--quiet);
  letter-spacing: 1.3px;
  margin-bottom: 24px;
}
.subscription-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.subscription-header .tag {
  margin: 0;
  color: var(--muted);
}
.subscription-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #d7d1db;
  background: #353038;
  font-size: 11px;
  font-weight: 600;
}
.subscription-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
}
.subscription-status[data-state="active"] {
  background: #253831;
  color: #a9e8c1;
}
.subscription-status[data-state="pending"] {
  background: #3e3529;
  color: #eed299;
}
#dashboard .subscription-card h2 {
  margin: 0 0 15px;
  font-size: 28px;
  letter-spacing: -0.9px;
  overflow-wrap: anywhere;
}
.subscription-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  margin: 0;
  padding: 12px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #211e23;
}
.subscription-facts > div {
  min-width: 0;
  padding: 0 12px;
}
.subscription-facts > div + div {
  border-left: 1px solid var(--line);
}
.subscription-facts dt {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.subscription-facts dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.subscription-note,
.vpn-configuration p {
  margin: 10px 0 0;
  font-size: 13px;
}
.subscription-note:empty,
#vpn-feedback:empty {
  display: none;
}
.subscription-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-top: 15px;
}
.subscription-vpn-button,
.subscription-plan-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.subscription-vpn-button {
  min-height: 52px;
  padding: 10px 12px;
}
.subscription-vpn-button svg,
.subscription-plan-button svg {
  flex-shrink: 0;
}
.subscription-plan-button {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid transparent;
  background: transparent;
  color: #d5d0d9;
  font-size: 13px;
}
.subscription-plan-button:not(:disabled):hover {
  border-color: var(--line);
  background: var(--surface-raised);
}
#vpn-secret {
  margin-top: 12px;
}
#vpn-url {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
  color: inherit;
}
.vpn-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vpn-actions button {
  min-height: 44px;
  padding: 8px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
}
.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  font-size: 31px;
}
#dashboard .info-card h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.info-card p {
  font-size: 13px;
  margin-bottom: 0;
}
.session-card {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  margin-top: 16px;
}
#dashboard .session-card h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.session-card p {
  font-size: 13px;
  margin-bottom: 0;
}
.session-card .secondary {
  font-size: 13px;
  min-height: 46px;
  padding: 12px 20px;
  white-space: nowrap;
}
.section-title {
  margin: 4px 0 20px;
}
.section-title > .muted {
  font-size: 12px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}
.plan-option {
  position: relative;
  min-height: 102px;
  padding: 17px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #2a272c;
  color: #f5f5f7;
  text-align: left;
}
.plan-option:hover {
  background: #302d33;
}
.plan-option[aria-pressed="true"] {
  background: #000;
  border-color: #d9d4df;
}
.plan-name {
  display: block;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
.plan-caption {
  display: block;
  margin-top: 8px;
  color: #aaa4b0;
  font-size: 10px;
  line-height: 1.4;
}
.selection-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.quota-label {
  background: #312d35;
  border: 1px solid #3e3944;
  border-radius: 30px;
  color: #ccc6d3;
  font-size: 10px;
  padding: 6px 10px;
  white-space: nowrap;
}
.plan-details {
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  padding: 10px 0 18px;
}
.plan-details summary {
  font-size: 13px;
  color: var(--muted);
  padding: 9px 0;
  cursor: pointer;
}
#plan-description {
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #ccc6d3;
  white-space: pre-wrap;
}
#plan-description p {
  margin-bottom: 10px;
}
.description-emoji {
  font-size: 18px;
  vertical-align: -0.06em;
  margin-right: 7px;
}
.period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.period-option {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 80px;
  padding: 14px;
  border: 1px solid #413c47;
  border-radius: 14px;
  background: #211f22;
  color: #c5bece;
  text-align: left;
}
.period-option:hover {
  background: #2c2831;
}
.period-option[aria-pressed="true"] {
  background: #000;
  border-color: #dad4e2;
}
.period-option span {
  font-size: 12px;
}
.period-option strong {
  font-size: 18px;
  font-weight: 550;
  color: #f5f5f7;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.device-picker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.device-picker h3 {
  margin-bottom: 5px !important;
}
.device-picker p {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 11px;
}
.stepper {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid #37323e;
  padding: 4px;
  border-radius: 14px;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  border-radius: 10px;
  background: #28242e;
  border: 0;
  color: #f5f5f7;
  font-size: 23px;
}
.stepper button:disabled {
  color: #716979;
  background: #151218;
}
.stepper output {
  min-width: 34px;
  text-align: center;
  font-size: 18px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
#devices-pricing {
  margin: 12px 0 0;
  color: var(--quiet);
}
.estimate-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 11px;
  padding-top: 23px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.estimate-box > span {
  font-size: 13px;
  color: var(--muted);
}
.estimate-box > strong {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.estimate-box > p {
  flex-basis: 100%;
  margin: 0;
  color: var(--quiet);
}
.selection-note {
  margin: 13px 0 0;
  font-size: 11px;
  text-align: center;
  color: var(--quiet);
}
.device-explanation {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #211f22;
  padding: 20px;
  margin-top: 25px;
}
.device-explanation p {
  margin-bottom: 0;
  font-size: 13px;
}
.account-feedback {
  text-align: center;
  color: var(--quiet);
  font-size: 10px;
  margin: 26px 0 17px;
}
.account-nav {
  display: flex;
  gap: 6px;
  max-width: 380px;
  margin: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #000;
}
.account-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
  min-height: 60px;
  padding: 9px 15px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #8b8494;
  font-size: 10px;
  font-weight: 500;
}
.account-nav button[aria-current="page"] {
  background: #2a2630;
  color: #fff;
}
.signed-in footer {
  max-width: 816px;
}
@keyframes breathe {
  50% {
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 900px) {
  #auth-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  h1 {
    font-size: 47px;
  }
  .card-topline {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 640px) {
  .header,
  .signed-in .header {
    height: 72px;
    padding: 0 22px;
  }
  .brand {
    font-size: 23px;
  }
  .header-label {
    font-size: 10px;
  }
  #auth-main {
    display: block;
    padding: 30px 18px 35px;
    min-height: calc(100vh - 155px);
    max-width: 480px;
  }
  .intro {
    display: none;
  }
  .access-card {
    padding: 26px 22px;
    border-radius: 22px;
  }
  .card-topline {
    gap: 12px;
  }
  .state-icon {
    margin-top: 32px;
  }
  .card-copy h2 {
    font-size: 29px;
  }
  .description {
    font-size: 14px;
  }
  footer {
    padding: 21px 22px;
    flex-wrap: wrap;
    row-gap: 9px;
  }
  #dashboard {
    padding: 28px 16px 122px;
  }
  .dashboard-heading {
    margin-bottom: 22px;
    padding: 0 4px;
  }
  .dashboard-heading h1 {
    font-size: 32px;
  }
  .dashboard-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .account-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .balance-card,
  .subscription-card,
  .selection-card {
    padding: 22px;
    border-radius: 22px;
  }
  .balance-card {
    padding: 25px 16px 18px;
  }
  .balance-value {
    font-size: 78px;
    margin: 13px 0 18px;
  }
  .balance-note {
    font-size: 12px;
    margin-bottom: 23px;
  }
  .balance-card .small {
    padding: 0 6px;
  }
  .tag {
    margin-bottom: 20px;
  }
  .info-card,
  .session-card {
    padding: 22px;
    margin-top: 14px;
  }
  .info-card {
    gap: 14px;
  }
  .info-icon {
    width: 36px;
    font-size: 27px;
  }
  #dashboard .info-card h2,
  #dashboard .session-card h2 {
    font-size: 16px;
  }
  .info-card p,
  .session-card p {
    font-size: 12px;
  }
  .session-card {
    align-items: flex-start;
    gap: 17px;
    flex-direction: column;
  }
  .session-card .secondary {
    width: 100%;
    min-height: 46px;
  }
  .section-title {
    padding: 0 4px;
    margin-bottom: 18px;
  }
  #dashboard .section-title h2 {
    font-size: 21px;
  }
  .section-title > .muted {
    font-size: 11px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .plan-option {
    padding: 18px 15px;
    min-height: 94px;
  }
  .plan-name {
    font-size: 14px;
  }
  .plan-caption {
    font-size: 11px;
  }
  #dashboard .selection-heading h2 {
    font-size: 21px;
  }
  .period-grid {
    gap: 8px;
  }
  .period-option {
    padding: 13px 10px;
    min-height: 78px;
  }
  .period-option strong {
    font-size: 16px;
    letter-spacing: -0.5px;
  }
  .device-picker {
    gap: 10px;
  }
  .device-picker h3 {
    font-size: 14px !important;
  }
  .stepper button {
    width: 32px;
  }
  .stepper output {
    min-width: 30px;
  }
  .estimate-box > strong {
    font-size: 30px;
  }
  .selection-card .payment-row {
    margin: 0 -6px;
    width: calc(100% + 12px);
  }
  .selection-card .payment-row .action-copy strong {
    font-size: 15px;
  }
  .selection-card .payment-row .action-copy > span {
    font-size: 12px;
  }
  .account-nav {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 16px;
    right: 16px;
    z-index: 10;
    max-width: 380px;
    box-shadow: 0 8px 25px #0005;
  }
  .signed-in footer {
    display: none;
  }
}

@media (max-width: 360px) {
  .payment-row {
    padding: 14px;
    gap: 10px;
  }
  .payment-row .sbp-logo {
    width: 40px;
    height: 40px;
  }
  .payment-row .action-copy strong,
  .selection-card .payment-row .action-copy strong {
    font-size: 14px;
  }
  .payment-row .action-copy > span,
  .selection-card .payment-row .action-copy > span {
    font-size: 11px;
  }
}
.wallet-form {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.wallet-form p {
  margin: 0 0 10px;
}
.wallet-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.wallet-amounts button[aria-pressed="true"] {
  outline: 2px solid #409cff;
  outline-offset: -2px;
}
.wallet-custom label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.wallet-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #181719;
}
.wallet-input:focus-within {
  border-color: #409cff;
}
.wallet-input input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
.wallet-input span {
  color: var(--muted);
}
.wallet-amount-error {
  color: #ffaaa5;
}
.wallet-form .wallet-amount-error:empty {
  margin: 0;
}
.wallet-pay {
  text-align: center;
  text-decoration: none;
}
/* The device pane lists only the profile's registered devices, not paid slots. */
.registered-devices {
  padding: 0;
  margin: 12px 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.registered-devices[hidden] {
  display: none;
}
.registered-devices li {
  padding: 14px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 14px;
  overflow-wrap: anywhere;
}
.registered-devices button {
  margin: 4px 8px 0 0;
}
