/* shotan.net - site styles. No external assets, no inline styles (strict CSP). */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --surface: #ffffff;
  --text: #0d1117;
  --text-2: #3a4353;
  --muted: #5d6778;
  --line: #e3e7ee;
  --line-2: #cfd5df;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --idle: #667085;
  --idle-soft: #eef0f4;
  --shadow-sm: 0 1px 2px rgba(13, 17, 23, 0.05);
  --shadow: 0 1px 2px rgba(13, 17, 23, 0.04), 0 12px 32px -8px rgba(13, 17, 23, 0.12);
  --shadow-lg: 0 2px 4px rgba(13, 17, 23, 0.04), 0 32px 64px -16px rgba(13, 17, 23, 0.22);
  --r: 16px;
  --r-sm: 10px;
  --wrap: 1120px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "D2Coding", monospace;

  /* window mock-ups */
  --win: #ffffff;
  --win-bar: #f1f3f7;
  --win-ink: #d5dae3;
  --win-ink-2: #e6e9ef;
  --term: #0f1420;
  --term-ink: #2a3347;
  --term-text: #c9d3e6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c11;
    --bg-soft: #10131a;
    --surface: #141821;
    --text: #eef1f6;
    --text-2: #c5ccd8;
    --muted: #98a2b3;
    --line: #222834;
    --line-2: #333b4a;
    --ok: #4ade80;
    --ok-soft: #10261a;
    --bad: #ff8a80;
    --bad-soft: #2e1715;
    --idle: #98a2b3;
    --idle-soft: #1c212b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 32px 64px -16px rgba(0, 0, 0, 0.7);
    --win: #161b25;
    --win-bar: #1d2330;
    --win-ink: #303949;
    --win-ink-2: #262e3c;
    --term: #0b0f18;
    --term-ink: #232b3c;
  }
}

/* product accents */
[data-product="home"] {
  --a1: #2563eb;
  --a2: #7c3aed;
}
[data-product="gnlink"] {
  --a1: #2563eb;
  --a2: #0ea5c4;
}
[data-product="gmux"] {
  --a1: #7c3aed;
  --a2: #db2777;
}
[data-product] {
  --accent: var(--a1);
  --accent-soft: color-mix(in srgb, var(--a1) 10%, var(--surface));
  --grad: linear-gradient(135deg, var(--a1), var(--a2));
}
@media (prefers-color-scheme: dark) {
  [data-product="home"] {
    --a1: #6b9bff;
    --a2: #a78bfa;
  }
  [data-product="gnlink"] {
    --a1: #6b9bff;
    --a2: #38d0e8;
  }
  [data-product="gmux"] {
    --a1: #a78bfa;
    --a2: #f472b6;
  }
  [data-product] {
    --accent-soft: color-mix(in srgb, var(--a1) 16%, var(--surface));
  }
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--idle-soft);
  color: var(--text);
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
}
.pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 2px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s, filter 0.15s;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14.5px;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 16.5px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 17, 23, 0.1), 0 8px 20px -8px color-mix(in srgb, var(--a1) 70%, transparent);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--muted);
}
.btn-invert {
  background: #fff;
  color: #0d1117;
}
.btn-invert:hover {
  transform: translateY(-1px);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #0a0c11;
  }
}

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-text span {
  color: var(--muted);
  font-weight: 600;
}
.logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
}
.logo-mark span {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 7px;
}
.logo-mark span:first-child {
  left: 0;
  top: 0;
  background: #2563eb;
}
.logo-mark span:last-child {
  right: 0;
  bottom: 0;
  background: #7c3aed;
  opacity: 0.88;
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .logo-mark span:first-child {
    background: #6b9bff;
  }
  .logo-mark span:last-child {
    background: #a78bfa;
    mix-blend-mode: screen;
  }
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav-link:hover {
  background: var(--bg-soft);
  color: var(--text);
}
.nav-link.is-current {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 72px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 60% at 12% 0%, color-mix(in srgb, var(--a1) 17%, transparent), transparent 70%),
    radial-gradient(46% 56% at 96% 8%, color-mix(in srgb, var(--a2) 16%, transparent), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 70% at 50% 0%, #000 0%, transparent 78%);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-plain {
  padding: 120px 0 140px;
  text-align: center;
}
.hero-plain .eyebrow,
.hero-plain .hero-actions {
  justify-content: center;
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: 88px 0;
}
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin-top: 8px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-head > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
}

/* product cards */
.pcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--a1) 40%, var(--line));
  box-shadow: var(--shadow);
}
.pcard-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
}
.pcard-top h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pcard-top p {
  color: var(--muted);
}
.pcard-top .pills {
  grid-column: 2;
  margin-top: 6px;
}
.pcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.pmark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--a1) 80%, transparent);
}
.pmark-lg {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 20px;
}
@media (prefers-color-scheme: dark) {
  .pmark {
    color: #0a0c11;
  }
}
.checks {
  display: grid;
  gap: 12px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
}
.checks .ico {
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  stroke-width: 2.6;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.features-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.feature h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feature p {
  color: var(--muted);
  font-size: 15.5px;
}
.fico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 19px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.step-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}
@media (prefers-color-scheme: dark) {
  .step-n {
    color: #0a0c11;
  }
}
.steps h3 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.steps p {
  color: var(--muted);
  font-size: 15.5px;
}

/* downloads */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.dl:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--a1) 45%, var(--line));
  box-shadow: var(--shadow);
}
.dl-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
}
.dl-text {
  display: grid;
  min-width: 0;
  flex: 1;
}
.dl-text strong {
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.dl-text span {
  color: var(--muted);
  font-size: 14px;
}
.dl-go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text-2);
}
.dl:hover .dl-go {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}
.dl-none {
  padding: 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  text-align: center;
}
.server-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}
.server-note .ico {
  color: var(--accent);
}

/* call-to-action band */
.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 26px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 24px 56px -24px color-mix(in srgb, var(--a1) 80%, transparent);
}
.band h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.band p {
  margin-top: 6px;
  opacity: 0.9;
  font-size: 17px;
}
@media (prefers-color-scheme: dark) {
  .band {
    color: #0a0c11;
  }
}

/* product chooser */
.choose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.choice:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--a1) 50%, var(--line));
  box-shadow: var(--shadow);
}
.choice-text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.choice-text strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.choice-text span {
  color: var(--muted);
  font-size: 15px;
}
.choice > .ico {
  color: var(--muted);
  font-size: 18px;
  transition: transform 0.15s, color 0.15s;
}
.choice:hover > .ico {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---------------------------------------------------------------- window mock-ups */

.art {
  position: relative;
  min-height: 400px;
}
.win {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--win);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--win-bar);
  border-bottom: 1px solid var(--line);
}
.win-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--win-ink);
}
.win-bar b {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* a small "desktop" */
.desk {
  position: relative;
  height: calc(100% - 34px);
  background: linear-gradient(140deg, color-mix(in srgb, var(--a1) 26%, var(--win)), color-mix(in srgb, var(--a2) 22%, var(--win)));
}
.desk-win {
  position: absolute;
  left: 9%;
  top: 12%;
  width: 56%;
  border-radius: 8px;
  background: var(--win);
  box-shadow: 0 10px 24px -10px rgba(13, 17, 23, 0.35);
  overflow: hidden;
}
.desk-win-2 {
  left: 46%;
  top: 38%;
  width: 44%;
}
.desk-win-bar {
  height: 14px;
  background: var(--win-bar);
  border-bottom: 1px solid var(--line);
}
.bars {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.bars span,
.ln span {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: var(--win-ink-2);
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 74px;
  padding: 14px;
}
.chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--grad);
  opacity: 0.85;
}
.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 7px;
  background: color-mix(in srgb, var(--win) 72%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.taskbar span {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--win-ink);
}
.taskbar span:first-child {
  background: var(--a1);
}
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w35 { width: 35%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.h40 { height: 40%; }
.h55 { height: 55%; }
.h65 { height: 65%; }
.h70 { height: 70%; }
.h90 { height: 90%; }

/* tabs + terminal */
.tabstrip {
  display: flex;
  gap: 4px;
  padding: 8px 10px 0;
  background: var(--win-bar);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 9px 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tab em {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--win-ink);
}
.tab.is-on {
  background: var(--term);
  color: #e8edf7;
}
.tab.is-on em {
  background: #4ade80;
}
.tab-add {
  padding: 7px 9px;
}
.term {
  display: grid;
  align-content: start;
  gap: 11px;
  min-height: 190px;
  padding: 18px;
  background: var(--term);
  color: var(--term-text);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
}
.ln {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.ln span {
  background: var(--term-ink);
}
.ln-you {
  color: #f1f5fb;
}
.ln-you u {
  color: var(--a2);
  text-decoration: none;
  font-weight: 700;
}
.ln-code span.c1 { background: color-mix(in srgb, #60a5fa 60%, var(--term)); }
.ln-code span.c2 { background: color-mix(in srgb, #c084fc 60%, var(--term)); }
.ln-code span.c3 { background: color-mix(in srgb, #34d399 60%, var(--term)); }
.ln-code {
  padding-left: 16px;
}
.ln-bus {
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--a2) 45%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--a2) 14%, var(--term));
  color: #f1f5fb;
  font-family: var(--font);
  font-size: 12px;
}
.ln-bus strong {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--grad);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.03em;
}
.caret {
  width: 8px;
  height: 15px;
  background: #e8edf7;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.bubble {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
}
.bubble strong {
  font-size: 12px;
  color: var(--accent);
}
.bubble span {
  color: var(--text-2);
}

/* layouts of the three illustrations */
.art-home .win-a {
  left: 0;
  top: 0;
  width: 74%;
  height: 300px;
}
.art-home .win-b {
  right: 0;
  bottom: 0;
  width: 72%;
}
.art-home .term {
  min-height: 0;
}

.art-remote .win-main {
  left: 0;
  top: 0;
  width: 86%;
  height: 340px;
}
.art-remote .phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  aspect-ratio: 9 / 18.500;
  padding: 7px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--win);
  box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 2;
  width: 34%;
  height: 7px;
  border-radius: 99px;
  background: var(--win-ink);
  transform: translateX(-50%);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(140deg, color-mix(in srgb, var(--a1) 26%, var(--win)), color-mix(in srgb, var(--a2) 22%, var(--win)));
}
.phone-screen .desk-win {
  left: 10%;
  top: 22%;
  width: 80%;
}
.route {
  position: absolute;
  right: 4%;
  top: 17%;
  z-index: 3;
}
.chip {
  display: block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.art-tabs .win-main {
  left: 0;
  top: 0;
  width: 92%;
}
.art-tabs .bubble-1 {
  right: 0;
  bottom: 18px;
}
@media (prefers-color-scheme: dark) {
  .chip,
  .ln-bus strong {
    color: #0a0c11;
  }
}

/* ---------------------------------------------------------------- signup */

.signup {
  position: relative;
  isolation: isolate;
  padding: 56px 0 96px;
  /* clip, not hidden: "hidden" would make this section the scroll box and break the sticky side panel */
  overflow: clip;
}
.signup::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(48% 60% at 8% 0%, color-mix(in srgb, var(--a1) 15%, transparent), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, color-mix(in srgb, var(--a2) 12%, transparent), transparent 70%);
}
.signup-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}
.signup-side {
  position: sticky;
  top: 106px;
  padding-top: 8px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.back .ico {
  transform: rotate(180deg);
}
.back:hover {
  color: var(--accent);
}
.signup-side h1 {
  margin: 22px 0 10px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.signup-side .checks {
  margin-top: 30px;
}
.side-state {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 300px;
}

.card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form h2 {
  margin-bottom: 24px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 700;
}
input[type="text"],
input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:hover,
input[type="password"]:hover {
  border-color: var(--muted);
}
input[type="text"]:focus-visible,
input[type="password"]:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
input[aria-invalid="true"] {
  border-color: var(--bad);
}
input:disabled {
  background: var(--bg-soft);
  color: var(--muted);
  cursor: not-allowed;
}
.with-action {
  display: flex;
  gap: 8px;
}
.with-action input {
  flex: 1;
  min-width: 0;
}
.btn-field {
  height: 50px;
  padding: 0 16px;
  font-size: 14.5px;
}
.hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
}
.field:has(.field-error:not([hidden])) .hint {
  display: none;
}
.field-error {
  margin-top: 7px;
  color: var(--bad);
  font-size: 13.5px;
  font-weight: 700;
}
.form-error,
.notice {
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
}
.form-error {
  background: var(--bad-soft);
  color: var(--bad);
}
.notice {
  background: var(--idle-soft);
  color: var(--muted);
}
.form .btn-block {
  margin-top: 6px;
}
.form-foot {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}
.form-foot a {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.form-foot a:hover {
  text-decoration: underline;
}

.done {
  text-align: center;
}
.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 4px auto 20px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 28px;
}
.done-mark .ico {
  stroke-width: 2.6;
}
.done h2 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.done-id {
  margin-top: 6px;
  color: var(--muted);
}
.done-id strong {
  color: var(--text);
  font-family: var(--mono);
}
.next {
  margin: 26px 0 22px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  text-align: left;
}
.next h3 {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--accent);
}
.next p {
  color: var(--text-2);
  font-size: 15.5px;
}
.done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------------------------------------------------------------- status + footer */

.state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-2);
  font-size: 14.5px;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px 2px 9px;
  border-radius: 999px;
  background: var(--idle-soft);
  color: var(--idle);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.state[data-state="up"] {
  background: var(--ok-soft);
  color: var(--ok);
}
.state[data-state="down"] {
  background: var(--bad-soft);
  color: var(--bad);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 44px;
}
.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
  color: var(--muted);
  font-size: 14.5px;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 11px;
}
.footer-col h2 {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-col a {
  color: var(--text-2);
  font-size: 14.5px;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-base.wrap {
  width: calc(100% - 56px);
  max-width: calc(var(--wrap) - 56px);
  padding-left: 0;
  padding-right: 0;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .art {
    max-width: 620px;
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .signup-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .signup-side {
    position: static;
  }
  .signup-side .checks,
  .side-state {
    display: none;
  }
  .back {
    margin-bottom: 24px;
  }
  .footer-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .nav-in {
    gap: 10px;
    height: 60px;
  }
  .logo-text {
    display: none;
  }
  .nav-link {
    padding: 8px 11px;
  }
  .hero {
    padding: 48px 0 60px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .pcards,
  .features,
  .features-3,
  .steps,
  .dl-grid,
  .choose {
    grid-template-columns: minmax(0, 1fr);
  }
  .pcard,
  .card {
    padding: 24px;
  }
  .pcard-actions .btn {
    flex: 1 1 auto;
  }
  .band {
    padding: 32px 26px;
  }
  .band .btn {
    width: 100%;
  }
  .art {
    min-height: 330px;
  }
  .art-home .win-a {
    height: 230px;
  }
  .art-remote .win-main {
    height: 270px;
  }
  .art-remote .phone {
    width: 31%;
  }
  .tab {
    padding: 7px 9px;
    font-size: 11px;
  }
  .term {
    padding: 14px;
    font-size: 11.5px;
  }
  .signup {
    padding: 32px 0 64px;
  }
  .done-actions .btn {
    flex: 1 1 100%;
  }
  .footer-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    padding-top: 40px;
  }
}

@media (max-width: 720px) {
  .footer-base.wrap {
    width: calc(100% - 36px);
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .nav-in {
    gap: 6px;
  }
  .nav-link {
    padding: 8px 8px;
    font-size: 14.5px;
  }
  .nav-cta {
    padding: 0 12px;
    font-size: 13.5px;
  }
  .footer-base.wrap {
    width: calc(100% - 28px);
  }
  .card,
  .pcard {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* approval-flow signup (2026-09-30) */
.field label .opt { color: var(--muted, #6b7280); font-weight: 400; font-size: .9em; }
.form-hint { margin-top: 10px; text-align: center; }
.done-notice { margin: 12px 0 0; }
