:root {
  color-scheme: dark;
  --bg: #080b16;
  --bg-deep: #050711;
  --surface: rgba(17, 22, 42, 0.82);
  --surface-solid: #11162a;
  --surface-raised: #171d35;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7ff;
  --text-soft: #a9b0c8;
  --text-dim: #737b96;
  --primary: #8176ff;
  --primary-bright: #9d94ff;
  --teal: #39dcc3;
  --danger: #ff6c86;
  --warning: #ffca6b;
  --success: #5de0a4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 19px;
  --radius-sm: 13px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  min-width: 320px;
  overflow-x: clip;
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(105, 91, 255, 0.14), transparent 42%),
    linear-gradient(180deg, var(--bg-deep) 0, var(--bg) 38%, #090d19 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(129, 118, 255, 0.45);
  color: white;
}

:focus-visible {
  outline: 3px solid rgba(129, 118, 255, 0.65);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: #080b16;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.page-glow {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.page-glow-one {
  top: 110px;
  left: -220px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(73, 218, 197, 0.1), transparent 67%);
}

.page-glow-two {
  top: 440px;
  right: -230px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(129, 118, 255, 0.14), transparent 68%);
}

.section-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(5, 7, 17, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  font-size: 17px;
  font-weight: 540;
  letter-spacing: -0.02em;
}

.brand strong {
  color: var(--teal);
  font-weight: 720;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.38);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(129, 118, 255, 0.22), rgba(57, 220, 195, 0.07));
  color: var(--primary-bright);
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 14px;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: white;
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-github svg {
  width: 16px;
  height: 16px;
}

.hero {
  display: grid;
  min-height: 690px;
  padding: 104px 0 86px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 74px;
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(57, 220, 195, 0.16);
  border-radius: 999px;
  background: rgba(57, 220, 195, 0.055);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.hero h1 {
  max-width: 680px;
  margin: 24px 0 22px;
  color: white;
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(102deg, var(--primary-bright) 8%, #a99fff 42%, var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.button-primary {
  background: linear-gradient(135deg, #7467f9, #8c80ff);
  color: white;
  box-shadow: 0 13px 34px rgba(105, 91, 255, 0.25), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-primary:hover:not(:disabled) {
  box-shadow: 0 18px 42px rgba(105, 91, 255, 0.34), inset 0 1px rgba(255, 255, 255, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
}

.button-full {
  width: 100%;
}

.button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.is-busy .button-spinner {
  display: inline-block;
}

.is-busy .button-label {
  opacity: 0.75;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 465px;
  place-items: center;
  overflow: clip;
  perspective: 1100px;
}

.hero-visual::before {
  position: absolute;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 105, 255, 0.18), transparent 65%);
  content: "";
  filter: blur(8px);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(129, 118, 255, 0.13);
  border-radius: 50%;
}

.orbit-one {
  width: 420px;
  height: 420px;
  transform: rotateX(68deg) rotateZ(7deg);
}

.orbit-two {
  width: 530px;
  height: 330px;
  border-color: rgba(57, 220, 195, 0.09);
  transform: rotate(-20deg);
}

.auth-preview {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(28, 34, 64, 0.96), rgba(13, 18, 35, 0.96)),
    var(--surface-solid);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateY(-7deg) rotateX(4deg) rotateZ(1deg);
}

.auth-preview::after {
  position: absolute;
  top: -70px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 118, 255, 0.24), transparent 65%);
  content: "";
}

.preview-top,
.preview-meta,
.preview-account {
  display: flex;
  align-items: center;
}

.preview-top {
  position: relative;
  z-index: 1;
  justify-content: space-between;
}

.preview-account {
  gap: 11px;
}

.steam-dot {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: radial-gradient(circle at 35% 35%, #b7b1ff, #6458de 48%, #242a4b 50%);
  box-shadow: 0 6px 22px rgba(105, 91, 255, 0.23);
}

.preview-account small,
.preview-account strong {
  display: block;
}

.preview-account small {
  margin-bottom: 2px;
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.preview-account strong {
  font-size: 14px;
}

.preview-live,
.local-badge {
  padding: 5px 8px;
  border: 1px solid rgba(57, 220, 195, 0.18);
  border-radius: 7px;
  background: rgba(57, 220, 195, 0.07);
  color: var(--teal);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.preview-code {
  position: relative;
  z-index: 1;
  margin: 55px 0 29px;
  font-family: var(--mono);
  font-size: 66px;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 32px rgba(129, 118, 255, 0.2);
}

.preview-timer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.preview-timer span {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.preview-timer span:nth-child(-n+4) {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  box-shadow: 0 0 12px rgba(57, 220, 195, 0.14);
}

.preview-meta {
  justify-content: space-between;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 10px;
}

.preview-meta span:last-child {
  font-family: var(--mono);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(18, 23, 43, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.float-card svg {
  width: 25px;
  height: 25px;
  color: var(--teal);
}

.float-card small,
.float-card strong {
  display: block;
}

.float-card small {
  color: var(--text-dim);
  font-size: 9px;
  text-transform: uppercase;
}

.float-card strong {
  margin-top: 1px;
  font-size: 11px;
}

.float-card-lock {
  right: -11px;
  bottom: 52px;
  animation: float 5s ease-in-out infinite;
}

.float-card-id {
  top: 51px;
  left: 4px;
  display: block;
  animation: float 5.8s ease-in-out 0.8s infinite;
}

.float-card-id strong {
  color: var(--primary-bright);
  font-family: var(--mono);
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 7px 0 0;
  color: white;
  font-size: clamp(34px, 4.3vw, 52px);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.app-section {
  padding: 90px 0 118px;
}

.app-heading {
  margin-bottom: 31px;
}

.app-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(17, 22, 42, 0.96), rgba(10, 14, 28, 0.98));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.055);
}

.app-shell::before {
  position: absolute;
  top: -200px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 118, 255, 0.1), transparent 65%);
  content: "";
  pointer-events: none;
}

.tabs {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 18, 0.32);
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tab-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tab-button span {
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.65;
}

.tab-button:hover {
  color: var(--text-soft);
}

.tab-button.is-active {
  border-color: rgba(129, 118, 255, 0.19);
  background: linear-gradient(135deg, rgba(129, 118, 255, 0.12), rgba(57, 220, 195, 0.035));
  color: white;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
}

.tab-panel {
  position: relative;
  z-index: 1;
  padding: 38px 42px 42px;
}

.panel-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.panel-intro h3,
.open-copy h3,
.success-view h3,
.manage-card h3 {
  margin: 0;
  color: white;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.panel-intro p,
.open-copy > p,
.success-view > p,
.manage-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.privacy-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(57, 220, 195, 0.15);
  border-radius: 999px;
  background: rgba(57, 220, 195, 0.05);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
}

.privacy-pill i,
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(57, 220, 195, 0.8);
}

.form-step {
  display: grid;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 18px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.22);
  border-radius: 10px;
  background: rgba(129, 118, 255, 0.08);
  color: var(--primary-bright);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.field-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-title {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.field-help {
  margin: -3px 0 15px;
  color: var(--text-dim);
  font-size: 12px;
}

.optional-label {
  color: var(--text-dim);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.drop-zone {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  border: 1px dashed rgba(129, 118, 255, 0.32);
  border-radius: 16px;
  background: rgba(129, 118, 255, 0.035);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: rgba(129, 118, 255, 0.66);
  background: rgba(129, 118, 255, 0.075);
  transform: translateY(-1px);
}

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

.drop-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.22);
  border-radius: 13px;
  background: rgba(129, 118, 255, 0.09);
  color: var(--primary-bright);
}

.drop-icon svg {
  width: 25px;
  height: 25px;
}

.drop-zone strong,
.drop-zone small {
  display: block;
}

.drop-zone strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.drop-zone small {
  color: var(--text-dim);
  font-size: 11px;
}

.file-summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(93, 224, 164, 0.16);
  border-radius: 14px;
  background: rgba(93, 224, 164, 0.045);
}

.file-check {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(93, 224, 164, 0.12);
  color: var(--success);
  font-weight: 800;
}

.file-summary > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.file-summary strong,
.file-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-summary strong {
  font-size: 12px;
}

.file-summary small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 10px;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 20px;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-wrap {
  position: relative;
}

.input-wrap + .input-wrap {
  margin-top: 10px;
}

.two-fields .input-wrap + .input-wrap {
  margin-top: 0;
}

.input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(4, 7, 16, 0.45);
  color: white;
  font-family: var(--mono);
  font-size: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-wrap input::placeholder {
  color: #555e78;
}

.input-wrap input:focus {
  border-color: rgba(129, 118, 255, 0.62);
  background: rgba(7, 10, 22, 0.72);
  box-shadow: 0 0 0 3px rgba(129, 118, 255, 0.1);
}

.input-large input {
  height: 58px;
  padding-left: 17px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-soft);
}

.password-toggle svg {
  width: 19px;
  height: 19px;
}

.strength-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  color: var(--text-dim);
  font-size: 10px;
}

.strength-bars {
  display: grid;
  width: 84px;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.strength-bars i {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.strength-row[data-level="1"] i:nth-child(1) {
  background: var(--danger);
}

.strength-row[data-level="2"] i:nth-child(-n+2) {
  background: var(--warning);
}

.strength-row[data-level="3"] i:nth-child(-n+3) {
  background: var(--primary-bright);
}

.strength-row[data-level="4"] i {
  background: var(--teal);
  box-shadow: 0 0 8px rgba(57, 220, 195, 0.2);
}

.field-error {
  margin: 9px 0 0;
  color: #ff8ca0;
  font-size: 11px;
}

.acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 27px 0 0 60px;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 11px;
  line-height: 1.55;
}

.acknowledgement input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.acknowledgement input:checked + .custom-checkbox {
  border-color: var(--primary);
  background: var(--primary);
}

.acknowledgement input:checked + .custom-checkbox::after {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.acknowledgement input:focus-visible + .custom-checkbox {
  outline: 3px solid rgba(129, 118, 255, 0.45);
  outline-offset: 3px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 0 60px;
}

.form-footer > p {
  display: flex;
  max-width: 420px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-dim);
  font-size: 10px;
}

.form-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--teal);
}

.form-status {
  min-height: 18px;
  margin: 12px 0 0 60px;
  color: var(--text-soft);
  font-size: 11px;
}

.success-view {
  max-width: 680px;
  margin: 0 auto;
  padding: 45px 20px 30px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 21px;
  place-items: center;
  border: 1px solid rgba(93, 224, 164, 0.22);
  border-radius: 19px;
  background: rgba(93, 224, 164, 0.09);
  color: var(--success);
  font-size: 27px;
  box-shadow: 0 12px 40px rgba(93, 224, 164, 0.08);
}

.success-view h3 {
  margin-top: 8px;
  font-size: 30px;
}

.success-view > p {
  max-width: 480px;
  margin-inline: auto;
}

.created-id-box {
  margin: 28px 0 16px;
  padding: 15px 17px;
  border: 1px solid rgba(129, 118, 255, 0.2);
  border-radius: 15px;
  background: rgba(129, 118, 255, 0.055);
  text-align: left;
}

.created-id-box > span {
  display: block;
  margin-bottom: 9px;
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.created-id-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.created-id-box code {
  color: white;
  font-family: var(--mono);
  font-size: clamp(17px, 3.2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.copy-button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.copy-button:hover {
  border-color: var(--line-strong);
  color: white;
}

.custom-result {
  min-height: 18px;
  color: var(--text-soft) !important;
  font-size: 11px !important;
}

.custom-result.is-warning {
  color: var(--warning) !important;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.open-layout {
  display: grid;
  min-height: 420px;
  grid-template-columns: 1fr 0.9fr;
  gap: 58px;
  align-items: center;
}

.open-copy {
  padding: 25px 8px 25px 15px;
}

.open-copy h3 {
  margin-top: 8px;
  font-size: 32px;
}

.open-copy > p {
  max-width: 470px;
}

.mini-list {
  display: grid;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 11px;
}

.mini-list span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--primary-bright);
  font-family: var(--mono);
  font-size: 9px;
}

.open-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(4, 7, 16, 0.32);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.open-card .button {
  margin-top: 16px;
}

.open-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 9px;
  text-align: center;
}

.open-note svg {
  width: 16px;
  height: 16px;
}

.auth-view {
  position: relative;
  z-index: 1;
  padding: 0 34px 31px;
}

.auth-toolbar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 10px;
}

.auth-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 10px;
}

.text-button:hover {
  color: white;
}

.text-button svg {
  width: 16px;
  height: 16px;
}

.auth-grid {
  display: grid;
  padding-top: 31px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 21px;
}

.code-card,
.manage-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(4, 7, 16, 0.3);
}

.code-card {
  position: relative;
  min-height: 420px;
  padding: 27px;
  overflow: hidden;
}

.code-card::before {
  position: absolute;
  top: -130px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 118, 255, 0.19), transparent 66%);
  content: "";
}

.code-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.28);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(129, 118, 255, 0.35), rgba(57, 220, 195, 0.1));
  color: white;
  font-size: 16px;
  font-weight: 800;
}

.code-card-top > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.code-card-top span:not(.local-badge) {
  display: block;
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.code-card-top h3 {
  overflow: hidden;
  margin: 2px 0 0;
  color: white;
  font-size: 15px;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-code-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 68px 0 39px;
}

#guard-code {
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 35px rgba(129, 118, 255, 0.2);
}

#guard-code.is-changing {
  animation: codePulse 0.38s ease;
}

@keyframes codePulse {
  0% { opacity: 0.3; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.round-copy {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  cursor: pointer;
}

.round-copy:hover {
  border-color: var(--line-strong);
  color: white;
}

.round-copy svg {
  width: 21px;
  height: 21px;
}

#code-progress {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  appearance: none;
}

#code-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

#code-progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  box-shadow: 0 0 12px rgba(57, 220, 195, 0.22);
  transition: width 0.2s linear;
}

#code-progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}

.code-meta,
.current-access {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.code-meta {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 9px;
}

.current-access {
  margin-top: 47px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 9px;
}

.current-access code {
  color: var(--text-soft);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.manage-card {
  overflow: hidden;
}

.manage-section {
  padding: 25px;
}

.manage-section h3 {
  margin-top: 7px;
  font-size: 20px;
}

.manage-section form {
  margin-top: 19px;
}

.manage-section .button {
  margin-top: 16px;
}

.manage-section .form-status {
  min-height: 16px;
  margin: 9px 0 0;
}

.danger-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 18px 25px;
  border-top: 1px solid rgba(255, 108, 134, 0.13);
  background: rgba(255, 108, 134, 0.025);
}

.danger-section strong,
.danger-section small {
  display: block;
}

.danger-section strong {
  color: var(--text);
  font-size: 10px;
}

.danger-section small {
  margin-top: 3px;
  color: var(--text-dim);
  font-size: 9px;
}

.danger-button {
  padding: 7px 10px;
  border: 1px solid rgba(255, 108, 134, 0.2);
  border-radius: 9px;
  background: rgba(255, 108, 134, 0.055);
  color: #ff8ca0;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.danger-button:hover {
  background: rgba(255, 108, 134, 0.1);
}

.auto-lock-note {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 9px;
  text-align: center;
}

.benefits {
  padding: 108px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 16px;
}

.benefit-card {
  position: relative;
  min-height: 315px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(21, 27, 49, 0.78), rgba(12, 16, 31, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.benefit-card::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 118, 255, 0.08), transparent 68%);
  content: "";
}

.benefit-featured {
  border-color: rgba(129, 118, 255, 0.2);
  background: linear-gradient(145deg, rgba(35, 36, 73, 0.78), rgba(14, 18, 35, 0.9));
}

.benefit-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--mono);
  font-size: 11px;
}

.benefit-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.22);
  border-radius: 14px;
  background: rgba(129, 118, 255, 0.08);
  color: var(--primary-bright);
}

.benefit-featured .benefit-icon {
  border-color: rgba(57, 220, 195, 0.2);
  background: rgba(57, 220, 195, 0.065);
  color: var(--teal);
}

.benefit-icon svg {
  width: 27px;
  height: 27px;
}

.benefit-card h3 {
  margin: 33px 0 9px;
  color: white;
  font-size: 19px;
  font-weight: 670;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.75;
}

.benefit-card a {
  position: absolute;
  z-index: 1;
  bottom: 27px;
  left: 27px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 10px;
}

.benefit-card a span {
  margin-left: 5px;
}

.how-section {
  padding: 106px 0 116px;
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(2, 5, 13, 0.24);
}

.flow-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 5px;
}

.flow-grid article {
  position: relative;
  min-height: 255px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 22, 42, 0.5);
}

.flow-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 9px;
}

.flow-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(129, 118, 255, 0.18);
  border-radius: 13px;
  background: rgba(129, 118, 255, 0.07);
  color: var(--primary-bright);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.flow-grid article:nth-of-type(even) .flow-icon {
  border-color: rgba(57, 220, 195, 0.18);
  background: rgba(57, 220, 195, 0.055);
  color: var(--teal);
}

.flow-grid h3 {
  margin: 36px 0 8px;
  color: white;
  font-size: 15px;
  font-weight: 670;
}

.flow-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.7;
}

.flow-arrow {
  color: rgba(129, 118, 255, 0.45);
  font-family: var(--mono);
  text-align: center;
}

.security-section {
  padding: 104px 0;
}

.security-card {
  display: grid;
  align-items: center;
  padding: 34px 37px;
  border: 1px solid rgba(255, 202, 107, 0.16);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(255, 202, 107, 0.055), rgba(17, 22, 42, 0.72) 38%, rgba(129, 118, 255, 0.05));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  grid-template-columns: 76px 1fr auto;
  gap: 28px;
}

.security-symbol {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255, 202, 107, 0.17);
  border-radius: 19px;
  background: rgba(255, 202, 107, 0.055);
  color: var(--warning);
}

.security-symbol svg {
  width: 42px;
  height: 42px;
}

.security-card h2 {
  margin: 7px 0 7px;
  color: white;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.security-card p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  min-height: 130px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  grid-template-columns: auto 1fr auto;
  gap: 34px;
}

.site-footer p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 9px;
  text-align: center;
}

.site-footer > a:last-child {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10px;
}

.delete-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  outline: 0;
  background: #12172b;
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.62);
}

.delete-dialog::backdrop {
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(8px);
}

.delete-dialog form {
  padding: 29px;
  text-align: center;
}

.dialog-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto 17px;
  place-items: center;
  border: 1px solid rgba(255, 108, 134, 0.2);
  border-radius: 15px;
  background: rgba(255, 108, 134, 0.07);
  color: var(--danger);
  font-size: 22px;
  font-weight: 800;
}

.delete-dialog h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.delete-dialog p {
  margin: 11px 0 24px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.7;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.danger-confirm {
  background: var(--danger);
  color: white;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(23, 29, 53, 0.96);
  color: var(--text);
  font-size: 11px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(15px);
  animation: toastIn 0.22s ease;
}

.toast.is-error {
  border-color: rgba(255, 108, 134, 0.28);
  color: #ffadb9;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 0.83fr;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(50px, 7vw, 70px);
  }

  .float-card-lock {
    right: -4px;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 880px) {
  .site-nav > a:not(.nav-github) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-lead {
    max-width: 680px;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .open-layout,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .open-layout {
    gap: 22px;
  }

  .open-copy {
    padding: 8px;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-featured {
    grid-column: 1 / -1;
  }

  .security-card {
    grid-template-columns: 66px 1fr;
  }

  .security-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .section-wrap {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    width: calc(100% - 20px);
    min-height: 66px;
  }

  .nav-github {
    padding: 7px 9px;
    font-size: 12px;
  }

  .hero {
    padding: 62px 0 68px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(43px, 14vw, 62px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .auth-preview {
    padding: 20px;
    transform: none;
  }

  .preview-code {
    margin-block: 48px 26px;
    font-size: clamp(46px, 14vw, 62px);
  }

  .float-card-lock {
    right: 4px;
    bottom: 24px;
  }

  .float-card-id {
    top: 29px;
    left: 3px;
  }

  .app-section,
  .benefits,
  .security-section {
    padding-block: 76px;
  }

  .how-section {
    padding-block: 76px;
  }

  .tabs {
    padding: 8px;
  }

  .tab-button {
    min-height: 49px;
    font-size: 11px;
  }

  .tab-button span {
    display: none;
  }

  .tab-panel {
    padding: 27px 18px 27px;
  }

  .panel-intro {
    display: block;
  }

  .privacy-pill {
    margin-top: 15px;
  }

  .form-step {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 28px;
    height: 28px;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .two-fields .input-wrap + .input-wrap {
    margin-top: 10px;
  }

  .acknowledgement,
  .form-footer,
  .form-status {
    margin-left: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .success-view {
    padding-inline: 0;
  }

  .created-id-box > div {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .success-actions {
    flex-direction: column;
  }

  .open-card {
    padding: 20px;
  }

  .auth-view {
    padding: 0 17px 22px;
  }

  .auth-toolbar {
    min-height: 61px;
  }

  .code-card {
    min-height: 385px;
    padding: 20px;
  }

  .live-code-row {
    gap: 8px;
    margin-top: 58px;
  }

  #guard-code {
    font-size: clamp(42px, 14vw, 60px);
  }

  .round-copy {
    width: 38px;
    height: 38px;
  }

  .manage-section,
  .danger-section {
    padding-inline: 20px;
  }

  .benefit-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .benefit-featured {
    grid-column: auto;
  }

  .security-card {
    padding: 27px 22px;
    grid-template-columns: 1fr;
  }

  .security-symbol {
    width: 56px;
    height: 56px;
  }

  .security-card .button {
    width: 100%;
    grid-column: auto;
  }

  .site-footer {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dialog-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
