:root {
  --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;
  --action-bg: #f4f3ee;
  --action-ink: #151514;
  --action-border: rgba(244, 243, 238, 0.32);
  --action-muted-bg: rgba(244, 243, 238, 0.08);
  --danger-bg: #d8d5cc;
  --danger-ink: #151514;
  --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="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;
  --action-bg: #f4f3ee;
  --action-ink: #151514;
  --action-border: rgba(244, 243, 238, 0.32);
  --action-muted-bg: rgba(244, 243, 238, 0.08);
  --danger-bg: #d8d5cc;
  --danger-ink: #151514;
  --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;
  --action-bg: #f2f1ec;
  --action-ink: #060606;
  --action-border: rgba(242, 241, 236, 0.28);
  --action-muted-bg: rgba(242, 241, 236, 0.07);
  --danger-bg: #d1cec4;
  --danger-ink: #060606;
  --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;
}

[data-accent="blue"] .privacy-body,
[data-accent="green"] .privacy-body,
[data-accent="rose"] .privacy-body,
[data-accent="orange"] .privacy-body,
[data-accent="purple"] .privacy-body,
[data-accent="pro-gold"] .privacy-body,
[data-accent="team-cyan"] .privacy-body,
[data-accent="blue"] .license-body,
[data-accent="green"] .license-body,
[data-accent="rose"] .license-body,
[data-accent="orange"] .license-body,
[data-accent="purple"] .license-body,
[data-accent="pro-gold"] .license-body,
[data-accent="team-cyan"] .license-body,
[data-accent="blue"] .terms-body,
[data-accent="green"] .terms-body,
[data-accent="rose"] .terms-body,
[data-accent="orange"] .terms-body,
[data-accent="purple"] .terms-body,
[data-accent="pro-gold"] .terms-body,
[data-accent="team-cyan"] .terms-body,
[data-accent="blue"] .accessibility-body,
[data-accent="green"] .accessibility-body,
[data-accent="rose"] .accessibility-body,
[data-accent="orange"] .accessibility-body,
[data-accent="purple"] .accessibility-body,
[data-accent="pro-gold"] .accessibility-body,
[data-accent="team-cyan"] .accessibility-body {
  --legal-accent: var(--accent);
  --legal-line-strong: color-mix(in srgb, var(--accent) 48%, var(--legal-line));
}

: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="soft"] {
  --muted: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --density-card: 1.04;
  --density-gap: 1.08;
}

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

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

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

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

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

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

[data-kid-mode="soft"] .ripple,
[data-kid-mode="soft"] .error-console-map span,
[data-kid-mode="strong"] .ripple,
[data-kid-mode="strong"] .error-console-map span {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 220;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::-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);
}

.scroll-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-actions button {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(15, 15, 15, 0.14);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.scroll-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.scroll-actions button:disabled {
  cursor: default;
  opacity: 0.42;
}

.scroll-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-quick-actions {
  display: none;
}

.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,
summary,
input,
textarea,
label,
details,
svg,
[role="button"],
[role="tab"],
[role="option"],
[data-go-url],
[data-scroll-to],
[data-share-target],
[data-theme-choice],
[data-language-choice],
[data-currency-choice],
[data-accent-choice],
[data-toggle-key] {
  -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,
.setting-select-trigger,
.setting-select-menu button,
.accent-trigger,
.accent-menu button,
.currency-switch button,
.info-tabs button,
.toggle,
summary {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.button *,
.nav-links a *,
.mobile-menu-button *,
.feedback-cta *,
.icon-button *,
.settings-sidebar a *,
.faq-topic-nav a *,
.setting-select-trigger *,
.setting-select-menu button *,
.accent-trigger *,
.accent-menu button *,
.currency-switch button *,
.info-tabs button *,
.toggle * {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.share-link-field,
.share-link-field *,
.share-link-field input {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
  touch-action: auto;
}

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

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--nav-bg) 88%, var(--panel-solid));
  box-shadow: 0 18px 54px rgba(15, 15, 15, 0.08);
  backdrop-filter: blur(20px) saturate(1.12);
}

.brand-logo {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%),
    var(--panel-solid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 48%, transparent);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.brand-logo img {
  position: absolute;
  inset: 5px;
  width: 100%;
  height: 100%;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
  opacity: 0;
  -webkit-user-drag: none;
  user-select: none;
}

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

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

.brand-logo span {
  display: none;
}

.brand-logo:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 48%, transparent);
  transform: none;
}

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

.nav-links {
  justify-self: end;
  display: flex;
  gap: 3px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--segment-bg);
  scrollbar-width: none;
}

.nav-section-label {
  display: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.mobile-menu-button {
  position: relative;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  overflow: hidden;
  padding: 0 14px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-solid);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 44%, transparent);
}

.mobile-menu-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 180ms ease;
}

.topbar.is-open .mobile-menu-icon {
  transform: rotate(180deg);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  min-width: 0;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-links .nav-search-button {
  display: none;
}

.nav-links a > span,
.nav-links a > svg,
.nav-links .nav-search-button > span,
.nav-links .nav-search-button > svg,
.nav-links .nav-search-button > kbd {
  position: relative;
  z-index: 1;
}

.nav-icon {
  display: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links a.nav-feedback-link {
  min-width: 102px;
  border: 1px solid #ff5416;
  background: #ff5416;
  color: #ffffff;
  font-weight: 950;
  box-shadow: none;
}

.nav-links a.nav-feedback-link:hover,
.nav-links a.nav-feedback-link.is-active {
  background: color-mix(in srgb, #ff5416 88%, #ffffff);
  color: #ffffff;
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .shell {
    width: min(1500px, calc(100% - 32px));
    padding-left: 248px;
  }

  [data-nav-layout="sidebar"] .topbar {
    position: fixed;
    top: 16px;
    left: max(16px, env(safe-area-inset-left));
    bottom: 16px;
    width: 220px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
    overflow: visible;
  }

  [data-nav-layout="sidebar"] .brand-logo {
    display: none;
  }

  [data-nav-layout="sidebar"] .nav-links {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    padding: 6px;
    border-radius: 18px;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  [data-nav-layout="sidebar"] .nav-links a {
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
    width: 100%;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
  }

  [data-nav-layout="sidebar"] .nav-links a:not(.nav-feedback-link) .nav-icon {
    display: block;
    width: 25px;
    height: 25px;
    stroke-width: 2.15;
  }

  [data-nav-layout="sidebar"] .nav-links a.nav-feedback-link {
    justify-content: center;
    margin-top: auto;
    min-width: 0;
    text-align: center;
  }

  [data-nav-layout="sidebar"] .nav-links a:hover,
  [data-nav-layout="sidebar"] .nav-links a.is-active {
    transform: none;
  }

  [data-nav-layout="sidebar"] .about-hero,
  [data-nav-layout="sidebar"] .bio-hero,
  [data-nav-layout="sidebar"] .faq-hero,
  [data-nav-layout="sidebar"] .settings-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: auto;
  }

  [data-nav-layout="sidebar"] .about-visual-panel,
  [data-nav-layout="sidebar"] .bio-profile-card,
  [data-nav-layout="sidebar"] .faq-hero-panel,
  [data-nav-layout="sidebar"] .settings-overview {
    width: min(100%, 720px);
  }
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .topbar {
    top: 0;
    left: 0;
    bottom: 0;
    width: 220px;
    gap: 0;
    padding: 0 12px 14px;
    border: 0;
    border-right: 1px solid rgba(123, 148, 173, 0.16);
    border-radius: 0;
    background: #101010;
    box-shadow:
      inset -1px 0 0 rgba(255, 255, 255, 0.04),
      18px 0 48px rgba(0, 0, 0, 0.22);
    color: #e8e8e8;
    backdrop-filter: blur(22px) saturate(0.25);
  }

  [data-nav-layout="sidebar"] .topbar::after {
    content: "";
    position: absolute;
    top: 52px;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(142, 162, 184, 0.16), transparent);
    pointer-events: none;
  }

  [data-nav-layout="sidebar"] .brand-logo {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
  }

  [data-nav-layout="sidebar"] .brand-logo img {
    display: none;
  }

  [data-nav-layout="sidebar"] .brand-logo span {
    display: none;
  }

  [data-nav-layout="sidebar"] .brand-logo::before {
    content: "";
    display: block;
    width: 124px;
    height: 52px;
    margin-left: 0;
    background: url("assets/logo-v2-sidebar.png") left 8px center / 106px auto no-repeat;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
    opacity: 1;
    transform: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
  }

  [data-nav-layout="sidebar"] .brand-logo::after {
    content: none;
  }

  [data-nav-layout="sidebar"] .brand-logo:hover {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  [data-nav-layout="sidebar"] .mobile-menu-button {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-width: 0;
    height: 28px;
    min-height: 0;
    padding: 0;
    border-color: rgba(143, 165, 188, 0.24);
    border-radius: 6px;
    background: rgba(28, 28, 28, 0.82);
    color: #e8e8e8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  [data-nav-layout="sidebar"] .mobile-menu-button span {
    display: none;
  }

  [data-nav-layout="sidebar"] .mobile-menu-icon {
    display: block;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(currentColor, currentColor) center 4px / 13px 1.4px no-repeat,
      linear-gradient(currentColor, currentColor) center 7px / 13px 1.4px no-repeat,
      linear-gradient(currentColor, currentColor) center 10px / 13px 1.4px no-repeat;
    opacity: 0.88;
    transform: none;
  }

  [data-nav-layout="sidebar"] .mobile-menu-icon path {
    display: none;
  }

  [data-nav-layout="sidebar"] .topbar.is-open .mobile-menu-icon {
    transform: none;
  }

  [data-nav-layout="sidebar"] .nav-links {
    flex: 1 1 auto;
    gap: 0;
    padding: 14px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-color: rgba(130, 152, 174, 0.36) transparent;
  }

  [data-nav-layout="sidebar"] .nav-section-label {
    display: block;
    margin: 17px 8px 8px;
    color: rgba(173, 190, 207, 0.62);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
  }

  [data-nav-layout="sidebar"] .nav-section-label:first-child {
    margin-top: 4px;
  }

  [data-nav-layout="sidebar"] .nav-links a {
    justify-content: flex-start;
    gap: 13px;
    min-height: 34px;
    margin: 1px 0;
    padding: 0 10px;
    border-radius: 5px;
    color: rgba(214, 224, 236, 0.72);
    font-size: 12px;
    font-weight: 690;
    letter-spacing: 0;
    line-height: 1;
  }

  [data-nav-layout="sidebar"] .nav-links .nav-search-button {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 40px;
    margin: 2px 0 10px;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid rgba(226, 226, 226, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(242, 242, 242, 0.88);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1;
    text-align: left;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  }

  [data-nav-layout="sidebar"] .nav-links .nav-search-button:hover {
    border-color: rgba(242, 242, 242, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  [data-nav-layout="sidebar"] .nav-links .nav-search-button .nav-icon {
    display: block;
    width: 17px;
    height: 17px;
    color: rgba(224, 224, 224, 0.86);
    stroke-width: 2;
  }

  [data-nav-layout="sidebar"] .nav-links .nav-search-button kbd {
    margin-left: auto;
    padding: 4px 6px;
    border: 1px solid rgba(226, 226, 226, 0.18);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.18);
    color: rgba(222, 222, 222, 0.72);
    font-family: inherit;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
  }

  [data-nav-layout="sidebar"] .nav-links a::before {
    display: none;
  }

  [data-nav-layout="sidebar"] .nav-links a::after {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: #b8b8b8;
    opacity: 0;
    transform: scaleY(0.55);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  [data-nav-layout="sidebar"] .nav-links a:not(.nav-feedback-link) .nav-icon,
  [data-nav-layout="sidebar"] .nav-links a .nav-icon {
    display: block;
    width: 17px;
    height: 17px;
    color: rgba(189, 203, 219, 0.75);
    stroke-width: 1.95;
  }

  [data-nav-layout="sidebar"] .nav-links a > span {
    min-width: 0;
  }

  [data-nav-layout="sidebar"] .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  [data-nav-layout="sidebar"] .nav-links a:hover .nav-icon {
    color: rgba(246, 246, 246, 0.94);
  }

  [data-nav-layout="sidebar"] .nav-links a.is-active {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 12px 26px rgba(0, 0, 0, 0.16);
  }

  [data-nav-layout="sidebar"] .nav-links a.is-active::after {
    opacity: 1;
    transform: scaleY(1);
  }

  [data-nav-layout="sidebar"] .nav-links a.is-active .nav-icon {
    color: #f5f5f5;
  }

  [data-nav-layout="sidebar"] .nav-links a.nav-support-link {
    margin-top: 1px;
  }

  [data-nav-layout="sidebar"] .nav-links a.nav-feedback-link {
    border-color: rgba(220, 220, 220, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(242, 242, 242, 0.88);
  }

  [data-nav-layout="sidebar"] .nav-links a.nav-feedback-link:hover,
  [data-nav-layout="sidebar"] .nav-links a.nav-feedback-link.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .shell {
    width: min(1500px, calc(100% - 32px));
    padding-left: 92px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .topbar {
    width: 72px;
    padding: 0 8px 14px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .topbar::after {
    top: 98px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .brand-logo {
    height: 46px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .brand-logo::before {
    width: 42px;
    height: 46px;
    margin-inline: auto;
    background-position: left center;
    background-size: 92px auto;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .mobile-menu-button {
    top: 58px;
    right: 22px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links {
    padding-top: 54px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-section-label {
    display: none;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links a {
    justify-content: center;
    min-height: 38px;
    padding: 0;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links .nav-search-button {
    justify-content: center;
    min-height: 38px;
    margin: 0 0 10px;
    padding: 0;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links a > span,
  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links .nav-search-button > span,
  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links .nav-search-button > kbd {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links a::after {
    left: -8px;
  }

  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links a:not(.nav-feedback-link) .nav-icon,
  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links a .nav-icon,
  [data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .nav-links .nav-search-button .nav-icon {
    width: 18px;
    height: 18px;
  }
}

.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,
.setting-select-trigger::before,
.setting-select-menu button::before,
.accent-trigger::before,
.accent-menu button::before,
.info-tabs button::before {
  content: none;
}

.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,
.setting-select-trigger:hover::before,
.setting-select-menu button:hover::before,
.accent-trigger:hover::before,
.accent-menu button:hover::before,
.info-tabs button:hover::before {
  opacity: 0;
  transform: none;
}

[data-nav-layout="sidebar"] .brand-logo:hover::before {
  opacity: 1;
  transform: none;
}

.brand-logo:focus-visible,
.nav-links a:focus-visible,
.nav-links .nav-search-button: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,
.setting-select-trigger:focus-visible,
.setting-select-menu 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: color-mix(in srgb, var(--accent) 18%, transparent);
  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(10px) scale(0.96);
  }

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

@keyframes mobileMenuBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

@keyframes offlineSignal {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleY(0.86);
  }

  45% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes errorSignal {
  0%,
  100% {
    opacity: 0.34;
    transform: scaleX(0.58);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes errorConsoleIn {
  0%,
  20% {
    opacity: 0;
    transform: translateY(18px);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0);
  }
}

.nav-links a:hover,
.nav-links a.is-active {
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transform: none;
}

.nav-links a.nav-feedback-link:hover,
.nav-links a.nav-feedback-link.is-active {
  background: color-mix(in srgb, #ff5416 88%, #ffffff);
  color: #ffffff;
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(680px, 88vh, 840px);
  margin-top: 16px;
  padding: clamp(26px, 5vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121211;
  color: #ffffff;
  isolation: isolate;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 72%);
}

@supports (content-visibility: auto) {
  .content-band,
  .split-band,
  .contact-band,
  .home-tabs-section,
  .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;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  width: min(980px, 100%);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.profile-panel .eyebrow {
  margin-bottom: -4px;
  color: rgba(255, 255, 255, 0.76);
}

.profile-panel h1 {
  max-width: 920px;
  color: #ffffff;
  text-wrap: balance;
}

.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: 47rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.24;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin: 0;
}

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

.hero .meta-grid div {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.hero .meta-grid span {
  color: rgba(255, 255, 255, 0.68);
}

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

.hero .meta-grid strong {
  color: #ffffff;
}

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

.hero-actions {
  gap: 12px;
}

.button {
  appearance: none;
  -webkit-appearance: none;
  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;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

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

.button.ghost {
  background: transparent;
  color: var(--dark);
}

.profile-panel .button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.profile-panel .button.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #141414;
}

.hero-button {
  min-height: 56px;
  gap: 12px;
  padding: 0 20px 0 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-button:hover {
  transform: translateY(-2px);
}

.hero-button-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.hero-button-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-button-contact {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.2);
}

.hero-button-contact .hero-button-icon {
  background: #141414;
  color: #ffffff;
}

.hero-button-work {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.hero-button-work .hero-button-icon {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-button-work:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  display: grid;
  gap: 5px;
  max-width: min(320px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.hero-note span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 13px;
  line-height: 1.35;
}

.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;
}

.home-tabs-section {
  padding: calc(clamp(64px, 9vw, 104px) * var(--density-section)) 0 0;
}

.home-tabs-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: start;
  margin-bottom: 30px;
}

.home-tabs-header .section-heading {
  margin-bottom: 0;
}

.home-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--segment-bg);
}

.home-tabs button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-align: left;
}

.home-tabs button.is-active {
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  animation: softTabPop 220ms cubic-bezier(0.2, 0, 0, 1);
}

.home-tab-panel {
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.home-tab-panel.is-active {
  animation: softPanelIn 260ms cubic-bezier(0.2, 0, 0, 1);
}

.home-tab-panel .contact-band {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.home-tab-panel .about-grid {
  border-top: 0;
  padding-top: 0;
}

.home-tab-panel .work-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-tab-panel .work-item {
  grid-template-columns: 1fr;
  min-height: 230px;
}

.home-tab-panel .work-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--accent);
}

.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;
}

.home-body {
  --bg: #050706;
  --ink: #f7f2e8;
  --muted: #a8aba0;
  --line: rgba(235, 232, 214, 0.16);
  --panel: rgba(10, 14, 12, 0.86);
  --panel-solid: #0b0f0d;
  --nav-bg: rgba(7, 10, 9, 0.84);
  --card-bg: rgba(247, 242, 232, 0.04);
  --card-bg-strong: rgba(247, 242, 232, 0.07);
  --pill-bg: rgba(247, 242, 232, 0.08);
  --segment-bg: rgba(247, 242, 232, 0.06);
  --accent: #8fb36a;
  --dark: #f7f2e8;
  --soft: #101410;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  --page-bg:
    radial-gradient(circle at 76% 10%, rgba(143, 179, 106, 0.16), transparent 32rem),
    radial-gradient(circle at 20% 72%, rgba(255, 84, 22, 0.08), transparent 30rem),
    linear-gradient(135deg, #050706 0%, #08100c 52%, #030504 100%);
}

.home-body .topbar {
  border-color: rgba(235, 232, 214, 0.13);
  background: color-mix(in srgb, #090d0b 88%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.home-page {
  width: min(1440px, calc(100% - 32px));
  padding-bottom: clamp(52px, 8vw, 104px);
}

.home-page .button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border-color: rgba(247, 242, 232, 0.28);
  color: #f7f2e8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.home-page .button.primary {
  border-color: #8fb36a;
  background: #8fb36a;
  color: #061006;
}

.home-page .button.ghost {
  border-color: rgba(247, 242, 232, 0.34);
  background: rgba(247, 242, 232, 0.03);
  color: #f7f2e8;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: clamp(32px, 5.8vw, 88px);
  align-items: center;
  min-height: clamp(580px, 74vh, 790px);
  margin-top: 16px;
  padding: clamp(42px, 7vw, 94px) 0 clamp(30px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.home-hero-copy {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  min-width: 0;
}

.home-hero h1,
.home-section-copy h2,
.home-feedback-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 820px;
  color: #fffaf0;
  font-size: clamp(64px, 7.8vw, 118px);
  line-height: 0.92;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.home-lead {
  max-width: 590px;
  margin: 0;
  color: rgba(247, 242, 232, 0.72);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.68;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.home-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 232, 214, 0.14);
  border-radius: 8px;
  background: #08100c;
  box-shadow: var(--shadow);
}

.home-hero-media img {
  display: block;
  width: 100%;
  height: clamp(430px, 56vh, 670px);
  object-fit: cover;
  object-position: center;
}

.home-hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.72);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.home-hero-media span,
.home-ledger span,
.home-field-scene span,
.home-section-kicker,
.home-route-list a > span,
.home-action-grid span,
.home-latest-list span {
  color: #8fb36a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero-media strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
  overflow-wrap: anywhere;
}

.home-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.home-ledger div {
  display: grid;
  gap: 10px;
  min-height: 110px;
  padding: clamp(18px, 2.6vw, 26px);
  border-right: 1px solid var(--line);
}

.home-ledger div:last-child {
  border-right: 0;
}

.home-ledger strong {
  color: #fffaf0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.28;
}

.home-field-scene {
  padding: clamp(44px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}

.home-field-scene figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 232, 214, 0.14);
  border-radius: 8px;
  background: #08100c;
  box-shadow: var(--shadow);
}

.home-field-scene img {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 540px);
  object-fit: cover;
  object-position: center;
}

.home-field-scene figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.68);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.home-field-scene strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
}

.home-route-deck,
.home-switchboard {
  display: grid;
  grid-template-columns: minmax(230px, 350px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(70px, 9vw, 118px) 0;
  border-bottom: 1px solid var(--line);
}

.home-section-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.home-section-kicker {
  margin: 0;
}

.home-section-copy h2,
.home-feedback-strip h2 {
  color: #fffaf0;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 0.98;
  text-wrap: balance;
}

.home-section-copy p:not(.home-section-kicker),
.home-route-list p,
.home-latest-list p,
.home-feedback-strip p {
  margin: 0;
  color: rgba(247, 242, 232, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.home-route-list {
  display: grid;
  gap: 8px;
}

.home-route-list a {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 28px;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  min-height: 124px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-left-color: rgba(143, 179, 106, 0.72);
  border-radius: 8px;
  background: rgba(247, 242, 232, 0.025);
  color: #fffaf0;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-route-list a:hover {
  border-color: rgba(143, 179, 106, 0.56);
  background: rgba(143, 179, 106, 0.08);
  transform: translateY(-2px);
}

.home-route-list strong {
  display: block;
  margin-bottom: 6px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.04;
}

.home-route-list svg,
.home-feedback-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.home-action-grid a,
.home-action-grid button {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 242, 232, 0.025);
  color: #fffaf0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-action-grid a:hover,
.home-action-grid button:hover {
  border-color: rgba(143, 179, 106, 0.46);
  background: rgba(143, 179, 106, 0.07);
  transform: translateY(-2px);
}

.home-action-grid strong {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.16;
}

.home-latest {
  display: grid;
  gap: 18px;
  padding: clamp(54px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}

.home-latest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-latest-list article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 154px;
  padding: clamp(18px, 2.6vw, 26px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-latest-list strong {
  color: #fffaf0;
  font-size: 20px;
  line-height: 1.2;
}

.home-feedback-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-top: clamp(38px, 6vw, 72px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(255, 84, 22, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 84, 22, 0.09), transparent 58%),
    rgba(247, 242, 232, 0.025);
}

.home-feedback-strip .home-section-kicker {
  color: #ff7a3d;
}

.home-feedback-strip h2 {
  max-width: 720px;
  margin-top: 10px;
  font-size: clamp(34px, 4.8vw, 66px);
}

.home-feedback-strip p:last-child {
  max-width: 640px;
  margin-top: 14px;
}

.home-feedback-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 248px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid #ff5416;
  border-radius: 8px;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.home-feedback-link:hover {
  background: rgba(255, 84, 22, 0.14);
  transform: translateY(-2px);
}

html[lang="ko"] .home-hero h1 {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 1.03;
}

html[lang="ko"] .home-section-copy h2,
html[lang="ko"] .home-feedback-strip h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .home-page .home-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.82fr);
  }
}

@media (max-width: 900px) {
  .home-page {
    width: min(760px, calc(100% - 20px));
  }

  .home-hero,
  .home-route-deck,
  .home-switchboard,
  .home-feedback-strip {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 28px;
    min-height: auto;
    padding: 34px 0 26px;
  }

  .home-hero h1 {
    max-width: min(100%, 360px);
    font-size: clamp(48px, 13.5vw, 62px);
    line-height: 0.98;
    text-wrap: auto;
  }

  .home-lead {
    max-width: min(100%, 340px);
    font-size: 16.5px;
    overflow-wrap: break-word;
  }

  .home-hero-media img {
    height: min(70vh, 520px);
  }

  .home-hero-media figcaption {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    margin: 10px;
    gap: 6px;
  }

  .home-hero-media strong {
    text-align: left;
  }

  .home-field-scene {
    padding: 38px 0 56px;
  }

  .home-field-scene img {
    height: min(58vh, 420px);
  }

  .home-field-scene figcaption {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    margin: 10px;
    gap: 6px;
  }

  .home-field-scene strong {
    text-align: left;
  }

  .home-ledger,
  .home-action-grid,
  .home-latest-list {
    grid-template-columns: 1fr;
  }

  .home-ledger div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-ledger div:last-child {
    border-bottom: 0;
  }

  .home-route-deck,
  .home-switchboard {
    gap: 28px;
    padding: 56px 0;
  }

  .home-section-copy h2,
  .home-feedback-strip h2 {
    max-width: min(100%, 330px);
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.06;
    text-wrap: auto;
  }

  .home-section-copy p:not(.home-section-kicker),
  .home-feedback-strip p {
    max-width: min(100%, 330px);
  }

  .home-route-list a {
    grid-template-columns: 38px minmax(0, 1fr) 22px;
    gap: 14px;
    min-height: 112px;
  }

  .home-latest-list {
    border-left: 0;
  }

  .home-latest-list article {
    min-height: 0;
    border-right: 0;
  }

  .home-feedback-link {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .home-hero h1 {
    max-width: min(100%, 330px);
    font-size: clamp(44px, 12.8vw, 56px);
  }

  .home-page .button {
    width: 100%;
  }

  .home-route-list a {
    grid-template-columns: 1fr;
  }

  .home-route-list svg {
    justify-self: end;
  }
}

.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(--action-border);
  background: color-mix(in srgb, var(--action-bg) 12%, var(--pill-bg));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action-bg) 16%, transparent);
}

.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(0, 1fr));
  gap: 4px;
  width: min(100%, 760px);
  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;
  line-height: 1.2;
  text-align: center;
}

.info-tabs button.is-active {
  background: var(--ink);
  color: var(--bg);
  animation: softTabPop 220ms cubic-bezier(0.2, 0, 0, 1);
}

.feedback-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: clamp(520px, 58vw, 660px);
  margin-top: 16px;
  overflow: hidden;
  padding: clamp(42px, 7vw, 86px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28rem),
    linear-gradient(135deg, color-mix(in srgb, #ff5416 14%, transparent), transparent 42%),
    var(--card-bg-strong);
  box-shadow: var(--shadow);
}

.feedback-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 86%);
}

.feedback-hero h1 {
  max-width: 760px;
  font-size: clamp(52px, 6.3vw, 88px);
  line-height: 0.96;
  text-wrap: balance;
}

.feedback-intro {
  display: grid;
  align-content: center;
  gap: 22px;
  min-width: 0;
}

.feedback-intro > p:last-of-type,
.feedback-panel p,
.feedback-note p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.58;
}

.feedback-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: clamp(420px, 42vw, 520px);
  overflow: hidden;
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 45%),
    var(--card-bg-strong);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feedback-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 6px;
  pointer-events: none;
}

.feedback-panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.feedback-panel-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feedback-panel-top strong {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 900;
}

.feedback-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: #10110f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 50px rgba(0, 0, 0, 0.24);
}

.feedback-visual img {
  display: block;
  width: 100%;
  height: clamp(180px, 19vw, 250px);
  object-fit: cover;
}

.feedback-panel h2,
.feedback-note h2 {
  max-width: 460px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.02;
}

.feedback-panel p {
  font-size: 15px;
}

.feedback-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.feedback-status-list span {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 8px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-size: 12px;
  font-weight: 850;
}

.feedback-signal-meter {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.feedback-signal-meter span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent));
}

.feedback-signal-meter span:nth-child(1) {
  width: 92%;
}

.feedback-signal-meter span:nth-child(2) {
  width: 68%;
  margin-left: auto;
}

.feedback-signal-meter span:nth-child(3) {
  width: 44%;
}

.feedback-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(28px, 6vw, 64px) 0 0;
}

.feedback-topics article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 250px;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.feedback-topics article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.42;
}

.feedback-topics article:hover {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  background: var(--card-bg-strong);
  transform: translateY(-3px);
}

.feedback-topics article > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 900;
}

.feedback-topics h2 {
  max-width: 360px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
}

.feedback-topics p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.support-desk {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
  margin-top: clamp(28px, 6vw, 64px);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 48%),
    var(--card-bg-strong);
}

.support-desk-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.support-desk h2 {
  max-width: 620px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
  text-wrap: balance;
}

.support-desk-copy p:not(.eyebrow),
.support-desk-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.support-desk-list {
  display: grid;
  gap: 12px;
}

.support-desk-list article {
  display: grid;
  grid-template-columns: minmax(74px, 0.18fr) minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
  min-width: 0;
  padding: clamp(18px, 3vw, 26px) 0;
  border-bottom: 1px solid var(--line);
}

.support-desk-list article:first-child {
  border-top: 1px solid var(--line);
}

.support-desk-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-desk-list strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.15;
}

.support-desk-list p {
  font-size: 15px;
}

.feedback-note {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(28px, 6vw, 64px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, #ff5416 10%, transparent), transparent 56%),
    var(--card-bg);
}

.feedback-note p {
  font-size: 16px;
}

.about-body {
  --bg: #050605;
  --ink: #f6f1e4;
  --muted: #aaa99a;
  --line: rgba(237, 230, 202, 0.16);
  --panel: rgba(12, 14, 12, 0.86);
  --panel-solid: #0b0d0b;
  --nav-bg: rgba(9, 10, 9, 0.82);
  --card-bg: rgba(246, 241, 228, 0.04);
  --card-bg-strong: rgba(246, 241, 228, 0.07);
  --pill-bg: rgba(246, 241, 228, 0.08);
  --segment-bg: rgba(246, 241, 228, 0.06);
  --accent: #8fb36a;
  --dark: #f6f1e4;
  --soft: #11130f;
  --shadow: 0 34px 92px rgba(0, 0, 0, 0.48);
  --page-bg:
    radial-gradient(circle at 84% 8%, rgba(143, 179, 106, 0.14), transparent 34rem),
    radial-gradient(circle at 10% 42%, rgba(209, 147, 52, 0.1), transparent 28rem),
    linear-gradient(135deg, #050605 0%, #080a08 52%, #11130f 100%);
}

.about-body .topbar {
  border-color: rgba(237, 230, 202, 0.14);
  background: color-mix(in srgb, #090a09 88%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.about-page {
  width: min(1440px, calc(100% - 32px));
  padding-bottom: clamp(52px, 8vw, 110px);
}

.about-page .button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border-color: rgba(246, 241, 228, 0.26);
  color: #f6f1e4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-page .button.primary {
  border-color: #8fb36a;
  background: #8fb36a;
  color: #071007;
}

.about-page .button.ghost {
  border-color: rgba(246, 241, 228, 0.32);
  background: rgba(246, 241, 228, 0.03);
  color: #f6f1e4;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.88fr);
  gap: clamp(30px, 5.4vw, 86px);
  align-items: center;
  min-height: clamp(560px, 72vh, 760px);
  margin-top: 16px;
  padding: clamp(44px, 7vw, 92px) 0 clamp(34px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.about-hero-copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  min-width: 0;
}

.about-hero h1,
.about-section-copy h2,
.about-trust-copy h2,
.about-next-direction h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.about-hero h1 {
  max-width: 760px;
  color: #fffaf0;
  font-size: clamp(70px, 10.5vw, 168px);
  line-height: 0.88;
  text-wrap: balance;
}

.about-lead {
  max-width: 560px;
  margin: 0;
  color: rgba(246, 241, 228, 0.72);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.68;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.about-visual-panel {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(237, 230, 202, 0.14);
  border-radius: 8px;
  background: #090a09;
  box-shadow: var(--shadow);
}

.about-visual-panel img {
  display: block;
  width: 100%;
  height: clamp(440px, 58vh, 690px);
  object-fit: cover;
  object-position: center;
}

.about-visual-panel figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 241, 228, 0.18);
  border-radius: 8px;
  background: rgba(6, 7, 6, 0.7);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.about-visual-panel span,
.about-ledger span,
.about-section-kicker,
.about-principle-list > li > span,
.about-route-list a > span {
  color: #8fb36a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-visual-panel strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
  overflow-wrap: anywhere;
}

.about-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.about-ledger div {
  display: grid;
  gap: 10px;
  min-height: 108px;
  padding: clamp(18px, 2.6vw, 26px);
  border-right: 1px solid var(--line);
}

.about-ledger div:last-child {
  border-right: 0;
}

.about-ledger strong {
  color: #fffaf0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.28;
}

.about-principles,
.about-route-index {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(70px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}

.about-section-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.about-section-kicker {
  margin: 0;
}

.about-section-copy h2 {
  color: #fffaf0;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.96;
  text-wrap: balance;
}

.about-section-copy p:not(.about-section-kicker),
.about-principle-list p,
.about-route-list p,
.about-trust-copy p,
.about-trust-list span,
.about-next-direction p {
  margin: 0;
  color: rgba(246, 241, 228, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.about-principle-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-principle-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
  padding: clamp(20px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.about-principle-list strong {
  display: block;
  margin-bottom: 8px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.7vw, 35px);
  font-weight: 500;
  line-height: 1.08;
}

.about-route-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-route-list a {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 172px;
  padding: clamp(18px, 2.7vw, 28px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fffaf0;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.about-route-list a:hover {
  background: rgba(143, 179, 106, 0.08);
}

.about-route-list strong {
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.05;
}

.about-trust-band {
  display: grid;
  grid-template-columns: 112px minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.about-trust-mark {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(143, 179, 106, 0.52);
  border-radius: 8px;
  color: #8fb36a;
}

.about-trust-mark svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-trust-copy {
  display: grid;
  gap: 14px;
}

.about-trust-copy h2 {
  color: #fffaf0;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1;
}

.about-trust-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 clamp(18px, 3vw, 34px);
  border-left: 1px solid var(--line);
  list-style: none;
}

.about-trust-list li {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about-trust-list li:last-child {
  border-bottom: 0;
}

.about-trust-list strong {
  color: #fffaf0;
  font-size: 16px;
  line-height: 1.25;
}

.about-next-direction {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) auto;
  gap: clamp(26px, 6vw, 80px);
  align-items: end;
  padding: clamp(64px, 9vw, 126px) 0 10px;
}

.about-next-direction h2 {
  max-width: 620px;
  color: #fffaf0;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.9;
}

.about-next-direction p {
  max-width: 560px;
  margin-top: 20px;
}

.about-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 260px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid #d19334;
  border-radius: 8px;
  color: #f6f1e4;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.about-outline-link:hover {
  background: rgba(209, 147, 52, 0.12);
  transform: translateY(-2px);
}

.about-outline-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[lang="ko"] .about-hero h1 {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 1.02;
}

html[lang="ko"] .about-section-copy h2,
html[lang="ko"] .about-trust-copy h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
}

html[lang="ko"] .about-next-direction h2 {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1;
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .about-page .about-hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.78fr);
    align-items: center;
  }
}

@media (max-width: 900px) {
  .about-page {
    width: min(760px, calc(100% - 20px));
  }

  .about-hero {
    gap: 28px;
    padding-top: 34px;
  }

  .about-lead {
    max-width: 100%;
    font-size: 16.5px;
  }

  .about-visual-panel {
    width: 100%;
  }

  .about-visual-panel img {
    height: min(78vh, 620px);
  }

  .about-visual-panel figcaption {
    position: static;
    align-items: flex-start;
    margin: 10px;
    flex-direction: column;
    gap: 6px;
  }

  .about-visual-panel strong {
    text-align: left;
  }

  .about-ledger div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-ledger div:last-child {
    border-bottom: 0;
  }

  .about-principles,
  .about-route-index,
  .about-trust-band,
  .about-next-direction {
    gap: 28px;
    padding: 56px 0;
  }

  .about-principle-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .about-route-list {
    border-left: 0;
  }

  .about-route-list a {
    min-height: 0;
    border-right: 0;
  }

  .about-trust-list {
    padding-left: 0;
    border-left: 0;
  }

  .about-outline-link {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .about-page .button {
    width: 100%;
  }
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  min-height: clamp(430px, 58vw, 600px);
  margin-top: 16px;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 52%),
    var(--card-bg-strong);
}

.legal-hero > div {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.legal-hero h1 {
  max-width: min(100%, 860px);
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.12;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.legal-hero .legal-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
}

.legal-updated {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.legal-summary {
  display: grid;
  gap: 10px;
  align-content: end;
}

.legal-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.legal-summary span,
.legal-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-summary strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

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

.legal-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: calc(clamp(22px, 4vw, 34px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.legal-card-wide {
  grid-column: 1 / -1;
  min-height: 190px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 64%),
    var(--card-bg-strong);
}

.legal-card h2 {
  max-width: 760px;
  font-size: clamp(24px, 3vw, 38px);
}

.legal-card p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-document-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.privacy-body {
  --legal-bg: #02070b;
  --legal-ink: #edf8ff;
  --legal-muted: rgba(216, 236, 245, 0.68);
  --legal-soft: rgba(178, 222, 238, 0.1);
  --legal-line: rgba(125, 225, 255, 0.18);
  --legal-line-strong: rgba(179, 240, 255, 0.32);
  --legal-accent: #48d7ff;
  background:
    radial-gradient(circle at 16% 18%, rgba(72, 215, 255, 0.18), transparent 28vw),
    radial-gradient(circle at 84% 8%, rgba(184, 219, 255, 0.12), transparent 26vw),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(180deg, #02070b 0%, #06131a 52%, #03080d 100%);
  color: var(--legal-ink);
}

.license-body,
.terms-body,
.accessibility-body {
  --legal-bg: #0c0906;
  --legal-ink: #fff8ef;
  --legal-muted: rgba(245, 230, 207, 0.7);
  --legal-soft: rgba(214, 161, 61, 0.1);
  --legal-line: rgba(236, 181, 88, 0.2);
  --legal-line-strong: rgba(250, 220, 151, 0.36);
  --legal-accent: #d6a13d;
  background:
    radial-gradient(circle at 18% 14%, rgba(214, 161, 61, 0.16), transparent 28vw),
    radial-gradient(circle at 82% 12%, rgba(180, 201, 211, 0.08), transparent 30vw),
    linear-gradient(90deg, rgba(255, 230, 181, 0.045) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(180deg, #0c0906 0%, #15100b 54%, #090706 100%);
  color: var(--legal-ink);
}

.privacy-body .shell,
.license-body .shell,
.terms-body .shell,
.accessibility-body .shell {
  color: var(--legal-ink);
}

.legal-document-page {
  width: min(1440px, calc(100% - 32px));
  max-width: none;
  padding-bottom: clamp(64px, 10vw, 118px);
}

.privacy-body .topbar,
.license-body .topbar,
.terms-body .topbar,
.accessibility-body .topbar {
  border-color: var(--legal-line);
  background: rgba(6, 10, 13, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

.privacy-body .brand-logo,
.license-body .brand-logo,
.terms-body .brand-logo,
.accessibility-body .brand-logo,
.privacy-body .nav-links a,
.license-body .nav-links a,
.terms-body .nav-links a,
.accessibility-body .nav-links a {
  color: var(--legal-ink);
}

.privacy-body .nav-links a,
.license-body .nav-links a,
.terms-body .nav-links a,
.accessibility-body .nav-links a {
  border-color: transparent;
}

.privacy-body .nav-links a:hover,
.privacy-body .nav-links a.is-active,
.license-body .nav-links a:hover,
.license-body .nav-links a.is-active,
.terms-body .nav-links a:hover,
.terms-body .nav-links a.is-active,
.accessibility-body .nav-links a:hover,
.accessibility-body .nav-links a.is-active {
  border-color: var(--legal-line-strong);
  background: var(--legal-soft);
  color: var(--legal-ink);
}

.policy-hero,
.license-registry-hero,
.terms-hero,
.accessibility-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.92fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
  min-height: clamp(560px, 68vw, 780px);
  padding: clamp(42px, 7vw, 92px) 0 clamp(34px, 5vw, 72px);
  border-bottom: 1px solid var(--legal-line);
}

.license-registry-hero,
.terms-hero,
.accessibility-hero {
  grid-template-columns: minmax(410px, 0.9fr) minmax(0, 0.82fr);
}

.policy-hero-copy,
.license-hero-copy,
.terms-hero-copy,
.accessibility-hero-copy {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  align-content: end;
  min-width: 0;
}

.policy-hero h1,
.license-registry-hero h1,
.terms-hero h1,
.accessibility-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7.6vw, 128px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.license-registry-hero h1,
.terms-hero h1,
.accessibility-hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 7.2vw, 118px);
}

.policy-lead,
.license-lead,
.terms-lead,
.accessibility-lead {
  max-width: 690px;
  margin: 0;
  color: var(--legal-muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.58;
}

.policy-updated,
.license-updated,
.terms-updated,
.accessibility-updated {
  width: fit-content;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--legal-line-strong);
  color: var(--legal-muted);
  font-size: 13px;
  font-weight: 850;
}

.policy-hero-media,
.license-hero-media,
.terms-hero-media,
.accessibility-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.4);
}

.policy-hero-media::after,
.license-hero-media::after,
.terms-hero-media::after,
.accessibility-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.policy-hero-media::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(2, 7, 11, 0.82)),
    linear-gradient(90deg, rgba(72, 215, 255, 0.18), transparent 45%);
}

.license-hero-media::after,
.terms-hero-media::after,
.accessibility-hero-media::after {
  background:
    linear-gradient(180deg, transparent 38%, rgba(12, 9, 6, 0.86)),
    linear-gradient(90deg, rgba(214, 161, 61, 0.16), transparent 46%);
}

.policy-hero-media img,
.license-hero-media img,
.terms-hero-media img,
.accessibility-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 18 / 11;
  object-fit: cover;
}

.policy-hero-media figcaption,
.license-hero-media figcaption,
.terms-hero-media figcaption,
.accessibility-hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.policy-hero-media span,
.license-hero-media span,
.terms-hero-media span,
.accessibility-hero-media span,
.policy-ledger span,
.license-ledger span,
.terms-ledger span,
.accessibility-ledger span,
.policy-dossier article > span,
.license-dossier article > span,
.terms-dossier article > span,
.accessibility-dossier article > span {
  color: var(--legal-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.policy-hero-media strong,
.license-hero-media strong,
.terms-hero-media strong,
.accessibility-hero-media strong {
  color: var(--legal-ink);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 900;
}

.policy-ledger,
.license-ledger,
.terms-ledger,
.accessibility-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--legal-line);
}

.policy-ledger div,
.license-ledger div,
.terms-ledger div,
.accessibility-ledger div {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: clamp(24px, 3.8vw, 44px) clamp(16px, 2.6vw, 30px);
  border-right: 1px solid var(--legal-line);
}

.policy-ledger div:last-child,
.license-ledger div:last-child,
.terms-ledger div:last-child,
.accessibility-ledger div:last-child {
  border-right: 0;
}

.policy-ledger strong,
.license-ledger strong,
.terms-ledger strong,
.accessibility-ledger strong {
  color: var(--legal-ink);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 850;
  line-height: 1;
}

.policy-dossier,
.license-dossier,
.terms-dossier,
.accessibility-dossier {
  display: grid;
  padding-top: clamp(28px, 5vw, 72px);
}

.policy-dossier article,
.license-dossier article,
.terms-dossier article,
.accessibility-dossier article {
  display: grid;
  grid-template-columns: 120px minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  padding: clamp(28px, 5vw, 54px) 0;
  border-bottom: 1px solid var(--legal-line);
}

.policy-dossier article:first-child,
.license-dossier article:first-child,
.terms-dossier article:first-child,
.accessibility-dossier article:first-child {
  border-top: 1px solid var(--legal-line);
}

.policy-dossier h2,
.license-dossier h2,
.terms-dossier h2,
.accessibility-dossier h2 {
  margin: 0;
  color: var(--legal-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.policy-dossier p,
.license-dossier p,
.terms-dossier p,
.accessibility-dossier p {
  max-width: 760px;
  margin: 0;
  color: var(--legal-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.78;
}

.privacy-cookie-list {
  display: grid;
  grid-column: 3;
  gap: 10px;
  max-width: 760px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-cookie-list li {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--legal-soft) 66%, transparent);
}

.privacy-cookie-list strong {
  color: var(--legal-ink);
  font-size: 14px;
  font-weight: 900;
}

.privacy-cookie-list span {
  color: var(--legal-muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.5;
}

.policy-dossier a,
.license-dossier a,
.terms-dossier a,
.accessibility-dossier a {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--legal-accent);
  font-weight: 850;
  text-decoration: none;
}

.policy-dossier a:hover,
.license-dossier a:hover,
.terms-dossier a:hover,
.accessibility-dossier a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.accessibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.accessibility-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--legal-line-strong);
  border-radius: 8px;
  color: var(--legal-ink);
  background: var(--legal-soft);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.accessibility-actions a:hover,
.accessibility-actions a:focus-visible {
  border-color: var(--legal-accent);
  background: color-mix(in srgb, var(--legal-accent) 12%, transparent);
}

.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: #ff5416;
  color: #ffffff;
  box-shadow: 0 18px 40px color-mix(in srgb, #ff5416 28%, transparent);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
}

.feedback-cta:hover {
  background: color-mix(in srgb, #ff5416 88%, #ffffff);
  color: #ffffff;
}

.feedback-cta svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-cta::before {
  content: none;
}

.feedback-cta:hover::before {
  opacity: 0;
  transform: none;
}

.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.is-active {
  animation: softPanelIn 260ms cubic-bezier(0.2, 0, 0, 1);
}

.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);
}

.bio-hero-copy,
.faq-hero-copy,
.settings-copy,
.pricing-hero > div,
.creator-hero {
  min-width: 0;
}

.bio-hero h1,
.creator-hero h1,
.faq-hero h1,
.pricing-hero h1,
.settings-hero h1 {
  max-width: min(100%, 860px);
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.12;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.pricing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  min-height: clamp(360px, 44vw, 500px);
  margin-top: 16px;
  overflow: hidden;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, #0891b2 12%, transparent), transparent 46%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 62%, transparent), transparent),
    var(--card-bg-strong);
  box-shadow: 0 22px 70px rgba(15, 15, 15, 0.08);
}

.pricing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(color-mix(in srgb, var(--line) 54%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 42%, transparent) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.32), transparent 72%);
  opacity: 0.5;
}

.pricing-hero > * {
  position: relative;
  z-index: 1;
}

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

.pricing-hero-panel {
  display: grid;
  gap: 10px;
}

.pricing-hero-panel div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel-solid) 86%, transparent);
  backdrop-filter: blur(14px);
}

.pricing-hero-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-hero-panel strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.pricing-controls {
  display: flex;
  justify-content: center;
  padding-top: calc(clamp(18px, 4vw, 32px) * var(--density-section));
}

.pricing-note {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 860px);
  min-height: 58px;
  margin: calc(clamp(18px, 4vw, 32px) * var(--density-section)) auto 0;
  padding: 14px 22px 14px 52px;
  border: 1px solid color-mix(in srgb, #0891b2 28%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, #0891b2 8%, var(--card-bg));
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.pricing-note::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 14px;
  height: 14px;
  border: 3px solid #0891b2;
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, #0891b2 12%, transparent);
}

.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(--panel-solid);
  box-shadow: 0 12px 30px rgba(15, 15, 15, 0.08);
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  gap: calc(14px * var(--density-gap));
  padding-top: calc(clamp(22px, 4vw, 36px) * var(--density-section));
}

.pricing-card {
  --plan-accent: var(--accent);
  position: relative;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 15px;
  min-height: 492px;
  overflow: hidden;
  padding: calc(clamp(20px, 2.4vw, 28px) * var(--density-card));
  border: 1px solid color-mix(in srgb, var(--plan-accent) 18%, var(--line));
  border-radius: 8px;
  background: var(--card-bg);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--plan-accent);
  opacity: 0.76;
}

.pricing-card:hover {
  border-color: color-mix(in srgb, var(--plan-accent) 58%, var(--line));
  box-shadow: 0 18px 52px rgba(15, 15, 15, 0.1);
  transform: translateY(-2px);
}

.pricing-card.is-featured {
  border-color: color-mix(in srgb, var(--plan-accent) 58%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--plan-accent) 7%, transparent), transparent 48%),
    var(--card-bg-strong);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--plan-accent) 18%, transparent);
}

.pricing-card.is-featured::before {
  height: 5px;
  background: var(--plan-accent);
  opacity: 1;
}

.pricing-card h2 {
  max-width: 100%;
  min-height: 62px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
  text-wrap: balance;
}

.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-card-top .eyebrow {
  width: auto;
  max-width: none;
  overflow-wrap: normal;
}

.plan-price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.billing-pill {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 42%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--plan-accent) 10%, transparent);
  color: var(--plan-accent);
  font-size: 12px;
  font-weight: 900;
}

.plan-badge {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--plan-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

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

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 12px;
  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.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--plan-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--plan-accent) 12%, transparent);
}

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

.plan-free {
  --plan-accent: #64748b;
}

.plan-pro {
  --plan-accent: #d97706;
}

.plan-team {
  --plan-accent: #0891b2;
}

.plan-ultra {
  --plan-accent: #ff5416;
}

.ultra-card {
  border-color: color-mix(in srgb, #ff5416 48%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, #ff5416 9%, transparent), transparent 54%),
    var(--card-bg-strong);
  box-shadow: 0 24px 72px color-mix(in srgb, #ff5416 18%, transparent);
}

.ultra-card::before {
  height: 5px;
  background: linear-gradient(90deg, #ff5416, #ff9f43);
  opacity: 1;
}

.ultra-card ul {
  grid-template-columns: 1fr;
}

.ultra-badge {
  background: #ff5416;
  color: #ffffff;
}

.button.primary.ultra-button {
  border: 0;
  background: #ff5416;
  color: #ffffff;
}

.error-page {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  min-height: min(760px, calc(100vh - 120px));
  margin-top: clamp(20px, 4vw, 46px);
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 92%, transparent), var(--card-bg));
  box-shadow: var(--shadow);
}

.error-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  animation: errorCopyIn 560ms cubic-bezier(0.2, 0, 0, 1) both;
}

.error-page h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.94;
  text-wrap: balance;
}

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

.error-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.6;
}

.error-actions {
  margin-top: 6px;
}

.error-console {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 26px;
  min-height: 420px;
  padding: clamp(24px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 44%),
    color-mix(in srgb, var(--panel-solid) 90%, #000 10%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: errorConsoleIn 760ms cubic-bezier(0.2, 0, 0, 1) both;
}

.error-console::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 6px;
  pointer-events: none;
}

.error-console-top,
.error-console-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.error-console-top span,
.error-console-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.error-console-top strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(58px, 8vw, 92px);
  line-height: 0.84;
}

.error-console-map {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 170px;
}

.error-console-map::before,
.error-console-map::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 18%;
  width: 64%;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 38%, transparent);
}

.error-console-map::after {
  inset: 32% auto auto 48%;
  width: 1px;
  height: 42%;
}

.error-console-map span {
  position: relative;
  display: block;
  width: 100%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 18%, transparent));
  transform-origin: left;
  animation: errorSignal 1800ms ease-in-out infinite;
}

.error-console-map span:nth-child(2) {
  width: 72%;
  margin-left: auto;
  animation-delay: 160ms;
}

.error-console-map span:nth-child(3) {
  width: 46%;
  animation-delay: 320ms;
}

.error-console-status {
  align-items: end;
}

.error-console-status strong {
  max-width: 210px;
  color: var(--ink);
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.1;
  text-align: right;
}

.error-route-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(22px, 5vw, 52px) 0 clamp(42px, 7vw, 78px);
}

.error-route-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.error-route-card:hover,
.error-route-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  background: var(--card-bg-strong);
  transform: translateY(-3px);
}

.error-route-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.error-route-card strong {
  color: var(--ink);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
}

.error-route-card small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

.offline-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
  animation: errorCopyIn 560ms cubic-bezier(0.2, 0, 0, 1) both;
}

.offline-page h1 {
  max-width: 840px;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

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

.offline-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 360px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 58%),
    var(--card-bg-strong);
  text-align: center;
}

.offline-signal {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 110px;
  padding: 22px;
}

.offline-signal span {
  display: block;
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 10%, transparent);
  animation: offlineSignal 1400ms ease-in-out infinite;
}

.offline-signal span:nth-child(1) {
  height: 34px;
}

.offline-signal span:nth-child(2) {
  height: 68px;
  animation-delay: 120ms;
}

.offline-signal span:nth-child(3) {
  height: 102px;
  animation-delay: 240ms;
}

.offline-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.offline-panel strong {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.offline-panel small {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

.offline-tips article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 220px;
  padding: calc(clamp(22px, 4vw, 34px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.offline-tips span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.offline-tips h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.offline-tips p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.bio-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 78px);
  align-items: stretch;
  min-height: 680px;
  margin-top: 16px;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f8f5ef;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 84, 22, 0.2), transparent 28rem),
    linear-gradient(90deg, rgba(4, 4, 4, 0.98), rgba(8, 8, 7, 0.92) 48%, rgba(12, 10, 9, 0.88)),
    #050505;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.bio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), transparent 88%);
}

.bio-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.56));
}

.bio-hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  min-width: 0;
}

.bio-hero-copy .eyebrow {
  color: #ff6a1a;
}

.bio-hero h1 {
  max-width: 620px;
  color: #ffffff;
  font-size: 96px;
  font-weight: 900;
  line-height: 0.96;
  text-wrap: balance;
}

@media (min-width: 1181px) {
  [data-nav-layout="sidebar"] .bio-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 500px);
    align-items: stretch;
    min-height: 660px;
  }

  [data-nav-layout="sidebar"] .bio-media-panel {
    width: 100%;
  }

  [data-nav-layout="sidebar"] .bio-hero h1 {
    max-width: 560px;
    font-size: 88px;
  }

  [data-nav-layout="sidebar"] .bio-hero-copy > p:not(.eyebrow) {
    max-width: 520px;
  }
}

.bio-hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: rgba(248, 245, 239, 0.74);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.62;
}

.bio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 10px;
}

.bio-hero-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-hero-actions a::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: 12px;
  background: #ff6a1a;
}

.bio-media-panel {
  position: relative;
  align-self: stretch;
  min-height: 0;
  height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #11100f;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.42);
}

.bio-media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: saturate(1) contrast(1.08) brightness(1.08);
}

.bio-media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 46%);
  pointer-events: none;
}

.bio-media-panel figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.bio-media-panel figcaption span,
.bio-dossier span,
.bio-dossier p,
.bio-note-list time {
  color: rgba(248, 245, 239, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bio-media-panel figcaption strong {
  font-size: 18px;
  line-height: 1.25;
}

.bio-dossier {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    #070706;
  color: #f8f5ef;
}

.bio-dossier div {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.bio-dossier div:last-child {
  border-right: 0;
}

.bio-dossier span {
  color: #ff6a1a;
}

.bio-dossier p {
  margin: 0;
}

.bio-dossier strong {
  max-width: 260px;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.32;
}

.creator-hero {
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
}

.creator-hero > p {
  max-width: 820px;
}

.bio-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: #070706;
  color: #f8f5ef;
}

.bio-editorial-grid article {
  display: grid;
  gap: 18px;
  min-height: 320px;
  padding: clamp(26px, 5vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 54%),
    transparent;
}

.bio-editorial-grid article:nth-child(2n) {
  border-right: 0;
}

.bio-editorial-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.bio-editorial-grid .eyebrow {
  color: #ff6a1a;
}

.bio-editorial-grid h2 {
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.08;
}

.bio-editorial-grid p,
.bio-editorial-grid span {
  color: rgba(248, 245, 239, 0.7);
  line-height: 1.68;
}

.bio-principles ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  counter-reset: bio-principle;
}

.bio-principles li {
  counter-increment: bio-principle;
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 0 0 24px 58px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.bio-principles li:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.bio-principles li::before {
  content: counter(bio-principle, decimal-leading-zero);
  position: absolute;
  left: -2px;
  top: 0;
  width: 38px;
  padding-left: 22px;
  background: #070706;
  color: rgba(248, 245, 239, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.bio-principles li::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff6a1a;
}

.bio-principles strong,
.bio-note-list strong {
  color: #ffffff;
  font-size: 16px;
}

.bio-note-list {
  display: grid;
  gap: 0;
}

.bio-note-list div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bio-note-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bio-note-list time {
  grid-row: span 2;
}

.bio-direction blockquote {
  position: relative;
  max-width: 560px;
  margin: 4px 0 0;
  color: #ffffff;
  font-size: clamp(25px, 3.4vw, 46px);
  font-weight: 850;
  line-height: 1.16;
}

.bio-direction blockquote::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #ff6a1a;
}

.bio-direction p:last-child {
  max-width: 560px;
  margin: 0;
}

.bio-interests .likes-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.bio-interests .likes-list span {
  min-height: 54px;
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

.creator-guide {
  display: grid;
  gap: calc(clamp(14px, 3vw, 24px) * var(--density-gap));
  padding-top: calc(clamp(26px, 5vw, 48px) * var(--density-section));
}

.creator-guide article {
  display: grid;
  gap: 14px;
  padding: calc(clamp(22px, 4vw, 34px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.creator-guide h2 {
  max-width: 820px;
  font-size: clamp(26px, 4vw, 42px);
}

.creator-guide p:not(.eyebrow) {
  max-width: 940px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.creator-guide ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.creator-guide li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.7;
}

.creator-guide li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.creator-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.creator-plan-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.creator-plan-list div {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.creator-plan-list strong {
  color: var(--ink);
  font-size: 15px;
}

.creator-plan-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.creator-note {
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.creator-resource-links a {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.creator-body {
  --bg: #030b0f;
  --ink: #eef8f7;
  --muted: rgba(238, 248, 247, 0.65);
  --line: rgba(188, 234, 227, 0.16);
  --panel: rgba(4, 16, 20, 0.86);
  --panel-solid: #061418;
  --nav-bg: rgba(5, 14, 18, 0.88);
  --card-bg: rgba(238, 248, 247, 0.035);
  --card-bg-strong: rgba(238, 248, 247, 0.07);
  --pill-bg: rgba(238, 248, 247, 0.08);
  --segment-bg: rgba(238, 248, 247, 0.06);
  --accent: #54d5dc;
  --dark: #eef8f7;
  --soft: #0a171b;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.5);
  --creator-lime: #c6f45f;
  --creator-amber: #f5a947;
  --page-bg:
    linear-gradient(90deg, rgba(84, 213, 220, 0.045) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(84, 213, 220, 0.026) 1px, transparent 1px) 0 0 / 76px 76px,
    radial-gradient(circle at 78% 16%, rgba(84, 213, 220, 0.14), transparent 34rem),
    radial-gradient(circle at 18% 72%, rgba(198, 244, 95, 0.07), transparent 31rem),
    linear-gradient(135deg, #030b0f 0%, #07161a 50%, #020608 100%);
  overflow-x: hidden;
}

.creator-body .topbar {
  border-color: rgba(188, 234, 227, 0.14);
  background: color-mix(in srgb, #061014 88%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.creator-page {
  width: min(1440px, calc(100% - 32px));
  max-width: 100%;
  padding-bottom: clamp(54px, 8vw, 108px);
}

.creator-page .button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border-color: rgba(238, 248, 247, 0.28);
  color: #eef8f7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.creator-page .button.primary {
  border-color: #54d5dc;
  background: #54d5dc;
  color: #031014;
}

.creator-page .button.ghost {
  border-color: rgba(238, 248, 247, 0.35);
  background: rgba(238, 248, 247, 0.035);
  color: #eef8f7;
}

.creator-studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.95fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: clamp(580px, 72vh, 790px);
  margin-top: 16px;
  padding: clamp(42px, 7vw, 94px) 0 clamp(30px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.creator-studio-copy,
.creator-studio-media,
.creator-ledger,
.creator-stage-rail,
.creator-guide,
.creator-guide > article {
  min-width: 0;
  max-width: 100%;
}

.creator-studio-copy {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.creator-studio-copy h1,
.creator-guide > article h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.creator-studio-copy h1 {
  max-width: 820px;
  color: #fbfffb;
  font-size: clamp(64px, 7.6vw, 116px);
  line-height: 0.93;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.creator-studio-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(238, 248, 247, 0.71);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.68;
}

.creator-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.creator-studio-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(188, 234, 227, 0.16);
  border-radius: 8px;
  background: #071216;
  box-shadow: var(--shadow);
}

.creator-studio-media img {
  display: block;
  width: 100%;
  height: clamp(430px, 56vh, 670px);
  object-fit: cover;
  object-position: center;
}

.creator-studio-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(238, 248, 247, 0.18);
  border-radius: 8px;
  background: rgba(3, 11, 15, 0.74);
  color: #fbfffb;
  backdrop-filter: blur(18px);
}

.creator-studio-media span,
.creator-ledger span,
.creator-stage-rail p,
.creator-stage-rail a > span,
.creator-guide > article .eyebrow,
.creator-note {
  color: #54d5dc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.creator-studio-media strong {
  min-width: 0;
  color: #fbfffb;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
  overflow-wrap: anywhere;
}

.creator-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.creator-ledger div {
  display: grid;
  gap: 10px;
  min-height: 110px;
  padding: clamp(18px, 2.6vw, 26px);
  border-right: 1px solid var(--line);
}

.creator-ledger div:last-child {
  border-right: 0;
}

.creator-ledger strong {
  color: #fbfffb;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.28;
}

.creator-stage-rail {
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: clamp(30px, 4.6vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.creator-stage-rail p {
  align-self: start;
  margin: 0;
  padding: 18px 22px 18px 0;
}

.creator-stage-rail a {
  display: grid;
  gap: 12px;
  min-height: 150px;
  min-width: 0;
  padding: 20px;
  border-left: 1px solid var(--line);
  color: #eef8f7;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.creator-stage-rail a:last-child {
  border-right: 1px solid var(--line);
}

.creator-stage-rail a:hover {
  background: rgba(84, 213, 220, 0.075);
  color: #fbfffb;
}

.creator-stage-rail a:focus-visible,
.creator-resource-links a:focus-visible {
  outline: 2px solid color-mix(in srgb, #54d5dc 66%, transparent);
  outline-offset: 4px;
}

.creator-stage-rail strong {
  color: #fbfffb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.05;
}

.creator-stage-rail small {
  max-width: 20ch;
  color: rgba(238, 248, 247, 0.6);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.creator-page .creator-guide {
  display: grid;
  gap: 0;
  padding-top: 0;
}

.creator-page .creator-guide > article {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  padding: clamp(58px, 8vw, 104px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.creator-page .creator-guide > article .eyebrow {
  position: sticky;
  top: 98px;
  align-self: start;
  margin: 0;
}

.creator-page .creator-guide > article h2,
.creator-page .creator-guide > article p:not(.eyebrow),
.creator-page .creator-guide > article ul,
.creator-page .creator-plan-list,
.creator-page .creator-note,
.creator-page .creator-resource-links {
  grid-column: 2;
}

.creator-page .creator-guide > article h2 {
  max-width: 860px;
  color: #fbfffb;
  font-size: clamp(33px, 4.7vw, 66px);
  line-height: 1.02;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.creator-page .creator-guide > article p:not(.eyebrow) {
  max-width: 880px;
  margin: 0;
  color: rgba(238, 248, 247, 0.68);
  font-size: 15px;
  line-height: 1.82;
}

.creator-page .creator-guide > article ul {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.creator-page .creator-guide > article li {
  position: relative;
  min-height: 58px;
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--line);
  color: rgba(238, 248, 247, 0.82);
  line-height: 1.62;
}

.creator-page .creator-guide > article li::before {
  content: "";
  position: absolute;
  top: 1.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c6f45f;
  box-shadow: 0 0 0 5px rgba(198, 244, 95, 0.12);
}

.creator-page .creator-pricing-panel {
  background:
    linear-gradient(90deg, rgba(198, 244, 95, 0.05), transparent 58%),
    transparent;
}

.creator-page .creator-plan-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.creator-page .creator-plan-list div {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: rgba(238, 248, 247, 0.035);
}

.creator-page .creator-plan-list div:last-child {
  border-right: 0;
}

.creator-page .creator-plan-list strong {
  color: #fbfffb;
  font-size: 15px;
}

.creator-page .creator-plan-list span {
  color: rgba(238, 248, 247, 0.64);
  font-size: 14px;
  line-height: 1.65;
}

.creator-page .creator-note {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 244, 95, 0.32);
  border-radius: 8px;
  background: rgba(198, 244, 95, 0.07);
  color: rgba(238, 248, 247, 0.72);
  line-height: 1.65;
  text-transform: none;
}

.creator-page .creator-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.creator-page .creator-resource-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(238, 248, 247, 0.28);
  border-radius: 8px;
  background: rgba(238, 248, 247, 0.035);
  color: #eef8f7;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

html[lang="ko"] .creator-studio-copy h1 {
  max-width: 900px;
  font-size: clamp(56px, 6.8vw, 102px);
  line-height: 1;
  word-break: keep-all;
}

html[lang="ko"] .creator-page .creator-guide > article h2 {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.06;
  word-break: keep-all;
}

@media (max-width: 1180px) {
  .creator-studio-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .creator-studio-media {
    width: min(100%, 760px);
  }

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

  .creator-stage-rail p {
    grid-column: 1 / -1;
    padding: 0 0 18px;
  }

  .creator-stage-rail a:nth-of-type(2n) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .creator-page {
    width: min(calc(100% - 24px), 760px);
  }

  .creator-studio-hero {
    gap: 32px;
    padding: 34px 0 32px;
  }

  .creator-studio-copy h1 {
    max-width: min(100%, 11ch);
    font-size: clamp(50px, 13vw, 76px);
  }

  html[lang="ko"] .creator-studio-copy h1 {
    max-width: min(100%, 11ch);
    font-size: clamp(46px, 11.5vw, 70px);
  }

  .creator-studio-lead {
    max-width: min(100%, 36rem);
    font-size: 17px;
  }

  .creator-studio-media img {
    height: clamp(340px, 78vw, 540px);
  }

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

  .creator-ledger div:nth-child(2n) {
    border-right: 0;
  }

  .creator-ledger div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .creator-page .creator-guide > article {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 62px 0;
  }

  .creator-page .creator-guide > article .eyebrow {
    position: static;
  }

  .creator-page .creator-guide > article h2,
  .creator-page .creator-guide > article p:not(.eyebrow),
  .creator-page .creator-guide > article ul,
  .creator-page .creator-plan-list,
  .creator-page .creator-note,
  .creator-page .creator-resource-links {
    grid-column: 1;
  }

  .creator-page .creator-plan-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-page .creator-plan-list div:nth-child(2n) {
    border-right: 0;
  }

  .creator-page .creator-plan-list div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .creator-body .shell,
  .creator-page {
    width: min(calc(100vw - 20px), 370px);
    max-width: min(calc(100vw - 20px), 370px);
    margin-inline: auto;
  }

  .creator-studio-actions,
  .creator-page .creator-resource-links a {
    width: 100%;
  }

  .creator-page .button,
  .creator-page .creator-resource-links a {
    justify-content: center;
  }

  .creator-studio-copy h1,
  html[lang="ko"] .creator-studio-copy h1 {
    max-width: 9.5ch;
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.04;
  }

  .creator-studio-lead {
    max-width: 31ch;
    font-size: 16px;
  }

  .creator-studio-media {
    width: 100%;
  }

  .creator-studio-media img {
    height: clamp(280px, 72vw, 400px);
  }

  .creator-studio-media figcaption {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(3, 11, 15, 0.92);
  }

  .creator-studio-media strong {
    text-align: left;
  }

  .creator-ledger {
    grid-template-columns: 1fr;
  }

  .creator-ledger div,
  .creator-ledger div:nth-child(2n),
  .creator-ledger div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .creator-ledger div:last-child {
    border-bottom: 0;
  }

  .creator-stage-rail {
    grid-template-columns: 1fr;
  }

  .creator-stage-rail a,
  .creator-stage-rail a:nth-of-type(2n),
  .creator-stage-rail a:last-child {
    min-height: 118px;
    border-right: 1px solid var(--line);
  }

  .creator-stage-rail a + a {
    border-top: 0;
  }

  .creator-page .creator-guide > article,
  .creator-page .creator-guide > article > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .creator-page .creator-guide > article h2,
  html[lang="ko"] .creator-page .creator-guide > article h2 {
    max-width: 10.5ch;
    font-size: clamp(30px, 9.4vw, 40px);
    line-height: 1.08;
    overflow-wrap: break-word;
    text-wrap: wrap;
    word-break: normal;
  }

  .creator-page .creator-guide > article p:not(.eyebrow),
  .creator-page .creator-guide > article li,
  .creator-page .creator-note {
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .creator-page .creator-plan-list {
    grid-template-columns: 1fr;
  }

  .creator-page .creator-plan-list div,
  .creator-page .creator-plan-list div:nth-child(2n),
  .creator-page .creator-plan-list div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .creator-page .creator-plan-list div:last-child {
    border-bottom: 0;
  }
}

.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: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.likes-list span {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.likes-section .section-heading p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

.comparison-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: color-mix(in srgb, var(--accent) 48%, var(--line)) transparent;
}

.comparison-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

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

.comparison-table-redesign {
  width: max(100%, 1120px);
  min-width: 1120px;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 54%, transparent), var(--card-bg));
}

.comparison-table-redesign .comparison-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) repeat(4, minmax(190px, 1fr));
  min-height: 66px;
  border-top: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
}

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

.comparison-table-redesign .comparison-row > span,
.comparison-table-redesign .comparison-row > strong,
.comparison-table-redesign .comparison-row > article,
.comparison-table-redesign .comparison-row > div {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  border-left: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  font-size: 14px;
}

.comparison-table-redesign .comparison-row > :first-child {
  border-left: 0;
}

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

.comparison-table-redesign .comparison-row > strong {
  justify-content: center;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
}

.comparison-plans {
  min-height: 300px;
  background: color-mix(in srgb, var(--panel-solid) 48%, transparent);
}

.comparison-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center;
  gap: 8px;
  color: var(--ink) !important;
  text-align: left;
}

.comparison-plan-filter {
  align-self: stretch;
  justify-content: end;
  gap: 12px;
  background: var(--card-bg);
}

.comparison-select-wrap {
  position: relative;
  display: block;
  width: min(100%, 230px);
}

.comparison-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
  transform: translateY(-62%) rotate(45deg);
}

.comparison-plan-select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  appearance: none;
  background: var(--panel-solid);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.comparison-plan-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.comparison-plan-select option {
  background: var(--panel-solid);
  color: var(--ink);
}

.comparison-plan-filter span {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.comparison-plan-card {
  position: relative;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 12px;
  padding: 30px 24px 24px !important;
  background: color-mix(in srgb, var(--bg) 64%, var(--card-bg-strong));
}

.comparison-plan-card h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.comparison-plan-card p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.comparison-plan-card p strong {
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.1;
}

.comparison-plan-card small {
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.comparison-plan-card .button {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border-radius: 999px;
}

.comparison-save {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.comparison-plan-card-featured {
  border-left-color: #465eff !important;
  border-right: 1px solid #465eff;
  background:
    linear-gradient(180deg, rgba(70, 94, 255, 0.13), transparent 42%),
    color-mix(in srgb, var(--accent) 8%, var(--card-bg-strong));
}

.comparison-feature-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: -30px -24px 12px;
  border-radius: 8px 8px 0 0;
  background: #465eff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.comparison-guarantee {
  min-height: 78px;
}

.comparison-guarantee .comparison-side::before {
  content: "30";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: #465eff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.comparison-guarantee .comparison-side {
  flex-direction: row;
  align-items: center !important;
  color: var(--ink) !important;
  font-weight: 850;
}

.comparison-category {
  min-height: 58px;
  background: color-mix(in srgb, var(--panel-solid) 72%, transparent);
}

.comparison-category .comparison-side {
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 950;
}

.compare-check::before {
  content: "";
  width: 10px;
  height: 18px;
  border-right: 2px solid #14a36f;
  border-bottom: 2px solid #14a36f;
  transform: rotate(42deg);
}

.compare-muted {
  color: var(--muted) !important;
}

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

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

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  min-height: clamp(420px, 56vw, 580px);
  margin-top: 16px;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 50%),
    var(--card-bg-strong);
}

.faq-hero-copy {
  display: grid;
  gap: 16px;
}

.faq-hero h1 {
  max-width: 860px;
}

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

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

.faq-hero-panel div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.faq-hero-panel span,
.faq-topic-nav small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faq-hero-panel strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.faq-topic-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: calc(clamp(18px, 4vw, 34px) * var(--density-section));
}

.faq-topic-nav a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 132px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.faq-topic-nav a::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 26px;
  height: 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 48%, var(--accent) 49% 56%, transparent 57%);
  opacity: 0.8;
}

.faq-topic-nav a:hover {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--card-bg));
  color: var(--ink);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  padding-top: calc(clamp(54px, 8vw, 92px) * var(--density-section));
  scroll-margin-top: 100px;
}

.faq-section > .section-heading {
  position: sticky;
  top: 98px;
  align-self: start;
  margin-bottom: 0;
}

.faq-section > .section-heading p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

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

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  transition: border-color 180ms ease, background 180ms ease;
}

.faq-list details[open] {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: var(--card-bg-strong);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 20px 58px 20px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.faq-list summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 22px;
  height: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: 999px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat;
  transform: translateY(-50%);
  transition: background-size 160ms ease, transform 160ms ease;
}

.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 0 0 no-repeat;
  transform: translateY(-50%) rotate(180deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.faq-body {
  --bg: #050706;
  --ink: #f5f1e7;
  --muted: rgba(245, 241, 231, 0.64);
  --line: rgba(234, 229, 211, 0.17);
  --panel: rgba(9, 13, 11, 0.86);
  --panel-solid: #0b100e;
  --nav-bg: rgba(6, 9, 8, 0.86);
  --card-bg: rgba(245, 241, 231, 0.035);
  --card-bg-strong: rgba(245, 241, 231, 0.07);
  --pill-bg: rgba(245, 241, 231, 0.08);
  --segment-bg: rgba(245, 241, 231, 0.06);
  --accent: #6ab7a6;
  --dark: #f5f1e7;
  --soft: #0f1613;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.52);
  --faq-warm: #d39f68;
  --page-bg:
    linear-gradient(90deg, rgba(245, 241, 231, 0.035) 1px, transparent 1px) 0 0 / 74px 74px,
    linear-gradient(180deg, rgba(106, 183, 166, 0.09), transparent 36%),
    linear-gradient(135deg, #050706 0%, #0b1110 48%, #030504 100%);
  overflow-x: hidden;
}

.faq-body .topbar {
  border-color: rgba(234, 229, 211, 0.13);
  background: color-mix(in srgb, #070a09 88%, transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.faq-page {
  width: min(1440px, calc(100% - 32px));
  max-width: 100%;
  padding-bottom: clamp(54px, 8vw, 108px);
}

.faq-page .button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border-color: rgba(245, 241, 231, 0.27);
  color: #f5f1e7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.faq-page .button.primary {
  border-color: #6ab7a6;
  background: #6ab7a6;
  color: #03100d;
}

.faq-page .button.ghost {
  border-color: rgba(245, 241, 231, 0.34);
  background: rgba(245, 241, 231, 0.035);
  color: #f5f1e7;
}

.faq-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.86fr);
  gap: clamp(32px, 5.8vw, 88px);
  align-items: center;
  min-height: clamp(580px, 72vh, 790px);
  margin-top: 16px;
  padding: clamp(42px, 7vw, 94px) 0 clamp(30px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.faq-archive-copy {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  min-width: 0;
}

.faq-archive-hero,
.faq-archive-copy,
.faq-archive-media,
.faq-ledger,
.faq-topic-rail,
.faq-page .faq-section,
.faq-page .faq-list {
  max-width: 100%;
}

.faq-archive-copy h1,
.faq-section > .section-heading h2,
.faq-feedback-strip h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.faq-archive-copy h1 {
  max-width: 780px;
  color: #fffaf0;
  font-size: clamp(64px, 7.6vw, 116px);
  line-height: 0.93;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

.faq-archive-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 241, 231, 0.7);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.68;
  overflow-wrap: break-word;
}

.faq-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.faq-archive-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 229, 211, 0.14);
  border-radius: 8px;
  background: #0b100e;
  box-shadow: var(--shadow);
}

.faq-archive-media img {
  display: block;
  width: 100%;
  height: clamp(430px, 56vh, 670px);
  object-fit: cover;
  object-position: center;
}

.faq-archive-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 231, 0.18);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.72);
  color: #fffaf0;
  backdrop-filter: blur(18px);
}

.faq-archive-media span,
.faq-ledger span,
.faq-topic-rail p,
.faq-topic-rail a > span,
.faq-section .eyebrow,
.faq-section-kicker {
  color: #6ab7a6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faq-archive-media strong {
  min-width: 0;
  color: #fffaf0;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
  overflow-wrap: anywhere;
}

.faq-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.faq-ledger div {
  display: grid;
  gap: 10px;
  min-height: 110px;
  padding: clamp(18px, 2.6vw, 26px);
  border-right: 1px solid var(--line);
}

.faq-ledger div:last-child {
  border-right: 0;
}

.faq-ledger strong {
  color: #fffaf0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.28;
}

.faq-topic-rail {
  display: grid;
  grid-template-columns: minmax(140px, 0.62fr) repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: clamp(30px, 4.6vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.faq-topic-rail p {
  align-self: start;
  margin: 0;
  padding: 18px 22px 18px 0;
}

.faq-topic-rail a {
  display: grid;
  gap: 12px;
  min-height: 150px;
  min-width: 0;
  padding: 20px;
  border-left: 1px solid var(--line);
  color: #f5f1e7;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.faq-topic-rail a:last-child {
  border-right: 1px solid var(--line);
}

.faq-topic-rail a:hover {
  background: rgba(106, 183, 166, 0.08);
  color: #fffaf0;
}

.faq-topic-rail a:focus-visible,
.faq-feedback-link:focus-visible {
  outline: 2px solid color-mix(in srgb, #6ab7a6 66%, transparent);
  outline-offset: 4px;
}

.faq-topic-rail strong {
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.05;
}

.faq-topic-rail small {
  max-width: 18ch;
  color: rgba(245, 241, 231, 0.6);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-transform: none;
}

.faq-page .faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(70px, 9vw, 118px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.faq-page .faq-section > .section-heading {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 18px;
  min-width: 0;
  margin-bottom: 0;
}

.faq-page .faq-section .eyebrow {
  margin: 0;
}

.faq-page .faq-section > .section-heading h2 {
  color: #fffaf0;
  font-size: clamp(32px, 4.1vw, 56px);
  line-height: 0.98;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.faq-page .faq-section > .section-heading p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: rgba(245, 241, 231, 0.62);
  font-size: 15px;
  line-height: 1.72;
}

.faq-page .faq-topic-section {
  margin-top: 0;
  border-top: 0;
}

.faq-page .faq-list {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.faq-page .faq-list details {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.faq-page .faq-list details[open] {
  border-color: rgba(106, 183, 166, 0.38);
  background: linear-gradient(90deg, rgba(106, 183, 166, 0.075), transparent 56%);
}

.faq-page .faq-list summary {
  min-height: 76px;
  padding: 24px 58px 24px 0;
  color: #f5f1e7;
  cursor: pointer;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
  outline: none;
}

.faq-page .faq-list summary:focus-visible {
  outline: 2px solid color-mix(in srgb, #6ab7a6 58%, transparent);
  outline-offset: 3px;
}

.faq-page .faq-list summary::after {
  right: 6px;
  width: 30px;
  height: 30px;
  border-color: rgba(106, 183, 166, 0.48);
  background:
    linear-gradient(#6ab7a6, #6ab7a6) center / 12px 2px no-repeat,
    linear-gradient(#6ab7a6, #6ab7a6) center / 2px 12px no-repeat;
}

.faq-page .faq-list details[open] summary::after {
  background:
    linear-gradient(#d39f68, #d39f68) center / 12px 2px no-repeat,
    linear-gradient(#d39f68, #d39f68) center / 0 0 no-repeat;
}

.faq-page .faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 58px 26px 0;
  color: rgba(245, 241, 231, 0.68);
  font-size: 15px;
  line-height: 1.76;
}

.faq-feedback-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(70px, 9vw, 112px) 0 0;
}

.faq-feedback-strip > div {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.faq-section-kicker {
  margin: 0;
}

.faq-feedback-strip h2 {
  max-width: 800px;
  color: #fffaf0;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
  text-wrap: balance;
}

.faq-feedback-strip p:not(.faq-section-kicker) {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 241, 231, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.faq-feedback-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(211, 159, 104, 0.62);
  border-radius: 8px;
  background: rgba(211, 159, 104, 0.11);
  color: #fffaf0;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.faq-feedback-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

html[lang="ko"] .faq-archive-copy h1 {
  max-width: 860px;
  font-size: clamp(58px, 6.9vw, 102px);
  line-height: 1;
}

html[lang="ko"] .faq-page .faq-section > .section-heading h2,
html[lang="ko"] .faq-feedback-strip h2 {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.06;
  word-break: keep-all;
}

@media (max-width: 1180px) {
  .faq-archive-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .faq-archive-media {
    width: min(100%, 720px);
  }

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

  .faq-topic-rail p {
    grid-column: 1 / -1;
    padding: 0 0 18px;
  }

  .faq-topic-rail a:nth-of-type(2n) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .faq-page {
    width: min(calc(100% - 24px), 760px);
  }

  .faq-archive-hero {
    gap: 32px;
    padding: 34px 0 32px;
  }

  .faq-archive-copy h1 {
    max-width: 10ch;
    font-size: clamp(54px, 14vw, 78px);
  }

  html[lang="ko"] .faq-archive-copy h1 {
    max-width: 11ch;
    font-size: clamp(48px, 12vw, 72px);
  }

  .faq-archive-lead {
    max-width: min(100%, 36rem);
    font-size: 17px;
  }

  .faq-archive-media img {
    height: clamp(360px, 86vw, 560px);
  }

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

  .faq-ledger div:nth-child(2n) {
    border-right: 0;
  }

  .faq-ledger div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .faq-page .faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 62px 0;
  }

  .faq-page .faq-section > .section-heading {
    position: static;
  }

  .faq-page .faq-section > .section-heading h2 {
    max-width: min(100%, 620px);
    font-size: clamp(36px, 9vw, 58px);
  }

  .faq-feedback-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .faq-body .shell,
  .faq-page {
    width: min(calc(100vw - 20px), 370px);
    max-width: min(calc(100vw - 20px), 370px);
    margin-inline: auto;
  }

  .faq-archive-actions,
  .faq-feedback-link {
    width: 100%;
  }

  .faq-page .button,
  .faq-feedback-link {
    justify-content: center;
  }

  .faq-archive-copy h1,
  html[lang="ko"] .faq-archive-copy h1 {
    max-width: 100%;
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.04;
  }

  .faq-archive-lead {
    max-width: 31ch;
    font-size: 16px;
  }

  .faq-archive-media {
    width: 100%;
  }

  .faq-archive-media img {
    height: clamp(300px, 82vw, 430px);
  }

  .faq-archive-media figcaption {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(5, 7, 6, 0.9);
  }

  .faq-archive-media strong {
    text-align: left;
  }

  .faq-ledger {
    grid-template-columns: 1fr;
  }

  .faq-ledger div,
  .faq-ledger div:nth-child(2n),
  .faq-ledger div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .faq-ledger div:last-child {
    border-bottom: 0;
  }

  .faq-topic-rail {
    grid-template-columns: 1fr;
  }

  .faq-topic-rail a,
  .faq-topic-rail a:nth-of-type(2n),
  .faq-topic-rail a:last-child {
    min-height: 118px;
    border-right: 1px solid var(--line);
  }

  .faq-topic-rail a + a {
    border-top: 0;
  }

  .faq-page .faq-section,
  .faq-page .faq-section > .section-heading,
  .faq-page .faq-list,
  .faq-feedback-strip,
  .faq-feedback-strip > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .faq-page .faq-section > .section-heading h2,
  html[lang="ko"] .faq-page .faq-section > .section-heading h2,
  .faq-feedback-strip h2,
  html[lang="ko"] .faq-feedback-strip h2 {
    max-width: 100%;
    font-size: clamp(32px, 10.4vw, 44px);
    line-height: 1.06;
    overflow-wrap: break-word;
    text-wrap: wrap;
    word-break: normal;
  }

  .faq-page .faq-list summary {
    min-height: 68px;
    padding: 20px 48px 20px 0;
    font-size: 16px;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .faq-page .faq-list summary::after {
    right: 2px;
    width: 28px;
    height: 28px;
  }

  .faq-page .faq-list p {
    max-width: 100%;
    padding-right: 0;
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .faq-feedback-strip h2,
  html[lang="ko"] .faq-feedback-strip h2 {
    font-size: clamp(34px, 11vw, 48px);
  }
}

.settings-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.settings-copy .eyebrow {
  margin-bottom: 0;
}

.settings-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.56;
}

.settings-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 560px);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  min-height: 390px;
  margin-top: 16px;
  padding: clamp(32px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-solid) 82%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 58%),
    linear-gradient(color-mix(in srgb, var(--line) 24%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 22%, transparent) 1px, transparent 1px),
    var(--card-bg-strong);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 46%, transparent),
    0 24px 60px color-mix(in srgb, var(--ink) 9%, transparent);
}

.settings-hero h1 {
  max-width: 740px;
}

@media (min-width: 1181px) {
  [data-nav-layout="sidebar"] .settings-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 520px);
    align-items: stretch;
    min-height: 390px;
  }

  [data-nav-layout="sidebar"] .settings-overview {
    width: 100%;
  }
}

.settings-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.settings-overview div {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 42%, transparent), transparent),
    var(--panel-solid);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 48%, transparent);
}

.settings-overview div::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 64%, var(--line));
}

.settings-overview span,
.settings-sidebar-title span,
.settings-group-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.settings-overview strong {
  color: var(--accent);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 900;
  line-height: 1;
}

[data-payment-block-status][data-payment-state="blocked"] {
  color: #ff5416;
}

[data-theme="dark"] [data-payment-block-status][data-payment-state="blocked"],
[data-theme="lights-off"] [data-payment-block-status][data-payment-state="blocked"] {
  color: #ff9b63;
}

.settings-band {
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(28px, 5vw, 56px);
  padding-top: 0;
  overflow: visible;
}

.settings-page,
.settings-hero,
.settings-copy,
.settings-overview,
.settings-band,
.settings-stack,
.settings-sidebar,
.setting-card,
.setting-card > div,
.setting-select,
.accent-select,
.setting-compat-panel,
.accent-compat-panel {
  min-width: 0;
}

.settings-page h1,
.settings-page h2,
.settings-page h3,
.settings-page p,
.settings-page span,
.settings-page strong,
.settings-page small,
.settings-page button {
  overflow-wrap: anywhere;
}

.settings-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 86%, transparent), transparent),
    color-mix(in srgb, var(--panel-solid) 78%, var(--soft));
  box-shadow: 0 18px 48px color-mix(in srgb, var(--ink) 8%, transparent);
}

.settings-sidebar-title {
  display: grid;
  gap: 5px;
  padding: 2px 8px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.settings-sidebar-title strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.settings-sidebar a {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.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: color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent) 12%, var(--pill-bg));
  color: var(--ink);
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) 78%, var(--ink));
}

.settings-stack {
  display: grid;
  gap: 10px;
  padding: 0;
}

.settings-group-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 26px 2px 4px;
}

.settings-group-label:first-child {
  padding-top: 0;
}

.settings-group-label p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.setting-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  gap: 24px;
  align-items: center;
  min-height: 112px;
  overflow: hidden;
  padding: calc(clamp(20px, 2.6vw, 28px) * var(--density-card));
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 32%, transparent), transparent),
    var(--card-bg);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 42%, transparent),
    0 14px 34px color-mix(in srgb, var(--ink) 5%, transparent);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.setting-card::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.setting-card:hover,
.setting-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 42%, transparent),
    0 18px 44px color-mix(in srgb, var(--ink) 8%, transparent);
}

.setting-card:hover::before,
.setting-card:focus-within::before {
  opacity: 0.84;
}

.setting-card:has(.setting-select.is-open),
.setting-card:has(.accent-select.is-open) {
  overflow: visible;
  z-index: 30;
}

.setting-card + .setting-card {
  border-top: 1px solid var(--line);
}

.settings-group-label + .setting-card {
  border-radius: 8px;
}

.setting-card:has(+ .settings-group-label),
.settings-stack > .setting-card:last-child {
  border-radius: 8px;
}

.setting-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.24;
}

.setting-card p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.setting-card#payments {
  border-color: color-mix(in srgb, #ff5416 22%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, #ff5416 9%, transparent), transparent 56%),
    var(--card-bg);
}

.setting-card#payments::before {
  opacity: 0.92;
  background: #ff5416;
}

.setting-card#payments .eyebrow {
  color: #ff5416;
}

.setting-card#display,
.setting-card#accent {
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
}

.setting-card#display > div:first-child,
.setting-card#accent > div:first-child {
  grid-row: 1 / span 2;
}

.setting-card#display .setting-compat-panel,
.setting-card#accent .accent-compat-panel {
  grid-column: 2;
  grid-row: 1;
}

.setting-card#display .setting-select,
.setting-card#accent .accent-select {
  grid-column: 2;
  grid-row: 2;
}

.setting-card#accent .premium-note {
  grid-column: 2;
}

.setting-compat-panel,
.accent-compat-panel {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px 14px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 58%),
    var(--panel-solid);
}

.setting-compat-panel::before,
.accent-compat-panel::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 10px;
  width: 4px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.setting-compat-panel span,
.accent-compat-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.setting-compat-panel strong,
.accent-compat-panel strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.setting-card-notifications {
  grid-template-columns: minmax(0, 1fr) auto;
}

.setting-card-beta {
  grid-template-columns: minmax(0, 1fr) auto;
}

.beta-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.beta-status {
  min-width: 54px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 4%, var(--panel-solid));
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.beta-status[data-beta-state="on"] {
  color: var(--ink);
}

.notification-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.notification-status {
  min-width: 96px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 4%, var(--panel-solid));
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.notification-status[data-notification-state="granted"] {
  color: var(--ink);
}

.notification-status[data-notification-state="denied"],
.notification-status[data-notification-state="unsupported"] {
  border-color: color-mix(in srgb, var(--muted) 38%, var(--line));
  color: var(--muted);
}

.notification-test-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 5%, var(--panel-solid));
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.notification-test-button:hover,
.notification-test-button:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
  background: color-mix(in srgb, var(--ink) 9%, var(--panel-solid));
  color: var(--ink);
}

.notification-test-button:disabled,
.notification-test-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

[data-theme="dark"] .setting-card#payments .eyebrow,
[data-theme="lights-off"] .setting-card#payments .eyebrow {
  color: #ff9b63;
}

[data-theme="dark"] .settings-hero,
[data-theme="lights-off"] .settings-hero {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-solid) 78%, transparent), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 58%),
    linear-gradient(color-mix(in srgb, var(--line) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 18%, transparent) 1px, transparent 1px),
    var(--card-bg-strong);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent),
    0 24px 60px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .settings-overview div,
[data-theme="lights-off"] .settings-overview div {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--line) 16%, transparent), transparent),
    var(--panel-solid);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}

[data-theme="dark"] .setting-card,
[data-theme="lights-off"] .setting-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--line) 15%, transparent), transparent),
    var(--card-bg);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 5%, transparent),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .setting-card:hover,
[data-theme="dark"] .setting-card:focus-within,
[data-theme="lights-off"] .setting-card:hover,
[data-theme="lights-off"] .setting-card:focus-within {
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 5%, transparent),
    0 18px 44px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .setting-card#payments,
[data-theme="lights-off"] .setting-card#payments {
  border-color: color-mix(in srgb, #ff9b63 24%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, #ff9b63 10%, transparent), transparent 56%),
    var(--card-bg);
}

.setting-card-navigation {
  grid-template-columns: minmax(0, 1fr) auto;
}

.nav-layout-preview {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 7px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.nav-layout-preview.is-topbar-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 18px minmax(0, 1fr);
}

.nav-layout-preview span {
  min-width: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}

.nav-layout-preview.is-sidebar-preview span:first-child {
  grid-row: 1 / -1;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 72%, var(--ink));
}

.nav-layout-preview.is-topbar-preview span:first-child {
  grid-column: 1 / -1;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 72%, var(--ink));
}

.setting-popup-button {
  width: 148px;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 28%, transparent), transparent),
    var(--panel-solid);
  color: var(--ink);
  justify-self: end;
}

.swipe-control {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-self: end;
  width: 260px;
  min-height: 50px;
  overflow: hidden;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 24%, transparent), transparent),
    var(--panel-solid);
  color: var(--muted);
  cursor: grab;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  touch-action: pan-y;
}

.swipe-control:active {
  cursor: grabbing;
}

.swipe-control span:not(.swipe-thumb) {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  transition: color 160ms ease;
}

.swipe-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 6px;
  background: var(--ink);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 14%, transparent);
  transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), background 180ms ease;
}

.swipe-control:not(.is-on) span:first-child,
.swipe-control.is-on span:nth-child(2) {
  color: var(--bg);
}

.swipe-control.is-on .swipe-thumb {
  background: var(--accent);
  transform: translateX(100%);
}

.toggle {
  position: relative;
  overflow: hidden;
  width: 62px;
  height: 34px;
  justify-self: end;
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 18%, transparent), transparent),
    var(--soft);
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--ink) 10%, transparent);
}

.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 {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--toggle-border));
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  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(28px);
}

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

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

.setting-select {
  position: relative;
  z-index: 5;
  min-width: 260px;
  justify-self: end;
}

.setting-select.is-open {
  z-index: 140;
}

.setting-select-trigger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 24%, transparent), transparent),
    var(--panel-solid);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.setting-select-chevron {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.setting-select-chevron svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.setting-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  display: grid;
  gap: 4px;
  width: min(270px, 80vw);
  max-height: min(320px, calc(100vh - 32px));
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transform-origin: top right;
  animation: popoverIn 240ms cubic-bezier(0.2, 0, 0, 1);
}

.setting-select.is-open-up .setting-select-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom right;
}

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

.setting-select-menu button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  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;
}

.setting-select-menu button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: translateY(-50%);
}

.setting-select-menu button.is-active {
  background: color-mix(in srgb, var(--accent) 12%, var(--pill-bg));
  color: var(--ink);
}

.setting-select-menu button.is-active::after {
  opacity: 1;
}

.accent-select {
  position: relative;
  z-index: 5;
  min-width: 260px;
  justify-self: end;
}

.accent-select.is-open {
  z-index: 140;
}

.accent-trigger {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 48px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 24%, transparent), transparent),
    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 {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.accent-chevron svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.accent-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  display: grid;
  gap: 4px;
  width: min(270px, 80vw);
  max-height: min(320px, calc(100vh - 32px));
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transform-origin: top right;
  animation: popoverIn 240ms cubic-bezier(0.2, 0, 0, 1);
}

.accent-select.is-open-up .accent-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom right;
}

.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;
  animation: softPanelIn 240ms cubic-bezier(0.2, 0, 0, 1);
}

#storage {
  grid-template-columns: minmax(0, 1fr) auto;
}

#storage .cache-note {
  grid-column: 1 / -1;
  justify-self: start;
}

.cache-button {
  border-color: var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 24%, transparent), transparent),
    var(--panel-solid);
  color: var(--ink);
  min-width: 172px;
  min-height: 44px;
  border-radius: 8px;
  justify-self: end;
}

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

.cookie-notice {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 95;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(720px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel-solid) 94%, transparent);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  animation: cookieNoticeIn 260ms cubic-bezier(0.2, 0, 0, 1);
}

.cookie-notice.is-closing {
  animation: cookieNoticeOut 180ms ease-in forwards;
}

.cookie-notice-copy {
  display: grid;
  gap: 6px;
}

.cookie-notice h2,
.cookie-notice p {
  margin: 0;
}

.cookie-notice h2 {
  font-size: 18px;
  font-weight: 940;
  letter-spacing: 0;
  line-height: 1.15;
}

.cookie-notice .eyebrow {
  font-size: 11px;
}

.cookie-notice-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.55;
}

.cookie-notice-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-notice-actions a,
.cookie-notice-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 860;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-notice-actions a {
  background: var(--panel);
  color: var(--ink);
}

.cookie-notice-actions button {
  border-color: #ff5416;
  background: #ff5416;
  color: #ffffff;
}

.cookie-notice-actions a:hover,
.cookie-notice-actions a:focus-visible,
.cookie-notice-actions button:hover,
.cookie-notice-actions button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 2px;
}

.updates-page {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
}

.updates-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: 420px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-solid) 92%, transparent), color-mix(in srgb, var(--panel-solid) 55%, transparent)),
    var(--card-bg);
  box-shadow: var(--shadow);
}

.updates-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.updates-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
}

.updates-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.updates-visual {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel-solid) 72%, transparent)),
    url("assets/about-system-hero.jpg") center / cover;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 24%, transparent);
}

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

.updates-summary div {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.updates-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.updates-summary strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
}

.updates-timeline {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
}

.update-item {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.update-item:first-child {
  border-top: 0;
}

.update-item.is-latest {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.update-item time {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.update-item h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.18;
}

.update-item p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

[data-theme="dark"] .setting-popup-button,
[data-theme="dark"] .swipe-control,
[data-theme="dark"] .setting-select-trigger,
[data-theme="dark"] .accent-trigger,
[data-theme="dark"] .cache-button,
[data-theme="lights-off"] .setting-popup-button,
[data-theme="lights-off"] .swipe-control,
[data-theme="lights-off"] .setting-select-trigger,
[data-theme="lights-off"] .accent-trigger,
[data-theme="lights-off"] .cache-button {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--line) 14%, transparent), transparent),
    var(--panel-solid);
}

.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);
  backdrop-filter: blur(4px);
  animation: dialogBackdropIn 240ms ease-out;
}

.cache-dialog-panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  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 340ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

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

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

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

.dialog-close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
  cursor: pointer;
}

.dialog-close-button:hover,
.dialog-close-button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--panel-solid));
  color: var(--accent);
}

.dialog-close-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

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

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

.share-dialog .cache-dialog-panel {
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  background: var(--panel-solid);
  color: var(--ink);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
}

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

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

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

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

.nav-layout-dialog-panel {
  width: min(820px, 100%);
}

.context-mode-dialog-panel {
  width: min(820px, 100%);
}

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

.nav-layout-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nav-layout-choice {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.nav-layout-choice:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--card-bg));
}

.nav-layout-choice.is-active {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    var(--card-bg-strong);
}

.nav-layout-choice.is-active::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--accent);
  border-radius: 999px;
  background: var(--panel-solid);
}

.nav-layout-choice .nav-layout-preview {
  min-height: 126px;
}

.cookie-settings-dialog-panel {
  width: min(620px, 100%);
}

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

.cookie-settings-more {
  justify-self: start;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.cookie-settings-more:hover,
.cookie-settings-more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.cookie-choice.is-required {
  background: color-mix(in srgb, var(--panel-solid) 76%, transparent);
}

.cookie-choice-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cookie-choice-copy strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.cookie-choice-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.cookie-choice .toggle:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.cookie-settings-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.context-mode-choice .context-mode-preview {
  min-height: 126px;
}

.context-mode-preview {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.context-mode-preview span {
  display: block;
  height: 18px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}

.context-mode-preview.is-custom-preview span:first-child {
  background: color-mix(in srgb, var(--accent) 72%, var(--ink));
}

.context-mode-preview.is-custom-preview span {
  width: 74%;
}

.context-mode-preview.is-custom-preview span:nth-child(2) {
  width: 92%;
}

.context-mode-preview.is-custom-preview span:nth-child(3) {
  width: 62%;
}

.context-mode-preview.is-native-preview {
  opacity: 0.78;
}

.context-mode-preview.is-native-preview span:first-child {
  width: 90%;
}

.context-mode-preview.is-native-preview span:nth-child(2) {
  width: 70%;
}

.context-mode-preview.is-native-preview span:nth-child(3) {
  width: 82%;
}

.nav-layout-copy {
  display: grid;
  gap: 8px;
}

.nav-layout-copy strong {
  font-size: 24px;
  line-height: 1.05;
}

.nav-layout-copy small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

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

.nav-layout-dialog-panel .cache-warning-actions {
  grid-template-columns: 1fr;
}

.context-mode-dialog-panel .cache-warning-actions {
  grid-template-columns: 1fr;
}

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

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

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

.source-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.source-code {
  max-height: min(54vh, 560px);
  min-height: 320px;
  margin: 0;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, var(--panel-solid));
  color: var(--ink);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  white-space: pre;
}

.source-code code {
  display: block;
  min-width: max-content;
}

.print-options {
  display: grid;
  gap: 10px;
}

.print-options article {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
}

.print-options strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.print-options span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

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

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

.subscribe-confirm-button {
  border: 0;
  border-radius: 999px;
  background: #7c3aed;
  color: #ffffff;
}

.share-link-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.share-link-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.share-link-field input:focus {
  border-color: var(--action-border);
  outline: 2px solid color-mix(in srgb, var(--action-bg) 24%, transparent);
  outline-offset: 3px;
}

.qr-preview {
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.qr-preview img {
  width: min(260px, 72vw);
  height: auto;
  aspect-ratio: 1;
  -webkit-user-drag: none;
  user-select: none;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.search-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
}

.search-results {
  display: grid;
  gap: 8px;
  max-height: min(360px, 46vh);
  overflow-y: auto;
}

.search-result {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  background: color-mix(in srgb, var(--accent) 9%, var(--card-bg));
}

.search-result strong {
  font-size: 15px;
}

.search-result span,
.search-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.search-page {
  display: grid;
  gap: clamp(20px, 4vw, 36px);
}

.search-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 92%, transparent), transparent),
    var(--card-bg);
  box-shadow: var(--shadow);
}

.search-page-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.search-page-hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.search-page-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.search-page-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.search-page-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 4%, var(--panel-solid));
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 750;
}

.search-page-field input:focus {
  border-color: var(--action-border);
  outline: 2px solid color-mix(in srgb, var(--action-bg) 22%, transparent);
  outline-offset: 3px;
}

.search-page-results-panel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.search-page-results-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;
}

.search-page-results {
  max-height: none;
  overflow: visible;
}

.activity-page {
  display: grid;
  gap: clamp(20px, 4vw, 34px);
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: end;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.activity-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.activity-copy h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
}

.activity-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.activity-copy > span {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

.activity-summary-grid article {
  display: grid;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.activity-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-summary-grid strong {
  align-self: end;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
}

.activity-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.activity-panel-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.activity-panel-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
}

.activity-panel-head button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 5%, var(--panel-solid));
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.activity-panel-head button:hover,
.activity-panel-head button:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
  background: color-mix(in srgb, var(--ink) 9%, var(--panel-solid));
  color: var(--ink);
}

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

.activity-item,
.activity-empty {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 3%, var(--panel-solid));
}

.activity-item {
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--action-border);
}

.activity-item div,
.activity-empty {
  min-width: 0;
}

.activity-item strong,
.activity-empty strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.activity-item span,
.activity-empty span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.activity-item a {
  max-width: min(260px, 34vw);
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.share-socials button {
  position: relative;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.share-socials button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.share-socials button:first-child {
  border-color: color-mix(in srgb, #ff5416 44%, var(--line));
  background: color-mix(in srgb, #ff5416 12%, var(--panel));
}

.share-status {
  margin: -4px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  animation: softPanelIn 220ms cubic-bezier(0.2, 0, 0, 1);
}

.share-status[hidden] {
  display: none;
}

.share-copy-button {
  border-color: #ff5416;
  background: #ff5416;
  color: #ffffff;
}

.share-copy-button:hover {
  border-color: #ff5416;
  background: color-mix(in srgb, #ff5416 88%, #ffffff);
  color: #ffffff;
}

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

.context-menu {
  position: fixed;
  z-index: 150;
  display: grid;
  gap: 4px;
  width: min(292px, calc(100vw - 20px));
  max-height: min(580px, calc(100vh - 20px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  animation: softPanelIn 160ms cubic-bezier(0.2, 0, 0, 1);
  transform-origin: top left;
}

.context-menu.is-closing {
  animation: contextMenuOut 130ms ease-in forwards;
}

.context-menu {
  scrollbar-color: color-mix(in srgb, var(--ink) 24%, transparent) transparent;
}

.context-menu::-webkit-scrollbar {
  width: 8px;
}

.context-menu::-webkit-scrollbar-track {
  background: transparent;
}

.context-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  background-clip: padding-box;
}

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

.context-menu button > span {
  min-width: 0;
}

.context-shortcut {
  justify-self: end;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.context-menu svg {
  justify-self: center;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.context-menu-separator {
  height: 1px;
  margin: 3px 6px;
  background: var(--line);
}

.context-menu button:hover,
.context-menu button:focus-visible {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.context-menu [data-context-action="close"] {
  --accent: #ef4444;
}

.context-menu [data-context-action="close"]:hover,
.context-menu [data-context-action="close"]:focus-visible {
  background: color-mix(in srgb, #ef4444 12%, transparent);
  color: #ef4444;
}

.context-menu button:disabled,
.context-menu button[aria-disabled="true"] {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.52;
}

.context-menu button:disabled:hover,
.context-menu button[aria-disabled="true"]:hover {
  background: transparent;
  color: var(--muted);
}

@keyframes contextMenuOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

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

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

.subscribe-confirm-button:hover {
  background: color-mix(in srgb, #7c3aed 88%, #ffffff);
  color: #ffffff;
}

@keyframes dialogBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes dialogBackdropOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

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

  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }

  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);
  }
}

@keyframes cookieNoticeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@keyframes cookieNoticeOut {
  to {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes popoverIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

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

@keyframes softPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes softTabPop {
  from {
    transform: scale(0.96);
  }

  70% {
    transform: scale(1.025);
  }

  to {
    transform: scale(1);
  }
}

.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;
  animation: softPanelIn 240ms cubic-bezier(0.2, 0, 0, 1);
}

.storage-meter {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  min-width: min(100%, 320px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 28%, transparent), transparent),
    var(--card-bg-strong);
}

[data-theme="dark"] .storage-meter,
[data-theme="lights-off"] .storage-meter {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--line) 14%, transparent), transparent),
    var(--card-bg-strong);
}

.storage-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.storage-meter-header strong {
  color: var(--accent);
}

.storage-meter-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--segment-bg);
}

.storage-meter-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #ff5416;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.storage-meter p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.usage-page {
  width: min(1320px, calc(100% - 32px));
  max-width: 1320px;
  min-width: 0;
  padding-bottom: clamp(54px, 8vw, 108px);
  overflow-x: clip;
}

.usage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  min-height: clamp(360px, 48vw, 520px);
  margin-top: 16px;
  padding: clamp(34px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 58%),
    linear-gradient(color-mix(in srgb, var(--line) 18%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 16%, transparent) 1px, transparent 1px),
    var(--card-bg-strong);
  background-size: auto, 38px 38px, 38px 38px, auto;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 9%, transparent);
}

.usage-hero > *,
.usage-rate-card,
.usage-card,
.usage-card *,
.usage-metrics div {
  min-width: 0;
}

.usage-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  text-wrap: balance;
}

.usage-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.usage-rate-card,
.usage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 20%, transparent), transparent),
    var(--card-bg);
}

.usage-rate-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.usage-rate-card span,
.usage-card > span,
.usage-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.usage-rate-card strong {
  color: var(--accent);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-top: 16px;
}

.usage-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: clamp(22px, 3.2vw, 34px);
}

.usage-card-wide {
  grid-row: span 2;
}

.usage-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5.5vw, 72px);
  line-height: 0.98;
}

.usage-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

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

.usage-metrics div {
  display: grid;
  gap: 8px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.usage-metrics strong {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
}

.usage-limit-meter {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel-solid) 82%, transparent);
}

.usage-limit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.usage-limit-header strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.usage-limit-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 42%, transparent);
}

.usage-limit-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 76%, #ffffff), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.usage-card .storage-meter {
  margin-top: 2px;
}

@media (max-width: 900px) {
  .usage-page {
    width: min(760px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
  }

  .usage-hero,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .usage-card-wide {
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .usage-hero {
    padding: 24px 22px;
  }

  .usage-rate-card,
  .usage-card {
    padding: 22px;
  }

  .usage-hero h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .usage-metrics {
    grid-template-columns: 1fr;
  }
}

[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;
}

[data-theme="dark"] .home-body,
[data-theme="dark"] .about-body,
[data-theme="dark"] .creator-body,
[data-theme="dark"] .bio-body,
[data-theme="dark"] .faq-body,
[data-theme="dark"] .privacy-body,
[data-theme="dark"] .license-body,
[data-theme="dark"] .terms-body {
  --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);
  --dark: #f4f3ee;
  --soft: #252520;
  --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"] .home-body,
[data-theme="lights-off"] .about-body,
[data-theme="lights-off"] .creator-body,
[data-theme="lights-off"] .bio-body,
[data-theme="lights-off"] .faq-body,
[data-theme="lights-off"] .privacy-body,
[data-theme="lights-off"] .license-body,
[data-theme="lights-off"] .terms-body {
  --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);
  --dark: #f2f1ec;
  --soft: #11110f;
  --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-theme] .home-body,
[data-theme] .about-body,
[data-theme] .creator-body,
[data-theme] .bio-body,
[data-theme] .faq-body,
[data-theme] .privacy-body,
[data-theme] .license-body,
[data-theme] .terms-body {
  background: var(--page-bg);
}

[data-theme] .privacy-body,
[data-theme] .license-body,
[data-theme] .terms-body {
  --legal-bg: var(--bg);
  --legal-ink: var(--ink);
  --legal-muted: var(--muted);
  --legal-soft: color-mix(in srgb, var(--accent) 10%, var(--pill-bg));
  --legal-line: color-mix(in srgb, var(--accent) 12%, var(--line));
  --legal-line-strong: color-mix(in srgb, var(--accent) 42%, var(--line));
  --legal-accent: var(--accent);
}

[data-theme] .home-body .topbar,
[data-theme] .about-body .topbar,
[data-theme] .creator-body .topbar,
[data-theme] .bio-body .topbar,
[data-theme] .faq-body .topbar,
[data-theme] .updates-body .topbar,
[data-theme] .privacy-body .topbar,
[data-theme] .license-body .topbar,
[data-theme] .terms-body .topbar {
  border-color: var(--line);
  background: color-mix(in srgb, var(--nav-bg) 88%, transparent);
}

[data-theme] .home-hero h1,
[data-theme] .about-hero h1,
[data-theme] .about-section-copy h2,
[data-theme] .about-trust-copy h2,
[data-theme] .about-next-direction h2,
[data-theme] .home-section-copy h2,
[data-theme] .home-feedback-strip h2,
[data-theme] .creator-studio-copy h1,
[data-theme] .creator-guide > article h2,
[data-theme] .faq-archive-copy h1,
[data-theme] .bio-hero h1,
[data-theme] .policy-hero h1,
[data-theme] .license-registry-hero h1,
[data-theme] .terms-hero h1 {
  color: var(--ink);
}

[data-theme] .home-lead,
[data-theme] .about-lead,
[data-theme] .about-section-copy p:not(.about-section-kicker),
[data-theme] .about-principle-list p,
[data-theme] .about-route-list p,
[data-theme] .about-trust-copy p,
[data-theme] .about-trust-list span,
[data-theme] .about-next-direction p,
[data-theme] .home-section-copy p:not(.home-section-kicker),
[data-theme] .creator-studio-lead,
[data-theme] .faq-archive-lead,
[data-theme] .bio-hero-copy > p:not(.eyebrow),
[data-theme] .policy-lead,
[data-theme] .license-lead,
[data-theme] .terms-lead {
  color: var(--muted);
}

[data-theme] .bio-hero {
  border-color: var(--line);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28rem),
    linear-gradient(90deg, color-mix(in srgb, var(--panel-solid) 96%, transparent), color-mix(in srgb, var(--card-bg) 92%, transparent)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

[data-theme] .bio-hero::before {
  background:
    linear-gradient(color-mix(in srgb, var(--line) 58%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 48%, transparent) 1px, transparent 1px);
}

[data-theme] .bio-hero::after {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 58%, transparent));
}

[data-theme] .bio-hero-copy .eyebrow {
  color: var(--accent);
}

[data-theme] .bio-hero-actions a {
  border-bottom-color: color-mix(in srgb, var(--ink) 34%, transparent);
  color: var(--ink);
}

[data-theme] .bio-hero-actions a::after {
  background: var(--accent);
}

[data-theme] .bio-media-panel,
[data-theme] .about-visual-panel,
[data-theme] .about-ledger,
[data-theme] .about-route-list,
[data-theme] .about-route-list a,
[data-theme] .home-route-list a,
[data-theme] .home-ledger,
[data-theme] .home-latest-list,
[data-theme] .home-action-grid a,
[data-theme] .home-action-grid button,
[data-theme] .creator-guide > article,
[data-theme] .faq-archive-card,
[data-theme] .policy-panel,
[data-theme] .license-panel {
  border-color: var(--line);
  background: var(--card-bg);
  color: var(--ink);
}

[data-theme] .home-route-list strong,
[data-theme] .about-ledger strong,
[data-theme] .about-principle-list strong,
[data-theme] .about-route-list strong,
[data-theme] .about-trust-list strong,
[data-theme] .home-ledger strong,
[data-theme] .home-latest-list strong,
[data-theme] .home-action-grid strong,
[data-theme] .creator-ledger strong,
[data-theme] .creator-stage-rail strong,
[data-theme] .faq-ledger strong,
[data-theme] .faq-topic-rail strong,
[data-theme] .faq-archive-card h2,
[data-theme] .policy-panel h2,
[data-theme] .license-panel h2 {
  color: var(--ink);
}

[data-theme] .home-action-grid a:hover,
[data-theme] .home-action-grid button:hover {
  border-color: var(--action-border);
  background: color-mix(in srgb, var(--ink) 6%, var(--card-bg));
  color: var(--ink);
}

[data-theme] .home-route-list span,
[data-theme] .about-visual-panel span,
[data-theme] .about-ledger span,
[data-theme] .about-section-kicker,
[data-theme] .about-principle-list > li > span,
[data-theme] .about-route-list a > span,
[data-theme] .home-ledger span,
[data-theme] .home-latest-list span,
[data-theme] .home-action-grid span,
[data-theme] .creator-ledger span,
[data-theme] .creator-stage-rail p,
[data-theme] .creator-stage-rail a > span,
[data-theme] .creator-stage-rail small,
[data-theme] .faq-ledger span,
[data-theme] .faq-topic-rail p,
[data-theme] .faq-topic-rail a > span,
[data-theme] .faq-topic-rail small,
[data-theme] .faq-archive-card p,
[data-theme] .policy-panel p,
[data-theme] .license-panel p {
  color: var(--muted);
}

[data-theme] .about-page .button,
[data-theme] .about-outline-link {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  color: var(--ink);
}

[data-theme] .about-page .button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

[data-theme] .about-page .button.ghost,
[data-theme] .about-outline-link:hover,
[data-theme] .about-route-list a:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

[data-theme] .about-visual-panel {
  box-shadow: var(--shadow);
}

[data-theme] .about-visual-panel figcaption {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel-solid) 78%, transparent);
  color: var(--ink);
}

[data-theme] .about-trust-mark {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  color: var(--accent);
}

@media (max-width: 1180px) {
  .about-hero,
  .bio-hero,
  .faq-hero,
  .legal-hero,
  .settings-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .about-visual-panel,
  .bio-media-panel,
  .faq-hero-panel,
  .legal-summary,
  .settings-overview {
    width: min(100%, 620px);
  }
}

@media (max-width: 900px) {
  .about-hero,
  .bio-hero,
  .faq-hero,
  .legal-hero,
  .updates-hero,
  .settings-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-ledger,
  .about-principles,
  .about-route-index,
  .about-route-list,
  .about-trust-band,
  .about-next-direction {
    grid-template-columns: 1fr;
  }

  .bio-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bio-hero h1 {
    max-width: 720px;
    font-size: 76px;
  }

  .bio-media-panel {
    height: 560px;
  }

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

  .bio-dossier div:nth-child(2n) {
    border-right: 0;
  }

  .bio-dossier div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bio-editorial-grid {
    grid-template-columns: 1fr;
  }

  .bio-editorial-grid article,
  .bio-editorial-grid article:nth-child(2n),
  .bio-editorial-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bio-editorial-grid article:last-child {
    border-bottom: 0;
  }

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

  .faq-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .faq-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faq-section > .section-heading {
    position: static;
  }

  .feedback-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 28px;
  }

  .feedback-panel {
    max-width: 620px;
    min-height: 360px;
  }

  .feedback-visual img {
    height: 210px;
  }

  .feedback-hero h1 {
    font-size: clamp(44px, 11vw, 62px);
  }

  .feedback-topics {
    grid-template-columns: 1fr;
  }

  .support-desk {
    grid-template-columns: 1fr;
  }

  .support-desk-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feedback-note {
    grid-template-columns: 1fr;
  }

  .site-info {
    gap: 14px;
  }

  .info-tabs {
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 18px;
    padding: 6px;
  }

  .info-tabs button {
    min-height: 44px;
    border-radius: 14px;
    padding: 0 16px;
    white-space: normal;
  }

  .info-panel {
    max-width: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .mobile-quick-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: block;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid color-mix(in srgb, var(--ink) 12%, var(--line));
    background: color-mix(in srgb, var(--panel-solid) 94%, transparent);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-quick-actions-inner {
    display: grid;
    grid-template-columns: repeat(4, 44px);
    justify-content: space-around;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
  }

  .mobile-quick-action {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
  }

  .mobile-quick-action .nav-icon {
    display: block;
    width: 21px;
    height: 21px;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-quick-action:hover,
  .mobile-quick-action:focus-visible,
  .mobile-quick-action.is-active {
    border-color: color-mix(in srgb, var(--ink) 16%, var(--line));
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    color: var(--ink);
  }

  .context-menu button {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .context-shortcut {
    display: none;
  }

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

  .topbar {
    top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 8px;
    border-radius: 20px;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 54%),
      color-mix(in srgb, var(--nav-bg) 94%, var(--panel-solid));
  }

  .topbar.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.54);
    backdrop-filter: blur(6px);
    animation: mobileMenuBackdropIn 160ms ease both;
  }

  .topbar.is-open {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    place-items: center;
    width: 100%;
    min-height: 100dvh;
    padding: calc(10px + env(safe-area-inset-top)) 10px calc(18px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand-logo {
    display: none;
  }

  .mobile-menu-button {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    padding-inline: 16px 12px;
  }

  .nav-links {
    position: relative;
    z-index: 1;
    display: none;
    grid-template-columns: 1fr;
    align-self: center;
    justify-self: center;
    gap: 7px;
    width: min(360px, calc(100vw - 32px));
    max-height: min(76dvh, 560px);
    padding: 10px;
    border-radius: 18px;
    overflow-y: auto;
    border-color: color-mix(in srgb, var(--line) 88%, transparent);
    background: color-mix(in srgb, var(--panel-solid) 94%, var(--bg));
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #ffffff 38%, transparent),
      0 28px 80px rgba(0, 0, 0, 0.34);
    scrollbar-width: thin;
  }

  .site-info {
    display: none;
  }

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

  .nav-links a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    place-items: initial;
    align-items: center;
    gap: 11px;
    min-width: 0;
    width: 100%;
    min-height: 50px;
    padding: 0 14px 0 10px;
    border-radius: 14px;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
    transform: none;
  }

  .nav-links .nav-search-button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px 0 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel-solid);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-align: left;
  }

  .nav-links a .nav-icon {
    display: block;
    justify-self: center;
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
  }

  .nav-links .nav-search-button .nav-icon {
    display: block;
    justify-self: center;
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
  }

  .nav-links a > span {
    min-width: 0;
  }

  .nav-links .nav-search-button > span {
    min-width: 0;
    white-space: normal;
  }

  .nav-links .nav-search-button kbd {
    padding: 4px 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--pill-bg);
    color: var(--muted);
    font-family: inherit;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
  }

  .nav-links a::before {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.is-active {
    background: var(--panel-solid);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
    transform: none;
  }

  .nav-links a.nav-feedback-link {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 52px;
    margin-top: 4px;
    text-align: center;
  }

  .nav-links a.nav-feedback-link:hover,
  .nav-links a.nav-feedback-link.is-active {
    background: color-mix(in srgb, #ff5416 88%, #ffffff);
    color: #ffffff;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
    padding: clamp(38px, 11vw, 78px) 16px 16px;
  }

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

  .profile-panel {
    width: 100%;
    margin: 0;
  }

  .profile-panel h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
  }

  .error-page {
    min-height: auto;
    padding: clamp(28px, 8vw, 46px);
  }

  .pricing-hero {
    gap: 22px;
    min-height: auto;
    padding: 24px;
  }

  .pricing-hero-panel div {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .pricing-hero-panel strong {
    text-align: left;
  }

  .pricing-note {
    display: block;
    justify-content: flex-start;
    padding: 18px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .pricing-note::before {
    position: static;
    display: inline-block;
    margin-right: 10px;
    vertical-align: -2px;
  }

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

  .offline-panel {
    order: -1;
    min-height: 280px;
  }

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

  .error-route-section {
    grid-template-columns: 1fr;
  }

  .error-route-card {
    min-height: 0;
  }

  .meta-grid,
  .about-grid,
  .about-ledger,
  .about-route-list,
  .stats,
  .home-tabs-header,
  .contact-band,
  .settings-hero,
  .updates-hero,
  .updates-summary,
  .search-page-hero,
  .activity-hero,
  .activity-summary-grid,
  .pricing-hero,
  .error-page,
  .offline-page,
  .offline-tips,
  .bio-content article,
  .pricing-grid,
  .comparison-row,
  .legal-grid,
  .settings-band,
  .setting-card {
    grid-template-columns: 1fr;
  }

  .updates-hero {
    padding: 24px;
  }

  .search-page-hero,
  .activity-hero {
    padding: 24px;
  }

  .activity-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .activity-panel-head button {
    width: 100%;
  }

  .activity-item {
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .activity-item a {
    grid-column: 2;
    max-width: 100%;
  }

  .updates-visual {
    min-height: 220px;
  }

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

  .settings-hero {
    min-height: auto;
    padding: 24px;
  }

  .settings-overview {
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-overview div {
    min-height: 108px;
  }

  .home-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-radius: 18px;
  }

  .home-tabs button {
    min-width: 0;
    border-radius: 14px;
    padding: 0 12px;
    text-align: center;
  }

  .home-tab-panel {
    min-height: 0;
    padding: 20px;
  }

  .home-tab-panel .work-list {
    grid-template-columns: 1fr;
  }

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

  .comparison-row {
    grid-template-columns: repeat(4, 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";
  }

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

  .comparison-table-redesign {
    width: 1040px;
    min-width: 1040px;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--card-bg);
    overflow: hidden;
  }

  .comparison-table-redesign .comparison-row {
    grid-template-columns: minmax(230px, 1.05fr) repeat(4, minmax(175px, 1fr));
    min-height: 66px;
    overflow: visible;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
    border-radius: 0;
    background: transparent;
  }

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

  .comparison-table-redesign .comparison-row > span,
  .comparison-table-redesign .comparison-row > strong,
  .comparison-table-redesign .comparison-row > article,
  .comparison-table-redesign .comparison-row > div {
    justify-content: center;
    min-height: auto;
    border-top: 0;
    border-left: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
    padding: 14px 16px;
    text-align: center;
  }

  .comparison-table-redesign .comparison-row > :first-child {
    grid-column: auto;
    justify-content: center;
    border-left: 0;
  }

  .comparison-table-redesign .comparison-side {
    justify-content: center;
    text-align: left;
  }

  .comparison-table-redesign .comparison-plan-filter {
    justify-content: end;
  }

  .comparison-table-redesign .comparison-row > strong::before {
    content: none;
  }

  .creator-plan-list {
    grid-template-columns: 1fr;
  }

  .creator-plan-list div {
    min-height: 0;
  }

  .settings-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    min-height: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    scrollbar-width: thin;
  }

  .settings-sidebar-title {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 6px 12px 6px 4px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    margin: 0 2px 0 0;
  }

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

  .setting-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
  }

  .setting-card-notifications {
    grid-template-columns: 1fr;
  }

  .setting-card-beta {
    grid-template-columns: 1fr;
  }

  .beta-control {
    justify-content: flex-start;
  }

  .notification-control {
    justify-content: flex-start;
  }

  .notification-status {
    width: fit-content;
  }

  .setting-card#display,
  .setting-card#accent {
    grid-template-columns: 1fr;
  }

  .setting-card#display > div:first-child,
  .setting-card#display .setting-compat-panel,
  .setting-card#display .setting-select,
  .setting-card#accent > div:first-child,
  .setting-card#accent .accent-compat-panel,
  .setting-card#accent .accent-select,
  .setting-card#accent .premium-note {
    grid-column: auto;
    grid-row: auto;
  }

  .settings-stack {
    padding: 14px;
  }

  .setting-card > .toggle,
  .setting-card > .button,
  .setting-card > .swipe-control,
  .setting-card > .setting-select,
  .setting-card > .accent-select {
    justify-self: stretch;
  }

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

  .cache-button {
    justify-self: stretch;
  }

  .setting-card > .swipe-control {
    width: 100%;
  }

  .nav-layout-options {
    grid-template-columns: 1fr;
  }

  .nav-layout-choice {
    min-height: 0;
  }

  .setting-select {
    min-width: 0;
  }

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

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

  .pricing-hero {
    min-height: auto;
    padding: 28px;
  }

  .about-hero {
    min-height: auto;
    padding: 34px 0 26px;
  }

  .about-hero h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .about-route-list a,
  .about-ledger div {
    min-height: 0;
  }

  .legal-hero {
    min-height: auto;
    padding: 28px;
  }

  .legal-card {
    min-height: 0;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-card:hover {
    transform: none;
  }

  .ultra-card ul {
    grid-template-columns: 1fr;
  }

  .setting-select,
  .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) {
  .plan-card-top {
    justify-content: flex-start;
  }

  .plan-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .bio-hero h1,
  .creator-hero h1,
  .faq-hero h1,
  .legal-hero h1,
  .pricing-hero h1,
  .settings-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.12;
  }

  .settings-overview {
    grid-template-columns: 1fr;
  }

  .settings-overview div {
    min-height: 96px;
  }

  .settings-page {
    overflow-x: clip;
  }

  .settings-page .settings-copy p:not(.eyebrow),
  .settings-page .settings-group-label p,
  .settings-page .setting-card p {
    max-width: 29ch;
  }

  .settings-page .setting-card,
  .settings-page .settings-hero,
  .settings-page .settings-stack {
    overflow: hidden;
  }

  .bio-hero {
    padding: 24px;
  }

  .bio-hero h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .bio-hero-copy > p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 17px;
  }

  .bio-hero-actions {
    gap: 12px 22px;
  }

  .bio-media-panel {
    height: 460px;
  }

  .bio-dossier {
    grid-template-columns: 1fr;
  }

  .bio-dossier div,
  .bio-dossier div:nth-child(2n),
  .bio-dossier div:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bio-dossier div:last-child {
    border-bottom: 0;
  }

  .bio-note-list div {
    grid-template-columns: 1fr;
  }

  .bio-note-list time {
    grid-row: auto;
  }

  .bio-principles li {
    padding-left: 44px;
  }

  .likes-list {
    grid-template-columns: 1fr;
  }

  .faq-hero {
    padding: 24px;
  }

  .faq-topic-nav {
    grid-template-columns: 1fr;
  }

  .faq-topic-nav a {
    min-height: 112px;
  }

  .adblock-notice {
    grid-template-columns: 1fr;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .adblock-notice button {
    width: 100%;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100% - 20px);
    padding: 16px;
  }

  .cookie-notice-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-notice-actions a,
  .cookie-notice-actions button {
    width: 100%;
    white-space: normal;
  }

  .cache-dialog {
    padding: 12px;
    align-items: start;
    overflow-y: auto;
  }

  .cache-dialog-panel {
    gap: 14px;
    width: min(100%, 420px);
    max-height: calc(100dvh - 24px);
    padding: 22px 16px 16px;
    overscroll-behavior: contain;
  }

  .nav-layout-dialog-panel,
  .context-mode-dialog-panel,
  .source-dialog-panel,
  .print-dialog-panel {
    width: min(100%, 420px);
  }

  .cache-dialog-panel h2 {
    padding-right: 48px;
    font-size: clamp(24px, 9vw, 32px);
    line-height: 1.05;
  }

  .cache-dialog-panel > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.5;
  }

  .dialog-close-button {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .nav-layout-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-layout-choice {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    min-height: 116px;
    padding: 12px;
    gap: 12px;
  }

  .cookie-choice {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cookie-choice .toggle {
    justify-self: start;
  }

  .nav-layout-choice .nav-layout-preview,
  .context-mode-choice .context-mode-preview {
    min-height: 76px;
  }

  .context-mode-preview {
    min-height: 76px;
    padding: 9px;
    gap: 7px;
  }

  .context-mode-preview span {
    height: 12px;
    border-radius: 5px;
  }

  .nav-layout-copy {
    gap: 5px;
  }

  .nav-layout-copy strong {
    font-size: 17px;
    line-height: 1.15;
  }

  .nav-layout-copy small {
    font-size: 13px;
    line-height: 1.35;
  }

  .nav-layout-choice.is-active::after {
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-width: 3px;
  }

  .cache-warning-actions {
    grid-template-columns: 1fr;
  }

  .source-toolbar {
    display: grid;
    gap: 6px;
  }

  .source-code {
    max-height: 46vh;
    min-height: 240px;
    padding: 12px;
    font-size: 11px;
    line-height: 1.55;
  }

  .scroll-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .scroll-actions button {
    width: 42px;
    height: 42px;
  }

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

  .search-page-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .search-page-field input {
    min-height: 52px;
  }

  .topbar {
    flex-direction: column;
  }

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

  .nav-links a {
    width: 100%;
  }

  .button {
    width: 100%;
  }

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

@media (max-width: 1180px) {
  .policy-hero,
  .license-registry-hero,
  .terms-hero,
  .accessibility-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .license-registry-hero,
  .terms-hero,
  .accessibility-hero {
    padding-top: clamp(40px, 7vw, 80px);
  }

  .policy-hero-media,
  .license-hero-media,
  .terms-hero-media,
  .accessibility-hero-media {
    width: min(100%, 820px);
  }

  .policy-dossier article,
  .license-dossier article,
  .terms-dossier article,
  .accessibility-dossier article {
    grid-template-columns: 88px minmax(0, 0.95fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 900px) {
  .legal-document-page {
    width: min(760px, calc(100% - 28px));
  }

  .policy-hero,
  .license-registry-hero,
  .terms-hero,
  .accessibility-hero {
    padding-top: 34px;
  }

  .policy-hero h1,
  .license-registry-hero h1,
  .terms-hero h1,
  .accessibility-hero h1 {
    font-size: clamp(46px, 12vw, 82px);
  }

  .policy-ledger,
  .license-ledger,
  .terms-ledger,
  .accessibility-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-ledger div:nth-child(2n),
  .license-ledger div:nth-child(2n),
  .terms-ledger div:nth-child(2n),
  .accessibility-ledger div:nth-child(2n) {
    border-right: 0;
  }

  .policy-ledger div:nth-child(-n + 2),
  .license-ledger div:nth-child(-n + 2),
  .terms-ledger div:nth-child(-n + 2),
  .accessibility-ledger div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--legal-line);
  }

  .policy-dossier article,
  .license-dossier article,
  .terms-dossier article,
  .accessibility-dossier article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .privacy-cookie-list {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .privacy-body .shell,
  .license-body .shell,
  .terms-body .shell,
  .accessibility-body .shell,
  .legal-document-page {
    width: min(calc(100vw - 24px), 390px);
    padding-left: 0;
    padding-right: 0;
  }

  .privacy-body .topbar,
  .license-body .topbar,
  .terms-body .topbar,
  .accessibility-body .topbar {
    margin-top: 12px;
  }

  .policy-hero,
  .license-registry-hero,
  .terms-hero,
  .accessibility-hero {
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .policy-hero h1,
  .license-registry-hero h1,
  .terms-hero h1,
  .accessibility-hero h1 {
    font-size: clamp(38px, 13vw, 50px);
    line-height: 0.98;
  }

  .license-registry-hero h1,
  .terms-hero h1,
  .accessibility-hero h1 {
    max-width: 8.2ch;
  }

  .policy-lead,
  .license-lead,
  .terms-lead,
  .accessibility-lead {
    max-width: 32ch;
    font-size: 16px;
    line-height: 1.62;
  }

  .policy-hero-media img,
  .license-hero-media img,
  .terms-hero-media img,
  .accessibility-hero-media img {
    aspect-ratio: 1 / 1.06;
  }

  .policy-hero-media figcaption,
  .license-hero-media figcaption,
  .terms-hero-media figcaption,
  .accessibility-hero-media figcaption {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .policy-ledger,
  .license-ledger,
  .terms-ledger,
  .accessibility-ledger {
    grid-template-columns: 1fr;
  }

  .policy-ledger div,
  .license-ledger div,
  .terms-ledger div,
  .accessibility-ledger div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--legal-line);
  }

  .policy-ledger div:last-child,
  .license-ledger div:last-child,
  .terms-ledger div:last-child,
  .accessibility-ledger div:last-child {
    border-bottom: 0;
  }

  .policy-dossier,
  .license-dossier,
  .terms-dossier,
  .accessibility-dossier {
    padding-top: 34px;
  }

  .policy-dossier article,
  .license-dossier article,
  .terms-dossier article,
  .accessibility-dossier article {
    padding: 30px 0;
  }

  .policy-dossier h2,
  .license-dossier h2,
  .terms-dossier h2,
  .accessibility-dossier h2 {
    font-size: clamp(28px, 10vw, 40px);
  }

  .policy-dossier p,
  .license-dossier p,
  .terms-dossier p,
  .accessibility-dossier p {
    font-size: 15.5px;
    line-height: 1.72;
  }
}

@media (max-width: 760px) {
  .shell.pricing-page {
    width: auto;
    max-width: none;
    margin-right: 10px;
    margin-left: 10px;
    overflow-x: clip;
  }

  .pricing-page,
  .pricing-page * {
    min-width: 0;
  }

  .pricing-hero p,
  .pricing-note,
  .pricing-card p,
  .pricing-card li {
    width: min(100%, 300px);
    max-width: 300px;
    overflow-wrap: anywhere;
  }

  .pricing-hero,
  .pricing-note,
  .pricing-grid,
  .pricing-card,
  .comparison-section,
  .faq-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .shell.usage-page {
    width: auto;
    max-width: none;
    margin-right: 10px;
    margin-left: 10px;
  }

  .usage-hero,
  .usage-card,
  .usage-rate-card {
    max-width: 100%;
    box-sizing: border-box;
  }

  .usage-hero h1 {
    max-width: 8.5ch;
    overflow-wrap: anywhere;
    text-wrap: wrap;
    word-break: normal;
  }

  .usage-hero p:not(.eyebrow),
  .usage-card p {
    max-width: 30ch;
  }

  .usage-limit-header {
    display: grid;
    justify-content: start;
    gap: 8px;
  }

  .usage-limit-header strong {
    white-space: normal;
  }
}

/* Settings console v2 */
.settings-body {
  --settings-bg:
    linear-gradient(135deg, rgba(247, 247, 243, 0.94) 0%, rgba(230, 233, 229, 0.9) 52%, rgba(213, 220, 214, 0.96) 100%);
  --settings-surface: rgba(255, 255, 252, 0.74);
  --settings-surface-strong: rgba(255, 255, 252, 0.9);
  --settings-rail: rgba(239, 242, 236, 0.84);
  --settings-line: color-mix(in srgb, var(--line) 74%, rgba(62, 73, 67, 0.26));
  --settings-text: #151815;
  --settings-muted: #626a63;
  --settings-accent: color-mix(in srgb, var(--accent) 70%, #2d8a7c);
  --settings-caution: #d6501f;
  --settings-shadow: 0 28px 80px rgba(45, 52, 47, 0.12);
  --settings-soft-shadow: 0 16px 36px rgba(45, 52, 47, 0.08);
  --settings-grid-line: rgba(61, 76, 68, 0.07);
  overflow-x: hidden;
  background: var(--settings-bg);
}

[data-theme="dark"] .settings-body {
  --settings-bg:
    linear-gradient(135deg, #0f1110 0%, #171916 50%, #20221d 100%);
  --settings-surface: rgba(30, 33, 30, 0.78);
  --settings-surface-strong: rgba(35, 38, 34, 0.92);
  --settings-rail: rgba(23, 25, 23, 0.9);
  --settings-line: color-mix(in srgb, var(--line) 78%, rgba(200, 222, 205, 0.12));
  --settings-text: #f4f3ee;
  --settings-muted: #aaaea5;
  --settings-accent: color-mix(in srgb, var(--accent) 66%, #5fd6c7);
  --settings-caution: #ff9b63;
  --settings-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --settings-soft-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  --settings-grid-line: rgba(230, 236, 226, 0.055);
}

[data-theme="lights-off"] .settings-body {
  --settings-bg:
    linear-gradient(135deg, #030303 0%, #080908 54%, #10110e 100%);
  --settings-surface: rgba(13, 14, 13, 0.9);
  --settings-surface-strong: rgba(16, 17, 15, 0.98);
  --settings-rail: rgba(8, 9, 8, 0.94);
  --settings-line: color-mix(in srgb, var(--line) 82%, rgba(221, 226, 210, 0.09));
  --settings-text: #f2f1ec;
  --settings-muted: #928f86;
  --settings-accent: color-mix(in srgb, var(--accent) 68%, #70d8c5);
  --settings-caution: #ff8d5c;
  --settings-shadow: 0 30px 92px rgba(0, 0, 0, 0.66);
  --settings-soft-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
  --settings-grid-line: rgba(238, 235, 222, 0.045);
}

.settings-body .shell.settings-page {
  width: min(1460px, calc(100% - 36px));
  padding: clamp(18px, 3vw, 34px) 0 clamp(54px, 8vw, 96px);
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .settings-body .shell.settings-page {
    width: min(1500px, calc(100% - 32px));
    padding-top: clamp(18px, 3vw, 34px);
    padding-right: 0;
    padding-bottom: clamp(54px, 8vw, 96px);
    padding-left: 248px;
  }
}

.settings-body .topbar {
  border-color: var(--settings-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 82%, transparent), transparent),
    var(--settings-rail);
  box-shadow: var(--settings-soft-shadow);
}

.settings-body .nav-links a:hover,
.settings-body .nav-links a.is-active {
  border-color: color-mix(in srgb, var(--settings-accent) 38%, var(--settings-line));
  background: color-mix(in srgb, var(--settings-accent) 12%, var(--settings-surface));
}

.settings-body .settings-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 560px);
  gap: clamp(24px, 4vw, 58px);
  min-height: 430px;
  overflow: hidden;
  padding: clamp(30px, 5.2vw, 72px);
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  background:
    linear-gradient(var(--settings-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--settings-grid-line) 1px, transparent 1px),
    linear-gradient(118deg, color-mix(in srgb, var(--settings-accent) 17%, transparent), transparent 38%),
    linear-gradient(180deg, var(--settings-surface-strong), var(--settings-surface));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: var(--settings-shadow);
}

.settings-body .settings-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--settings-accent) 22%, transparent);
  border-radius: 8px;
  pointer-events: none;
}

.settings-body .settings-copy {
  align-content: end;
  gap: clamp(14px, 2vw, 22px);
}

.settings-body .settings-copy .eyebrow,
.settings-body .settings-overview span,
.settings-body .settings-sidebar-title span,
.settings-body .settings-group-label span,
.settings-body .setting-card .eyebrow,
.settings-body .setting-compat-panel span,
.settings-body .accent-compat-panel span {
  color: var(--settings-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.settings-body .settings-hero h1 {
  max-width: 680px;
  color: var(--settings-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 850;
  line-height: 0.94;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.settings-body .settings-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--settings-muted);
  font-size: clamp(16px, 1.45vw, 19px);
}

.settings-body .settings-overview {
  align-content: stretch;
  gap: 10px;
}

.settings-body .settings-overview div {
  min-height: 138px;
  padding: 18px;
  border-color: var(--settings-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 70%, transparent), transparent),
    color-mix(in srgb, var(--settings-surface) 88%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 22%, transparent);
}

.settings-body .settings-overview div::after {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--settings-accent), transparent);
}

.settings-body .settings-overview strong {
  color: var(--settings-text);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.08;
}

.settings-body [data-payment-block-status][data-payment-state="blocked"] {
  color: var(--settings-caution);
}

.settings-body .settings-band {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 2.7vw, 34px);
  margin-top: clamp(22px, 4vw, 46px);
}

.settings-body .settings-sidebar {
  top: 84px;
  gap: 4px;
  padding: 12px;
  border-color: var(--settings-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 80%, transparent), transparent),
    var(--settings-rail);
  box-shadow: var(--settings-soft-shadow);
}

.settings-body .settings-sidebar-title {
  padding: 8px 9px 16px;
  border-color: var(--settings-line);
}

.settings-body .settings-sidebar-title strong {
  color: var(--settings-text);
}

.settings-body .settings-sidebar a {
  min-height: 42px;
  border-radius: 8px;
  color: var(--settings-muted);
}

.settings-body .settings-sidebar a:hover,
.settings-body .settings-sidebar a.is-active {
  border-color: color-mix(in srgb, var(--settings-accent) 35%, var(--settings-line));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--settings-accent) 16%, transparent), transparent),
    color-mix(in srgb, var(--settings-surface) 92%, transparent);
  color: var(--settings-text);
  box-shadow: inset 2px 0 0 var(--settings-accent);
}

.settings-body .settings-stack {
  gap: 0;
  overflow: visible;
  border: 1px solid var(--settings-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 66%, transparent), transparent),
    color-mix(in srgb, var(--settings-surface) 92%, transparent);
  box-shadow: var(--settings-shadow);
}

.settings-body .settings-group-label {
  padding: 30px clamp(18px, 3vw, 34px) 12px;
  border-top: 1px solid var(--settings-line);
  background: color-mix(in srgb, var(--settings-rail) 58%, transparent);
}

.settings-body .settings-group-label:first-child {
  border-top: 0;
}

.settings-body .settings-group-label p {
  color: var(--settings-muted);
}

.settings-body .setting-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  min-height: 118px;
  margin: 0;
  border-width: 1px 0 0;
  border-color: var(--settings-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.settings-body .setting-card:has(.setting-select.is-open),
.settings-body .setting-card:has(.accent-select.is-open) {
  overflow: visible;
  z-index: 240;
}

.settings-body .setting-select.is-open,
.settings-body .accent-select.is-open {
  z-index: 260;
}

.settings-body .settings-group-label + .setting-card {
  border-radius: 0;
}

.settings-body .setting-card::before {
  inset: 0 auto 0 0;
  width: 2px;
  border-radius: 0;
  background: var(--settings-accent);
}

.settings-body .setting-card:hover,
.settings-body .setting-card:focus-within {
  border-color: var(--settings-line);
  background: color-mix(in srgb, var(--settings-accent) 7%, transparent);
  box-shadow: none;
  transform: none;
}

.settings-body .setting-card h3 {
  color: var(--settings-text);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 850;
}

.settings-body .setting-card p {
  max-width: 690px;
  color: var(--settings-muted);
}

.settings-body .setting-card#payments {
  border-color: var(--settings-line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--settings-caution) 7%, transparent), transparent 48%);
}

.settings-body .setting-card#payments::before {
  background: var(--settings-caution);
}

.settings-body .setting-card#payments .eyebrow {
  color: var(--settings-caution);
}

.settings-body .setting-compat-panel,
.settings-body .accent-compat-panel,
.settings-body .setting-select-trigger,
.settings-body .accent-trigger,
.settings-body .setting-popup-button,
.settings-body .cookie-choice,
.settings-body .swipe-control,
.settings-body .cache-button {
  border-color: var(--settings-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 58%, transparent), transparent),
    color-mix(in srgb, var(--settings-rail) 70%, transparent);
  color: var(--settings-text);
  box-shadow: none;
}

.settings-body .setting-compat-panel strong,
.settings-body .accent-compat-panel strong,
.settings-body .cookie-choice-copy strong {
  color: var(--settings-text);
}

.settings-body .cookie-choice-copy small,
.settings-body .cookie-settings-status {
  color: var(--settings-muted);
}

.settings-body .setting-compat-panel::before,
.settings-body .accent-compat-panel::before {
  background: var(--settings-accent);
}

.settings-body .setting-select-menu,
.settings-body .accent-menu {
  z-index: 270;
  border-color: color-mix(in srgb, var(--settings-accent) 28%, var(--settings-line));
  background: var(--settings-surface-strong);
  box-shadow: var(--settings-shadow);
}

.settings-body .setting-select-menu button,
.settings-body .accent-menu button {
  color: var(--settings-text);
}

.settings-body .setting-select-menu button.is-active,
.settings-body .accent-menu button.is-active {
  background: color-mix(in srgb, var(--settings-accent) 13%, transparent);
}

.settings-body .toggle {
  width: 66px;
  height: 36px;
  border-color: var(--settings-line);
  background: color-mix(in srgb, var(--settings-rail) 86%, transparent);
}

.settings-body .toggle::after {
  background: var(--settings-text);
}

.settings-body .toggle.is-on {
  border-color: color-mix(in srgb, var(--settings-accent) 48%, var(--settings-line));
  background: color-mix(in srgb, var(--settings-accent) 26%, var(--settings-rail));
}

.settings-body .toggle.is-on::after {
  background: #ffffff;
}

.settings-body .swipe-thumb {
  background: var(--settings-text);
}

.settings-body .swipe-control.is-on .swipe-thumb {
  background: var(--settings-accent);
}

.settings-body .setting-popup-button,
.settings-body .cache-button {
  justify-self: end;
  color: var(--settings-text);
}

.settings-body .setting-popup-button:hover,
.settings-body .cache-button:hover,
.settings-body .setting-select-trigger:hover,
.settings-body .accent-trigger:hover {
  border-color: color-mix(in srgb, var(--settings-accent) 42%, var(--settings-line));
  background: color-mix(in srgb, var(--settings-accent) 10%, var(--settings-surface));
}

.settings-body .cache-dialog-panel {
  border-color: color-mix(in srgb, var(--settings-accent) 34%, var(--settings-line));
  background: var(--settings-surface-strong);
}

@media (max-width: 900px) {
  .settings-body .shell.settings-page {
    width: min(760px, calc(100% - 20px));
  }

  .settings-body .settings-hero,
  .settings-body .settings-band,
  .settings-body .settings-sidebar,
  .settings-body .settings-stack,
  .settings-body .settings-overview,
  .settings-body .setting-card {
    max-width: 100%;
    min-width: 0;
  }

  .settings-body .settings-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 26px;
  }

  .settings-body .settings-band {
    grid-template-columns: 1fr;
  }

  .settings-body .settings-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    border-radius: 8px;
  }

  .settings-body .settings-stack {
    overflow: visible;
  }

  .settings-body .setting-card,
  .settings-body .setting-card#display,
  .settings-body .setting-card#accent {
    grid-template-columns: 1fr;
  }

  .settings-body .setting-card#display > div:first-child,
  .settings-body .setting-card#display .setting-compat-panel,
  .settings-body .setting-card#display .setting-select,
  .settings-body .setting-card#accent > div:first-child,
  .settings-body .setting-card#accent .accent-compat-panel,
  .settings-body .setting-card#accent .accent-select,
  .settings-body .setting-card#accent .premium-note {
    grid-column: auto;
    grid-row: auto;
  }

  .settings-body .setting-card > .toggle,
  .settings-body .setting-card > .button,
  .settings-body .setting-card > .swipe-control,
  .settings-body .setting-card > .setting-select,
  .settings-body .setting-card > .accent-select {
    justify-self: stretch;
  }

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

@media (max-width: 480px) {
  .settings-body .shell.settings-page {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .settings-body .settings-page *,
  .settings-body .settings-page *::before,
  .settings-body .settings-page *::after {
    box-sizing: border-box;
  }

  .settings-body .settings-hero {
    width: 100%;
    padding: 24px 18px;
  }

  .settings-body .settings-copy,
  .settings-body .settings-overview,
  .settings-body .settings-overview div,
  .settings-body .settings-sidebar,
  .settings-body .settings-stack,
  .settings-body .setting-card {
    width: 100%;
  }

  .settings-body .settings-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .settings-body .settings-sidebar-title {
    grid-column: 1 / -1;
  }

  .settings-body .settings-sidebar a {
    min-width: 0;
  }

  .settings-body .settings-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 52px);
    line-height: 0.98;
  }

  .settings-body .settings-copy p:not(.eyebrow),
  .settings-body .setting-card p,
  .settings-body .settings-group-label p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .settings-body .settings-overview {
    grid-template-columns: 1fr;
  }

  .settings-body .settings-stack {
    border-right: 0;
    border-left: 0;
  }

  .settings-body .setting-card,
  .settings-body .settings-group-label {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (min-width: 1024px) {
  [data-nav-layout="sidebar"] .settings-body .topbar {
    border: 0;
    border-right: 1px solid rgba(214, 214, 214, 0.2);
    background: #101010;
    color: #e8e8e8;
  }

  [data-nav-layout="sidebar"] .settings-body .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  [data-nav-layout="sidebar"] .settings-body .nav-links a.is-active {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
  }
}

@media (min-width: 1024px) {
  [data-theme][data-nav-layout="sidebar"] .topbar {
    --sidebar-rail-start: #151515;
    --sidebar-rail-mid: #101010;
    --sidebar-rail-end: #090909;
    --sidebar-rail-line: rgba(214, 214, 214, 0.2);
    --sidebar-label: rgba(214, 214, 214, 0.68);
    --sidebar-link: rgba(235, 235, 235, 0.82);
    --sidebar-link-muted: rgba(198, 198, 198, 0.76);
    --sidebar-link-hover: rgba(255, 255, 255, 0.08);
    --sidebar-link-active: rgba(255, 255, 255, 0.13);
    --sidebar-active-icon: #f4f4f4;
    --sidebar-button-bg: rgba(30, 30, 30, 0.92);
    --sidebar-button-line: rgba(218, 218, 218, 0.24);
    border-right: 1px solid var(--sidebar-rail-line);
    background: #101010;
    box-shadow:
      inset -1px 0 0 rgba(255, 255, 255, 0.08),
      18px 0 52px rgba(0, 0, 0, 0.28);
    color: var(--sidebar-link);
  }

  [data-theme="dark"][data-nav-layout="sidebar"] .topbar,
  [data-theme="lights-off"][data-nav-layout="sidebar"] .topbar {
    --sidebar-rail-start: #101010;
    --sidebar-rail-mid: #090909;
    --sidebar-rail-end: #030303;
    --sidebar-rail-line: rgba(226, 226, 226, 0.22);
    --sidebar-label: rgba(220, 220, 220, 0.74);
    --sidebar-link: rgba(242, 242, 242, 0.86);
    --sidebar-link-muted: rgba(204, 204, 204, 0.82);
    --sidebar-link-hover: rgba(255, 255, 255, 0.09);
    --sidebar-link-active: rgba(255, 255, 255, 0.15);
    --sidebar-active-icon: #ffffff;
    --sidebar-button-bg: rgba(24, 24, 24, 0.96);
    --sidebar-button-line: rgba(230, 230, 230, 0.28);
  }

  [data-theme][data-nav-layout="sidebar"] .topbar::after {
    background: linear-gradient(90deg, transparent, var(--sidebar-rail-line), transparent);
  }

  [data-theme][data-nav-layout="sidebar"] .nav-section-label {
    color: var(--sidebar-label);
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a {
    color: var(--sidebar-link);
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a:not(.nav-feedback-link) .nav-icon,
  [data-theme][data-nav-layout="sidebar"] .nav-links a .nav-icon {
    color: var(--sidebar-link-muted);
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a:hover {
    background: var(--sidebar-link-hover);
    color: #ffffff;
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a:hover .nav-icon {
    color: #ffffff;
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a.is-active {
    background: var(--sidebar-link-active);
    color: #ffffff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 13px 30px rgba(0, 0, 0, 0.24);
  }

  [data-theme][data-nav-layout="sidebar"] .nav-links a.is-active .nav-icon {
    color: var(--sidebar-active-icon);
  }

  [data-theme][data-nav-layout="sidebar"] .mobile-menu-button {
    border-color: var(--sidebar-button-line);
    background: var(--sidebar-button-bg);
    color: var(--sidebar-link);
  }

  [data-theme][data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .shell,
  [data-theme][data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .settings-body .shell.settings-page {
    padding-left: 92px;
  }

  [data-theme][data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .topbar,
  [data-theme][data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .settings-body .topbar {
    width: 72px;
    padding-inline: 8px;
  }

[data-theme][data-nav-layout="sidebar"][data-sidebar-collapsed="true"] .mobile-menu-button {
    top: 58px;
    right: 22px;
  }
}

/* Modern neutral control pass */
.button,
.hero-button,
.feedback-cta,
.cache-confirm-button,
.feedback-confirm-button,
.subscribe-confirm-button,
.share-copy-button,
.cookie-notice-actions button,
.pricing-card .button,
.setting-popup-button,
.cache-button,
.share-socials button,
.home-action-grid button {
  border-color: var(--action-border);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--action-muted-bg);
  color: var(--ink);
  box-shadow: none;
}

.button.primary,
.hero-button-contact,
.feedback-cta,
.cache-confirm-button,
.feedback-confirm-button,
.share-copy-button,
.cookie-notice-actions button,
.pricing-card .button,
.pricing-card.is-featured .button,
.button.primary.ultra-button {
  border-color: var(--action-bg);
  background: var(--action-bg);
  color: var(--action-ink);
}

.button:hover,
.hero-button:hover,
.feedback-cta:hover,
.cache-confirm-button:hover,
.feedback-confirm-button:hover,
.subscribe-confirm-button:hover,
.share-copy-button:hover,
.cookie-notice-actions button:hover,
.pricing-card .button:hover,
.setting-popup-button:hover,
.cache-button:hover,
.share-socials button:hover,
.home-action-grid button:hover {
  border-color: var(--action-bg);
  background: color-mix(in srgb, var(--action-bg) 88%, var(--panel-solid));
  color: var(--action-ink);
  transform: translateY(-1px);
}

.button.ghost,
.hero-button-work,
.cookie-notice-actions a,
.cache-cancel-button {
  border-color: var(--action-border);
  background: var(--action-muted-bg);
  color: var(--ink);
}

.share-dialog .share-socials button,
.share-dialog .cache-cancel-button,
.share-dialog .share-copy-button {
  min-height: 46px;
  border-color: color-mix(in srgb, var(--line) 92%, transparent);
  background: color-mix(in srgb, var(--ink) 5%, var(--panel-solid));
  color: var(--ink);
  box-shadow: none;
}

.share-dialog .share-socials button:hover,
.share-dialog .share-socials button:focus-visible,
.share-dialog .cache-cancel-button:hover,
.share-dialog .cache-cancel-button:focus-visible {
  border-color: var(--action-border);
  background: color-mix(in srgb, var(--ink) 9%, var(--panel-solid));
  color: var(--ink);
  transform: none;
}

.share-dialog .share-copy-button,
.share-dialog .share-copy-button:hover,
.share-dialog .share-copy-button:focus-visible {
  border-color: var(--action-bg);
  background: var(--action-bg);
  color: var(--action-ink);
  transform: none;
}

.share-dialog .share-status {
  color: var(--ink);
}

.settings-body {
  --settings-bg:
    linear-gradient(135deg, #111110 0%, #171715 52%, #20201d 100%);
  --settings-surface: rgba(31, 31, 29, 0.76);
  --settings-surface-strong: rgba(38, 38, 35, 0.92);
  --settings-rail: rgba(30, 30, 28, 0.9);
  --settings-line: color-mix(in srgb, var(--line) 92%, rgba(244, 243, 238, 0.12));
  --settings-text: var(--ink);
  --settings-muted: var(--muted);
  --settings-accent: #c7c0b4;
  --settings-caution: #d8d5cc;
  --settings-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  --settings-soft-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  --settings-grid-line: rgba(244, 243, 238, 0.055);
}

.settings-body .settings-hero,
.settings-body .settings-stack,
.settings-body .settings-sidebar,
.settings-body .settings-overview div,
.settings-body .settings-group-label,
.settings-body .setting-compat-panel,
.settings-body .accent-compat-panel,
.settings-body .setting-select-trigger,
.settings-body .accent-trigger,
.settings-body .setting-popup-button,
.settings-body .cookie-choice,
.settings-body .swipe-control,
.settings-body .cache-button {
  border-color: var(--settings-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--settings-surface-strong) 68%, transparent), transparent),
    var(--settings-surface);
  color: var(--settings-text);
}

.settings-body .settings-hero {
  background:
    linear-gradient(var(--settings-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--settings-grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--settings-surface-strong), var(--settings-surface));
  background-size: 34px 34px, 34px 34px, auto;
}

.settings-body .settings-hero::before {
  border-color: color-mix(in srgb, var(--settings-line) 78%, transparent);
}

.settings-body .settings-overview div::after,
.settings-body .setting-card::before,
.settings-body .setting-compat-panel::before,
.settings-body .accent-compat-panel::before,
.settings-body .setting-card#payments::before {
  background: linear-gradient(180deg, var(--settings-accent), transparent);
}

.settings-body .settings-copy .eyebrow,
.settings-body .settings-overview span,
.settings-body .settings-sidebar-title span,
.settings-body .settings-group-label span,
.settings-body .setting-card .eyebrow,
.settings-body .setting-card#payments .eyebrow,
.settings-body .setting-compat-panel span,
.settings-body .accent-compat-panel span,
.settings-body [data-payment-block-status][data-payment-state="blocked"] {
  color: var(--settings-accent);
}

.settings-body .settings-sidebar a:hover,
.settings-body .settings-sidebar a.is-active,
.settings-body .setting-card:hover,
.settings-body .setting-card:focus-within,
.settings-body .setting-select-menu button.is-active,
.settings-body .accent-menu button.is-active {
  border-color: var(--settings-line);
  background: color-mix(in srgb, var(--settings-text) 7%, var(--settings-surface));
  color: var(--settings-text);
  box-shadow: none;
}

.settings-body .setting-card#payments {
  background: color-mix(in srgb, var(--settings-text) 3%, transparent);
}

.settings-body .toggle {
  border-color: var(--settings-line);
  background: color-mix(in srgb, var(--settings-text) 8%, var(--settings-rail));
}

.settings-body .toggle.is-on {
  border-color: var(--action-border);
  background: color-mix(in srgb, var(--action-bg) 18%, var(--settings-rail));
}

.settings-body .toggle.is-on::after {
  background: var(--action-bg);
}

.settings-body .swipe-control.is-on .swipe-thumb {
  background: var(--action-bg);
}

.settings-body .setting-popup-button:hover,
.settings-body .cache-button:hover,
.settings-body .setting-select-trigger:hover,
.settings-body .accent-trigger:hover {
  border-color: var(--action-border);
  background: color-mix(in srgb, var(--settings-text) 8%, var(--settings-surface));
  color: var(--settings-text);
}

.nav-links a.nav-feedback-link,
[data-nav-layout="sidebar"] .nav-links a.nav-feedback-link {
  border-color: rgba(226, 226, 226, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(242, 242, 242, 0.88);
  box-shadow: none;
}

.nav-links a.nav-feedback-link:hover,
.nav-links a.nav-feedback-link.is-active,
[data-nav-layout="sidebar"] .nav-links a.nav-feedback-link:hover,
[data-nav-layout="sidebar"] .nav-links a.nav-feedback-link.is-active {
  border-color: rgba(244, 244, 244, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.context-menu [data-context-action="close"] {
  --accent: var(--danger-bg);
}

.context-menu [data-context-action="close"]:hover,
.context-menu [data-context-action="close"]:focus-visible {
  background: color-mix(in srgb, var(--danger-bg) 14%, transparent);
  color: var(--danger-bg);
}

[data-accent="blue"],
[data-accent="green"],
[data-accent="rose"],
[data-accent="orange"],
[data-accent="purple"],
[data-accent="pro-gold"],
[data-accent="team-cyan"] {
  --accent: #c7c0b4;
}

.home-body,
.about-body,
.bio-body,
.creator-body,
.faq-body,
.privacy-body,
.license-body,
.terms-body,
.accessibility-body,
.updates-body,
.settings-body {
  --accent: #c7c0b4;
  --legal-accent: #c7c0b4;
  --settings-accent: #c7c0b4;
  --settings-caution: #d8d5cc;
}

.pricing-card,
.pricing-card.is-featured,
.pricing-card.creator-card,
.pricing-card.pro-card,
.pricing-card.enterprise-card,
.ultra-card {
  --plan-accent: #c7c0b4;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-solid) 92%, transparent), transparent),
    var(--card-bg);
  box-shadow: var(--shadow);
}

.plan-pill,
.plan-price,
.pricing-card strong,
.home-latest-list span,
.bio-kicker,
.creator-studio-tag,
.faq-answer-marker,
.policy-dossier article > span,
.license-dossier article > span,
.terms-dossier article > span,
.accessibility-dossier article > span {
  color: var(--accent);
}

.accent-dot,
.setting-card#payments::before,
.settings-body .setting-card#payments::before,
.settings-body .setting-card::before,
.policy-dossier article > span::after,
.license-dossier article > span::after,
.terms-dossier article > span::after,
.accessibility-dossier article > span::after {
  background: var(--accent);
}

.beta-lab-dialog-panel {
  width: min(680px, calc(100vw - 24px));
}

.beta-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.beta-feature-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 3%, var(--panel-solid));
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.beta-feature-card:hover,
.beta-feature-card:focus-visible {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
  background: color-mix(in srgb, var(--ink) 7%, var(--panel-solid));
}

.beta-feature-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--ink);
}

.beta-feature-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beta-feature-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.beta-feature-copy strong {
  font-size: 15px;
  line-height: 1.3;
}

.beta-feature-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.beta-feature-state {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.beta-feature-state[data-beta-feature-state="active"] {
  border-color: color-mix(in srgb, var(--ink) 26%, var(--line));
  background: color-mix(in srgb, var(--ink) 12%, var(--panel-solid));
  color: var(--ink);
}

:root[data-settings-redesign="true"] .settings-body {
  --settings-bg: #121313;
  --settings-rail: #181918;
  --settings-panel: #20211f;
  --settings-panel-strong: #f2f1ec;
  --settings-line: rgba(242, 241, 236, 0.14);
  --settings-muted: #aaa79f;
  --settings-ink: #f5f3ee;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 340px),
    var(--settings-bg);
}

:root[data-settings-redesign="true"] .settings-body .shell.settings-page {
  width: min(calc(100% - 28px), 1380px);
  gap: 18px;
}

:root[data-settings-redesign="true"] .settings-body .topbar {
  border-radius: 8px;
  background: rgba(30, 31, 29, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

:root[data-settings-redesign="true"] .settings-body .settings-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  padding: clamp(26px, 4vw, 46px);
  border-color: var(--settings-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 54%),
    #1b1c1a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

:root[data-settings-redesign="true"] .settings-body .settings-hero::before,
:root[data-settings-redesign="true"] .settings-body .settings-overview div::after,
:root[data-settings-redesign="true"] .settings-body .setting-card::before,
:root[data-settings-redesign="true"] .settings-body .setting-card#payments::before {
  content: none;
}

:root[data-settings-redesign="true"] .settings-body .settings-copy {
  align-self: center;
  max-width: 760px;
}

:root[data-settings-redesign="true"] .settings-body .settings-hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: 0;
}

:root[data-settings-redesign="true"] .settings-body .settings-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--settings-muted);
}

:root[data-settings-redesign="true"] .settings-body .settings-overview {
  grid-template-columns: 1fr;
  align-content: stretch;
}

:root[data-settings-redesign="true"] .settings-body .settings-overview div {
  min-height: 92px;
  border-color: var(--settings-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

:root[data-settings-redesign="true"] .settings-body .settings-band {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

:root[data-settings-redesign="true"] .settings-body .settings-sidebar {
  top: 86px;
  padding: 12px;
  border-color: var(--settings-line);
  border-radius: 8px;
  background: rgba(30, 31, 29, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

:root[data-settings-redesign="true"] .settings-body .settings-sidebar-title {
  padding: 10px 10px 14px;
}

:root[data-settings-redesign="true"] .settings-body .settings-sidebar a {
  min-height: 44px;
  border-radius: 8px;
}

:root[data-settings-redesign="true"] .settings-body .settings-sidebar a:hover,
:root[data-settings-redesign="true"] .settings-body .settings-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.08);
}

:root[data-settings-redesign="true"] .settings-body .settings-stack {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

:root[data-settings-redesign="true"] .settings-body .settings-group-label {
  margin: 18px 0 2px;
  padding: 0 4px;
  border: 0;
  background: transparent;
}

:root[data-settings-redesign="true"] .settings-body .settings-group-label:first-child {
  margin-top: 0;
}

:root[data-settings-redesign="true"] .settings-body .setting-card {
  min-height: 112px;
  padding: 20px;
  border-color: var(--settings-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

:root[data-settings-redesign="true"] .settings-body .setting-card:hover,
:root[data-settings-redesign="true"] .settings-body .setting-card:focus-within {
  border-color: rgba(242, 241, 236, 0.26);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

:root[data-settings-redesign="true"] .settings-body .setting-card#display,
:root[data-settings-redesign="true"] .settings-body .setting-card#accent {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-settings-redesign="true"] .settings-body .setting-compat-panel,
:root[data-settings-redesign="true"] .settings-body .accent-compat-panel,
:root[data-settings-redesign="true"] .settings-body .setting-select-trigger,
:root[data-settings-redesign="true"] .settings-body .accent-trigger,
:root[data-settings-redesign="true"] .settings-body .setting-popup-button,
:root[data-settings-redesign="true"] .settings-body .notification-test-button,
:root[data-settings-redesign="true"] .settings-body .beta-status,
:root[data-settings-redesign="true"] .settings-body .notification-status,
:root[data-settings-redesign="true"] .settings-body .cookie-choice,
:root[data-settings-redesign="true"] .settings-body .swipe-control,
:root[data-settings-redesign="true"] .settings-body .cache-button {
  border-color: var(--settings-line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--settings-ink);
}

:root[data-settings-redesign="true"] .settings-body .toggle {
  border-color: var(--settings-line);
  background: rgba(255, 255, 255, 0.08);
}

:root[data-settings-redesign="true"] .settings-body .toggle.is-on {
  background: var(--settings-panel-strong);
}

:root[data-settings-redesign="true"] .settings-body .toggle.is-on::after {
  background: #161714;
}

@media (max-width: 760px) {
  .beta-feature-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .beta-feature-state {
    grid-column: 2;
    width: fit-content;
  }

  :root[data-settings-redesign="true"] .settings-body .settings-hero,
  :root[data-settings-redesign="true"] .settings-body .settings-band {
    grid-template-columns: 1fr;
  }

  :root[data-settings-redesign="true"] .settings-body .settings-sidebar {
    position: static;
    display: flex;
  }

  :root[data-settings-redesign="true"] .settings-body .settings-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .topbar,
  .settings-sidebar,
  .mobile-menu,
  .mobile-quick-actions,
  .scroll-actions,
  .loading-bar,
  .scroll-progress,
  .context-menu,
  .cache-dialog,
  .adblock-notice,
  .share-button,
  .button,
  .feedback-cta,
  .contact-links {
    display: none !important;
  }

  .shell,
  .page-shell,
  .hero,
  .content-grid,
  .settings-layout {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-panel,
  .profile-card,
  .setting-card,
  .pricing-card,
  .faq-card,
  .bio-card,
  .about-card {
    break-inside: avoid;
    border-color: #dddddd !important;
    background: #ffffff !important;
    color: #111111 !important;
  }

  a {
    color: #111111 !important;
    text-decoration: underline;
  }
}
