:root {
  --bg: #efefec;
  --ink: #151515;
  --muted: #66645f;
  --line: #d2d0ca;
  --panel: rgba(250, 250, 247, 0.86);
  --panel-solid: #f8f8f5;
  --nav-bg: rgba(248, 248, 245, 0.76);
  --card-bg: rgba(248, 248, 245, 0.68);
  --card-bg-strong: rgba(255, 255, 252, 0.55);
  --pill-bg: rgba(248, 248, 245, 0.74);
  --segment-bg: rgba(228, 226, 220, 0.72);
  --panel-border: rgba(255, 255, 255, 0.58);
  --toggle-border: #b8b5ad;
  --toggle-knob-off: #ffffff;
  --toggle-knob-on: #ffffff;
  --switch-ring: rgba(21, 21, 21, 0.18);
  --dark: #222220;
  --soft: #e4e2dc;
  --accent: #8a8377;
  --shadow: 0 28px 80px rgba(15, 15, 15, 0.14);
  --hero-tint: linear-gradient(90deg, rgba(15, 15, 15, 0.38), rgba(15, 15, 15, 0.02) 62%);
  --hero-tint-mobile: linear-gradient(180deg, rgba(15, 15, 15, 0.05), rgba(15, 15, 15, 0.4));
  --page-bg:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.9), transparent 34rem),
    linear-gradient(135deg, #f5f5f2 0%, var(--bg) 48%, #dedbd3 100%);
}

[data-theme="dark"] {
  --bg: #151514;
  --ink: #f4f3ee;
  --muted: #aaa69d;
  --line: #383732;
  --panel: rgba(30, 30, 28, 0.86);
  --panel-solid: #242421;
  --nav-bg: rgba(30, 30, 28, 0.82);
  --card-bg: rgba(31, 31, 29, 0.78);
  --card-bg-strong: rgba(38, 38, 35, 0.78);
  --pill-bg: rgba(35, 35, 32, 0.84);
  --segment-bg: rgba(37, 37, 32, 0.88);
  --panel-border: rgba(255, 255, 255, 0.1);
  --toggle-border: #56534c;
  --toggle-knob-off: #c9c4b8;
  --toggle-knob-on: #242421;
  --switch-ring: rgba(244, 243, 238, 0.18);
  --dark: #f4f3ee;
  --soft: #252520;
  --accent: #c7c0b4;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --hero-tint: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.26) 64%);
  --hero-tint-mobile: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.74));
  --page-bg:
    radial-gradient(circle at 12% 8%, rgba(86, 84, 78, 0.28), transparent 32rem),
    linear-gradient(135deg, #111110 0%, var(--bg) 52%, #24231f 100%);
}

[data-theme="lights-off"] {
  --bg: #060606;
  --ink: #f2f1ec;
  --muted: #8d8980;
  --line: #22211e;
  --panel: rgba(12, 12, 11, 0.9);
  --panel-solid: #10100f;
  --nav-bg: rgba(10, 10, 9, 0.88);
  --card-bg: rgba(13, 13, 12, 0.86);
  --card-bg-strong: rgba(18, 18, 16, 0.84);
  --pill-bg: rgba(16, 16, 15, 0.9);
  --segment-bg: rgba(20, 20, 18, 0.92);
  --panel-border: rgba(255, 255, 255, 0.08);
  --toggle-border: #444139;
  --toggle-knob-off: #b8b2a5;
  --toggle-knob-on: #10100f;
  --switch-ring: rgba(242, 241, 236, 0.16);
  --dark: #f2f1ec;
  --soft: #11110f;
  --accent: #bdb5a7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  --hero-tint: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.46) 64%);
  --hero-tint-mobile: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.86));
  --page-bg:
    radial-gradient(circle at 12% 8%, rgba(64, 61, 55, 0.14), transparent 30rem),
    linear-gradient(135deg, #030303 0%, var(--bg) 58%, #11110f 100%);
}

[data-accent="blue"] {
  --accent: #5c7cfa;
}

[data-accent="green"] {
  --accent: #2f9e44;
}

[data-accent="rose"] {
  --accent: #c2255c;
}

[data-accent="orange"] {
  --accent: #f76707;
}

[data-accent="purple"] {
  --accent: #7950f2;
}

[data-accent="pro-gold"] {
  --accent: #b7791f;
}

[data-accent="team-cyan"] {
  --accent: #0b7285;
}

:root,
[data-density="comfortable"] {
  --density-section: 1;
  --density-card: 1;
  --density-gap: 1;
}

[data-density="compact"] {
  --density-section: 0.78;
  --density-card: 0.78;
  --density-gap: 0.72;
}

[data-density="spacious"] {
  --density-section: 1.18;
  --density-card: 1.2;
  --density-gap: 1.22;
}

[data-fast-render="true"] *,
[data-fast-render="true"] *::before,
[data-fast-render="true"] *::after {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 1ms !important;
}

[data-fast-render="true"] .topbar,
[data-fast-render="true"] .profile-panel {
  backdrop-filter: none;
}

[data-fast-render="true"] .profile-panel,
[data-fast-render="true"] .pricing-card.is-featured,
[data-fast-render="true"] .accent-menu {
  box-shadow: none;
}

[data-fast-render="true"] .hero-media {
  transform: none;
}

[data-kid-mode="true"] {
  --muted: color-mix(in srgb, var(--ink) 72%, var(--bg));
  --density-card: 1.12;
  --density-gap: 1.16;
}

[data-kid-mode="true"] body {
  font-size: 17px;
}

[data-kid-mode="true"] .nav-links a,
[data-kid-mode="true"] .mobile-menu-button,
[data-kid-mode="true"] .button,
[data-kid-mode="true"] .contact-links a,
[data-kid-mode="true"] .settings-sidebar a,
[data-kid-mode="true"] .faq-topic-nav a,
[data-kid-mode="true"] .info-tabs button,
[data-kid-mode="true"] .feedback-cta {
  min-height: 64px;
  font-size: 17px;
}

[data-kid-mode="true"] .setting-card,
[data-kid-mode="true"] .pricing-card,
[data-kid-mode="true"] .faq-list details,
[data-kid-mode="true"] .work-item,
[data-kid-mode="true"] .bio-content article {
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
}

[data-kid-mode="true"] .ripple,
[data-kid-mode="true"] .error-character,
[data-kid-mode="true"] .character-eye,
[data-kid-mode="true"] .character-signal {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) var(--soft);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--soft);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--soft);
  border-radius: 999px;
  background: var(--accent);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}

::-webkit-scrollbar-corner {
  background: var(--soft);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  transition: background 180ms ease, color 180ms ease;
}

.loading-bar,
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 3px;
  transform-origin: left center;
  pointer-events: none;
}

.loading-bar {
  right: 0;
  z-index: 120;
  height: 4px;
  overflow: hidden;
  background: var(--segment-bg);
  opacity: 1;
  --loading-progress: 0.18;
  transition: opacity 260ms ease;
}

.loading-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--accent), var(--ink), var(--accent));
  background-size: 180% 100%;
  transform: scaleX(var(--loading-progress));
  transform-origin: left center;
  transition: transform 460ms cubic-bezier(0.2, 0, 0, 1);
  animation: loadingSweep 920ms linear infinite;
}

.loading-bar::before {
  content: "";
  position: absolute;
  inset: -7px 0;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 42%, transparent), transparent);
  filter: blur(8px);
  opacity: 0.8;
  transform: translateX(-100%);
  animation: loadingGlow 1200ms ease-in-out infinite;
}

.loading-bar.is-hidden {
  opacity: 0;
}

.loading-bar.is-complete {
  --loading-progress: 1;
}

.scroll-progress {
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
}

.adblock-bait {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 10px;
  height: 10px;
  opacity: 0.01;
  pointer-events: none;
}

.adblock-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(520px, calc(100% - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.adblock-notice[hidden] {
  display: none;
}

.adblock-notice p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.adblock-notice button {
  position: relative;
  min-height: 38px;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

@keyframes loadingSweep {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 180% 50%;
  }
}

@keyframes loadingGlow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
.button,
.brand-logo,
.nav-links a,
.mobile-menu-button,
.feedback-cta,
.contact-links a,
.icon-button,
.adblock-notice button,
.settings-sidebar a,
.faq-topic-nav a,
.theme-segment button,
.language-segment button,
.density-segment button,
.accent-trigger,
.accent-menu button,
.currency-switch button,
.info-tabs button,
.toggle,
summary {
  -webkit-user-drag: none;
  user-select: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 208, 202, 0.82);
  border-radius: 8px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}

.brand-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent),
    var(--pill-bg);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  -webkit-user-drag: none;
  user-select: none;
}

.brand-logo.has-image img {
  opacity: 1;
}

.brand-logo.has-image span {
  opacity: 0;
}

.nav-links,
.actions,
.contact-links {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 6px;
}

.mobile-menu-button {
  position: relative;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  overflow: hidden;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.mobile-menu-button span:last-child {
  transition: transform 180ms ease;
}

.topbar.is-open .mobile-menu-button span:last-child {
  transform: rotate(180deg);
}

.nav-links a {
  position: relative;
  overflow: hidden;
  min-width: 76px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a.nav-feedback-link {
  min-width: 92px;
  border: 1px solid #ff5416;
  background: color-mix(in srgb, #ff5416 12%, transparent);
  color: #ff5416;
  font-weight: 850;
}

.nav-links a.nav-feedback-link:hover,
.nav-links a.nav-feedback-link.is-active {
  background: #ff5416;
  color: #ffffff;
}

.brand-logo::before,
.nav-links a::before,
.mobile-menu-button::before,
.button::before,
.contact-links a::before,
.icon-button::before,
.adblock-notice button::before,
.settings-sidebar a::before,
.faq-topic-nav a::before,
.currency-switch button::before,
.theme-segment button::before,
.language-segment button::before,
.density-segment button::before,
.accent-trigger::before,
.accent-menu button::before,
.info-tabs button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent,
      color-mix(in srgb, currentColor 18%, transparent),
      transparent
    );
  opacity: 0;
  pointer-events: none;
  transform: translateX(-42%);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0, 0, 1);
}

.brand-logo:hover::before,
.nav-links a:hover::before,
.mobile-menu-button:hover::before,
.button:hover::before,
.contact-links a:hover::before,
.icon-button:hover::before,
.adblock-notice button:hover::before,
.settings-sidebar a:hover::before,
.faq-topic-nav a:hover::before,
.currency-switch button:hover::before,
.theme-segment button:hover::before,
.language-segment button:hover::before,
.density-segment button:hover::before,
.accent-trigger:hover::before,
.accent-menu button:hover::before,
.info-tabs button:hover::before {
  opacity: 1;
  transform: translateX(42%);
}

.brand-logo:focus-visible,
.nav-links a:focus-visible,
.mobile-menu-button:focus-visible,
.button:focus-visible,
.contact-links a:focus-visible,
.icon-button:focus-visible,
.adblock-notice button:focus-visible,
.settings-sidebar a:focus-visible,
.faq-topic-nav a:focus-visible,
.currency-switch button:focus-visible,
.theme-segment button:focus-visible,
.language-segment button:focus-visible,
.density-segment button:focus-visible,
.accent-trigger:focus-visible,
.accent-menu button:focus-visible,
.info-tabs button:focus-visible,
.feedback-cta:focus-visible,
.toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ripple {
  position: absolute;
  width: var(--ripple-size, 14px);
  height: var(--ripple-size, 14px);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--accent) 34%, transparent) 0%,
      color-mix(in srgb, currentColor 18%, transparent) 42%,
      transparent 72%
    );
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.08);
  animation: ripple 1320ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes ripple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.08);
  }

  22% {
    opacity: 0.24;
  }

  72% {
    opacity: 0.13;
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes errorCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes characterEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94) rotate(-2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes characterFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes characterShadow {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleX(0.88);
  }

  50% {
    opacity: 0.42;
    transform: scaleX(0.72);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.48;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes characterBlink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(0.18);
  }
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--ink);
  color: var(--bg);
}

.nav-links a.nav-feedback-link:hover,
.nav-links a.nav-feedback-link.is-active {
  background: #ff5416;
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(650px, 88vh, 820px);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-tint),
    url("assets/profile-hero-1280.jpg") center / cover;
  transform: scale(1.01);
}

@supports (content-visibility: auto) {
  .content-band,
  .split-band,
  .contact-band,
  .site-info,
  .pricing-section,
  .compare-section,
  .faq-section,
  .bio-section,
  .settings-layout,
  .feedback-section,
  .error-faq {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}

.profile-panel {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: 0 0 28px 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(48px, 10vw, 92px);
}

h2 {
  max-width: 760px;
  font-size: clamp(31px, 5vw, 54px);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
}

.lead {
  max-width: 35rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.18;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 28px;
}

.meta-grid div,
.stats div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg-strong);
}

.meta-grid span,
.stats span,
.work-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.meta-grid strong,
.stats strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.actions {
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--dark);
  color: var(--bg);
}

.button.ghost {
  background: transparent;
}

.content-band,
.split-band,
.contact-band,
.settings-hero,
.settings-band {
  padding: calc(clamp(64px, 10vw, 116px) * var(--density-section)) 0 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.about-grid > p {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.32;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats strong {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1;
}

.work-list {
  display: grid;
  gap: calc(10px * var(--density-gap));
}

.work-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 150px;
  padding: calc(clamp(20px, 4vw, 34px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  transition: background 180ms ease, transform 180ms ease;
}

.work-item:hover {
  background: var(--panel-solid);
  transform: translateY(-2px);
}

.work-item p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: 34px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
}

.contact-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-links a {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  font-weight: 750;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(-0.5px, 0.5px);
}

.icon-button.is-copied {
  border-color: var(--accent);
  color: var(--accent);
}

.site-info {
  display: grid;
  gap: 12px;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 24px 0 6px;
  border-top: 1px solid var(--line);
}

.info-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--segment-bg);
}

.info-tabs button {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.info-tabs button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.feedback-hero {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: calc(100vh - 140px);
  padding: clamp(74px, 12vw, 132px) 0 clamp(48px, 8vw, 96px);
}

.feedback-hero h1 {
  max-width: 820px;
}

.feedback-hero p:last-of-type {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
}

.feedback-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-width: min(100%, 320px);
  min-height: 62px;
  overflow: hidden;
  padding: 0 28px;
  border: 1px solid #ff5416;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #ff5416 0%, #ff7a1a 58%, #ff9f43 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px color-mix(in srgb, #ff5416 28%, transparent);
  font-size: 16px;
  font-weight: 900;
}

.feedback-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.34),
      transparent
    );
  opacity: 0;
  transform: translateX(-44%);
  transition: opacity 220ms ease, transform 480ms cubic-bezier(0.2, 0, 0, 1);
}

.feedback-cta:hover::before {
  opacity: 1;
  transform: translateX(44%);
}

.feedback-cta > span:not(.ripple) {
  position: relative;
  z-index: 1;
}

.info-panel {
  max-width: 760px;
  min-height: 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.info-panel p {
  margin: 0;
}

.settings-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: end;
  min-height: 300px;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(36px, 6vw, 68px);
}

.pricing-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(74px, 12vw, 132px) 0 clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.pricing-hero p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.currency-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: 176px;
  min-width: 176px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--segment-bg);
}

.currency-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 6px);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}

.currency-switch[data-currency="usd"] .currency-thumb {
  transform: translateX(calc(100% + 4px));
}

.currency-switch button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.currency-switch button.is-active {
  color: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(12px * var(--density-gap));
  padding-top: calc(clamp(34px, 6vw, 64px) * var(--density-section));
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 440px;
  padding: calc(clamp(22px, 3vw, 30px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.pricing-card.is-featured {
  background: var(--card-bg-strong);
  box-shadow: var(--shadow);
}

.pricing-card h2 {
  font-size: clamp(38px, 5vw, 54px);
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
}

.pricing-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-card .button {
  align-self: end;
  width: 100%;
  min-height: 52px;
}

.error-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  align-content: center;
  min-height: calc(100vh - 140px);
  padding: clamp(80px, 12vw, 140px) 0;
}

.error-copy {
  animation: errorCopyIn 560ms cubic-bezier(0.2, 0, 0, 1) both;
}

.error-page h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 78px);
}

.error-code {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 850;
}

.error-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.error-faq-section {
  border-top: 1px solid var(--line);
}

.error-character {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(330px, 42vw, 520px);
  animation: characterFloat 4.6s ease-in-out infinite;
}

.character-shadow {
  position: absolute;
  bottom: 8%;
  width: min(72%, 360px);
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.14);
  filter: blur(12px);
  transform: scaleX(0.88);
  animation: characterShadow 4.6s ease-in-out infinite;
}

.character-card {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 390px);
  aspect-ratio: 0.78;
  padding: 14% 12% 12%;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 42%),
    var(--card-bg-strong);
  box-shadow: var(--shadow);
  animation: characterEnter 680ms cubic-bezier(0.2, 0, 0, 1) both;
}

.character-signal {
  position: absolute;
  top: 8%;
  right: 9%;
  width: 18%;
  aspect-ratio: 1;
  border: 3px solid var(--accent);
  border-radius: 50%;
  opacity: 0.74;
  animation: signalPulse 1.8s ease-in-out infinite;
}

.character-head {
  display: flex;
  gap: 13%;
  align-items: center;
  justify-content: center;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 34% 34% 42% 42%;
  background: var(--panel-solid);
}

.character-eye {
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  animation: characterBlink 4.8s ease-in-out infinite;
}

.character-body {
  display: grid;
  gap: 12px;
  justify-items: center;
  width: 78%;
  margin-top: 9%;
  padding: 12% 10%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--pill-bg);
}

.character-badge {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.character-line {
  width: 70%;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 44%, transparent);
}

.character-line.short {
  width: 44%;
}

.bio-hero {
  display: grid;
  gap: 16px;
  padding: clamp(74px, 12vw, 132px) 0 clamp(34px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.bio-hero h1 {
  max-width: 820px;
}

.bio-hero p:last-child {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
}

.bio-content {
  display: grid;
  gap: calc(12px * var(--density-gap));
  padding-top: calc(clamp(34px, 6vw, 64px) * var(--density-section));
}

.bio-content article {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  padding: calc(clamp(22px, 4vw, 34px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.bio-content h2 {
  font-size: clamp(22px, 3vw, 34px);
}

.bio-content p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.likes-section {
  margin-top: calc(clamp(48px, 8vw, 84px) * var(--density-section));
  padding-top: calc(clamp(34px, 6vw, 64px) * var(--density-section));
  border-top: 1px solid var(--line);
}

.likes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.likes-list span {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.comparison-section {
  padding-top: calc(clamp(48px, 8vw, 84px) * var(--density-section));
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) repeat(3, minmax(120px, 1fr));
  min-height: 62px;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row > span,
.comparison-row > strong {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
  font-size: 14px;
}

.comparison-row > span:first-child,
.comparison-row > strong:first-child {
  border-left: 0;
}

.comparison-row > span {
  color: var(--muted);
  font-weight: 750;
}

.comparison-row > strong {
  color: var(--ink);
  font-weight: 850;
}

.comparison-head {
  background: var(--panel-solid);
}

.comparison-head span {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.faq-section {
  padding-top: calc(clamp(48px, 8vw, 84px) * var(--density-section));
  scroll-margin-top: 100px;
}

.faq-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
}

.faq-topic-nav a {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  overflow: hidden;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.faq-topic-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-topic-section {
  margin-top: calc(clamp(48px, 8vw, 84px) * var(--density-section));
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 20px 52px 20px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.settings-copy p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.settings-band {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
}

.settings-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.settings-sidebar a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.settings-sidebar svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-sidebar a:hover,
.settings-sidebar a.is-active {
  border-color: var(--line);
  background: var(--pill-bg);
  color: var(--ink);
}

.settings-stack {
  display: grid;
  gap: calc(12px * var(--density-gap));
}

.setting-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 118px;
  padding: calc(clamp(20px, 3vw, 28px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.setting-card h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

.setting-card p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.toggle {
  position: relative;
  overflow: hidden;
  width: 54px;
  height: 32px;
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  background: var(--soft);
}

.toggle::before {
  content: "";
  position: absolute;
  left: var(--track-x, 50%);
  top: var(--track-y, 50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--accent) 34%, transparent) 0%,
      color-mix(in srgb, var(--accent) 18%, transparent) 42%,
      transparent 70%
    );
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.62);
  transition: opacity 160ms ease, transform 220ms ease;
}

.toggle.is-right-tracking::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: toggleTrackPulse 900ms ease-in-out infinite;
}

.toggle:hover:not(.is-right-tracking)::before {
  opacity: 0.28;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--toggle-knob-off);
  box-shadow: 0 2px 8px rgba(15, 15, 15, 0.18);
  transition: transform 180ms ease;
  z-index: 1;
}

.toggle.is-on {
  background: var(--ink);
  border-color: var(--ink);
}

.toggle.is-on::after {
  background: var(--toggle-knob-on);
  transform: translateX(22px);
}

@keyframes toggleTrackPulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.35);
  }
}

.theme-segment,
.language-segment,
.density-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(76px, 1fr));
  gap: 4px;
  min-width: 180px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--segment-bg);
}

.theme-segment {
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  min-width: 278px;
}

.theme-segment button,
.language-segment button,
.density-segment button {
  position: relative;
  overflow: hidden;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.theme-segment button.is-active,
.language-segment button.is-active,
.density-segment button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.density-segment {
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  min-width: 330px;
}

.accent-select {
  position: relative;
  min-width: 230px;
  justify-self: end;
}

.accent-trigger {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.accent-dot {
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--swatch-color);
}

.accent-chevron {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.accent-select.is-open .accent-chevron {
  transform: rotate(180deg);
}

.accent-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: min(250px, 80vw);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.accent-menu[hidden] {
  display: none;
}

.accent-menu button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
}

.accent-menu button::after {
  content: "";
  width: 14px;
  height: 14px;
  grid-column: 1;
  grid-row: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--swatch-color);
}

.accent-menu button.is-active {
  background: var(--ink);
  color: var(--bg);
}

.accent-menu button.is-locked {
  color: var(--muted);
}

.accent-menu button.is-locked::before {
  opacity: 0;
}

.accent-menu button.is-locked::after {
  filter: grayscale(0.35);
  opacity: 0.72;
}

.accent-menu button.is-locked {
  padding-right: 36px;
}

.accent-menu button.is-locked .lock-badge {
  position: absolute;
  right: 10px;
  color: var(--accent);
  font-size: 13px;
}

.premium-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.cache-button {
  border-color: var(--line);
  background: var(--panel-solid);
  color: var(--ink);
}

.cache-button:hover {
  border-color: #ff5416;
}

.cache-dialog[hidden] {
  display: none;
}

.cache-dialog {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.42);
  animation: dialogBackdropIn 180ms ease-out;
}

.cache-dialog-panel {
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(255, 84, 22, 0.45);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  animation: dialogPanelIn 220ms cubic-bezier(0.2, 0, 0, 1);
  transform-origin: center;
}

.cache-dialog.is-closing {
  animation: dialogBackdropOut 160ms ease-in forwards;
}

.cache-dialog.is-closing .cache-dialog-panel {
  animation: dialogPanelOut 160ms ease-in forwards;
}

.cache-dialog-panel h2 {
  font-size: clamp(28px, 5vw, 44px);
}

.feedback-dialog-panel {
  width: min(640px, 100%);
}

.cache-dialog-panel > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 2.4vw, 19px);
  font-weight: 750;
}

.cache-warning-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cache-cancel-button,
.cache-confirm-button {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
}

.cache-cancel-button {
  border-color: var(--line);
  background: var(--panel-solid);
  color: var(--ink);
}

.cache-confirm-button {
  border-color: #ff5416;
  background: #ff5416;
  color: #ffffff;
}

.cache-confirm-button:hover {
  border-color: #ff5416;
}

.feedback-confirm-button {
  border-color: #ff5416;
  border-radius: 999px;
  background: #ff5416;
  color: #ffffff;
}

.feedback-confirm-button:hover {
  border-color: #ff5416;
}

@keyframes dialogBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dialogBackdropOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes dialogPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dialogPanelOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}

.cache-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

[data-accent-choice="neutral"],
[data-accent-preview="neutral"] {
  --swatch-color: #8a8377;
}

[data-accent-choice="blue"],
[data-accent-preview="blue"] {
  --swatch-color: #5c7cfa;
}

[data-accent-choice="green"],
[data-accent-preview="green"] {
  --swatch-color: #2f9e44;
}

[data-accent-choice="rose"],
[data-accent-preview="rose"] {
  --swatch-color: #c2255c;
}

[data-accent-choice="orange"],
[data-accent-preview="orange"] {
  --swatch-color: #f76707;
}

[data-accent-choice="purple"],
[data-accent-preview="purple"] {
  --swatch-color: #7950f2;
}

[data-accent-choice="pro-gold"],
[data-accent-preview="pro-gold"] {
  --swatch-color: #b7791f;
}

[data-accent-choice="team-cyan"],
[data-accent-preview="team-cyan"] {
  --swatch-color: #0b7285;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    top: 10px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 8px;
  }

  .brand-logo {
    align-self: center;
  }

  .mobile-menu-button {
    display: flex;
    width: 100%;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: hidden;
  }

  .topbar.is-open .nav-links {
    display: grid;
    animation: mobileMenuIn 180ms ease both;
  }

  .nav-links a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
  }

  .nav-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background:
      var(--hero-tint-mobile),
      url("assets/profile-hero-1280.jpg") center / cover;
  }

  .profile-panel {
    width: calc(100% - 20px);
    margin: 0 auto 10px;
  }

  .error-page {
    min-height: auto;
    padding: clamp(48px, 10vw, 84px) 0;
  }

  .error-character {
    order: -1;
    min-height: 300px;
  }

  .character-card {
    width: min(82vw, 320px);
    border-radius: 24px;
  }

  .meta-grid,
  .about-grid,
  .stats,
  .contact-band,
  .settings-hero,
  .pricing-hero,
  .error-page,
  .bio-content article,
  .pricing-grid,
  .comparison-row,
  .settings-band,
  .setting-card {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .comparison-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card-bg);
  }

  .comparison-head {
    display: none;
  }

  .comparison-row > span,
  .comparison-row > strong {
    justify-content: center;
    min-height: 56px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    padding: 12px 10px;
    text-align: center;
  }

  .comparison-row > span:first-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
    border-top: 0;
    border-left: 0;
    background: var(--panel-solid);
    color: var(--ink);
  }

  .comparison-row > strong {
    display: grid;
    gap: 4px;
    align-content: center;
  }

  .comparison-row > strong::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .comparison-row > strong:nth-of-type(1) {
    border-left: 0;
  }

  .comparison-row > strong:nth-of-type(1)::before {
    content: "Free";
  }

  .comparison-row > strong:nth-of-type(2)::before {
    content: "Pro";
  }

  .comparison-row > strong:nth-of-type(3)::before {
    content: "Team";
  }

  .settings-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .settings-sidebar a {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 44px;
    padding-inline: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .setting-card {
    gap: 16px;
    min-height: 0;
  }

  .setting-card > .toggle,
  .setting-card > .button,
  .setting-card > .theme-segment,
  .setting-card > .language-segment,
  .setting-card > .density-segment,
  .setting-card > .accent-select {
    justify-self: stretch;
  }

  .setting-card > .toggle {
    justify-self: start;
  }

  .theme-segment,
  .language-segment,
  .density-segment {
    min-width: 0;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

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

  .pricing-hero {
    align-items: start;
    flex-direction: column;
  }

  .theme-segment,
  .language-segment,
  .density-segment,
  .accent-select,
  .info-tabs {
    width: 100%;
  }

  .info-tabs {
    grid-template-columns: 1fr;
  }

  .feedback-cta {
    width: 100%;
  }

  .accent-select {
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  .topbar {
    flex-direction: column;
  }

  .nav-links {
    justify-content: stretch;
  }

  .nav-links a {
    flex: 1;
  }

  .button {
    width: 100%;
  }

  .pricing-card .button {
    width: 100%;
  }
}
