@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/oxanium-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/oxanium-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #090a0d;
  --sidebar: #0b0d11;
  --surface: #12151b;
  --surface-2: #171b21;
  --surface-3: #1d2129;
  --line: #2e343d;
  --line-soft: rgba(154, 161, 173, 0.14);
  --red: #f05268;
  --red-bright: #ff647a;
  --red-deep: #7d3041;
  --red-dark: #26151b;
  --text: #f5f6f8;
  --soft: #d6d9df;
  --muted: #9aa1ad;
  --muted-dark: #737b88;
  --green: #72e4a0;
  --radius: 18px;
  --shadow: 0 28px 85px rgba(0, 0, 0, 0.42);
  --font-display: "Oxanium", "Bahnschrift", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 12%, rgba(240, 82, 104, 0.07), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 25%, #000, transparent 75%);
}

body::selection { color: #fff; background: var(--red-deep); }

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 9px 14px;
  color: #fff;
  background: var(--red-deep);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 21px 15px 18px;
  display: flex;
  flex-direction: column;
  background: rgba(11, 13, 17, 0.97);
  border-right: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand {
  min-height: 58px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand > img,
.mobile-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(240, 82, 104, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(240, 82, 104, 0.12);
}

.brand > span {
  min-width: 0;
  display: grid;
  line-height: 1.2;
}

.brand strong { font-size: 13px; }

.brand small {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav {
  margin-top: 30px;
  display: grid;
  gap: 7px;
}

.nav-item,
.side-links a {
  width: 100%;
  min-height: 45px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-dark);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.nav-item:hover,
.side-links a:hover {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.02);
}

.nav-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(38, 21, 27, 0.96), rgba(30, 23, 27, 0.9));
  border-color: #66303d;
  box-shadow: inset 3px 0 var(--red);
}

.nav-icon {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  background: #14171c;
  border: 1px solid #292f37;
  border-radius: 7px;
}

.nav-item.is-active .nav-icon {
  background: rgba(240, 82, 104, 0.1);
  border-color: rgba(240, 82, 104, 0.22);
}

.nav-icon img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.nav-item.is-active .nav-icon img { opacity: 1; }

.nav-icon--small {
  width: 24px;
  height: 24px;
  background: transparent;
  border-color: transparent;
}

.nav-icon--small img { width: 10px; height: 10px; }

.sidebar-spacer { flex: 1; }

.side-links {
  padding-top: 15px;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line-soft);
}

.side-links a { min-height: 38px; font-size: 10px; }

.side-links a.is-active {
  color: #fff;
  background: rgba(240, 82, 104, 0.08);
  border-color: rgba(240, 82, 104, 0.2);
}

.sidebar-version {
  margin-top: 15px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4e5560;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.sidebar-version b {
  padding: 3px 5px;
  color: var(--red);
  background: rgba(240, 82, 104, 0.07);
  border: 1px solid rgba(240, 82, 104, 0.16);
  border-radius: 4px;
  font-size: 7px;
}

.app-main {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ambient-texture {
  position: fixed;
  inset: 78px 0 0 220px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(circle at 78% 16%, rgba(240, 82, 104, 0.12), transparent 24rem),
    radial-gradient(rgba(255, 255, 255, 0.11) 0.55px, transparent 0.75px);
  background-size: auto, 4px 4px;
  -webkit-mask-image: linear-gradient(115deg, transparent 2%, #000 38%, #000 82%, transparent 100%);
  mask-image: linear-gradient(115deg, transparent 2%, #000 38%, #000 82%, transparent 100%);
}

.ambient-contours {
  position: absolute;
  top: -18%;
  right: -7%;
  width: min(82vw, 1120px);
  height: 136%;
  opacity: 0.52;
  filter: drop-shadow(0 0 18px rgba(240, 82, 104, 0.035));
  transform-origin: 72% 36%;
  animation: ambient-contour-drift 22s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(ellipse at 73% 38%, #000 12%, rgba(0, 0, 0, 0.92) 45%, transparent 82%);
  mask-image: radial-gradient(ellipse at 73% 38%, #000 12%, rgba(0, 0, 0, 0.92) 45%, transparent 82%);
}

.ambient-contours path {
  fill: none;
  stroke: rgba(154, 161, 173, 0.12);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.ambient-contours path:nth-child(3n) { stroke: rgba(240, 82, 104, 0.16); }
.ambient-contours path:nth-child(4n) { stroke: rgba(214, 217, 223, 0.08); }

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  padding: 0 clamp(24px, 4vw, 58px);
  display: flex;
  align-items: center;
  background: rgba(9, 10, 13, 0.82);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.mobile-brand { display: none; }

.page-heading {
  display: grid;
  line-height: 1.25;
}

.page-heading small {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-heading strong {
  margin-top: 4px;
  color: var(--soft);
  font-size: 13px;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-status {
  min-height: 35px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-dark);
  background: #111419;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-status i {
  width: 6px;
  height: 6px;
  background: #626a76;
  border-radius: 50%;
}

.service-status.is-online { color: #a9daba; }
.service-status.is-online i { background: var(--green); box-shadow: 0 0 10px rgba(114, 228, 160, 0.62); }
.service-status.is-unknown { color: #c9aa73; }
.service-status.is-unknown i { background: #d3a550; }
.service-status.is-checking i { animation: status-pulse 1.4s ease-in-out infinite; }

.language-control select {
  min-height: 35px;
  padding: 0 29px 0 11px;
  color: var(--soft);
  background: #111419;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.workspace {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 58px);
  flex: 1;
}

.release-announcement {
  margin-bottom: 24px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(100deg, rgba(240, 82, 104, 0.1), rgba(18, 21, 27, 0.92));
  border: 1px solid rgba(240, 82, 104, 0.25);
  border-radius: 12px;
  box-shadow: inset 3px 0 var(--red);
}

.release-announcement-label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff9baa;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-announcement-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(240, 82, 104, 0.72);
}

.release-announcement p {
  margin: 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.55;
}

.app-panel[hidden] { display: none; }

.app-panel {
  animation: panel-in 180ms ease-out;
}

.panel-heading {
  min-height: 80px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  color: var(--red);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.panel-heading h1 {
  margin: 7px 0 0;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.panel-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Legal */
.legal-heading { align-items: center; }
.legal-back { flex: none; gap: 8px; }
.legal-card {
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(155deg, rgba(25, 28, 35, 0.96), rgba(14, 17, 22, 0.98));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}
.legal-status { margin: 0; color: var(--muted); font-size: 11px; }
.legal-status.is-error { color: #ff8c9d; }
.legal-content { max-width: 850px; }
.legal-intro { margin: 0; color: var(--soft); font-size: 13px; line-height: 1.8; }
.legal-content section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.legal-content h2 { margin: 0 0 10px; color: #fff; font-size: 16px; letter-spacing: -0.02em; }
.legal-content p,
.legal-content li { color: var(--muted); font-size: 12px; line-height: 1.75; }
.legal-content p { margin: 0; }
.legal-content ul { margin: 10px 0 0; padding-left: 20px; }
.legal-content li + li { margin-top: 5px; }
.legal-content .legal-important {
  padding: 20px;
  background: rgba(240, 82, 104, 0.055);
  border: 1px solid rgba(240, 82, 104, 0.19);
  border-radius: 12px;
}
.legal-important h2 { color: #ff9baa; }

.icon-button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 150ms ease, background 150ms ease;
}

.icon-button:hover { background: var(--surface-2); border-color: #424955; }
.icon-button img { width: 13px; filter: brightness(0) invert(1); opacity: 0.65; }

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

.product-option {
  min-width: 0;
  min-height: 82px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  background: linear-gradient(145deg, #15181e, #111419);
  border: 1px solid var(--line);
  border-radius: 13px;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.product-option:not(:disabled):hover { transform: translateY(-2px); border-color: #454c57; }

.product-option.is-selected {
  background: linear-gradient(145deg, #21181d, #171419);
  border-color: var(--red-deep);
  box-shadow: inset 3px 0 var(--red), 0 12px 28px rgba(240, 82, 104, 0.06);
}

.product-option.is-disabled { opacity: 0.46; cursor: not-allowed; }
.product-option[hidden] { display: none !important; }

.product-option-logo {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c0e12;
  border: 1px solid #292f37;
  border-radius: 10px;
}

.product-option-logo img { width: 47px; height: 47px; object-fit: contain; }

.product-option-copy {
  min-width: 0;
  display: grid;
  line-height: 1.2;
}

.product-option-copy strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-option-copy small { margin-top: 4px; color: var(--muted-dark); font-size: 9px; }

.availability {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9ed0af;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }
.availability--soon { color: var(--muted-dark); }

.selected-product {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  background:
    radial-gradient(circle at 18% 50%, rgba(240, 82, 104, 0.13), transparent 17rem),
    linear-gradient(145deg, #181a20, #111419 65%);
  border: 1px solid #343a44;
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.025);
}

.selected-product::before,
.selected-product::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: rgba(240, 82, 104, 0.46);
  border-style: solid;
}

.selected-product::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.selected-product::after { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; }

.selected-product-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.selected-product-art > img {
  position: relative;
  z-index: 2;
  width: 205px;
  height: 205px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.44));
}

.product-rings {
  position: absolute;
  width: 225px;
  height: 225px;
  border: 1px solid rgba(240, 82, 104, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 55px rgba(240, 82, 104, 0.08), inset 0 0 55px rgba(240, 82, 104, 0.045);
}

.product-rings::before,
.product-rings::after {
  content: "";
  position: absolute;
  border: inherit;
  border-radius: inherit;
}

.product-rings::before { inset: 25px; }
.product-rings::after { inset: 60px; }

.selected-product-copy {
  position: relative;
  z-index: 2;
  padding: 48px 54px 44px 20px;
  align-self: center;
}

.selected-product-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-label {
  padding-left: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9ed0af;
  border-left: 1px solid var(--line);
}

.live-label i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }

.selected-product h2 {
  margin: 8px 0 0;
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.selected-product-copy > p {
  max-width: 570px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.primary-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.button {
  min-height: 43px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover { transform: translateY(-2px); }
.button img { width: 12px; height: 12px; filter: brightness(0) invert(1); }

.button--primary {
  background: linear-gradient(135deg, var(--red-bright), #ca3f57);
  border-color: rgba(255, 134, 151, 0.32);
  box-shadow: 0 12px 27px rgba(240, 82, 104, 0.2), inset 0 1px rgba(255, 255, 255, 0.16);
}

.button--secondary {
  color: var(--soft);
  background: var(--surface-2);
  border-color: var(--line);
}

.button--secondary:hover { background: var(--surface-3); border-color: #424955; }

.button--quiet {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.button--quiet:hover { color: var(--soft); background: rgba(255, 255, 255, 0.025); }
.button--full { width: 100%; }

.small-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 750;
}

.small-link:hover { color: var(--red-bright); }

.dashboard-shortcuts {
  min-height: 82px;
  margin-top: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: 100px repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  background: rgba(17, 20, 25, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
}

.dashboard-shortcuts > span {
  padding-left: 10px;
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shortcut-card {
  min-width: 0;
  min-height: 60px;
  padding: 6px 10px 6px 6px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  background: #14171c;
  border: 1px solid #292f37;
  border-radius: 10px;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.shortcut-card:hover { transform: translateY(-2px); background: #171a20; border-color: #424955; }

.shortcut-image {
  width: 50px;
  height: 48px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0c0e12;
  border: 1px solid #262b33;
  border-radius: 8px;
}

.shortcut-image img { width: 100%; height: 100%; object-fit: cover; }
.shortcut-copy { min-width: 0; display: grid; }
.shortcut-copy b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.shortcut-copy small { margin-top: 2px; overflow: hidden; color: var(--muted-dark); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.shortcut-card > i { color: var(--red); font-size: 10px; font-style: normal; }

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

.resource-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #171b21, #111419);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 82, 104, 0.48);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.33);
}

.resource-image {
  height: 320px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(240, 82, 104, 0.07), transparent 62%), #0c0e12;
  border-bottom: 1px solid var(--line-soft);
}

.resource-image img { width: 88%; height: 88%; object-fit: contain; transition: transform 180ms ease; }
.resource-card:hover .resource-image img { transform: scale(1.025); }

.resource-copy { padding: 21px 22px; display: grid; }
.resource-copy small { color: var(--red); font-size: 7px; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.resource-copy strong { margin-top: 3px; font-size: 18px; }
.resource-arrow { position: absolute; right: 22px; bottom: 25px; color: var(--muted-dark); }

.resource-footer {
  min-height: 66px;
  margin-top: 14px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted-dark);
  background: rgba(17, 20, 25, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: 10px;
}

.resource-footer a { margin-left: auto; display: inline-flex; gap: 7px; color: var(--soft); font-weight: 750; }
.resource-footer a:hover { color: var(--red-bright); }

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

.membership-card {
  min-height: 335px;
  padding: 31px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, #171b21, #111419);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.membership-card--accent {
  background: radial-gradient(circle at 90% 0, rgba(240, 82, 104, 0.12), transparent 16rem), linear-gradient(150deg, #1c181e, #111419);
  border-color: rgba(240, 82, 104, 0.42);
}

.membership-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--red-dark);
  border: 1px solid rgba(240, 82, 104, 0.25);
  border-radius: 11px;
}

.membership-icon img { width: 15px; height: 15px; filter: brightness(0) invert(1); }
.membership-card > small { margin-top: 23px; color: var(--red); font-size: 7px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.membership-card h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -0.03em; }
.membership-card p { margin: 10px 0 24px; color: var(--muted); font-size: 12px; }
.membership-card .button { margin-top: auto; }

.selected-engine-bar {
  min-height: 72px;
  margin-top: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(17, 20, 25, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.selected-engine-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #0d0f13;
  border: 1px solid #292f37;
  border-radius: 9px;
}

.selected-engine-logo img { width: 42px; height: 42px; object-fit: contain; }
.selected-engine-bar > span:nth-child(2) { display: grid; line-height: 1.2; }
.selected-engine-bar small { color: var(--muted-dark); font-size: 8px; }
.selected-engine-bar strong { margin-top: 3px; font-size: 11px; }
.selected-engine-bar button { margin-left: auto; padding: 8px 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font-size: 9px; font-weight: 750; }

.app-footer {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  min-height: 56px;
  margin-inline: auto;
  padding: 0 clamp(34px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #4e5560;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mobile-nav { display: none; }

.trial-dialog {
  width: min(calc(100% - 28px), 515px);
  max-height: calc(100vh - 28px);
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 20px;
  overflow: auto;
}

.trial-dialog::backdrop { background: rgba(3, 4, 6, 0.82); backdrop-filter: blur(9px); }

.trial-card {
  padding: 34px;
  background: linear-gradient(155deg, #1a1d24, #101318);
  border: 1px solid #3a414c;
  border-radius: 19px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.68), 0 0 60px rgba(240, 82, 104, 0.08);
}

.dialog-topline { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; }

.dialog-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--red-dark);
  border: 1px solid rgba(240, 82, 104, 0.27);
  border-radius: 11px;
}

.dialog-icon img { width: 14px; filter: brightness(0) invert(1); }

.dialog-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 20px;
}

.trial-card h2 { margin: 7px 0 0; font-size: 29px; line-height: 1.1; letter-spacing: -0.04em; }
.trial-card > p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

.trial-card label {
  margin-top: 19px;
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-card input,
.trial-card select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--text);
  background: #0e1116;
  border: 1px solid #343a44;
  border-radius: 9px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.trial-card input::placeholder { color: #5f6672; }
.trial-card .button { margin-top: 23px; }
.trial-card .trial-status { min-height: 18px; margin: 11px 0 0; color: #ff8c9d; font-size: 10px; text-align: center; }
.trial-card .trial-status.is-success { color: var(--green); }
.trial-card .dialog-terms { margin-top: 6px; color: var(--muted-dark); font-size: 8px; text-align: center; }
.dialog-terms a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

/* Reusable app dropdowns */
.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 5px 11px 5px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  background: #0e1116;
  border: 1px solid #343a44;
  border-radius: 9px;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger {
  background: #11151b;
  border-color: #535c69;
}

.custom-select.is-open .custom-select-trigger { box-shadow: 0 0 0 3px rgba(240, 82, 104, 0.09); }

.custom-select-media {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  background: #0a0c10;
  border: 1px solid #282e36;
  border-radius: 8px;
}

.custom-select-media img { width: 34px; height: 34px; object-fit: contain; }

.custom-select-media--flag {
  width: 29px;
  height: 23px;
  overflow: hidden;
  background: #11141a;
  border-radius: 6px;
}

.custom-select-media--flag img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }

.custom-select-trigger-copy {
  min-width: 0;
  display: grid;
  flex: 1;
  line-height: 1.25;
}

.custom-select-trigger-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.custom-select-trigger-copy small { margin-top: 2px; overflow: hidden; color: var(--muted-dark); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.select-chevron {
  width: 7px;
  height: 7px;
  margin: 0 3px 4px 5px;
  flex: none;
  border-right: 1px solid #a5acb7;
  border-bottom: 1px solid #a5acb7;
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.custom-select.is-open .select-chevron { margin-bottom: -3px; transform: rotate(225deg); }

.custom-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 150;
  min-width: 220px;
  padding: 6px;
  background: #12161c;
  border: 1px solid #3b424d;
  border-radius: 11px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.58);
}

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

.custom-select-option {
  width: 100%;
  min-height: 52px;
  padding: 6px 9px 6px 6px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option:focus-visible { background: #191d24; border-color: #2e353f; }
.custom-select-option.is-selected { color: #fff; background: rgba(240, 82, 104, 0.08); border-color: rgba(240, 82, 104, 0.22); }
.custom-select-option:disabled { cursor: not-allowed; opacity: 0.42; }
.custom-select-option > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.25; }
.custom-select-option-label { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.custom-select-option-meta { margin-top: 2px; overflow: hidden; color: var(--muted-dark); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.custom-select-option > i {
  width: 12px;
  height: 7px;
  opacity: 0;
  border-left: 2px solid var(--red-bright);
  border-bottom: 2px solid var(--red-bright);
  transform: rotate(-45deg) translateY(-2px);
}

.custom-select-option.is-selected > i { opacity: 1; }

.custom-select--language { width: 142px; }
.custom-select--language .custom-select-trigger { min-height: 35px; padding-block: 3px; background: #111419; border-color: var(--line); }
.custom-select--language .custom-select-menu { right: 0; left: auto; width: 220px; }
.custom-select--language .custom-select-option { grid-template-columns: 29px minmax(0, 1fr) 15px; }

/* Membership workspace */
.membership-heading { margin-bottom: 22px; }

.trial-strip {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 22px;
  background: radial-gradient(circle at 0 0, rgba(240, 82, 104, 0.12), transparent 19rem), linear-gradient(150deg, #1b181e, #111419);
  border: 1px solid rgba(240, 82, 104, 0.38);
  border-radius: 15px;
}

.trial-strip-intro { min-width: 0; display: flex; align-items: center; gap: 13px; }
.trial-strip-intro > span:last-child { min-width: 0; display: grid; line-height: 1.25; }
.trial-strip-intro small { color: var(--red); font-size: 7px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.trial-strip-intro strong { margin-top: 4px; font-size: 16px; }
.trial-strip-intro em { margin-top: 4px; color: var(--muted); font-size: 9px; font-style: normal; }

.trial-strip-action { display: flex; align-items: center; gap: 18px; }
.trial-strip-action > span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 8px; font-weight: 750; white-space: nowrap; }
.trial-strip-action > span > i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; box-shadow: 0 0 9px rgba(114, 228, 160, 0.55); }
.trial-strip-action .button { min-width: 168px; min-height: 46px; white-space: nowrap; }

.purchase-card {
  margin-top: 14px;
  padding: clamp(22px, 3.5vw, 34px);
  background: linear-gradient(150deg, #171b21, #101318);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.purchase-card-heading { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.purchase-card-heading h2 { margin: 5px 0 0; font-size: 25px; line-height: 1.15; letter-spacing: -0.03em; }
.secure-note { min-height: 31px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; color: #a9daba; background: rgba(114, 228, 160, 0.05); border: 1px solid rgba(114, 228, 160, 0.15); border-radius: 8px; font-size: 8px; font-weight: 800; }
.secure-note i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; box-shadow: 0 0 9px rgba(114, 228, 160, 0.55); }

.purchase-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  color: var(--soft);
  border: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-group > span small { margin-left: 4px; color: var(--muted-dark); font-size: 7px; font-weight: 700; }
.field-group--wide { grid-column: 1 / -1; }

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--text);
  background: #0e1116;
  border: 1px solid #343a44;
  border-radius: 9px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.field-group textarea { min-height: 75px; padding-block: 11px; resize: vertical; }
.field-group input::placeholder { color: #5f6672; }
.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover { border-color: #49515d; }
.field-group select:disabled { cursor: wait; color: var(--muted-dark); opacity: 0.7; }

.payment-methods legend { margin-bottom: 7px; }
.payment-method-options { min-height: 104px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.payment-method-card { position: relative; min-width: 0; }
.payment-method-card > input { position: absolute; width: 1px; min-height: 0; height: 1px; padding: 0; opacity: 0; border: 0; }

.payment-method-content {
  height: 104px;
  padding: 12px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  color: var(--muted);
  background: #0e1116;
  border: 1px solid #343a44;
  border-radius: 11px;
  cursor: pointer;
  text-transform: none;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.payment-method-content:hover { transform: translateY(-2px); background: #11151b; border-color: #4b5460; }
.payment-method-card > input:checked + .payment-method-content { color: #fff; background: linear-gradient(145deg, rgba(240, 82, 104, 0.11), #101318 72%); border-color: rgba(240, 82, 104, 0.58); box-shadow: inset 0 0 0 1px rgba(240, 82, 104, 0.08), 0 12px 30px rgba(0, 0, 0, 0.18); }
.payment-method-card > input:focus-visible + .payment-method-content { outline: 2px solid var(--red-bright); outline-offset: 3px; }

.payment-method-heading { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: center; gap: 10px; }
.payment-method-heading > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.25; }
.payment-method-heading b { color: var(--soft); font-size: 11px; }
.payment-method-heading small { margin-top: 3px; overflow: hidden; color: var(--muted-dark); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.payment-method-logo { width: 38px; height: 38px; display: grid; place-items: center; background: #151920; border: 1px solid #2c333c; border-radius: 9px; }
.payment-method-logo img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.payment-method-logo--stripe { background: rgba(99, 91, 255, 0.12); border-color: rgba(129, 122, 255, 0.22); }
.payment-method-logo--stripe img { width: 22px; }
.payment-method-logo--pix { background: rgba(50, 199, 175, 0.09); border-color: rgba(50, 199, 175, 0.2); }

.payment-method-heading > i { width: 14px; height: 14px; opacity: 0; border: 4px solid var(--red); border-radius: 50%; box-shadow: inset 0 0 0 2px #111419; }
.payment-method-card > input:checked + .payment-method-content .payment-method-heading > i { opacity: 1; }

.payment-brand-row { display: flex; align-items: center; gap: 6px; }
.payment-brand-row > span { min-width: 37px; height: 23px; padding: 3px 7px; display: grid; place-items: center; background: #171b21; border: 1px solid #2c333c; border-radius: 6px; }
.payment-brand-row img { width: 25px; max-height: 13px; filter: brightness(0) invert(1); opacity: 0.72; }
.payment-brand-row > span:first-child img { width: 15px; }
.payment-brand-row--pix small { color: var(--muted-dark); font-size: 8px; font-weight: 700; }
.payment-brand-row--pix > span { min-width: 37px; }
.payment-brand-row--pix > span img { width: 15px; }
.wallet-note { margin: 7px 0 0; color: var(--muted-dark); font-size: 8px; font-weight: 650; letter-spacing: 0; text-transform: none; }

.custom-select--duration .custom-select-trigger:disabled { cursor: wait; opacity: 0.7; }
.custom-select-media--control img { width: 15px; height: 15px; filter: brightness(0) invert(1); opacity: 0.72; }
.custom-select-price { margin-left: auto; color: var(--soft); font-size: 11px; white-space: nowrap; }
.custom-select-menu--duration { max-height: 310px; overflow-y: auto; }
.custom-select-option--duration { grid-template-columns: 38px minmax(0, 1fr) auto 15px; }
.custom-select-option--duration .custom-select-option-price { color: var(--soft); font-size: 10px; white-space: nowrap; }
.custom-select-option--duration.is-lifetime { margin-top: 6px; border-top-color: var(--line); }
.custom-select-option--duration.is-lifetime .custom-select-option-label { color: var(--red-bright); }

.coupon-disclosure { margin-top: -2px; }
.coupon-disclosure summary { width: fit-content; display: flex; align-items: center; gap: 8px; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 750; letter-spacing: 0; list-style: none; text-transform: none; }
.coupon-disclosure summary::-webkit-details-marker { display: none; }
.coupon-disclosure summary:hover { color: var(--soft); }
.coupon-disclosure summary > i { width: 6px; height: 6px; margin-bottom: 4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 150ms ease; }
.coupon-disclosure[open] summary > i { margin-bottom: -3px; transform: rotate(225deg); }
.coupon-disclosure .field-group { margin-top: 11px; }

.purchase-summary {
  min-height: 72px;
  margin-top: 20px;
  padding: 10px 15px;
  display: grid;
  grid-template-columns: minmax(175px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  background: rgba(10, 12, 16, 0.68);
  border: 1px solid var(--line-soft);
  border-radius: 11px;
}

.purchase-summary > span { min-width: 0; display: grid; line-height: 1.25; }
.purchase-summary small { color: var(--muted-dark); font-size: 7px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.purchase-summary strong { margin-top: 4px; color: var(--soft); font-size: 11px; }
.purchase-summary-product { display: flex !important; align-items: center; gap: 10px; }
.purchase-summary-product > img { width: 48px; height: 48px; object-fit: contain; background: #0a0c10; border: 1px solid #282e36; border-radius: 8px; }
.purchase-summary-product > span { min-width: 0; display: grid; }

.terms-check { margin-top: 18px; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 9px; }
.terms-check input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--red); }
.terms-check a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.button--purchase { min-width: 205px; margin-top: 17px; }

.form-status { min-height: 16px; margin: 8px 0 0; color: #ff8c9d; font-size: 9px; font-weight: 650; letter-spacing: 0; text-align: left; text-transform: none; }
.form-status.is-success { color: var(--green); }
.purchase-status { margin-top: 8px; }

/* Dialogs */
.app-dialog {
  width: min(calc(100% - 28px), 515px);
  max-height: calc(100vh - 28px);
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 20px;
  overflow: auto;
}

.app-dialog::backdrop { background: rgba(3, 4, 6, 0.82); backdrop-filter: blur(9px); }
.dialog-card { padding: 34px; background: linear-gradient(155deg, #1a1d24, #101318); border: 1px solid #3a414c; border-radius: 19px; box-shadow: 0 38px 100px rgba(0, 0, 0, 0.68), 0 0 60px rgba(240, 82, 104, 0.08); }
.dialog-card h2 { margin: 7px 0 0; font-size: 29px; line-height: 1.1; letter-spacing: -0.04em; }
.dialog-card > p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.dialog-card .field-group { margin-top: 19px; }
.dialog-card .button--full { margin-top: 23px; }
.dialog-card .form-status { text-align: center; }
.dialog-card .dialog-terms { margin-top: 6px; color: var(--muted-dark); font-size: 8px; text-align: center; }

.payment-result-card .dialog-icon { color: #a9daba; background: rgba(114, 228, 160, 0.07); border-color: rgba(114, 228, 160, 0.18); font-weight: 900; }
.payment-result-card.is-cancelled .dialog-icon { color: var(--muted); background: var(--surface-2); border-color: var(--line); }

.confirm-details { margin-top: 22px; display: grid; gap: 1px; overflow: hidden; background: var(--line-soft); border: 1px solid var(--line); border-radius: 11px; }
.confirm-details > span { min-width: 0; padding: 11px 13px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; background: #111419; }
.confirm-details small { color: var(--muted-dark); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.confirm-details strong { overflow: hidden; color: var(--soft); font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.confirm-actions { margin-top: 20px; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 9px; }

.dialog-icon--success { width: 46px; color: #a9daba; background: rgba(114, 228, 160, 0.07); border-color: rgba(114, 228, 160, 0.18); font-size: 10px; font-weight: 900; }
.pix-qr { width: min(100%, 250px); aspect-ratio: 1; margin: 22px auto 0; padding: 10px; display: grid; place-items: center; background: #fff; border-radius: 12px; }
.pix-qr img { width: 100%; height: 100%; object-fit: contain; }
.pix-card textarea { font-size: 9px; overflow-wrap: anywhere; }

@keyframes ambient-contour-drift {
  from { transform: translate3d(-12px, -8px, 0) scale(1.015); }
  to { transform: translate3d(18px, 12px, 0) scale(1.075); }
}

@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes status-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 76px minmax(0, 1fr); }
  .app-sidebar { padding-inline: 10px; }
  .brand { justify-content: center; padding-inline: 0; }
  .brand > span,
  .nav-item > span:last-child,
  .side-links a > span:last-child,
  .sidebar-version { display: none; }
  .side-nav { margin-top: 28px; }
  .nav-item,
  .side-links a { justify-content: center; padding: 0; }
  .nav-item.is-active { box-shadow: inset 0 -2px var(--red); }
  .selected-product { grid-template-columns: minmax(245px, 0.7fr) 1.3fr; }
  .selected-product-copy { padding-right: 35px; }
  .dashboard-shortcuts { grid-template-columns: repeat(3, 1fr); }
  .dashboard-shortcuts > span { display: none; }
  .shortcut-card { grid-template-columns: 44px minmax(0, 1fr) auto; padding-left: 5px; }
  .shortcut-image { width: 44px; height: 44px; }
  .resource-image { height: 255px; }
  .resource-card { min-height: 350px; }
  .trial-strip { grid-template-columns: minmax(220px, 1fr) auto; gap: 16px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .ambient-texture { inset: 70px 0 68px; }
  .ambient-contours {
    top: -8%;
    right: -46%;
    width: 150vw;
    height: 116%;
    opacity: 0.34;
    animation: none;
    transform: scale(1.04);
  }
  .app-shell { display: block; }
  .app-sidebar { display: none; }
  .app-topbar { min-height: 68px; padding: 0 14px; }
  .mobile-brand { display: block; margin-right: 11px; }
  .mobile-brand img { width: 40px; height: 40px; }
  .page-heading strong { font-size: 11px; }
  .service-status { padding-inline: 9px; }
  .service-status span { display: none; }
  .custom-select--language { width: 64px; }
  .custom-select--language .custom-select-trigger { min-height: 37px; }
  .custom-select--language .custom-select-trigger-copy small { display: none; }
  .custom-select--language .custom-select-trigger-copy { display: none; }
  .custom-select--language .custom-select-menu { width: 205px; }
  .workspace { padding: 27px 14px 22px; }
  .release-announcement { align-items: flex-start; flex-direction: column; gap: 5px; padding: 13px 14px; margin-bottom: 20px; }
  .panel-heading { min-height: 0; margin-bottom: 21px; }
  .panel-heading h1 { font-size: 31px; }
  .panel-heading p { font-size: 12px; }
  .legal-heading { align-items: flex-start; }
  .legal-back { min-height: 38px; padding-inline: 13px; }
  .legal-card { padding: 22px 18px; }
  .legal-content section { margin-top: 24px; padding-top: 21px; }
  .product-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-option { min-height: 75px; padding: 10px; gap: 9px; }
  .product-option[hidden] { display: none; }
  .product-option-logo { width: 45px; height: 45px; }
  .product-option-logo img { width: 41px; height: 41px; }
  .availability { display: none; }
  .selected-product { min-height: 0; grid-template-columns: 1fr; }
  .selected-product-art { min-height: 245px; }
  .selected-product-art > img { width: 170px; height: 170px; }
  .product-rings { width: 185px; height: 185px; }
  .selected-product-copy { padding: 0 22px 27px; text-align: center; }
  .selected-product-meta { justify-content: center; }
  .selected-product h2 { font-size: 37px; }
  .selected-product-copy > p { margin-inline: auto; }
  .primary-actions { justify-content: center; }
  .small-link { justify-content: center; }
  .dashboard-shortcuts { grid-template-columns: 1fr; }
  .shortcut-card { grid-template-columns: 55px minmax(0, 1fr) auto; }
  .shortcut-image { width: 55px; height: 50px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; display: grid; grid-template-columns: 116px 1fr; }
  .resource-image { width: 116px; height: 116px; border-right: 1px solid var(--line-soft); border-bottom: 0; }
  .resource-image img { width: 95%; height: 95%; }
  .resource-copy { align-self: center; padding: 17px; }
  .resource-arrow { right: 17px; bottom: 48px; }
  .resource-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding-block: 13px; }
  .resource-footer a { margin-left: 0; }
  .membership-grid { grid-template-columns: 1fr; }
  .membership-card { min-height: 280px; padding: 26px; }
  .trial-strip { padding: 17px; grid-template-columns: 1fr; }
  .trial-strip-action { align-items: stretch; flex-direction: column; gap: 11px; }
  .trial-strip-action .button { width: 100%; }
  .purchase-card { padding: 22px 17px; }
  .purchase-fields { grid-template-columns: 1fr; }
  .field-group--wide { grid-column: auto; }
  .payment-method-options { grid-template-columns: 1fr; }
  .purchase-summary { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
  .purchase-summary-product > img { width: 42px; height: 42px; }
  .button--purchase { width: 100%; }
  .app-footer { min-height: 60px; padding: 0 16px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    height: 68px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(10, 12, 16, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }
  .mobile-nav button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    color: var(--muted-dark);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 750;
  }
  .mobile-nav button.is-active { color: #fff; background: var(--red-dark); }
  .mobile-nav img { width: 14px; height: 14px; filter: brightness(0) invert(1); opacity: 0.55; }
  .mobile-nav button.is-active img { opacity: 1; }
  .dialog-card { padding: 26px; }
}

@media (max-width: 430px) {
  .page-heading small { display: none; }
  .product-option-copy strong { font-size: 11px; }
  .product-option-copy small { font-size: 8px; }
  .primary-actions .button { flex: 1 1 calc(50% - 5px); }
  .primary-actions .button--membership { flex-basis: 100%; }
  .service-status { display: none; }
  .topbar-actions { gap: 0; }
  .purchase-card-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .purchase-summary { grid-template-columns: 1fr 1fr; }
  .purchase-summary-product { grid-column: 1 / -1; }
  .confirm-details > span { grid-template-columns: 1fr; gap: 3px; }
  .confirm-details strong { text-align: left; }
  .confirm-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
