:root {
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scrollbar-color: #4a4a4a #050505;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

ul { list-style: none; }

body:has(.lp) {
  overflow: hidden;
}

.lp {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000000;
}

.lp-top {
  position: relative;
  z-index: 3;
  padding: 26px 48px 0;
}

.lp-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  line-height: 1;
  color: #ffffff;
}

.lp-mark-icon {
  display: block;
  flex-shrink: 0;
  width: 1.9em;
  height: 1.9em;
}

.lp-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 44px);
}

.lp-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.lp-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 0.98;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  text-wrap: balance;
  color: #ffffff;
}

.lp-title-dim {
  color: #86868b;
}

.lp-sub {
  margin: 22px 0 0;
  max-width: 32ch;
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
  line-height: 1.62;
  color: #a1a1a6;
}

.lp-actions {
  width: min(100%, 440px);
  margin-top: 38px;
}

.lp-wls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-platform="iphone"] .lp-wl[data-wl="iphone"] {
  order: -1;
}

.lp-wl {
  --wl-h: 54px;
  width: 100%;
}

.lp-wl-form,
.lp-wl-done {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--wl-h);
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #1c1c1e;
}

.lp-wl-form {
  gap: 6px;
  padding: 5px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.lp-wl-form:focus-within {
  border-color: #0a84ff;
}

.lp-wl.has-error .lp-wl-form {
  border-color: #ff453a;
}

.lp-wl-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0 12px 0 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: text;
}

.lp-wl-tag svg {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.lp-wl-tag-apple svg {
  margin-top: -2px;
}

.lp-wl-input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.lp-wl-input::placeholder {
  color: rgba(255,255,255,0.38);
}

.lp-wl-submit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  height: 100%;
  padding: 0 16px;
  border: 1px solid #0a84ff;
  border-radius: 7px;
  background: #0a84ff;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-wl-submit:hover {
  background: #409cff;
  border-color: #409cff;
}

.lp-wl-submit:active {
  transform: scale(0.97);
}

.lp-wl-submit:disabled {
  cursor: default;
  opacity: 0.55;
  transform: none;
}

.lp-wl-submit:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.lp-wl-done {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  font-weight: 500;
  animation: lp-wl-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-wl-done svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #0a84ff;
}

.lp-wl.is-done .lp-wl-form {
  display: none;
}

.lp-wl.is-done .lp-wl-done {
  display: flex;
}

@keyframes lp-wl-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lp-wl-note {
  margin: 8px 0 0;
  min-height: 1.35em;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.42);
}

.lp-wl-err {
  display: none;
  color: #ff453a;
}

.lp-wl-note.has-error .lp-wl-msg { display: none; }
.lp-wl-note.has-error .lp-wl-err { display: inline; }

.lp-phones {
  --pm-fit: 0.85;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: size;
}

.pm-stage {
  --k: min(tan(atan2(100cqw, 1060px)), tan(atan2(100cqh * var(--pm-fit), 880px)));
  position: relative;
  flex-shrink: 0;
  width: calc(var(--k) * 1060px);
  height: calc(var(--k) * 880px);
  overflow: visible;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.pm-canvas {
  --dp: 1px;
  position: absolute;
  top: 0;
  left: 0;
  width: 1060px;
  height: 880px;
  transform: scale(var(--k));
  transform-origin: 0 0;
}

.pm-phone {
  position: absolute;
  top: calc(var(--dp) * 6);
  width: calc(var(--dp) * 414);
  height: calc(var(--dp) * 868);
  padding: calc(var(--dp) * 12);
  border-radius: calc(var(--dp) * 60);
  background: linear-gradient(150deg, #2b2b2f 0%, #0c0c0e 38%, #151518 70%, #26262a 100%);
  box-shadow:
    inset 0 0 0 calc(var(--dp) * 1.5) rgba(255,255,255,0.13),
    inset 0 0 0 calc(var(--dp) * 5) #060607,
    0 calc(var(--dp) * 44) calc(var(--dp) * 90) rgba(0,0,0,0.6);
}

.pm-left {
  left: calc(var(--dp) * 5);
  z-index: 1;
  transform: perspective(calc(var(--dp) * 2200)) rotateY(14deg) scale(0.9);
  filter: brightness(0.82);
}

.pm-right {
  left: calc(var(--dp) * 641);
  z-index: 1;
  transform: perspective(calc(var(--dp) * 2200)) rotateY(-14deg) scale(0.9);
  filter: brightness(0.82);
}

.pm-center {
  left: calc(var(--dp) * 323);
  z-index: 2;
}

.pm-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--dp) * 48);
  background: #000000;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: calc(var(--dp) * 15);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.pm-screen::before {
  content: '';
  position: absolute;
  z-index: 10;
  top: calc(var(--dp) * 11);
  left: 50%;
  width: calc(var(--dp) * 12);
  height: calc(var(--dp) * 12);
  margin-left: calc(var(--dp) * -6);
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 0 0 calc(var(--dp) * 1.5) #1a1a1c;
}

.pm-screen i { display: block; font-style: normal; }
.pm-screen b { font-weight: inherit; }

.pm-i {
  display: block;
  flex-shrink: 0;
  width: calc(var(--dp) * var(--s));
  height: calc(var(--dp) * var(--s));
}

.pm-status {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--dp) * 34);
  padding: calc(var(--dp) * 4) calc(var(--dp) * 26) 0;
  font-size: calc(var(--dp) * 13);
  font-weight: 500;
}

.pm-status-icons { display: flex; align-items: center; gap: calc(var(--dp) * 5); }

.pm-page { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }

.pm-u-top {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: calc(var(--dp) * 12);
  padding: calc(var(--dp) * 6) calc(var(--dp) * 16) calc(var(--dp) * 4);
}

.pm-u-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 44);
  height: calc(var(--dp) * 44);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.pm-u-title {
  font-weight: 700;
  font-size: calc(var(--dp) * 22);
  letter-spacing: calc(var(--dp) * -0.4);
}

.pm-u-body { padding: calc(var(--dp) * 14) calc(var(--dp) * 20) 0; }

.pm-seg {
  display: flex;
  padding: calc(var(--dp) * 4);
  border-radius: 999px;
  background: #1c1c1e;
}

.pm-seg span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--dp) * 40);
  border-radius: 999px;
  font-weight: 500;
  color: #8e8e93;
}

.pm-seg .pm-seg-on { background: #3a3a3c; color: #ffffff; }

.pm-card {
  border: calc(var(--dp) * 1) solid transparent;
  border-radius: calc(var(--dp) * 24);
  background: #1c1c1e;
}

.pm-list { overflow: hidden; }

.pm-row {
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 14);
  min-height: calc(var(--dp) * 66);
  padding: calc(var(--dp) * 10) calc(var(--dp) * 16);
}

.pm-row + .pm-row { border-top: calc(var(--dp) * 1) solid rgba(255,255,255,0.08); }

.pm-row-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(var(--dp) * 5);
  min-width: 0;
}

.pm-row-name { font-weight: 600; letter-spacing: calc(var(--dp) * -0.2); }







.pm-break-pill {
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 6);
  min-height: calc(var(--dp) * 36);
  padding: 0 calc(var(--dp) * 16);
  border-radius: 999px;
  background: rgba(10,132,255,0.16);
  color: #0a84ff;
  font-weight: 600;
  font-size: calc(var(--dp) * 13);
  white-space: nowrap;
}

.pm-screen .pm-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--dp) * 1);
  background: rgba(255,255,255,0.08);
}

.pm-screen .pm-grid-mid { top: 50%; }
.pm-screen .pm-grid-base { top: 100%; background: rgba(255,255,255,0.14); }

.pm-cols { position: relative; display: flex; align-items: flex-end; height: 100%; }

.pm-col {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.pm-xlabels {
  display: flex;
  margin-top: calc(var(--dp) * 9);
  font-size: calc(var(--dp) * 11);
  color: rgba(255,255,255,0.26);
}

.pm-xlabels span { flex: 1; text-align: center; }
.pm-xlabels .pm-x-on { color: #0a84ff; font-weight: 700; }

.pm-legend {
  display: flex;
  margin-top: calc(var(--dp) * 18);
  padding-top: calc(var(--dp) * 14);
  border-top: calc(var(--dp) * 1) solid rgba(255,255,255,0.08);
}

.pm-legend-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--dp) * 4);
}

.pm-legend-top {
  font-weight: 700;
  font-size: calc(var(--dp) * 17);
  letter-spacing: calc(var(--dp) * -0.3);
}

.pm-legend-label { font-size: calc(var(--dp) * 12); color: rgba(255,255,255,0.45); }

.pm-tabs {
  display: flex;
  flex-shrink: 0;
  padding: calc(var(--dp) * 14) calc(var(--dp) * 10) calc(var(--dp) * 32);
  border-top: calc(var(--dp) * 1) solid rgba(255,255,255,0.06);
  background: #000000;
}

.pm-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--dp) * 5);
  padding: calc(var(--dp) * 2) 0;
  color: #8e8e93;
}

.pm-tab-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 56);
  height: calc(var(--dp) * 34);
  border-radius: 999px;
  border: calc(var(--dp) * 1) solid transparent;
}

.pm-tab-on { color: #0a84ff; }
.pm-tab-on .pm-tab-pill { background: rgba(10,132,255,0.16); }

.pm-tab-label {
  font-size: calc(var(--dp) * 11);
  letter-spacing: calc(var(--dp) * 0.4);
}

.pm-tab-on .pm-tab-label { font-weight: 700; }

.pm-duo { fill-opacity: 0; }
.pm-tab-on .pm-duo { fill-opacity: 0.3; }

.cn-track {
  height: calc(var(--dp) * 6);
  border-radius: 999px;
  background: #2c2c2e;
  overflow: hidden;
}

.cn-track i {
  height: 100%;
  border-radius: 999px;
  background: #0a84ff;
}

.cn-next {
  margin-top: calc(var(--dp) * 16);
  padding: calc(var(--dp) * 16) calc(var(--dp) * 18) calc(var(--dp) * 14);
}

.cn-next-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(var(--dp) * 12);
}

.cn-next-label {
  letter-spacing: calc(var(--dp) * 0.6);
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.cn-next-left { font-weight: 500; color: rgba(255,255,255,0.7); }

.cn-next-mid {
  display: flex;
  align-items: center;
  gap: calc(var(--dp) * 12);
  margin: calc(var(--dp) * 12) 0 calc(var(--dp) * 14);
}

.cn-next-name {
  display: block;
  font-weight: 700;
  font-size: calc(var(--dp) * 30);
  line-height: 1;
  letter-spacing: calc(var(--dp) * -1);
}

.cn-next-foot {
  display: flex;
  justify-content: space-between;
  margin-top: calc(var(--dp) * 8);
  font-size: calc(var(--dp) * 11);
  color: rgba(255,255,255,0.3);
}

.cn-ranks { margin-top: calc(var(--dp) * 12); }

.cn-badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 44);
  height: calc(var(--dp) * 44);
  border-radius: calc(var(--dp) * 14);
  color: #0a84ff;
  background: rgba(10,132,255,0.16);
}

.cn-badge-now {
  color: #ffffff;
  background: #0a84ff;
}

.cn-badge-off {
  color: #636366;
  background: #2c2c2e;
}

.cn-badge-next {
  width: calc(var(--dp) * 54);
  height: calc(var(--dp) * 54);
  border-radius: calc(var(--dp) * 17);
}

.cn-row-sub { font-size: calc(var(--dp) * 12); color: #8e8e93; }

.cn-row-now { background: rgba(10,132,255,0.08); }
.cn-row-off .pm-row-name { color: rgba(255,255,255,0.5); }

.cn-done {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 24);
  height: calc(var(--dp) * 24);
  border-radius: 999px;
  background: #0a84ff;
  color: #ffffff;
}

.cn-now {
  display: flex;
  align-items: center;
  height: calc(var(--dp) * 28);
  padding: 0 calc(var(--dp) * 12);
  border-radius: 999px;
  background: #0a84ff;
  color: #ffffff;
  font-weight: 600;
  font-size: calc(var(--dp) * 12);
}

.cn-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 24);
  height: calc(var(--dp) * 24);
  border-radius: 999px;
  background: #2c2c2e;
  color: #8e8e93;
}

.cn-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: calc(var(--dp) * 10) calc(var(--dp) * 20) calc(var(--dp) * 16);
}

.cn-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}


.cn-b-title {
  font-weight: 700;
  font-size: calc(var(--dp) * 30);
  line-height: calc(var(--dp) * 36);
  letter-spacing: calc(var(--dp) * -0.7);
  white-space: nowrap;
}

.cn-b-sub {
  margin-top: calc(var(--dp) * 6);
  font-size: calc(var(--dp) * 13.5);
  line-height: calc(var(--dp) * 18);
  color: #0a84ff;
  white-space: nowrap;
}

.cn-power {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 112);
  height: calc(var(--dp) * 112);
  margin-top: calc(var(--dp) * 32);
  border-radius: 50%;
  background: #0a84ff;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 calc(var(--dp) * 1.5) rgba(255,255,255,0.14),
    0 0 0 calc(var(--dp) * 10) rgba(10,132,255,0.16),
    0 0 0 calc(var(--dp) * 19) rgba(10,132,255,0.07);
}

.cn-streak {
  margin-top: calc(var(--dp) * 32);
  font-weight: 700;
  font-size: calc(var(--dp) * 22);
  line-height: calc(var(--dp) * 28);
  letter-spacing: calc(var(--dp) * -0.6);
  white-space: nowrap;
}


.cn-rank { margin-top: calc(var(--dp) * 12); }

.cn-acts {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: calc(var(--dp) * 18);
}

.cn-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--dp) * 7);
}

.cn-act-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--dp) * 54);
  height: calc(var(--dp) * 54);
  border-radius: calc(var(--dp) * 18);
  color: #0a84ff;
  background: #1c1c1e;
}

.cn-act-label {
  font-size: calc(var(--dp) * 11);
  letter-spacing: calc(var(--dp) * 0.3);
  color: rgba(255,255,255,0.6);
}

.cn-reset {
  flex-shrink: 0;
  margin-top: calc(var(--dp) * 20);
}

.cn-reset-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: calc(var(--dp) * 8);
  font-weight: 500;
  font-size: calc(var(--dp) * 13);
  color: rgba(255,255,255,0.7);
}

.cn-panic {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: calc(var(--dp) * 8);
  height: calc(var(--dp) * 54);
  margin-top: calc(var(--dp) * 16);
  border-radius: 999px;
  background: #ff453a;
  font-weight: 600;
  font-size: calc(var(--dp) * 16);
  letter-spacing: calc(var(--dp) * -0.2);
}

.cn-nr {
  flex-shrink: 0;
  margin-top: calc(var(--dp) * 16);
  padding: calc(var(--dp) * 14) calc(var(--dp) * 16) calc(var(--dp) * 16);
  border-radius: calc(var(--dp) * 18);
  background: #1c1c1e;
}

.cn-nr-top {
  display: flex;
  justify-content: space-between;
  font-size: calc(var(--dp) * 12);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.cn-nr-top span:first-child { font-weight: 400; letter-spacing: calc(var(--dp) * 0.6); color: #8e8e93; }

.cn-nr-name {
  display: block;
  margin: calc(var(--dp) * 8) 0 calc(var(--dp) * 12);
  font-weight: 700;
  font-size: calc(var(--dp) * 22);
  line-height: calc(var(--dp) * 26);
  letter-spacing: calc(var(--dp) * -0.6);
}

.cn-r-top { padding-top: calc(var(--dp) * 10); padding-left: calc(var(--dp) * 22); }

.cn-gauge {
  position: relative;
  width: calc(var(--dp) * 232);
  height: calc(var(--dp) * 232);
  margin: calc(var(--dp) * 16) auto 0;
}

.cn-gauge svg { display: block; width: 100%; height: 100%; }

.cn-gauge-mid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cn-gauge-cap {
  font-size: calc(var(--dp) * 11);
  letter-spacing: calc(var(--dp) * 1.2);
  text-transform: uppercase;
  color: #8e8e93;
}

.cn-gauge-val {
  margin-top: calc(var(--dp) * 2);
  font-weight: 700;
  font-size: calc(var(--dp) * 64);
  line-height: 1;
  letter-spacing: calc(var(--dp) * -2.6);
}

.cn-gauge-pill {
  margin-top: calc(var(--dp) * 10);
  padding: calc(var(--dp) * 6) calc(var(--dp) * 12);
  border-radius: 999px;
  background: rgba(10,132,255,0.16);
  color: #0a84ff;
  font-weight: 600;
  font-size: calc(var(--dp) * 12);
}

.cn-urges {
  margin-top: calc(var(--dp) * 4);
  padding: calc(var(--dp) * 16) calc(var(--dp) * 16) calc(var(--dp) * 14);
}

.cn-urges-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(var(--dp) * 16);
}

.cn-urges-title { font-weight: 700; font-size: calc(var(--dp) * 15); }

.cn-urges-delta {
  padding: calc(var(--dp) * 4) calc(var(--dp) * 10);
  border-radius: 999px;
  background: rgba(10,132,255,0.16);
  color: #0a84ff;
  font-weight: 600;
  font-size: calc(var(--dp) * 12);
}

.cn-plot { position: relative; height: calc(var(--dp) * 96); }

.pm-screen .cn-bar {
  display: block;
  width: 52%;
  max-width: calc(var(--dp) * 28);
  border-radius: calc(var(--dp) * 7) calc(var(--dp) * 7) 0 0;
  background: #0a84ff;
  opacity: 0.32;
}

.pm-screen .cn-bar-on { opacity: 1; }

.lp-foot {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 clamp(24px, 3.4vw, 52px) max(18px, env(safe-area-inset-bottom));
  font-family: var(--font-code);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.lp-foot a:hover { color: rgba(255,255,255,0.5); }

@media (prefers-reduced-motion: reduce) {
  .lp-wl-form,
  .lp-wl-submit {
    transition: none;
  }
  .lp-wl-done { animation: none; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .lp-top { padding: 22px 30px 0; }
  .lp-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 16px;
    padding: 0 30px;
  }
  .lp-title { font-size: clamp(1.7rem, 3.7vw, 2.6rem); }
  .lp-sub { margin-top: 18px; }
  .lp-actions { margin-top: 28px; }
  .lp-wl { --wl-h: 50px; }
  .lp-phones { --pm-fit: 0.86; }
}

@media (max-width: 900px) {
  .lp-top { padding: 20px 22px 0; }
  .lp-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 0 22px;
    gap: 0;
  }
  .lp-copy { justify-content: flex-start; }
  .lp-title { font-size: clamp(1.6rem, 6.5vw, 2.6rem); margin-top: 20px; }
  .lp-sub { margin-top: 14px; max-width: 36ch; font-size: 0.95rem; }
  .lp-actions { margin-top: 22px; }
  .lp-wl { --wl-h: 50px; }
  .lp-phones {
    margin-top: 12px;
    overflow: hidden;
    --pm-fit: 1;
  }
  .lp-foot { padding: 0 22px max(14px, env(safe-area-inset-bottom)); gap: 18px; }
}

@media (max-width: 640px) {
  .lp-top { padding: 17px 16px 0; }
  .lp-mark { font-size: 1.08rem; }
  .lp-inner { padding: 0 16px; }
  .lp-title { margin-top: 15px; font-size: clamp(1.45rem, 7.5vw, 2.1rem); }
  .lp-sub { margin-top: 11px; font-size: clamp(0.82rem, 3.8vw, 0.94rem); line-height: 1.48; }
  .lp-actions { width: 100%; margin-top: 16px; }
  .lp-wls { gap: 8px; }
  .lp-wl { --wl-h: 48px; }
  .lp-wl-form { padding: 4px; }
  .lp-wl-tag { padding: 0 10px 0 6px; gap: 6px; font-size: 0.86rem; }
  .lp-wl-tag svg { width: 18px; height: 18px; }
  .lp-wl-submit { padding: 0 14px; font-size: 0.88rem; }
  .lp-wl-note { margin-top: 6px; font-size: 0.74rem; text-align: center; }
  .lp-phones { margin-top: 8px; }
  .lp-foot {
    min-height: 30px;
    padding: 0 16px max(12px, env(safe-area-inset-bottom));
    font-size: 0.57rem;
  }
}

@media (max-width: 380px) {
  .lp-top { padding-top: 14px; }
  .lp-title { margin-top: 12px; font-size: clamp(1.3rem, 7.6vw, 1.6rem); }
  .lp-sub { font-size: 0.8rem; }
  .lp-actions { margin-top: 12px; }
  .lp-wls { gap: 6px; }
  .lp-wl { --wl-h: 44px; }
  .lp-wl-form { gap: 4px; }
  .lp-wl-tag { padding: 0 8px 0 5px; }
  .lp-wl-tag-name { display: none; }
  .lp-wl-input { padding: 0 2px 0 6px; }
  .lp-wl-submit { padding: 0 10px; font-size: 0.8rem; }
  .lp-wl-note { font-size: 0.7rem; min-height: 2.7em; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .lp-top { padding-top: 18px; }
  .lp-title { font-size: clamp(1.8rem, 3.5vw, 2.9rem); }
  .lp-sub { margin-top: 15px; line-height: 1.48; }
  .lp-actions { margin-top: 22px; }
  .lp-wl { --wl-h: 50px; }
  .lp-phones { --pm-fit: 0.86; }
  .lp-foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) and (max-height: 740px) {
  .lp-top { padding-top: 13px; }
  .lp-title { margin-top: 10px; }
  .lp-sub { margin-top: 8px; line-height: 1.4; }
  .lp-actions { margin-top: 12px; }
  .lp-wls { gap: 7px; }
  .lp-wl { --wl-h: 44px; }
  .lp-wl-note { margin-top: 5px; }
  .lp-phones { margin-top: 6px; }
  .lp-foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  .lp-top { padding: 11px 18px 0; }
  .lp-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
    padding: 0 18px;
  }
  .lp-copy { justify-content: center; }
  .lp-title { margin-top: 0; font-size: clamp(1.25rem, 3.5vw, 1.8rem); }
  .lp-sub { margin-top: 8px; max-width: 32ch; font-size: 0.76rem; }
  .lp-actions { width: min(100%, 340px); margin-top: 10px; }
  .lp-wls { gap: 6px; }
  .lp-wl { --wl-h: 40px; }
  .lp-wl-form { padding: 3px; }
  .lp-wl-tag { padding: 0 8px 0 5px; gap: 5px; font-size: 0.78rem; }
  .lp-wl-tag svg { width: 16px; height: 16px; }
  .lp-wl-submit { padding: 0 10px; font-size: 0.78rem; }
  .lp-wl-note { margin-top: 4px; font-size: 0.68rem; text-align: left; }
  .lp-phones { margin-top: 0; }
  .lp-foot { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}

.wl {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000000;
}

.wl-top {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.wl-back svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.wl-back:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}

.wl-back:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.doc {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 32px) 72px;
}

.doc h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(2rem, 5vw, 3rem);
}

.doc .doc-date {
  margin-top: 10px;
  font-family: var(--font-code);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.doc h2 {
  margin-top: 34px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.66);
}

.doc ul {
  list-style: disc;
  padding-left: 1.2em;
}
