@font-face {
  font-family: Sora;
  src: url("assets/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #0d0d10;
  --surface: #151519;
  --raised: #1c1b22;
  --line: #2b2932;
  --strong-line: #3d3845;
  --text: #f5f2f6;
  --muted: #b9b3c0;
  --subdued: #9f98a8;
  --accent: #f4b9dd;
  --green: #a5ddc2;
  --amber: #f2cc91;
  --display: Sora, system-ui, sans-serif;
  --body: system-ui, sans-serif;
  --gutter: clamp(1.125rem, 4vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 1rem/1.55 var(--body);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: var(--display);
  letter-spacing: -0.045em;
}
h1,
h2,
h3 {
  font-weight: 530;
  line-height: 1.16;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.65rem;
  transform: translateY(-200%);
  z-index: 10;
  background: var(--accent);
  color: #1a1018;
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: min(1170px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 620;
  white-space: nowrap;
}
.brand img {
  flex: none;
  border-radius: 0.32rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.58rem;
  width: fit-content;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 0.66rem;
  padding: 0.62rem 0.92rem;
  font-size: 0.86rem;
  font-weight: 640;
  line-height: 1.3;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}
.button.primary {
  background: #f0c2df;
  color: #261523;
  padding-inline: 1.05rem;
}
.button.primary:hover {
  background: #f9d6eb;
}
.button.secondary,
.icon-button {
  border-color: var(--strong-line);
  background: #201d25;
  color: var(--text);
}
.button.secondary:hover,
.icon-button:hover {
  background: #2c2632;
  border-color: #60556a;
}
.button.small {
  min-height: 44px;
  padding: 0.48rem 0.76rem;
  font-size: 0.79rem;
}
.arrow-mark {
  display: inline-block;
  position: relative;
  width: 0.7em;
  height: 0.7em;
  opacity: 0.82;
  flex: 0 0 0.7em;
}
.arrow-mark::before {
  content: "";
  position: absolute;
  width: 0.57em;
  height: 0.57em;
  top: 0;
  right: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}
.arrow-mark::after {
  content: "";
  position: absolute;
  width: 0.82em;
  height: 1px;
  top: 50%;
  left: 0;
  background: currentColor;
  transform: rotate(-45deg);
}
.chevron {
  width: 0.46em;
  height: 0.46em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.demo-switch,
.environment {
  display: inline-flex;
  max-width: 100%;
  gap: 0.18rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #17151d;
}
.demo-switch button,
.environment button {
  min-height: 44px;
  border: 0;
  border-radius: 0.43rem;
  background: transparent;
  padding: 0.42rem 0.62rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}
.demo-switch button:hover,
.environment button:hover {
  color: var(--text);
}
.demo-switch [aria-pressed="true"],
.environment [aria-pressed="true"] {
  background: #332939;
  color: #f9e4f5;
}
.app-bar {
  background: #151217;
  border-bottom: 1px solid var(--line);
}
.app-bar-inner {
  width: min(1300px, calc(100% - var(--gutter) * 2));
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.app-back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--muted);
}
.app-back:hover {
  color: var(--accent);
}
.app-slash {
  color: #867e8f;
}
.app-site-name {
  color: #d1c8d6;
  font-size: 0.85rem;
}
.settings-grid {
  width: min(1300px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(12.6rem, 15rem) minmax(0, 1fr);
  align-items: start;
  min-height: calc(100vh - 67px);
}
.settings-sidebar {
  position: sticky;
  top: 0;
  min-height: 100%;
  padding: 2rem 1rem 2rem 0;
  border-right: 1px solid var(--line);
}
.settings-sidebar-title {
  display: flex;
  gap: 0.68rem;
  align-items: center;
  margin-bottom: 1.4rem;
  font-size: 0.87rem;
}
.settings-sidebar-title img {
  border-radius: 0.48rem;
}
.settings-sidebar-title span {
  display: block;
  color: var(--subdued);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.1rem;
}
.settings-menu-toggle {
  display: none;
}
.settings-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.settings-search input {
  width: 100%;
  min-height: 44px;
  padding: 0.56rem 2.1rem 0.56rem 2rem;
  border: 1px solid var(--strong-line);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.57rem;
  font-size: 0.82rem;
}
.settings-search input::placeholder {
  color: #b8afc0;
}
.settings-search kbd {
  position: absolute;
  right: 0.55rem;
  border: 1px solid var(--line);
  padding: 0 0.3rem;
  border-radius: 0.23rem;
  font-size: 0.75rem;
  color: var(--muted);
  pointer-events: none;
}
.search-icon {
  position: absolute;
  left: 0.72rem;
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
}
.search-icon::after {
  content: "";
  position: absolute;
  width: 0.3rem;
  height: 1px;
  background: var(--muted);
  right: -0.2rem;
  bottom: -0.09rem;
  transform: rotate(45deg);
}
.nav-group {
  margin-top: 1.25rem;
}
.nav-group p {
  margin: 0 0 0.25rem 0.5rem;
  color: var(--subdued);
  font-size: 0.75rem;
}
.nav-group a {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  padding: 0.44rem 0.52rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 0.49rem;
  color: var(--muted);
  font-size: 0.83rem;
}
.nav-group a:hover {
  background: var(--surface);
  color: var(--text);
}
.nav-group [aria-current="page"] {
  color: #fae9f5;
  background: #302433;
  border-color: #453249;
}
.nav-icon {
  color: #cbb2d3;
  width: 1.25rem;
  text-align: center;
  font-size: 0.92rem;
}
.no-settings {
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 0.75rem;
}
.settings-main {
  min-width: 0;
  padding: 1.7rem 0 3rem clamp(1.3rem, 3.8vw, 3.4rem);
}
.settings-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.settings-context > p {
  font-size: 0.8rem;
  color: var(--subdued);
}
.settings-context > p span:first-child {
  margin-inline: 0.18rem;
}
.settings-breadcrumb {
  color: #dcd3e2;
}
.environment button {
  min-width: 3.4rem;
}
.settings[data-environment="live"] .environment [aria-pressed="true"] {
  background: #4a352b;
  color: #ffe0b2;
}
.prototype-notice {
  display: flex;
  align-items: center;
  gap: 0.44rem;
  width: fit-content;
  color: #d8bdd8;
  background: #241b29;
  border: 1px solid #392a3d;
  border-radius: 0.47rem;
  padding: 0.29rem 0.5rem;
  font-size: 0.75rem;
  margin-top: 1.08rem;
}
.prototype-notice .dot {
  width: 0.33rem;
  height: 0.33rem;
  flex-basis: 0.33rem;
}
.settings-heading {
  margin: 1.65rem 0 1.3rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.65rem;
}
.settings-heading h1:focus {
  outline: none;
}
.settings-heading h1 {
  font-size: clamp(1.93rem, 4vw, 2.9rem);
}
.settings-heading p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.overview-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
  margin-bottom: 0.9rem;
}
.status-panel,
.details-panel {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
}
.status-panel {
  padding: 1rem;
  min-height: 10rem;
  display: flex;
  align-items: start;
  flex-direction: column;
}
.panel-label {
  color: #cbb9d0;
  font-size: 0.77rem;
}
.status-panel h2 {
  font-size: clamp(0.98rem, 1.65vw, 1.2rem);
  margin-top: 0.43rem;
  color: #f2e9f5;
}
.status-panel .status-heading-good {
  color: var(--green);
}
.status-panel .status-heading-warn {
  color: var(--amber);
}
.status-panel p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.37rem;
  margin-bottom: 0.35rem;
}
.status-panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 44px;
  color: #f3bce1;
  margin-top: auto;
  font-size: 0.8rem;
}
.status-panel a:hover {
  text-decoration: underline;
}
.details-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.65rem;
  padding: 1rem;
}
.details-header h2 {
  font-size: 1.13rem;
}
.details-header p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.status-list li {
  border-top: 1px solid var(--line);
  min-height: 67px;
  padding: 0.61rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.67rem;
}
.row-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.row-name strong,
.row-name small {
  display: block;
}
.row-name strong {
  font-size: 0.85rem;
}
.row-name small,
.row-meta {
  color: var(--muted);
  font-size: 0.76rem;
}
.row-meta,
.tag {
  white-space: nowrap;
}
.masked,
.variable-name {
  font-family: ui-monospace, monospace;
}
.status-icon,
.provider-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  background: #272030;
  border: 1px solid #40334b;
  border-radius: 0.46rem;
  color: #d4bade;
  font-size: 0.84rem;
}
.status-icon.success,
.tag.success {
  color: var(--green);
}
.provider-icon {
  font-weight: 720;
}
.provider-icon.stripe {
  background: #30285b;
  color: #ded3ff;
}
.provider-icon.shippo {
  background: #233a33;
  color: #b5edd2;
}
.tag {
  padding: 0.31rem 0.47rem;
  border: 1px solid #3f4b43;
  background: #1b3027;
  border-radius: 0.37rem;
  font-weight: 570;
  font-size: 0.75rem;
  line-height: 1.25;
}
.tag.warning {
  color: var(--amber);
  background: #36291e;
  border-color: #61452b;
}
.tag.neutral {
  color: #e0caed;
  background: #31263b;
  border-color: #4e3c58;
}
.settings[data-environment="live"] .env-label {
  color: #ffe0b2;
  background: #412d22;
  border-color: #664530;
}
.detail-dialog {
  width: min(29rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  background: #211b26;
  color: var(--text);
  padding: 1.15rem;
  border: 1px solid #564463;
  border-radius: 0.8rem;
}
.detail-dialog::backdrop {
  background: #08060ac7;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.dialog-header h2 {
  font-size: 1.25rem;
}
.icon-button {
  width: 44px;
  min-height: 44px;
  border-radius: 0.47rem;
  font-size: 1.3rem;
}
.detail-dialog > p {
  color: var(--muted);
  margin-top: 0.5rem;
}
.detail-dialog > .button {
  margin-top: 0.95rem;
}
.dns-record {
  display: grid;
  gap: 0.4rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  margin-top: 0.7rem;
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}
.dns-record code {
  color: #ffe3f8;
}

@media (max-width: 930px) {
  .hero {
    gap: 1.65rem;
  }
  .hero h1 {
    font-size: clamp(2.28rem, 4.65vw, 3.1rem);
  }
  .overview-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .app-bar-inner {
    min-height: 58px;
    gap: 0.58rem;
  }
  .app-site-name,
  .app-slash {
    display: none;
  }
  .settings-grid {
    display: block;
    min-height: auto;
  }
  .settings-sidebar {
    position: static;
    border: 0;
    padding: 0.85rem 0 0;
  }
  .settings-sidebar-title {
    margin-bottom: 0.64rem;
  }
  .settings-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0.53rem 0.68rem;
    border: 1px solid var(--strong-line);
    background: var(--surface);
    border-radius: 0.58rem;
    font-size: 0.84rem;
  }
  .settings-nav-content {
    display: none;
    padding: 0.62rem;
    background: #1c1722;
    border: 1px solid var(--line);
    border-radius: 0.58rem;
    margin-top: 0.43rem;
  }
  .settings-sidebar[data-open="true"] .settings-nav-content {
    display: block;
  }
  .settings-main {
    padding: 0.8rem 0 2.2rem;
  }
  .settings-heading {
    margin-top: 1.2rem;
  }
}
@media (max-width: 480px) {
  .settings-context {
    gap: 0.45rem;
  }
  .settings-context > p {
    font-size: 0.75rem;
  }
  .environment button {
    min-width: 2.7rem;
    padding-inline: 0.46rem;
  }
  .settings-heading {
    align-items: start;
    flex-direction: column;
  }
  .status-panel {
    min-height: 0;
  }
  .status-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 0.73rem;
    gap: 0.38rem 0.55rem;
  }
  .status-list li .button {
    grid-column: 2 / -1;
  }
  .status-list li .masked {
    grid-column: 2;
    grid-row: 2;
  }
  .status-list li .tag {
    justify-self: end;
  }
  .status-list li .row-meta:has(+ .tag):not(.masked) {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --canvas: #080808;
  --surface: #131313;
  --raised: #1d1d1d;
  --line: #2c2c2c;
  --strong-line: #414141;
  --text: #f3f2f0;
  --muted: #bbb9b8;
  --subdued: #a6a3a4;
  --accent: #efdadf;
  --green: #9bdcbb;
  --amber: #eac28b;
  --body: Sora, Arial, sans-serif;
}
.settings {
  font-weight: 380;
}
.app-bar {
  background: #090909;
}
.app-bar-inner,
.settings-grid {
  width: min(1480px, calc(100% - 36px));
}
.app-bar-inner {
  min-height: 70px;
}
.app-back {
  padding: 0 14px;
  border-radius: 26px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: #171717;
}
.app-site-name,
.settings-breadcrumb,
.nav-icon,
.panel-label,
.dns-record code {
  color: #c9c7c7;
}
.settings-sidebar-title img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.nav-group [aria-current="page"],
.environment [aria-pressed="true"] {
  border-color: #383838;
  color: white;
  background: linear-gradient(125deg, #353334, #252424);
}
.settings[data-environment="preview"] .environment [aria-pressed="true"] {
  color: #cdf1dc;
  background: #26372f;
}
.environment,
.settings-nav-content,
.detail-dialog,
.icon-button,
.button.secondary,
.settings-menu-toggle,
.settings-search input,
.status-icon {
  background: #191919;
  color: #e1dfdf;
  border-color: var(--line);
}
.settings-search input::placeholder {
  color: #adaaaa;
}
.environment {
  border-radius: 24px;
}
.environment button {
  border-radius: 20px;
}
.prototype-notice {
  background: #1b1b1b;
  border-color: #323232;
  color: #c6c5c4;
  border-radius: 20px;
}
.settings-heading h1 {
  letter-spacing: -0.065em;
  font-weight: 365;
}
.readiness {
  display: grid;
  grid-template-columns: minmax(150px, 0.75fr) minmax(240px, 1.35fr);
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #323232;
  border-radius: 16px;
  background: linear-gradient(140deg, #212021, #111 77%);
}
.readiness-visual {
  position: relative;
  min-height: 222px;
  overflow: hidden;
  background: #092217;
}
.readiness-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
}
.readiness-visual > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, #00140fd9);
}
.readiness-visual strong,
.readiness-visual small {
  display: block;
}
.readiness-visual strong {
  font:
    italic 40px Georgia,
    serif;
  letter-spacing: -0.07em;
}
.readiness-visual small {
  font-size: 12px;
  color: #e3e4e1;
}
.readiness-data {
  padding: 20px;
}
.readiness-data h2 {
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 390;
  margin: 4px 0 13px;
}
.check-meter {
  margin-top: 9px;
}
.check-meter > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #c7c5c4;
}
.check-meter b {
  font-weight: 420;
}
.check-meter meter {
  appearance: none;
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 5px;
  border: none;
  background: #363636;
  border-radius: 5px;
}
.check-meter meter::-webkit-meter-bar {
  border: 0;
  background: #363636;
  border-radius: 5px;
  height: 5px;
}
.check-meter meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #48866c, #a9dfbe);
  border-radius: 5px;
}
.check-meter meter::-moz-meter-bar {
  background: #91cfae;
}
.settings[data-environment="live"]
  .check-meter
  meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #846537, #ecbe83);
}
.status-panel,
.details-panel {
  background: linear-gradient(145deg, #191919, #111);
  border-radius: 13px;
}
.status-panel a {
  color: #e4dfdc;
}
.tag.neutral {
  background: #282828;
  border-color: #444;
  color: #e2dfde;
}
.status-list .button {
  border-radius: 19px;
}
.settings small {
  font-size: 12px;
}
@media (max-width: 720px) {
  .app-bar-inner {
    min-height: 61px;
  }
  .settings-nav-content {
    background: #181818;
  }
  .readiness-visual {
    min-height: 132px;
  }
  .readiness {
    grid-template-columns: 1fr;
  }
  .readiness-visual img {
    object-position: 50% 44%;
  }
  .readiness-data {
    padding: 16px;
  }
  .settings-sidebar {
    position: static;
  }
  .readiness-visual strong {
    font-size: 34px;
  }
}
@media (max-width: 480px) {
  .overview-panels { grid-template-columns: minmax(0, 1fr); }
}

/* Website Settings shares the approved public site's typography and material palette. */
.settings{background:#101310;color:#f0f1e9}
.app-bar{background:#101310;border-bottom-color:#30372f}.brand img.pebble-lock{width:136px;height:auto;max-width:none;border-radius:0}
.settings-sidebar{border-color:#30362d}.settings-sidebar-title{border-bottom-color:#30372e}.nav-group [aria-current="page"]{background:#283125;color:#e3eed8;border-color:#404d3a}
.settings-heading h1{font-weight:520;letter-spacing:-.074em}.settings-context{border-bottom:1px solid #30372f;padding-bottom:15px}.settings-heading{margin-top:26px}
.environment{border-color:#3d4738;background:#181d18}.environment button{min-height:39px}.settings[data-environment="preview"] .environment [aria-pressed="true"]{background:#2c3b28;color:#d7edc4}.settings[data-environment="live"] .environment [aria-pressed="true"]{background:#3b3023;color:#ffdaab}
.readiness,.details-panel,.status-panel{border-color:#343d30;border-radius:14px;background:#191e19}.readiness{grid-template-columns:minmax(205px,.85fr) minmax(0,1.5fr)}.readiness-visual{min-height:215px}.readiness-visual img{object-position:67% 50%}
.readiness-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.readiness-head h2{margin:0;line-height:1.1;letter-spacing:-.055em}
.check-total{display:grid;justify-items:end;white-space:nowrap;color:#d6e9c5;line-height:1.15;font-weight:550;font-size:19px}.check-total small{font-size:12px;color:#b3bfad;font-weight:450;letter-spacing:0}.status-panel a,.details-panel a{color:#dcebd2}
.settings[data-environment="live"] .check-total{color:#efd0a5}.status-panel{box-shadow:inset 0 1px #ffffff05}.settings-search:focus-within{outline:2px solid #acc59c}.settings .tag.success{background:#283a27;color:#c4dfb6}
@media(max-width:720px){.readiness{grid-template-columns:1fr}.readiness-visual{min-height:110px}.settings-heading{margin-top:20px}.app-bar .brand img.pebble-lock{width:114px}.environment button{min-height:44px}.readiness-head{align-items:flex-start}}
