:root {
  color-scheme: dark;
  --bg: #161b23;
  --bg-deep: #11161d;
  --surface: #1b1f27;
  --surface-2: #1f252e;
  --surface-3: #242c36;
  --border: #2b3642;
  --border-soft: rgba(137, 169, 189, .14);
  --text: #fdfdfd;
  --muted: #91969d;
  --muted-strong: #bbc0c6;
  --cyan: #3bc9db;
  --cyan-bright: #66d9e8;
  --cyan-deep: #1098ad;
  --cyan-glow: #22b8cf;
  --success: #63e6be;
  --warning: #ffd43b;
  --danger: #ff8787;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at 52% -190px, rgba(34, 184, 207, .16), transparent 70%),
    radial-gradient(620px 480px at -8% 58%, rgba(34, 184, 207, .055), transparent 73%),
    radial-gradient(680px 540px at 106% 88%, rgba(34, 184, 207, .07), transparent 74%),
    linear-gradient(180deg, #171c24 0%, var(--bg) 54%, #141920 100%);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 151, 171, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 151, 171, .06) 1px, transparent 1px),
    linear-gradient(rgba(59, 201, 219, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 201, 219, .024) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 120px 120px, 120px 120px;
  background-position: center top;
  opacity: .58;
  -webkit-mask-image: radial-gradient(ellipse 94% 96% at 50% 34%, #000 0%, rgba(0,0,0,.96) 62%, rgba(0,0,0,.48) 100%);
  mask-image: radial-gradient(ellipse 94% 96% at 50% 34%, #000 0%, rgba(0,0,0,.96) 62%, rgba(0,0,0,.48) 100%);
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(30px, env(safe-area-inset-bottom));
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: grid;
  grid-template-columns: 188px 1fr auto;
  align-items: center;
  min-height: 70px;
  margin-bottom: 48px;
  padding: 11px 14px 11px 18px;
  border: 1px solid rgba(102, 217, 232, .12);
  border-radius: 20px;
  background: rgba(24, 29, 37, .84);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22), inset 0 1px rgba(255,255,255,.025);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand-link { display: inline-flex; width: 168px; height: 50px; align-items: center; overflow: hidden; text-decoration: none; }
.brand-link img { width: 168px; height: auto; }
.desktop-nav { display: flex; justify-content: center; gap: 6px; }
.desktop-nav.is-hidden, .mobile-nav.is-hidden { display: none; }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 15px;
  border-radius: 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .16s ease, background .16s ease;
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--text); background: rgba(102, 217, 232, .075); }
.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(59, 201, 219, .7);
}
.header-login {
  display: inline-flex;
  min-width: 88px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(102, 217, 232, .28);
  border-radius: 12px;
  background: rgba(34, 184, 207, .08);
  color: var(--cyan-bright);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.header-login:hover { transform: translateY(-1px); border-color: rgba(102,217,232,.58); background: rgba(34,184,207,.13); }

.site-main { min-height: 58vh; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--cyan-bright);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px rgba(59,201,219,.78); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
  padding: 24px 12px 58px;
}
.hero-copy h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: .99;
  letter-spacing: -.052em;
}
.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(92deg, #fdfdfd 0%, #d7f8fb 34%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p:not(.hero-note) { max-width: 690px; margin: 27px 0 0; color: var(--muted-strong); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.68; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-row.centered { justify-content: center; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 740;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary {
  border-color: rgba(102, 217, 232, .46);
  background: linear-gradient(180deg, rgba(43,184,205,.27), rgba(16,152,173,.17));
  box-shadow: 0 12px 36px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.05);
  color: var(--cyan-bright);
}
.button-primary:hover { border-color: rgba(102,217,232,.75); background: linear-gradient(180deg, rgba(43,184,205,.34), rgba(16,152,173,.22)); box-shadow: 0 15px 40px rgba(0,0,0,.3), 0 0 28px rgba(34,184,207,.1); }
.button-secondary { border-color: var(--border); background: rgba(27,31,39,.72); color: var(--muted-strong); }
.button-secondary:hover { border-color: rgba(145,150,157,.55); color: var(--text); background: rgba(36,44,54,.8); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(102,217,232,.42); outline-offset: 3px; }
.hero-note { max-width: 580px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.connection-preview {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(31,37,46,.97), rgba(27,31,39,.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.connection-preview::before, .single-panel::before, .section-card::before, .news-panel::before, .support-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102,217,232,.32), transparent);
}
.connection-preview::after { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; top: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(34,184,207,.14), transparent 67%); pointer-events: none; }
.preview-head { position: relative; z-index: 1; display: grid; grid-template-columns: 50px minmax(0,1fr) auto; gap: 13px; align-items: center; }
.preview-head img { width: 50px; height: 50px; border-radius: 14px; }
.preview-head div { min-width: 0; }
.preview-head div span, .preview-head div strong { display: block; }
.preview-head div span { color: var(--muted); font-size: 12px; }
.preview-head div strong { margin-top: 3px; font-size: 17px; letter-spacing: -.02em; }
.availability { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 12px; font-weight: 700; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 13px rgba(99,230,190,.65); }
.preview-orbit { position: relative; display: grid; width: 224px; height: 224px; margin: 26px auto 15px; place-items: center; }
.orbit-ring { position: absolute; inset: 0; border: 1px solid rgba(102,217,232,.17); border-radius: 50%; box-shadow: inset 0 0 55px rgba(34,184,207,.035); }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(102,217,232,.12); }
.orbit-ring::before { inset: 23px; }
.orbit-ring::after { inset: 52px; background: radial-gradient(circle, rgba(34,184,207,.11), rgba(34,184,207,.025) 62%, transparent 70%); }
.power-symbol { position: relative; z-index: 2; display: grid; width: 84px; height: 84px; place-items: center; border: 1px solid rgba(102,217,232,.5); border-radius: 50%; background: linear-gradient(180deg, rgba(43,184,205,.25), rgba(16,152,173,.14)); box-shadow: 0 0 52px rgba(34,184,207,.19), inset 0 1px rgba(255,255,255,.06); color: var(--cyan-bright); }
.power-symbol svg { width: 33px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.connection-preview > p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.preview-features { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.preview-features > div { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 12px; border: 1px solid rgba(102,217,232,.11); border-radius: 13px; background: rgba(12,17,23,.22); }
.preview-features svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.preview-features span { min-width: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.preview-features strong { display: block; color: var(--muted-strong); font-size: 11px; }

.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-bottom: 86px; border: 1px solid var(--border-soft); border-radius: 18px; background: var(--border-soft); overflow: hidden; }
.trust-strip > div { display: flex; min-width: 0; gap: 13px; align-items: center; padding: 17px 20px; background: rgba(25,30,38,.88); }
.trust-strip svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip span { min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.trust-strip strong { display: block; color: var(--muted-strong); font-size: 13px; }

.section-block { margin-bottom: 86px; }
.section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 25px; }
.section-heading h2 { margin: 9px 0 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.section-heading.compact { align-items: center; }
.section-heading.compact h2 { font-size: 28px; }
.section-heading.compact > a { color: var(--cyan-bright); font-size: 13px; font-weight: 700; text-decoration: none; }
.section-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.section-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 18px;
  align-items: start;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(31,37,46,.92), rgba(27,31,39,.96));
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.section-card:hover { transform: translateY(-2px); border-color: rgba(102,217,232,.34); background: linear-gradient(180deg, rgba(34,42,52,.96), rgba(28,34,42,.98)); }
.section-card-large { grid-row: 1 / 3; align-content: center; padding: 34px; }
.section-icon, .page-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(102,217,232,.22); border-radius: 14px; background: rgba(34,184,207,.08); color: var(--cyan-bright); }
.section-icon svg, .page-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.section-card-large .section-icon { width: 62px; height: 62px; border-radius: 18px; }
.section-card-large .section-icon svg { width: 30px; height: 30px; }
.card-kicker { color: var(--cyan); font-size: 11px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.section-card h3 { margin: 8px 0 0; font-size: 21px; letter-spacing: -.025em; }
.section-card-large h3 { font-size: 29px; }
.section-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.card-arrow { align-self: center; color: var(--muted); }
.card-arrow svg, .action-card > svg:last-child, .news-row > svg, .platform-card > svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.split-section { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); gap: 16px; margin-bottom: 80px; }
.news-panel, .support-panel, .single-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(31,37,46,.94), rgba(27,31,39,.97));
  box-shadow: 0 18px 52px rgba(0,0,0,.2);
  overflow: hidden;
}
.news-panel { padding: 26px; }
.news-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 18px 4px; border-top: 1px solid var(--border-soft); text-decoration: none; }
.news-row.is-muted { opacity: .68; }
.news-date { color: var(--cyan); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.news-row strong { font-size: 15px; }
.news-row p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.news-row > svg { color: var(--muted); }
.support-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px; }
.support-panel .section-icon { margin-bottom: 22px; }
.support-panel h2 { margin: 9px 0 0; font-size: 30px; letter-spacing: -.035em; }
.support-panel > p { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.support-panel .button-row { margin-top: 24px; }

.page-hero { display: flex; justify-content: space-between; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto 28px; padding: 22px 10px; }
.page-hero > div { min-width: 0; }
.page-hero h1 { margin: 13px 0 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.02; letter-spacing: -.048em; }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted-strong); font-size: 16px; line-height: 1.65; }
.page-hero .page-icon { flex: 0 0 68px; width: 68px; height: 68px; border-radius: 20px; }
.page-hero .page-icon svg { width: 31px; height: 31px; }
.single-panel { max-width: 980px; margin: 0 auto 70px; padding: clamp(24px, 4vw, 38px); }
.detail-panel { overflow: visible; }
.empty-state { display: flex; flex-direction: column; align-items: center; max-width: 620px; margin: 24px auto; text-align: center; }
.status-ring { position: relative; display: grid; width: 82px; height: 82px; margin-bottom: 23px; place-items: center; border: 1px solid rgba(102,217,232,.2); border-radius: 50%; box-shadow: inset 0 0 35px rgba(34,184,207,.05), 0 0 30px rgba(34,184,207,.05); }
.status-ring::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(102,217,232,.12); border-radius: 50%; }
.status-ring i { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px rgba(59,201,219,.8); }
.empty-state h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.empty-state > p { max-width: 520px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.empty-state .button-row { margin-top: 27px; }

.feature-list { display: grid; gap: 11px; }
.feature-item { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start; padding: 17px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(12,17,23,.2); }
.feature-item > svg { width: 24px; height: 24px; margin: 2px auto 0; fill: none; stroke: var(--cyan); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.feature-item strong, .feature-item span { display: block; }
.feature-item strong { font-size: 15px; }
.feature-item span { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.notice { display: flex; gap: 13px; align-items: flex-start; margin-top: 24px; padding: 17px; border: 1px solid rgba(102,217,232,.13); border-radius: 14px; background: rgba(34,184,207,.045); }
.notice .status-dot { flex: 0 0 8px; margin-top: 6px; }
.notice strong { font-size: 14px; }
.notice p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.detail-actions { margin-top: 28px; }

.content-list { display: grid; gap: 12px; }
.content-card { position: relative; display: block; padding: 21px; border: 1px solid var(--border-soft); border-radius: 15px; background: rgba(12,17,23,.2); text-decoration: none; transition: border-color .16s ease, background .16s ease; }
.content-card:hover { border-color: rgba(102,217,232,.32); background: rgba(34,184,207,.045); }
.content-card.is-muted { opacity: .72; }
.content-card-meta { color: var(--cyan); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.content-card strong { display: block; margin-top: 8px; font-size: 18px; }
.content-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.content-card-link { display: inline-block; margin-top: 14px; color: var(--cyan-bright); font-size: 12px; font-weight: 700; }
.article-body { color: var(--muted-strong); font-size: 15px; line-height: 1.75; }
.article-body p { margin: 0 0 16px; }
.technical-note { color: var(--muted); font-size: 12px; }
.technical-note code { word-break: break-word; color: var(--cyan-bright); }

.action-grid { display: grid; gap: 11px; }
.action-card { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 17px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(12,17,23,.2); text-decoration: none; transition: border-color .16s ease, background .16s ease; }
.action-card:hover { border-color: rgba(102,217,232,.32); background: rgba(34,184,207,.045); }
.action-card > svg:first-child { width: 23px; height: 23px; fill: none; stroke: var(--cyan); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.action-card > svg:last-child { color: var(--muted); }
.action-card strong, .action-card span { display: block; }
.action-card strong { font-size: 15px; }
.action-card span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.mock-form { display: grid; gap: 13px; }
.mock-form label { display: block; min-height: 78px; padding: 16px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(12,17,23,.2); color: var(--muted-strong); font-size: 13px; font-weight: 700; }
.mock-form label span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.mock-form button { min-height: 50px; border: 1px solid var(--border); border-radius: 13px; background: rgba(27,31,39,.7); color: var(--muted); cursor: not-allowed; }
.conversation { display: grid; gap: 13px; }
.message { max-width: 78%; padding: 15px 17px; border-radius: 15px; }
.message span { color: var(--muted); font-size: 10px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.message p { margin: 7px 0 0; font-size: 13px; line-height: 1.55; }
.message.is-user { justify-self: end; border: 1px solid rgba(102,217,232,.24); background: rgba(34,184,207,.08); }
.message.is-support { justify-self: start; border: 1px solid var(--border-soft); background: rgba(12,17,23,.24); }

.preference-list { display: grid; gap: 10px; }
.preference { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(12,17,23,.2); }
.preference strong, .preference span { display: block; }
.preference strong { font-size: 14px; }
.preference div span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.switch { position: relative; flex: 0 0 44px; width: 44px; height: 24px; border: 1px solid var(--border); border-radius: 99px; background: #151a21; opacity: .75; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); }
.switch.is-on { border-color: rgba(102,217,232,.34); background: rgba(34,184,207,.12); }
.switch.is-on::after { left: 23px; background: var(--cyan); box-shadow: 0 0 12px rgba(59,201,219,.58); }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.platform-card { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 13px; align-items: center; padding: 15px; border: 1px solid var(--border-soft); border-radius: 14px; background: rgba(12,17,23,.2); text-decoration: none; transition: border-color .16s ease, background .16s ease; }
.platform-card:hover { border-color: rgba(102,217,232,.32); background: rgba(34,184,207,.045); }
.platform-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(102,217,232,.22); border-radius: 13px; background: rgba(34,184,207,.08); color: var(--cyan-bright); font-size: 16px; font-weight: 800; }
.platform-card strong, .platform-card span { display: block; }
.platform-card strong { font-size: 14px; }
.platform-card div span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.platform-card > svg { color: var(--muted); }

.guide-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 16px; max-width: 980px; margin: 0 auto 70px; }
.guide-steps, .guide-help { border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(31,37,46,.94), rgba(27,31,39,.97)); box-shadow: 0 18px 52px rgba(0,0,0,.2); }
.guide-steps { display: grid; gap: 1px; padding: 7px; background-color: var(--border-soft); overflow: hidden; }
.guide-step { display: grid; grid-template-columns: 34px 34px minmax(0,1fr); gap: 12px; align-items: start; padding: 20px; background: rgba(27,31,39,.98); }
.guide-step > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(102,217,232,.22); border-radius: 9px; color: var(--cyan-bright); font-size: 12px; font-weight: 800; }
.guide-step > svg { width: 23px; height: 23px; margin-top: 2px; fill: none; stroke: var(--cyan); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.guide-step strong { font-size: 15px; }
.guide-step p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.guide-help { align-self: start; padding: 24px; }
.guide-help > strong { display: block; margin-top: 16px; font-size: 18px; }
.guide-help > p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.guide-help .button { width: 100%; margin-top: 22px; }
.text-link { display: block; margin-top: 16px; color: var(--cyan-bright); font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; }

.status-page, .error-page { display: flex; flex-direction: column; align-items: center; max-width: 780px; margin: 40px auto 90px; padding: clamp(34px, 6vw, 66px); border: 1px solid var(--border); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(31,37,46,.95), rgba(27,31,39,.98)); box-shadow: var(--shadow); text-align: center; }
.status-visual { position: relative; display: grid; width: 130px; height: 130px; margin-bottom: 27px; place-items: center; }
.status-ring.large { position: absolute; width: 130px; height: 130px; margin: 0; }
.status-visual > svg { position: relative; z-index: 2; width: 36px; height: 36px; fill: none; stroke: var(--cyan-bright); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.status-page h1, .error-page h1 { margin: 15px 0 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.status-page > p, .error-page > p { max-width: 600px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.67; }
.error-code { color: rgba(102,217,232,.12); font-size: clamp(72px, 14vw, 150px); font-weight: 850; line-height: .8; letter-spacing: -.07em; }
.error-page .page-icon { margin-top: -16px; }

.site-footer { display: grid; grid-template-columns: minmax(250px,1.2fr) minmax(180px,.8fr) auto; gap: 36px; align-items: start; padding: 28px 6px 10px; border-top: 1px solid var(--border-soft); color: var(--muted); }
.site-footer img { width: 145px; height: auto; }
.site-footer p { max-width: 390px; margin: 12px 0 0; font-size: 12px; line-height: 1.55; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer nav a { color: var(--muted-strong); font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--cyan-bright); }
.footer-note { justify-self: end; text-align: right; }
.mobile-nav { display: none; }

.page-admin .site-footer { display: none; }
.page-admin .site-header { grid-template-columns: 188px 1fr auto; }

@media (max-width: 980px) {
  .site-shell { width: min(100% - 28px, 900px); }
  .site-header { grid-template-columns: 154px 1fr auto; }
  .brand-link, .brand-link img { width: 146px; }
  .desktop-nav a { padding: 0 10px; font-size: 13px; }
  .hero { grid-template-columns: 1fr 350px; gap: 28px; }
  .hero-copy h1 { font-size: clamp(44px, 6vw, 64px); }
  .section-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .section-card-large { grid-row: auto; grid-column: 1 / 3; }
  .split-section { grid-template-columns: 1fr; }
  .support-panel { min-height: 300px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-help { width: 100%; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body::before { opacity: .45; }
  .site-shell { width: min(100% - 24px, 680px); padding-top: max(10px, env(safe-area-inset-top)); }
  .site-header { position: relative; top: 0; grid-template-columns: 1fr auto; min-height: 62px; margin-bottom: 28px; padding: 8px 9px 8px 14px; border-radius: 17px; }
  .brand-link, .brand-link img { width: 142px; }
  .desktop-nav { display: none; }
  .header-login { min-width: 82px; min-height: 44px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 10px 2px 38px; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(40px, 11.6vw, 59px); }
  .hero-copy > p:not(.hero-note) { margin-top: 20px; font-size: 16px; }
  .connection-preview { width: min(100%, 430px); margin: 0 auto; border-radius: 22px; }
  .trust-strip { grid-template-columns: 1fr; margin-bottom: 58px; }
  .section-block { margin-bottom: 58px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading > p { margin-top: 12px; }
  .section-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .section-card-large { grid-column: auto; padding: 25px; }
  .section-card-large .section-icon { width: 50px; height: 50px; border-radius: 15px; }
  .section-card-large .section-icon svg { width: 25px; height: 25px; }
  .section-card-large h3 { font-size: 23px; }
  .split-section { margin-bottom: 54px; }
  .news-panel { padding: 21px; }
  .support-panel { min-height: auto; padding: 26px; }
  .page-hero { align-items: flex-start; margin-bottom: 19px; padding: 8px 3px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .page-hero p { font-size: 14px; }
  .page-hero .page-icon { flex-basis: 56px; width: 56px; height: 56px; border-radius: 17px; }
  .page-hero .page-icon svg { width: 27px; height: 27px; }
  .single-panel { margin-bottom: 50px; padding: 22px; border-radius: 18px; }
  .platform-grid { grid-template-columns: 1fr; }
  .message { max-width: 90%; }
  .status-page, .error-page { margin-top: 20px; margin-bottom: 50px; border-radius: 21px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding-bottom: 18px; }
  .site-footer nav { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .site-footer nav a { padding: 10px; border: 1px solid var(--border-soft); border-radius: 10px; background: rgba(12,17,23,.18); text-align: center; }
  .footer-note { justify-self: start; text-align: left; }
  .mobile-nav {
    position: fixed;
    z-index: 50;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 66px;
    padding: 5px;
    border: 1px solid rgba(102,217,232,.14);
    border-radius: 18px;
    background: rgba(23,28,36,.91);
    box-shadow: 0 18px 50px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
  .mobile-nav a { position: relative; display: flex; min-width: 0; min-height: 54px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border-radius: 13px; color: var(--muted); font-size: 9px; font-weight: 650; text-decoration: none; }
  .mobile-nav a.is-active { color: var(--cyan-bright); background: rgba(34,184,207,.08); }
  .mobile-nav a.is-active::before { content: ""; position: absolute; top: 4px; width: 18px; height: 2px; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 10px rgba(59,201,219,.7); }
  .mobile-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
  .page-admin .mobile-nav { display: none; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 20px, 500px); }
  .site-header { margin-bottom: 22px; }
  .brand-link, .brand-link img { width: 132px; }
  .header-login { min-width: 76px; padding: 0 13px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 50px; }
  .hero-copy h1 { font-size: clamp(38px, 12.8vw, 52px); }
  .hero-copy br { display: none; }
  .connection-preview { padding: 18px; }
  .preview-head { grid-template-columns: 46px minmax(0,1fr); }
  .preview-head img { width: 46px; height: 46px; }
  .availability { grid-column: 1 / 3; justify-self: start; margin-top: 2px; }
  .preview-orbit { width: 190px; height: 190px; margin-top: 18px; }
  .power-symbol { width: 72px; height: 72px; }
  .preview-features { grid-template-columns: 1fr; }
  .trust-strip > div { padding: 15px 16px; }
  .section-card { grid-template-columns: 46px minmax(0,1fr); padding: 20px; }
  .section-card .card-arrow { display: none; }
  .section-icon { width: 46px; height: 46px; }
  .section-card-large { padding: 22px 20px; }
  .section-card-large .section-icon { width: 46px; height: 46px; }
  .section-card-large h3 { font-size: 21px; }
  .section-heading.compact { display: flex; align-items: end; }
  .section-heading.compact h2 { font-size: 25px; }
  .news-row { grid-template-columns: 1fr auto; gap: 10px; }
  .news-date { grid-column: 1 / 3; }
  .news-row.is-muted { grid-template-columns: 1fr; }
  .page-hero { gap: 16px; }
  .page-hero .page-icon { flex-basis: 50px; width: 50px; height: 50px; }
  .page-hero h1 { font-size: clamp(34px, 10.7vw, 44px); }
  .single-panel { padding: 18px; }
  .empty-state { margin: 14px auto; }
  .feature-item { grid-template-columns: 32px minmax(0,1fr); padding: 15px; }
  .action-card { grid-template-columns: 34px minmax(0,1fr); }
  .action-card > svg:last-child { display: none; }
  .preference { gap: 12px; padding: 15px; }
  .guide-step { grid-template-columns: 30px minmax(0,1fr); padding: 16px; }
  .guide-step > svg { display: none; }
  .guide-help { padding: 20px; }
  .status-page, .error-page { padding: 34px 20px; }
  .site-footer nav { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .site-shell { width: calc(100% - 16px); }
  .brand-link, .brand-link img { width: 122px; }
  .header-login { min-width: 70px; padding: 0 11px; font-size: 13px; }
  .hero-copy h1 { font-size: 36px; }
  .connection-preview { padding: 16px; }
  .mobile-nav { right: 6px; left: 6px; }
  .mobile-nav a { font-size: 8px; }
}

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

/* Public landing: intentionally minimal; internal page shell remains unchanged. */
.page-home {
  padding-bottom: 0;
}
.page-home::before { opacity: .38; }
.page-home .site-shell {
  width: min(100% - 40px, 1180px);
  min-height: 100svh;
  padding-top: max(18px, env(safe-area-inset-top));
  padding-bottom: max(22px, env(safe-area-inset-bottom));
}
.page-home .site-header,
.page-home .desktop-nav,
.page-home .header-login,
.page-home .site-footer,
.page-home .mobile-nav {
  display: none;
}
.page-home .site-main {
  display: grid;
  min-height: calc(100svh - max(18px, env(safe-area-inset-top)) - max(22px, env(safe-area-inset-bottom)));
  place-items: start center;
  padding-top: clamp(64px, 15vh, 150px);
}
.landing {
  width: min(100%, 480px);
  min-width: 0;
  text-align: center;
}
.landing-logo {
  width: min(72%, 250px);
  height: auto;
  margin: 0 auto;
}
.landing-copy {
  min-width: 0;
  margin-top: 34px;
}
.landing-copy h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 3.2vw, 31px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.landing-copy p {
  margin: 11px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}
.landing-actions {
  display: grid;
  gap: 11px;
  min-width: 0;
  margin-top: 30px;
}
.landing-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
}
.landing-email:disabled {
  border-color: rgba(137, 169, 189, .15);
  background: rgba(27, 31, 39, .45);
  color: rgba(187, 192, 198, .5);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.landing-email:disabled:hover { transform: none; }
.landing-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .page-home .site-shell {
    width: min(100% - 32px, 520px);
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .page-home .site-main {
    min-height: calc(100svh - max(14px, env(safe-area-inset-top)) - max(18px, env(safe-area-inset-bottom)));
    padding-top: clamp(46px, 10vh, 86px);
  }
  .landing-logo { width: min(66%, 220px); }
  .landing-copy { margin-top: 28px; }
  .landing-copy h1 { font-size: clamp(23px, 7.2vw, 29px); }
  .landing-actions { margin-top: 26px; }
}

@media (max-width: 359px) {
  .page-home .site-shell { width: calc(100% - 24px); }
  .page-home .site-main { padding-top: 38px; }
  .landing-logo { width: min(68%, 205px); }
  .landing-copy { margin-top: 24px; }
  .landing-copy h1 { font-size: 23px; }
  .landing-copy p { font-size: 14px; }
  .landing-actions { margin-top: 23px; }
  .landing-actions .button { min-height: 50px; padding-inline: 14px; }
}

/* Authenticated home: same calm geometry as the accepted anonymous landing. */
.page-auth-home {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.page-auth-home::before { opacity: .38; }
.page-auth-home .site-shell {
  width: min(calc(100% - 32px), 520px);
  min-height: 100vh;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
}
.page-auth-home .site-header,
.page-auth-home .site-footer,
.page-auth-home .mobile-nav { display: none; }
.page-auth-home .site-main {
  min-height: calc(100vh - 48px);
  min-height: calc(100svh - 48px);
  display: grid;
  place-items: center;
  padding: 0;
}
.auth-home {
  width: 100%;
  min-width: 0;
  text-align: center;
}
.auth-home-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-home-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(99,230,190,.55);
}
.auth-home-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.auth-home-link {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(12,17,23,.22);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.auth-home-link:hover {
  transform: translateY(-1px);
  border-color: rgba(102,217,232,.34);
  background: rgba(34,184,207,.045);
}
.auth-home-link.is-primary {
  border-color: rgba(102,217,232,.42);
  background: linear-gradient(180deg,rgba(43,184,205,.18),rgba(16,152,173,.10));
}
.auth-home-link > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-home-link strong,
.auth-home-link small { display: block; }
.auth-home-link strong { font-size: 14px; }
.auth-home-link small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }

@media (max-width: 520px) {
  .page-auth-home .site-shell { width: calc(100% - 24px); }
  .page-auth-home .site-main { min-height: calc(100svh - 40px); }
  .auth-home-actions { margin-top: 24px; }
}


/* Public UI convergence v1: compact application geometry and consistent icon alignment. */
@media (min-width: 761px) {
  .site-shell { width: min(100% - 40px, 1040px); }
}

.header-logout { margin: 0; }
.header-logout input[type="hidden"] { display: none; }
.header-logout button {
  display: inline-flex;
  min-width: 88px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(102,217,232,.18);
  border-radius: 12px;
  background: rgba(27,31,39,.68);
  color: var(--muted-strong);
  font: 700 14px/1 var(--font);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.header-logout button:hover {
  border-color: rgba(102,217,232,.38);
  background: rgba(34,184,207,.075);
  color: var(--text);
}
.header-logout button:focus-visible { outline: 3px solid rgba(102,217,232,.34); outline-offset: 3px; }

.page-hero {
  display: block;
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 14px 6px 12px;
}
.page-heading-row {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}
.page-heading-row > div { min-width: 0; }
.page-heading-row .page-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.page-heading-row .page-icon svg { width: 22px; height: 22px; }
.page-hero h1 {
  margin: 7px 0 0;
  font-size: clamp(36px, 4.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -.043em;
}
.page-hero .page-lead {
  max-width: 720px;
  margin: 13px 0 0 58px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.62;
}
.single-panel { max-width: 860px; }
.guide-layout { grid-template-columns: minmax(0,1fr) 280px; max-width: 860px; }

.feature-item {
  grid-template-columns: 30px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
}
.feature-item > svg {
  width: 21px;
  height: 21px;
  margin: 0 auto;
}
.feature-item span { margin-top: 4px; }
.action-card {
  grid-template-columns: 30px minmax(0,1fr) auto;
  gap: 12px;
}
.action-card > svg:first-child { width: 21px; height: 21px; justify-self: center; }
.guide-step { grid-template-columns: 30px 30px minmax(0,1fr); gap: 11px; }
.guide-step > svg { width: 21px; height: 21px; justify-self: center; }

@media (max-width: 760px) {
  .mobile-nav { grid-template-columns: repeat(3, 1fr); }
  .header-logout button { min-width: 82px; min-height: 44px; padding-inline: 14px; }
  .page-hero { margin-bottom: 20px; padding: 8px 2px 10px; }
  .page-heading-row { gap: 12px; }
  .page-heading-row .page-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  .page-heading-row .page-icon svg { width: 20px; height: 20px; }
  .page-hero h1 { font-size: clamp(32px, 9.2vw, 42px); }
  .page-hero .page-lead { margin: 11px 0 0 52px; font-size: 14px; }
}

@media (max-width: 520px) {
  .header-logout button { min-width: 76px; padding-inline: 12px; font-size: 13px; }
  .page-hero .page-lead { margin-left: 0; }
  .feature-item { grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
  .action-card { grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
}


/* Public UI final polish v1: centered footer, title-icon baseline, plain-language content. */
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 30px 6px 14px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; max-width: 430px; }
.site-footer .footer-brand img { width: 150px; margin: 0 auto; }
.site-footer .footer-brand p { max-width: 430px; margin: 11px 0 0; font-size: 12px; line-height: 1.55; }

.page-heading-block { min-width: 0; }
.page-eyebrow { display: block; margin: 0 0 8px 58px; }
.page-title-row {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}
.page-title-row .page-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
}
.page-title-row .page-icon svg { width: 22px; height: 22px; }
.page-title-row h1 { margin: 0; }
.page-hero .page-lead { margin-left: 58px; }

.welcome-post { display: grid; gap: 20px; }
.welcome-intro { margin: 0; color: var(--muted-strong); font-size: 15px; line-height: 1.65; }
.welcome-help { margin: 0; padding-top: 2px; color: var(--muted-strong); font-size: 14px; line-height: 1.65; }
.welcome-help a { color: var(--cyan-bright); font-weight: 700; text-decoration: none; }
.welcome-help a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .page-eyebrow { margin-left: 52px; }
  .page-title-row { gap: 12px; }
  .page-title-row .page-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  .page-title-row .page-icon svg { width: 20px; height: 20px; }
  .page-hero .page-lead { margin-left: 52px; }
  .site-footer { padding-bottom: 18px; }
}

@media (max-width: 520px) {
  .page-eyebrow { margin-left: 0; margin-bottom: 9px; }
  .page-hero .page-lead { margin-left: 0; }
  .welcome-intro { font-size: 14px; }
}

/* Public UI final polish v1.1: single connection surface and wide-display scaling. */
.inline-action-form { display: inline-flex; margin: 0; }
.inline-action-form input[type="hidden"] { display: none; }
.inline-action-form .button { min-width: 190px; }
.connection-state-note {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(12,17,23,.20);
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
}
.connection-state-note.is-ready {
  border-color: rgba(99,230,190,.18);
  background: rgba(99,230,190,.035);
}

@media (min-width: 1180px) {
  .site-shell {
    width: min(calc(100% - clamp(48px, 6vw, 160px)), clamp(1120px, 68vw, 1600px));
  }
  .site-header { padding-inline: clamp(18px, 2vw, 34px); }
  .page-hero,
  .single-panel {
    max-width: clamp(900px, 52vw, 1280px);
  }
  .guide-layout {
    max-width: clamp(900px, 52vw, 1280px);
    grid-template-columns: minmax(0,1fr) clamp(280px, 18vw, 340px);
  }
  .page-hero { padding-inline: clamp(6px, .8vw, 18px); }
  .single-panel { padding: clamp(30px, 2.1vw, 46px); }
  .page-title-row h1 { font-size: clamp(44px, 2.8vw, 62px); }
  .page-hero .page-lead { max-width: min(820px, 72%); font-size: clamp(15px, .95vw, 18px); }
  .feature-item { padding: clamp(16px, 1.1vw, 22px); }
  .feature-item strong { font-size: clamp(14px, .82vw, 16px); }
  .feature-item span { font-size: clamp(12px, .74vw, 14px); }
  .site-footer { padding-top: clamp(30px, 2.4vw, 48px); }
}

@media (min-width: 2200px) {
  .site-shell { width: min(calc(100% - 180px), 1760px); }
  .page-hero,
  .single-panel,
  .guide-layout { max-width: 1320px; }
  .site-header { min-height: 74px; }
  .brand-link img { width: 176px; }
  .desktop-nav a { min-height: 48px; padding-inline: 18px; font-size: 15px; }
  .header-logout button { min-height: 48px; font-size: 14px; }
}

@media (min-width: 3200px) {
  .site-shell { width: min(calc(100% - 240px), 1880px); }
  .page-hero,
  .single-panel,
  .guide-layout { max-width: 1400px; }
  .page-title-row h1 { font-size: 64px; }
  .page-hero .page-lead { font-size: 18px; }
}

@media (max-width: 760px) {
  .inline-action-form { display: flex; width: 100%; }
  .inline-action-form .button { width: 100%; min-width: 0; }
  .connection-state-note { margin-top: 14px; font-size: 12px; }
}


/* Public UI final acceptance v2.0:
   sticky footer, Remnawave-family cyan/violet convergence, final responsive geometry. */
:root {
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --violet-deep: #6d4bd1;
  --violet-glow: rgba(139, 92, 246, .18);
  --accent-hairline: linear-gradient(90deg, transparent 0%, rgba(102,217,232,.34) 34%, rgba(167,139,250,.28) 66%, transparent 100%);
}

/* Normal-flow sticky footer: short pages end at the viewport bottom, long pages flow naturally. */
.site-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  flex-direction: column;
}
.site-header { flex: 0 0 auto; }
.site-main {
  flex: 1 0 auto;
  min-height: 0;
}
.site-footer {
  flex: 0 0 auto;
  margin-top: clamp(30px, 4vh, 54px);
}

/* Keep the intentionally minimal anonymous landing independent from the authenticated shell. */
.page-home .site-shell { display: block; }
.page-home .site-main { min-height: calc(100svh - max(18px, env(safe-area-inset-top)) - max(22px, env(safe-area-inset-bottom))); }

/* Subscription Page family language: cyan stays primary, violet is a restrained secondary accent. */
body {
  background:
    radial-gradient(880px 520px at 48% -190px, rgba(34,184,207,.145), transparent 70%),
    radial-gradient(760px 520px at 84% -150px, rgba(139,92,246,.085), transparent 72%),
    radial-gradient(620px 480px at -8% 58%, rgba(34,184,207,.05), transparent 73%),
    radial-gradient(720px 560px at 108% 86%, rgba(139,92,246,.045), transparent 75%),
    linear-gradient(180deg, #171c24 0%, var(--bg) 54%, #141920 100%);
}
.site-header {
  border-color: rgba(139, 169, 214, .15);
  box-shadow:
    0 18px 50px rgba(0,0,0,.22),
    0 0 42px rgba(139,92,246,.025),
    inset 0 1px rgba(255,255,255,.025);
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(34,184,207,.075), rgba(139,92,246,.065));
}
.desktop-nav a.is-active::after {
  background: linear-gradient(90deg, var(--cyan), var(--violet-bright));
  box-shadow: 0 0 14px rgba(59,201,219,.46), 0 0 18px rgba(139,92,246,.24);
}
.connection-preview::before,
.single-panel::before,
.section-card::before,
.news-panel::before,
.support-panel::before {
  background: var(--accent-hairline);
}
.section-icon,
.page-icon,
.platform-mark {
  border-color: rgba(132, 178, 225, .22);
  background: linear-gradient(145deg, rgba(34,184,207,.075), rgba(139,92,246,.055));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.single-panel,
.news-panel,
.support-panel {
  border-color: rgba(112, 137, 165, .27);
}
.content-card:hover,
.action-card:hover,
.platform-card:hover {
  border-color: rgba(139, 125, 220, .28);
  background: linear-gradient(135deg, rgba(34,184,207,.04), rgba(139,92,246,.035));
}
.notice {
  border-color: rgba(132, 178, 225, .15);
  background: linear-gradient(135deg, rgba(34,184,207,.04), rgba(139,92,246,.025));
}

/* Final icon/title geometry. */
.page-title-row {
  gap: 14px;
  align-items: center;
}
.page-title-row .page-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
}
.page-title-row .page-icon svg {
  width: 22px;
  height: 22px;
}
.page-title-row h1 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.page-eyebrow,
.page-hero .page-lead {
  margin-left: 58px;
}

/* Large displays: grow the application surface without allowing excessive text measure. */
@media (min-width: 1180px) {
  .page-hero,
  .single-panel {
    width: min(100%, clamp(900px, 52vw, 1280px));
  }
  .page-hero .page-lead { max-width: min(820px, 68ch); }
}

@media (min-width: 2200px) {
  .page-hero,
  .single-panel,
  .guide-layout {
    width: min(100%, 1320px);
  }
}

@media (min-width: 3200px) {
  .page-hero,
  .single-panel,
  .guide-layout {
    width: min(100%, 1400px);
  }
}

/* Mobile/WebView reserve: the normal-flow footer stays above the fixed bottom navigation. */
@media (max-width: 760px) {
  :root { --mobile-nav-reserve: calc(82px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--mobile-nav-reserve); }
  .site-shell {
    min-height: calc(100vh - var(--mobile-nav-reserve));
    min-height: calc(100svh - var(--mobile-nav-reserve));
    min-height: calc(100dvh - var(--mobile-nav-reserve));
  }
  .page-home { padding-bottom: 0; }
  .page-home .site-shell {
    min-height: 100svh;
    min-height: 100dvh;
  }
  .page-home .site-main {
    min-height: calc(100svh - max(14px, env(safe-area-inset-top)) - max(18px, env(safe-area-inset-bottom)));
    min-height: calc(100dvh - max(14px, env(safe-area-inset-top)) - max(18px, env(safe-area-inset-bottom)));
  }
  .site-footer {
    margin-top: 28px;
    padding-bottom: 16px;
  }
  .mobile-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-color: rgba(139,169,214,.16);
    background: rgba(23,28,36,.92);
  }
  .mobile-nav a.is-active {
    color: var(--cyan-bright);
    background: linear-gradient(145deg, rgba(34,184,207,.085), rgba(139,92,246,.065));
  }
  .mobile-nav a.is-active::before {
    background: linear-gradient(90deg, var(--cyan), var(--violet-bright));
    box-shadow: 0 0 10px rgba(59,201,219,.45), 0 0 14px rgba(139,92,246,.22);
  }
  .page-title-row {
    gap: 12px;
  }
  .page-title-row .page-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .page-title-row .page-icon svg {
    width: 20px;
    height: 20px;
  }
  .page-eyebrow,
  .page-hero .page-lead {
    margin-left: 52px;
  }
}

@media (max-width: 520px) {
  .page-eyebrow,
  .page-hero .page-lead {
    margin-left: 0;
  }
}

@media (max-width: 359px) {
  .site-footer .footer-brand img { width: 136px; }
  .site-footer .footer-brand p { font-size: 11px; }
}


/* Public UI access gate + glow v2.1.1:
   two restrained Remnawave-family ambient spots: violet left, cyan right. */
body {
  background:
    radial-gradient(900px 620px at 14% 10%, rgba(151, 117, 250, .08), transparent 69%),
    radial-gradient(920px 640px at 86% 12%, rgba(34, 211, 238, .06), transparent 70%),
    linear-gradient(180deg, #171c24 0%, var(--bg) 54%, #141920 100%);
}

/* Minimal access-denied surface: one centered message, no duplicated shell chrome. */
.page-access-denied .site-header,
.page-access-denied .site-footer,
.page-access-denied .mobile-nav {
  display: none;
}
.page-access-denied .site-shell {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}
.page-access-denied .site-main {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  place-items: center;
}
.access-denied-minimal {
  display: flex;
  width: min(100%, 440px);
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.access-denied-logo {
  width: 156px;
  height: auto;
  margin: 0 0 34px;
}
.access-denied-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(102,217,232,.20);
  border-radius: 15px;
  background: rgba(27,31,39,.58);
  color: var(--cyan);
}
.access-denied-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.access-denied-minimal h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.access-denied-minimal p {
  max-width: 400px;
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}
.access-denied-return {
  margin-top: 24px;
}

.page-email-auth .site-main {
  display: grid;
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding: 24px;
  place-items: center;
}
.email-auth {
  width: min(100%, 480px);
  padding: clamp(26px, 6vw, 42px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(27, 31, 39, .94);
  box-shadow: var(--shadow);
}
.email-auth-brand {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}
.email-auth h1 { margin: 0; font-size: clamp(30px, 7vw, 42px); }
.email-auth-lead { margin: 14px 0 0; color: var(--muted-strong); line-height: 1.6; }
.email-auth-form { display: grid; gap: 12px; margin-top: 28px; }
.email-auth-form label { color: var(--muted-strong); font-size: 13px; font-weight: 700; }
.email-auth-form input:not([type="hidden"]) {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(10, 14, 19, .58);
  color: var(--text);
  font: inherit;
}
.email-auth-form input:focus-visible { outline: 3px solid rgba(102, 217, 232, .32); outline-offset: 2px; }
.email-auth-form .button, .email-resend-form .button { width: 100%; }
.email-resend-form { margin-top: 12px; }
.email-auth-error { margin: 18px 0 0; color: var(--danger); font-size: 14px; }
.email-auth .landing-note { margin-top: 22px; }

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(620px 460px at 5% 8%, rgba(151, 117, 250, .08), transparent 70%),
      radial-gradient(640px 480px at 96% 16%, rgba(34, 211, 238, .06), transparent 71%),
      linear-gradient(180deg, #171c24 0%, var(--bg) 54%, #141920 100%);
  }
  .access-denied-minimal {
    width: min(100%, 360px);
  }
  .access-denied-logo {
    width: 144px;
    margin-bottom: 28px;
  }
  .access-denied-minimal h1 {
    font-size: clamp(30px, 10vw, 38px);
  }
  .page-email-auth .site-main { padding: 14px; }
  .email-auth { border-radius: 20px; }
}
