:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e4eaf2;
  --line-strong: #d4dde9;
  --paper: #ffffff;
  --paper-glass: rgba(255, 255, 255, .88);
  --canvas: #f6f8fc;
  --canvas-soft: #eef3f9;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-deep: #173caa;
  --brand-soft: #edf4ff;
  --teal: #0f766e;
  --teal-soft: #ecfdf9;
  --violet: #7c3aed;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --success: #047857;
  --success-soft: #ecfdf5;
  --warning: #b45309;
  --warning-soft: #fff8e7;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 7px 20px rgba(15, 23, 42, .04);
  --shadow-card: 0 2px 4px rgba(15, 23, 42, .03), 0 22px 60px rgba(15, 23, 42, .08);
  --shadow-float: 0 26px 80px rgba(15, 23, 42, .14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --sidebar-width: 272px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.58 ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", sans-serif;
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 300px), radial-gradient(circle at 42% -12%, rgba(96, 165, 250, .11), transparent 38%);
  content: "";
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

::selection {
  background: #bfdbfe;
  color: #172554;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

.mobile-only {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

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

.ambient {
  position: fixed;
  z-index: -3;
  width: 580px;
  height: 580px;
  border-radius: 999px;
  filter: blur(16px);
  opacity: .36;
  pointer-events: none;
}

.ambient-one {
  top: -340px;
  left: -250px;
  background: radial-gradient(circle, rgba(96, 165, 250, .32), transparent 70%);
}

.ambient-two {
  right: -320px;
  bottom: -390px;
  background: radial-gradient(circle, rgba(45, 212, 191, .22), transparent 70%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5.1vw, 68px);
  font-weight: 735;
  line-height: 1.01;
  letter-spacing: -.057em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 720;
  line-height: 1.14;
  letter-spacing: -.044em;
}

h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 710;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 790;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(214, 222, 234, .62);
  background: rgba(246, 248, 252, .78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.header-inner {
  display: flex;
  width: min(100%, 1440px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 13px;
  background: linear-gradient(145deg, #4b8bf7, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .24), inset 0 1px rgba(255, 255, 255, .32);
}

.brand-mark.small {
  width: 37px;
  height: 37px;
  border-radius: 12px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  border-radius: 4px;
  background: #fff;
  content: "";
}

.brand-mark::before {
  width: 18px;
  height: 5px;
}

.brand-mark::after {
  width: 5px;
  height: 18px;
}

.brand-mark span {
  position: absolute;
  right: -7px;
  bottom: -8px;
  width: 23px;
  height: 23px;
  border: 5px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.brand-copy,
.sidebar-brand > span:last-child {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong,
.sidebar-brand strong {
  font-size: 15px;
  font-weight: 780;
  letter-spacing: -.028em;
}

.brand-copy small,
.sidebar-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.public-nav a,
.text-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}

.public-nav a:hover,
.text-button:hover {
  color: var(--brand);
}

.header-actions,
.portal-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
}

.language-switcher button {
  min-width: 36px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .05em;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(15, 23, 42, .1);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 710;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}

.button:hover:not(:disabled) {
  border-color: #bcc9da;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.button.primary {
  border-color: var(--brand);
  background: linear-gradient(145deg, #3478ee, var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .22), inset 0 1px rgba(255, 255, 255, .2);
}

.button.primary:hover:not(:disabled) {
  border-color: var(--brand-dark);
  background: linear-gradient(145deg, #2f6fdf, #1c48c7);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .26), inset 0 1px rgba(255, 255, 255, .2);
}

.button.primary:disabled {
  border-color: #9eb7e7;
  background: #9eb7e7;
  color: rgba(255, 255, 255, .88);
  box-shadow: none;
  opacity: .72;
}

.button.soft {
  border-color: #dbe7fb;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.button.light {
  border-color: rgba(255, 255, 255, .52);
  background: #fff;
  color: var(--brand-dark);
}

.button.ghost {
  background: rgba(255, 255, 255, .66);
  box-shadow: none;
}

.button.danger-soft {
  border-color: #f5c9c5;
  background: var(--danger-soft);
  color: var(--danger);
  box-shadow: none;
}

.button.compact {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12px;
}

.button.large {
  min-height: 49px;
  padding: 13px 20px;
  border-radius: 13px;
  font-size: 14px;
}

.button.wide {
  width: 100%;
}

.button.busy {
  pointer-events: none;
}

.button.busy::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin .7s linear infinite;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .74);
  color: var(--muted);
}

.global-notice {
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 500;
  width: min(calc(100% - 32px), 620px);
  padding: 13px 16px;
  border: 1px solid #a7d8c2;
  border-radius: 13px;
  background: #f0fdf7;
  color: #05603d;
  font-size: 13px;
  font-weight: 650;
  box-shadow: var(--shadow-card);
  transform: translateX(-50%);
}

.global-notice.error {
  border-color: #efc4c0;
  background: #fff5f4;
  color: var(--danger);
}

.hero {
  position: relative;
  display: grid;
  width: min(100%, 1440px);
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 64px) clamp(170px, 17vw, 250px);
}

.hero::before {
  position: absolute;
  top: 10%;
  left: 48%;
  z-index: -1;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 234, 254, .72), rgba(238, 246, 255, .24) 50%, transparent 72%);
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-copy {
  align-self: start;
  padding-top: clamp(22px, 4vw, 66px);
}

.hero-copy h1 {
  max-width: 780px;
  background: linear-gradient(112deg, #101828 18%, #1d4ed8 62%, #0f766e 103%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
}

.auth-card {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(23px, 3vw, 32px);
  border: 1px solid rgba(214, 222, 234, .9);
  border-radius: var(--radius-lg);
  background: var(--paper-glass);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

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

.secure-pill,
.availability,
.role-pill,
.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.secure-pill {
  padding: 6px 9px;
  background: var(--success-soft);
  color: var(--success);
}

.secure-pill i,
.connection-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .12);
}

.auth-close {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.auth-heading h2 {
  font-size: clamp(25px, 2.6vw, 33px);
}

.auth-heading > p:last-child {
  margin: 8px 0 19px;
  color: var(--muted);
  font-size: 13px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas-soft);
}

.auth-tabs button {
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-tabs button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 690;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .025);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input,
select {
  height: 44px;
  padding: 9px 12px;
}

textarea {
  min-height: 140px;
  padding: 12px;
  line-height: 1.6;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #77a4ef;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #e1877e;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, .08);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-light);
}

.monospace {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 82px;
}

.reveal-button {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 5px 7px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 750;
  transform: translateY(-50%);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--brand);
  box-shadow: none;
}

.check-row span {
  display: grid;
  gap: 1px;
}

.check-row strong {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
}

.check-row small,
.form-footnote {
  color: var(--muted);
  font-size: 10px;
  font-weight: 520;
  line-height: 1.55;
}

.password-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.password-hint > span:first-child {
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
}

.form-footnote {
  margin: -2px 0 0;
  text-align: center;
}

.product-preview {
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  bottom: 0;
  left: clamp(24px, 6vw, 100px);
  z-index: 1;
  height: clamp(165px, 18vw, 245px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 -3px 4px rgba(15, 23, 42, .02), 0 20px 70px rgba(15, 23, 42, .15);
  opacity: .9;
  transform: perspective(1100px) rotateX(2deg);
  transform-origin: bottom center;
}

.preview-top {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.preview-top > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6deea;
}

.preview-top > span:first-child {
  background: #ff8b84;
}

.preview-top > span:nth-child(2) {
  background: #f6cb70;
}

.preview-top > span:nth-child(3) {
  background: #68d39a;
}

.preview-top b {
  margin-left: 10px;
  font-size: 8px;
  letter-spacing: -.02em;
}

.preview-top small {
  margin-left: auto;
  color: #10b981;
  font-size: 8px;
}

.preview-body {
  display: grid;
  min-height: 100%;
  grid-template-columns: 65px 1fr;
}

.preview-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  background: #f7f9fc;
}

.preview-side i {
  width: 22px;
  height: 5px;
  border-radius: 4px;
  background: #dbe2ec;
}

.preview-side i.active {
  background: #5b8fe8;
}

.preview-content {
  padding: clamp(16px, 2vw, 27px);
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-title > div {
  display: grid;
  gap: 6px;
}

.preview-title b {
  width: 110px;
  height: 9px;
  border-radius: 5px;
  background: #293548;
}

.preview-title span {
  width: 165px;
  height: 5px;
  border-radius: 5px;
  background: #d5dde8;
}

.preview-title em {
  width: 72px;
  height: 23px;
  border-radius: 7px;
  background: var(--brand);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 17px;
}

.preview-grid article {
  display: grid;
  min-height: 64px;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.preview-grid i {
  width: 27px;
  height: 27px;
  grid-row: 1 / span 2;
  border-radius: 8px;
  background: var(--brand-soft);
}

.preview-grid b,
.preview-grid span {
  height: 5px;
  border-radius: 4px;
  background: #bcc7d6;
}

.preview-grid span {
  width: 70%;
  background: #e0e6ee;
}

.preview-table {
  display: grid;
  gap: 8px;
  margin-top: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.preview-table div {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #d7dfe9 20%, transparent 20% 27%, #e5eaf0 27% 54%, transparent 54% 60%, #e5eaf0 60% 82%, transparent 82% 88%, #dbe9ff 88%);
}

.public-section {
  width: min(calc(100% - 36px), 1312px);
  margin: 0 auto;
}

.steps-section {
  padding: clamp(82px, 10vw, 140px) 0;
}

.section-intro {
  max-width: 670px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}

.section-intro > p:last-child {
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps-grid article {
  position: relative;
  min-height: 250px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-sm);
}

.steps-grid article > span:first-child {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #d8e1ee;
  font-size: 34px;
  font-weight: 760;
  letter-spacing: -.06em;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 31px 0 24px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 22px;
  font-weight: 620;
}

.steps-grid article:nth-child(2) .step-icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.steps-grid article:nth-child(3) .step-icon {
  background: #f4f0ff;
  color: var(--violet);
}

.steps-grid h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.security-section {
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(72px, 9vw, 120px) clamp(24px, 6vw, 94px);
  border: 1px solid #dce6f3;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fbfdff, #eef5fc);
  box-shadow: var(--shadow-card);
}

.security-visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(83, 127, 191, .16);
  border-radius: 50%;
}

.orbit-one {
  width: 250px;
  height: 250px;
}

.orbit-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
}

.shield {
  position: relative;
  display: grid;
  width: 128px;
  height: 145px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 62px 62px 55px 55px;
  background: linear-gradient(145deg, #4f8ff7, #1d4ed8);
  box-shadow: 0 24px 50px rgba(37, 99, 235, .25), inset 0 1px rgba(255, 255, 255, .3);
  clip-path: polygon(50% 0, 94% 17%, 88% 72%, 50% 100%, 12% 72%, 6% 17%);
}

.shield::before,
.shield::after {
  position: absolute;
  border-radius: 5px;
  background: #fff;
  content: "";
}

.shield::before {
  width: 42px;
  height: 11px;
}

.shield::after {
  width: 11px;
  height: 42px;
}

.security-node {
  position: absolute;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d9e4f2;
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  color: var(--brand);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.node-one {
  top: 43px;
  right: 28px;
}

.node-two {
  bottom: 31px;
  left: 17px;
  color: #10b981;
}

.node-three {
  top: 80px;
  left: 8px;
  color: var(--violet);
}

.security-copy h2 {
  margin-bottom: 18px;
}

.security-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}

.security-copy ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.security-copy li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.security-copy li i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 11px;
  font-style: normal;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(82px, 10vw, 140px);
  margin-bottom: clamp(60px, 8vw, 100px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #1e4fc3, #2563eb 54%, #157c85 122%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(37, 99, 235, .2);
}

.cta-section .eyebrow {
  color: #bfdbfe;
}

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.cta-section p:last-child {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .76);
}

.site-footer {
  display: flex;
  width: min(calc(100% - 36px), 1312px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 35px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  margin-bottom: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

/* Authenticated portal */
.is-authenticated .site-header,
.is-authenticated .site-footer,
.is-authenticated > .ambient {
  display: none;
}

.portal-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  background: var(--canvas);
}

.portal-sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 24px 18px 18px;
  border-right: 1px solid var(--line);
  background: rgba(251, 252, 254, .96);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 1px 7px 33px;
}

.portal-sidebar nav {
  display: grid;
  gap: 5px;
}

.portal-sidebar nav button,
.sidebar-logout {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
  text-align: left;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.portal-sidebar nav button:hover,
.sidebar-logout:hover {
  background: #f0f4f9;
  color: var(--ink-soft);
}

.portal-sidebar nav button.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px #dce8ff;
}

.portal-sidebar nav button > span:first-child,
.sidebar-logout > span:first-child {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: inherit;
  font-size: 16px;
  font-weight: 550;
}

.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: auto 2px 10px;
  padding: 14px;
  border: 1px solid #dbe8f7;
  border-radius: 13px;
  background: linear-gradient(145deg, #f4f9ff, #eef7f9);
}

.privacy-card > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
}

.privacy-card strong {
  color: var(--ink-soft);
  font-size: 10px;
}

.privacy-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-logout {
  margin-top: 2px;
  color: #7b8797;
}

.portal-main {
  min-width: 0;
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 73px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(22px, 3.5vw, 50px);
  border-bottom: 1px solid rgba(214, 222, 234, .72);
  background: rgba(246, 248, 252, .84);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.connection-state {
  color: var(--muted);
  font-size: 9px;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 280px;
  padding: 5px 7px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.profile-chip > span:first-child,
.avatar-large {
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #dbeafe, #e4efff);
  color: var(--brand-dark);
  font-weight: 780;
}

.profile-chip > span:first-child {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  font-size: 11px;
}

.profile-chip > span:last-child {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.profile-chip strong,
.profile-chip small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-chip strong {
  font-size: 11px;
}

.profile-chip small {
  color: var(--muted);
  font-size: 9px;
}

.portal-content {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: clamp(27px, 4vw, 52px) clamp(20px, 4vw, 58px) 80px;
}

.portal-section {
  display: none;
  animation: section-in .24s ease both;
}

/* Sections receive programmatic focus after in-portal navigation so screen
   readers announce the new view. They are not interactive controls, and a
   page-sized focus ring obscures the layout on mobile browsers. */
.portal-section:focus {
  outline: none;
}

.portal-section.active {
  display: block;
}

.welcome-banner {
  position: relative;
  display: flex;
  min-height: 206px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(29px, 4vw, 45px);
  overflow: hidden;
  border: 1px solid #d8e6fa;
  border-radius: var(--radius-lg);
  background: linear-gradient(122deg, #fafdff, #eff6ff 62%, #edf9f6);
  box-shadow: var(--shadow-sm);
}

.welcome-banner::after {
  position: absolute;
  top: -130px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(37, 99, 235, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(37, 99, 235, .025), 0 0 0 85px rgba(15, 118, 110, .018);
  content: "";
}

.welcome-banner h1,
.page-heading h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 47px);
}

.welcome-banner p:last-child,
.page-heading p:last-child {
  max-width: 730px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.banner-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 29px;
  background: linear-gradient(145deg, #4f8ff7, #1d4ed8);
  box-shadow: 0 22px 45px rgba(37, 99, 235, .22), inset 0 1px rgba(255, 255, 255, .3);
  transform: rotate(5deg);
}

.banner-mark::before,
.banner-mark::after {
  position: absolute;
  border-radius: 6px;
  background: #fff;
  content: "";
}

.banner-mark::before {
  width: 45px;
  height: 12px;
}

.banner-mark::after {
  width: 12px;
  height: 45px;
}

.banner-mark span {
  position: absolute;
  right: -15px;
  bottom: -18px;
  width: 64px;
  height: 64px;
  border: 11px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 17px;
}

.status-card {
  display: flex;
  min-height: 137px;
  align-items: flex-start;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.status-card.success {
  border-color: #d5ece2;
}

.status-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 15px;
  font-weight: 800;
}

.status-icon.blue {
  background: var(--brand-soft);
  color: var(--brand);
}

.status-icon.violet {
  background: #f4f0ff;
  color: var(--violet);
}

.status-card small {
  display: block;
  margin: 1px 0 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -.025em;
}

.status-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.inline-link,
.guide-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 720;
  text-align: left;
}

.status-card .inline-link {
  margin-top: 5px;
}

.section-heading,
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading {
  margin: 38px 0 17px;
}

.section-heading h2 {
  font-size: 25px;
}

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

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

.start-grid > button {
  position: relative;
  display: grid;
  min-height: 194px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.start-grid > button:hover {
  border-color: #c4d4e9;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, .08);
}

.start-grid > button > span:first-child {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #d8e1ed;
  font-size: 20px;
  font-weight: 760;
}

.start-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
}

.start-grid button:nth-child(2) .start-icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.start-grid button:nth-child(3) .start-icon {
  background: #f4f0ff;
  color: var(--violet);
}

.start-grid strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.start-grid small {
  padding-right: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.start-grid > button > i {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--brand);
  font-style: normal;
}

.home-lower-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-top: 14px;
}

.tip-card,
.privacy-reminder {
  display: flex;
  min-height: 160px;
  align-items: flex-start;
  gap: 17px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.tip-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--warning-soft);
  color: var(--warning);
  font-weight: 800;
}

.tip-card h3,
.privacy-reminder h3 {
  font-size: 15px;
}

.tip-card p:last-child,
.privacy-reminder p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.privacy-reminder {
  align-items: center;
  border-color: #d6eae6;
  background: linear-gradient(145deg, #f9fffd, #f1faf8);
}

.lock-art {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: #dff5ef;
}

.lock-art::before {
  width: 20px;
  height: 17px;
  border-radius: 4px;
  background: var(--teal);
  content: "";
}

.lock-art::after {
  position: absolute;
  top: 14px;
  width: 14px;
  height: 13px;
  border: 3px solid var(--teal);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  content: "";
}

/* Downloads */
.inline-notice {
  margin: -12px 0 20px;
  padding: 13px 15px;
  border: 1px solid #e8d8b3;
  border-radius: 12px;
  background: var(--warning-soft);
  color: #8b530d;
  font-size: 12px;
}

.inline-notice.error {
  border-color: #efc4c0;
  background: var(--danger-soft);
  color: var(--danger);
}

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

.download-card {
  padding: clamp(25px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.platform-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}

.platform-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #eef2f7;
  color: #172033;
}

.platform-icon.apple {
  font-size: 24px;
}

.platform-icon.windows {
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 3px;
  background: var(--brand-soft);
}

.platform-icon.windows i {
  width: 10px;
  height: 10px;
  background: var(--brand);
}

.availability {
  padding: 6px 9px;
  background: #f1f4f8;
  color: var(--muted);
}

.availability.available {
  background: var(--success-soft);
  color: var(--success);
}

.availability.unavailable {
  background: var(--warning-soft);
  color: var(--warning);
}

.download-card h2 {
  font-size: 28px;
}

.download-card > p {
  margin: 7px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.download-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 26px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-card dl > div {
  min-width: 0;
  padding: 0 13px;
  border-right: 1px solid var(--line);
}

.download-card dl > div:first-child {
  padding-left: 0;
}

.download-card dl > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.download-card dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.download-card dd {
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-card .guide-link {
  display: block;
  margin: 15px auto 0;
  text-align: center;
}

.integrity-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 17px;
  padding: 19px 21px;
  border: 1px solid #d5ece2;
  border-radius: 14px;
  background: var(--success-soft);
}

.integrity-callout > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d0f3e2;
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
}

.integrity-callout strong {
  font-size: 12px;
}

.integrity-callout p {
  margin: 3px 0 0;
  color: #3f6f5e;
  font-size: 10px;
}

/* Manuals */
.manual-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.manual-index {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
}

.manual-index button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 59px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.manual-index button:hover {
  background: #f4f7fb;
}

.manual-index button.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.manual-index button > span:first-child {
  font-size: 11px;
  font-weight: 780;
}

.manual-index button > span:last-child {
  display: grid;
  min-width: 0;
}

.manual-index strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-index small {
  color: var(--muted);
  font-size: 9px;
}

.manual-content {
  min-width: 0;
}

.manual-article {
  display: none;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  animation: section-in .2s ease both;
}

.manual-article.active {
  display: block;
}

.manual-heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.manual-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
  font-weight: 780;
}

.manual-heading h2 {
  font-size: 29px;
}

.manual-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.instruction-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 5px 0 0;
  list-style: none;
}

.instruction-list li {
  position: relative;
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 17px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

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

.instruction-list li > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d6e4fa;
  border-radius: 11px;
  background: #f5f9ff;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 780;
}

.instruction-list h3 {
  margin-top: 1px;
  font-size: 14px;
}

.instruction-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.manual-note,
.manual-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 24px;
  padding: 17px 18px;
  border: 1px solid #d8e6fa;
  border-radius: 13px;
  background: var(--brand-soft);
}

.manual-note > span,
.manual-warning > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.manual-note p,
.manual-warning p {
  margin: 1px 0 0;
  color: #425f8c;
  font-size: 10px;
  line-height: 1.6;
}

.manual-warning {
  border-color: #ead7ad;
  background: var(--warning-soft);
}

.manual-warning > span {
  color: var(--warning);
}

.manual-warning strong {
  color: #805114;
  font-size: 11px;
}

.manual-warning p {
  color: #8b651f;
}

/* Feedback */
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 17px;
  align-items: start;
}

.feedback-card,
.support-aside,
.account-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.privacy-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
  padding: 15px;
  border: 1px solid #edd6a8;
  border-radius: 12px;
  background: var(--warning-soft);
}

.privacy-warning > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--warning);
  font-size: 11px;
  font-weight: 800;
}

.privacy-warning strong {
  color: #76501a;
  font-size: 11px;
}

.privacy-warning p {
  margin: 3px 0 0;
  color: #8b651f;
  font-size: 10px;
}

.label-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-line small {
  color: var(--muted);
  font-size: 9px;
}

.check-row.confirmation {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f8fafc;
}

.form-result {
  display: block;
  min-height: 0;
  color: var(--success);
  font-size: 11px;
  font-weight: 650;
}

.form-result:empty {
  display: none;
}

.form-result.error {
  color: var(--danger);
}

.support-aside {
  position: sticky;
  top: 96px;
}

.support-illustration {
  position: relative;
  display: grid;
  width: 100%;
  height: 150px;
  place-items: center;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #eff6ff, #eef9f7);
}

.support-illustration > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #4b88ef, #1d4ed8);
  color: #fff;
  font-size: 31px;
  font-weight: 620;
  box-shadow: 0 18px 38px rgba(37, 99, 235, .22);
}

.support-illustration i {
  position: absolute;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 50%;
}

.support-illustration i:last-child {
  width: 200px;
  height: 200px;
}

.support-aside h2 {
  font-size: 21px;
}

.support-aside ul {
  display: grid;
  gap: 13px;
  margin: 20px 0 23px;
  padding: 0;
  list-style: none;
}

.support-aside li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.support-aside li span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #f0f4f9;
  color: var(--muted);
  font-size: 9px;
  font-weight: 780;
}

.support-aside li p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 10px;
}

/* Account */
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.identity-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 19px;
}

.avatar-large {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: 20px;
  font-size: 20px;
}

.identity-card h2 {
  font-size: 25px;
}

.identity-card p {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 12px;
}

.role-pill {
  padding: 5px 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 8px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.card-title-row h2 {
  font-size: 19px;
}

.card-title-row .eyebrow {
  margin-bottom: 4px;
}

.account-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.account-details > div:last-child {
  border-bottom: 0;
}

.account-details dt {
  color: var(--muted);
  font-size: 10px;
}

.account-details dd {
  max-width: 65%;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-details dd.positive {
  color: var(--success);
}

.security-card > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
}

/* Ended access */
.access-ended {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 12%, #eaf2ff, transparent 50%), var(--canvas);
}

.access-ended-card {
  width: min(100%, 570px);
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ended-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 18px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 24px;
  font-weight: 800;
}

.access-ended-card h1 {
  font-size: clamp(30px, 5vw, 43px);
}

.access-ended-card > p:not(.eyebrow) {
  margin-bottom: 27px;
  color: var(--muted);
}

.sidebar-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(2px);
}

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

@keyframes section-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .public-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .86fr);
    gap: 40px;
  }

  .portal-layout {
    --sidebar-width: 238px;
  }

  .status-grid,
  .start-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-grid > article:last-child,
  .start-grid > button:last-child {
    grid-column: 1 / -1;
  }

  .start-grid > button:last-child {
    min-height: 150px;
  }

  .home-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .mobile-only {
    display: inline-grid;
  }

  .header-inner {
    min-height: 72px;
  }

  .public-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-card);
  }

  .public-nav.open {
    display: grid;
  }

  .public-nav a,
  .public-nav .text-button {
    padding: 11px 12px;
    border-radius: 9px;
    text-align: left;
  }

  #header-login {
    display: none;
  }

  #mobile-menu-button {
    display: grid;
    align-content: center;
    gap: 4px;
  }

  #mobile-menu-button span,
  #sidebar-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 200px;
  }

  .hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

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

  .product-preview {
    height: 165px;
  }

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

  .steps-grid article {
    min-height: 215px;
  }

  .security-section {
    grid-template-columns: 1fr;
  }

  .security-visual {
    min-height: 280px;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(84vw, 285px);
    height: 100vh;
    box-shadow: 16px 0 40px rgba(15, 23, 42, .16);
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .portal-sidebar.open {
    transform: translateX(0);
  }

  .portal-topbar {
    min-height: 68px;
  }

  #sidebar-toggle {
    display: grid;
    align-content: center;
    gap: 4px;
  }

  .connection-state {
    display: none;
  }

  .portal-top-actions {
    margin-left: auto;
  }

  .manual-layout {
    grid-template-columns: 1fr;
  }

  .manual-index {
    position: static;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .manual-index button {
    min-width: 180px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .support-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .header-inner {
    gap: 10px;
  }

  .header-inner > .brand .brand-copy small {
    display: none;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-preview {
    right: 18px;
    left: 18px;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid article:last-child {
    display: none;
  }

  .security-section {
    padding: 55px 23px;
  }

  .security-visual {
    transform: scale(.86);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .profile-chip > span:last-child {
    display: none;
  }

  .welcome-banner {
    min-height: 230px;
  }

  .banner-mark {
    width: 72px;
    height: 72px;
    border-radius: 21px;
    opacity: .72;
  }

  .banner-mark::before {
    width: 31px;
    height: 9px;
  }

  .banner-mark::after {
    width: 9px;
    height: 31px;
  }

  .status-grid,
  .start-grid,
  .download-grid,
  .feedback-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .status-grid > article:last-child,
  .start-grid > button:last-child,
  .identity-card {
    grid-column: auto;
  }

  .status-card,
  .start-grid > button {
    min-height: 140px;
  }

  .page-heading,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading h1 {
    font-size: 37px;
  }

  .manual-heading {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .manual-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 13px;
  }

  .manual-heading h2 {
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .language-switcher button {
    min-width: 32px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .hero-actions {
    display: grid;
  }

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

  .trust-row {
    align-items: center;
    flex-direction: column;
  }

  .auth-card {
    padding: 22px 18px;
  }

  .product-preview {
    height: 145px;
  }

  .preview-body {
    grid-template-columns: 45px 1fr;
  }

  .preview-side {
    padding: 16px 11px;
  }

  .preview-content {
    padding: 15px;
  }

  .steps-grid article {
    padding: 24px;
  }

  .security-visual {
    min-height: 235px;
    transform: scale(.72);
  }

  .cta-section {
    padding: 31px 24px;
  }

  .portal-topbar {
    padding: 0 13px;
  }

  .portal-top-actions {
    gap: 6px;
  }

  .portal-top-actions .language-switcher {
    box-shadow: none;
  }

  .welcome-banner {
    padding: 26px 22px;
  }

  .welcome-banner h1 {
    font-size: 34px;
  }

  .banner-mark {
    position: absolute;
    right: -18px;
    bottom: -16px;
    opacity: .28;
  }

  .download-card dl {
    grid-template-columns: 1fr;
  }

  .download-card dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .download-card dl > div:last-child {
    border-bottom: 0;
  }

  .download-card dt {
    margin-bottom: 0;
  }

  .manual-article {
    padding: 23px 18px;
  }

  .instruction-list li {
    grid-template-columns: 31px 1fr;
    gap: 12px;
  }

  .instruction-list li > span {
    width: 30px;
    height: 30px;
  }

  .identity-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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