:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5eef8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --navy: #0f172a;
  --navy-2: #13233c;
  --navy-3: #1b2c48;
  --ink: #102033;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.24);
  --paper: #f8fafc;
  --paper-2: #eef6f9;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --danger: #fb7185;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(2, 8, 23, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--navy);
  color: #e5eef8;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--logo-size) * 0.14);
  max-width: 100%;
  min-width: 0;
  background: transparent;
  line-height: 1;
}

.logo--icon {
  width: var(--logo-size);
}

.logo__icon {
  width: var(--logo-size);
  height: var(--logo-size);
  flex: 0 0 auto;
  background: transparent;
  object-fit: contain;
}

.logo__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.logo__title {
  display: block;
  color: #f8fafc;
  font-size: calc(var(--logo-size) * 0.7);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo__tagline {
  display: block;
  margin-top: calc(var(--logo-size) * 0.08);
  color: rgba(248, 250, 252, 0.82);
  font-size: calc(var(--logo-size) * 0.14);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-brand {
  margin-bottom: 1rem;
}

.button,
.icon-button,
.text-button,
.nav-tab {
  min-height: 44px;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button--large {
  min-height: 50px;
  padding-inline: 1.1rem;
}

.button--primary {
  background: #22c55e;
  color: #052e16;
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #eff6ff;
}

.button--ghost {
  border: 1px solid rgba(226, 232, 240, 0.36);
  background: rgba(15, 23, 42, 0.48);
  color: #f8fafc;
}

.button--google {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: #102033;
}

.button--danger {
  border: 1px solid rgba(251, 113, 133, 0.34);
  background: rgba(251, 113, 133, 0.12);
  color: #fecdd3;
}

.text-button {
  width: 100%;
  background: transparent;
  color: var(--cyan);
  font-weight: 800;
}

.text-button--muted {
  color: #94a3b8;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.center-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

.landing-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(226, 232, 240, 0.16);
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
  backdrop-filter: blur(14px);
}

.brand-link,
.brand-button {
  display: inline-flex;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.landing-nav__actions > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.hero-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  padding: 4.4rem max(1rem, calc((100vw - 1120px) / 2)) 5rem;
  background:
    radial-gradient(circle at 18% 25%, rgba(34, 211, 238, 0.14), transparent 34%),
    radial-gradient(circle at 82% 15%, rgba(16, 185, 129, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(7, 26, 58, 0.94), rgba(10, 21, 48, 0.96));
  color: #f8fafc;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 68%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-content h1 {
  margin: 0.25rem 0 0;
  font-size: 4.4rem;
  line-height: 0.98;
}

.hero-content .hero-headline {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #f8fafc;
  font-size: 2.7rem;
  line-height: 1.08;
}

.hero-subtitle {
  max-width: 560px;
  margin: 1.1rem 0 0;
  color: #d9f8ff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-copy {
  max-width: 590px;
  margin: 1rem 0 0;
  color: #b6c7d6;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-login-note {
  margin: 0.9rem 0 0;
  color: #b6c7d6;
  font-weight: 700;
}

.hero-login-note a {
  color: #f8fafc;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem max(1rem, calc((100vw - 1120px) / 2));
  pointer-events: none;
}

.hero-scene__panel {
  width: min(420px, 42vw);
  padding: 1.25rem;
  border: 1px solid rgba(148, 210, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(11, 31, 68, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.scene-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  font-size: 0.8rem;
  font-weight: 800;
}

.scene-balance {
  margin-top: 1rem;
  color: #f8fafc;
  font-size: 2.3rem;
  font-weight: 900;
  white-space: nowrap;
}

.scene-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: 150px;
  gap: 0.7rem;
  margin: 1.3rem 0;
}

.scene-bars span {
  border-radius: var(--radius) var(--radius) 0 0;
  background: #34d399;
}

.scene-bars span:nth-child(2n) {
  background: #22d3ee;
}

.scene-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.scene-row strong {
  color: #f8fafc;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-section {
  padding: 4.5rem max(1rem, calc((100vw - 1120px) / 2));
  background: var(--paper);
}

.content-section--surface {
  background: var(--paper-2);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.section-heading h1 {
  margin: 0.35rem 0 0;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1.08;
}

.section-copy {
  max-width: 780px;
  margin: 1rem 0 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

.feature-grid,
.plans-grid,
.summary-grid,
.account-grid,
.privacy-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plans-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.plan-card,
.summary-card,
.settings-card,
.custom-tab-card,
.paywall-panel,
.budget-form,
.custom-tab-form,
.safety-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.feature-card {
  padding: 1.2rem;
}

.feature-card svg,
.settings-card svg,
.safety-panel svg {
  color: #0891b2;
}

.feature-card h3,
.plan-card h3,
.settings-card h2,
.custom-tab-card h3,
.custom-tab-form h2,
.paywall-panel h2 {
  margin: 0.85rem 0 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.feature-card p,
.plan-card p,
.settings-card p,
.custom-tab-card p,
.paywall-panel p,
.safety-panel p {
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.plan-card {
  display: grid;
  gap: 1.1rem;
  align-content: space-between;
  padding: 1.35rem;
}

.plan-card--highlight {
  border-color: rgba(34, 211, 238, 0.36);
  background: #f0fdfa;
}

.plan-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
}

.safety-panel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.6rem;
  padding: 1.25rem;
}

.steps-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.steps-list svg {
  color: #16a34a;
  flex: 0 0 auto;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(1rem, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--navy);
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
  font-size: 0.9rem;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1rem;
  background: #0f172a;
}

.auth-panel {
  width: min(100%, 460px);
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius);
  background: #13233c;
  box-shadow: var(--shadow);
}

.auth-heading {
  margin-top: 1.15rem;
}

.auth-heading h1 {
  margin: 0.3rem 0 0;
  font-size: 2rem;
  line-height: 1.1;
}

.auth-heading p:not(.eyebrow) {
  margin: 0.75rem 0 0;
  color: #b6c7d6;
  line-height: 1.55;
}

.google-dot {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 900;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.form-stack,
.budget-form,
.custom-tab-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: inherit;
  font-weight: 800;
}

label > span:first-child {
  color: #cbd5e1;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.62);
  color: #f8fafc;
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0.72rem 0.8rem;
}

textarea {
  resize: vertical;
  padding: 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.input-with-icon {
  position: relative;
  display: block;
}

.input-with-icon svg {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  color: #94a3b8;
  transform: translateY(-50%);
}

.input-with-icon input {
  padding-left: 2.35rem;
}

.alert,
.status-message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  line-height: 1.5;
}

.alert--error {
  border: 1px solid rgba(251, 113, 133, 0.36);
  background: rgba(251, 113, 133, 0.12);
  color: #fecdd3;
}

.status-message {
  margin-top: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.26);
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
}

.app-layout {
  min-height: 100vh;
  overflow-x: hidden;
  background: #0f172a;
}

.app-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 0.55rem;
}

.plan-pill,
.email-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  min-width: 0;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
}

.plan-pill--lite {
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
}

.plan-pill--pro {
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.13);
  color: #bbf7d0;
}

.email-chip {
  max-width: 240px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-nav {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem max(1rem, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: #13233c;
}

.nav-group {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.nav-group__label {
  margin: 0;
  color: #22d3ee;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-group__list {
  display: flex;
  min-width: 0;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
}

.nav-group--settings .nav-group__label {
  color: #94a3b8;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.35);
  color: #cbd5e1;
  font-weight: 850;
}

.nav-tab--active {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.14);
  color: #f8fafc;
}

.nav-tab--custom {
  border-color: rgba(34, 211, 238, 0.28);
}

.nav-tab--locked {
  border-style: dashed;
  color: #94a3b8;
}

.nav-tab--custom span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-main {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.4rem 1rem 3rem;
}

.app-section {
  display: grid;
  gap: 1rem;
}

.section-heading--app h1 {
  color: #f8fafc;
  font-size: 2rem;
}

.section-heading--app p:not(.eyebrow) {
  margin: 0.55rem 0 0;
  color: #b6c7d6;
  line-height: 1.55;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  background: #13233c;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: none;
}

.summary-card span {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 800;
}

.summary-card strong {
  color: #f8fafc;
  font-size: 1.55rem;
  white-space: nowrap;
}

.summary-card--accent {
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(20, 83, 45, 0.26);
}

.budget-form,
.custom-tab-form {
  padding: 1rem;
  border-color: rgba(148, 163, 184, 0.2);
  background: #13233c;
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.updated-label,
.muted {
  color: #94a3b8;
  font-size: 0.92rem;
}

.paywall-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border-color: rgba(52, 211, 153, 0.26);
  background: #13233c;
  box-shadow: none;
}

.paywall-panel svg,
.custom-tab-form h2 svg {
  color: var(--emerald);
}

.paywall-panel h2,
.paywall-panel p,
.custom-tab-form h2 {
  color: #f8fafc;
}

.paywall-panel p {
  color: #b6c7d6;
}

.paywall-panel .button-row {
  grid-column: 1 / -1;
}

.custom-tab-form h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.tabs-list {
  display: grid;
  gap: 0.75rem;
}

.tabs-list > p {
  color: #b6c7d6;
}

.custom-tab-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border-color: rgba(148, 163, 184, 0.2);
  background: #13233c;
  box-shadow: none;
}

.custom-tab-card h3 {
  margin: 0;
  color: #f8fafc;
}

.custom-tab-card p {
  color: #b6c7d6;
}

.custom-tab-icon {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  font-size: 0.82rem;
  font-weight: 900;
}

.custom-tab-icon--large {
  min-width: 58px;
  height: 58px;
}

.custom-tab-workspace,
.nav-placement-note {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  background: #13233c;
  box-shadow: none;
}

.custom-tab-workspace {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
}

.custom-tab-workspace h2 {
  margin: 0;
  color: #f8fafc;
}

.custom-tab-workspace p,
.nav-placement-note p {
  margin: 0.4rem 0 0;
  color: #b6c7d6;
  line-height: 1.6;
}

.custom-tab-workspace > svg {
  color: var(--cyan);
}

.nav-placement-note {
  padding: 0.85rem 1rem;
}

.tabs-order-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  background: #13233c;
  box-shadow: none;
}

.tabs-order-panel__heading h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.15rem;
}

.tabs-order-panel__heading p {
  margin: 0.45rem 0 0;
  color: #b6c7d6;
  line-height: 1.55;
}

.tabs-order-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabs-order-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.34);
}

.tabs-order-index {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(34, 211, 238, 0.11);
  color: #a5f3fc;
  font-weight: 900;
}

.tabs-order-title {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.tabs-order-title strong {
  overflow: hidden;
  color: #f8fafc;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabs-order-title small {
  color: #94a3b8;
  font-weight: 800;
}

.tabs-order-actions {
  display: flex;
  gap: 0.45rem;
}

.account-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-card {
  padding: 1rem;
  border-color: rgba(148, 163, 184, 0.2);
  background: #13233c;
  box-shadow: none;
}

.settings-card h2 {
  color: #f8fafc;
}

.settings-card p {
  color: #b6c7d6;
}

.settings-card--wide {
  grid-column: 1 / -1;
}

.details-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.details-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.details-list dt {
  color: #94a3b8;
  font-weight: 800;
}

.details-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f8fafc;
  font-weight: 800;
  text-align: right;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.42);
}

.segmented-control button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #cbd5e1;
  font-weight: 900;
}

.segmented-control button.active {
  background: #22c55e;
  color: #052e16;
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.privacy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 820px) {
  .landing-nav {
    align-items: flex-start;
  }

  .landing-nav__actions {
    gap: 0.5rem;
  }

  .landing-nav__actions .button {
    padding-inline: 0.75rem;
  }

  .hero-section {
    min-height: auto;
    padding-block: 3rem 3.5rem;
  }

  .hero-brand {
    --logo-size: 130px !important;
  }

  .hero-content h1 {
    font-size: 3.15rem;
  }

  .hero-content .hero-headline {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-scene {
    align-items: end;
    justify-content: center;
    opacity: 0.34;
  }

  .hero-scene__panel {
    width: min(100%, 390px);
  }

  .feature-grid,
  .plans-grid,
  .summary-grid,
  .account-grid,
  .privacy-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero-section::before {
    opacity: 0.72;
  }

  .landing-nav {
    position: relative;
    flex-direction: column;
  }

  .landing-nav__actions {
    width: 100%;
    justify-content: space-between;
  }

  .landing-nav .logo,
  .app-topbar .logo {
    --logo-size: 36px !important;
  }

  .hero-brand {
    --logo-size: 96px !important;
  }

  .auth-panel .logo {
    --logo-size: 82px !important;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-content .hero-headline {
    font-size: 1.85rem;
  }

  .content-section {
    padding-block: 3.2rem;
  }

  .section-heading h2,
  .section-heading h1 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .hero-actions .button,
  .button-row,
  .button-row .button,
  .placeholder-actions,
  .placeholder-actions .button {
    width: 100%;
  }

  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-meta {
    width: 100%;
  }

  .email-chip {
    flex: 1;
    max-width: none;
  }

  .summary-card strong {
    font-size: 1.25rem;
  }

  .paywall-panel {
    grid-template-columns: 1fr;
  }

  .custom-tab-workspace {
    grid-template-columns: 1fr;
  }

  .tabs-order-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .tabs-order-item .custom-tab-icon {
    display: none;
  }

  .tabs-order-actions {
    gap: 0.35rem;
  }

  .details-list div {
    display: grid;
  }

  .details-list dd {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero-brand {
    --logo-size: 76px !important;
  }
}

