.wrap { max-width: 1120px; margin: 0 auto; padding: 30px 24px 70px; }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #e9f3ee; font-size: 20px; font-weight: 800; text-decoration: none; }
.brand-logo { width: 64px; height: 32px; object-fit: contain; }
.links { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; align-items: center; gap: 16px; }
.links > a { color: #a9bbb2; text-decoration: none; }
.links > a:hover { color: #d9eee3; }
.intro { max-width: 720px; margin: 58px auto 28px; text-align: center; }
.eyebrow { color: #83dfb9; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.intro h1 { margin: 14px 0; font-size: clamp(36px, 6vw, 58px); letter-spacing: -.05em; text-wrap: balance; }
.intro p, .plan p, .plan li { color: #aabdb4; line-height: 1.7; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.plan { padding: 28px; border: 1px solid #28443a; border-radius: 16px; background: #0a1712; }
.plan.featured { border: 2px solid #3f8a68; }
.plan h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.035em; }
.plan ul { min-height: 160px; padding-left: 20px; }
.tier { color: #83dfb9; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.note { max-width: 780px; margin: 25px auto 0; color: #9fb3aa; line-height: 1.7; text-align: center; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #376b55; border-radius: 10px; color: #b7f2d2; background: #174331; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { border-color: #5caa7e; background: #20563e; }
.button:active { transform: translateY(1px); }
.button:focus-visible, .links a:focus-visible { outline: 2px solid #83dfb9; outline-offset: 3px; }
.plan .button { width: 100%; margin-top: 10px; text-align: center; }
.workspace-continue { margin: 24px auto 0; text-align: center; }
.account { min-width: 0; max-width: min(320px, 100%); position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.account-top { display: flex; min-width: 0; max-width: 100%; align-items: center; gap: 9px; color: #dcebe3; font-size: 12px; font-weight: 650; }
.profile-toggle { flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.profile-toggle:focus-visible { outline: 2px solid #83dfb9; outline-offset: 3px; border-radius: 50%; }
.account-icon { width: 36px; height: 36px; padding: 6px; border: 1px solid #376b55; border-radius: 50%; color: #83dfb9; background: #123329; }
.logout { position: absolute; z-index: 5; top: calc(100% + 9px); right: 0; padding: 9px 14px; border: 1px solid #693e47; border-radius: 8px; color: #ffb7c0; background: #25151a; box-shadow: 0 10px 24px #0008; font-size: 12px; font-weight: 700; cursor: pointer; }
.logout:hover { background: #381a23; }
.comparison-note { max-width: 780px; margin: 24px auto 0; padding: 14px 16px; border: 1px solid #233b32; border-radius: 12px; color: #9fb3aa; font-size: 13px; line-height: 1.65; text-align: center; }
.comparison-note strong { color: #d7e7df; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .wrap { padding: 20px 16px 40px; }
  .top { gap: 12px; }
  .brand { gap: 6px; font-size: 15px; }
  .brand-logo { width: 48px; }
  .links { gap: 12px; font-size: 13px; }
  .intro { margin: 42px auto 24px; }
  .plans { grid-template-columns: 1fr; gap: 12px; }
  .plan { padding: 22px; }
  .plan ul { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition-duration: .01ms; }
}

#subscriptionProfileName { min-width: 0; overflow-wrap: anywhere; }
