@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --card: #111114;
  --elev: #16161a;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #335fff;
  --blue-hot: #2a54f0;
  --sky: #38bdf8;
  --radius: 0.6rem;
  --font: "Satoshi", Inter, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

img {
  user-select: none;
  max-width: 100%;
  display: block;
}

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 12, 0.8);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--fg);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

.nav-drawer {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.96);
  padding: 0.75rem 0 1rem;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-drawer a {
  padding: 0.75rem 0.25rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-drawer a:hover {
  color: var(--fg);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-drawer {
    display: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 0.9rem/1 var(--font);
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-hot);
  box-shadow: 0 0 0 4px rgba(51, 95, 255, 0.14);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-white {
  background: var(--fg);
  color: #111;
}

.btn-lg {
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.25rem 0 2.5rem;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -2rem;
  width: 28rem;
  height: 14rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(51, 95, 255, 0.45), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: #151518;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: #e4e4e7;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pill b {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--sky), #2563eb);
  color: #fff;
}

.hero-brand {
  position: relative;
  z-index: 1;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero p.lead {
  position: relative;
  z-index: 1;
  margin: 1.1rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.hero-stage {
  position: relative;
  z-index: 1;
  margin: 3rem auto 0;
  max-width: 980px;
  padding: 0.5rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

.hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: 62%;
  height: 42%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  filter: blur(80px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-stage-inner {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #0c0c0e;
  overflow: hidden;
  padding: 1.75rem 1rem 2rem;
  display: flex;
  justify-content: center;
}

.hero-fade {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(to top, var(--bg), transparent);
  border-radius: 0 0 22px 22px;
}

/* Accurate RoTools panel mock (matches extension chrome) */
.mock-panel {
  width: min(420px, 100%);
  margin: 0 auto;
  background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.mock-panel::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: -1px;
  height: 1px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(85, 145, 243, 0.85), transparent 70%);
  pointer-events: none;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mock-icos {
  display: inline-flex;
  gap: 2px;
}

.mock-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  position: relative;
}

.mock-ico::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 13px;
  height: 1.5px;
  background: #a1a1aa;
  border-radius: 2px;
}

.mock-ico-x::before {
  transform: rotate(45deg);
  top: 13px;
}

.mock-ico-x::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 13px;
  height: 1.5px;
  background: #a1a1aa;
  border-radius: 2px;
  transform: rotate(-45deg);
}

.mock-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 8px;
}

.mock-tabs span {
  flex: 1;
  text-align: center;
  padding: 11px 2px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a1a1aa;
  border-bottom: 2px solid transparent;
}

.mock-tabs span.on {
  color: #fafafa;
  border-bottom-color: #335fff;
}

.mock-body {
  padding: 12px 12px 10px;
}

.mock-tools-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.mock-h {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-edit {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mock-row {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.mock-row strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.15rem;
}

.mock-row span {
  font-size: 0.72rem;
  color: #a1a1aa;
}

.mock-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  color: #71717a;
}

.mock-foot-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.55;
  color: #fafafa;
}

/* legacy mock helpers unused */
.mock,
.mock-side,
.mock-main,
.mock-logo,
.mock-nav,
.mock-tools,
.mock-tool,
.mock-bar,
.mock-p {
  display: none;
}

/* ---------- Strip ---------- */
.strip {
  padding: 1.25rem 0 0.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin-top: 0.85rem;
  font-weight: 600;
  color: #d4d4d8;
}

.strip-row span {
  opacity: 0.75;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-h {
  text-align: center;
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.15;
}

.section-h em {
  font-style: italic;
  font-weight: 500;
  color: #e4e4e7;
}

.section-p {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  font-size: 1.02rem;
}

/* Feature grid */
.feat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feat-grid .feat:nth-child(4) {
    grid-column: span 2;
  }
}

.feat {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feat:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.feat-body {
  padding: 1.25rem 1.25rem 0.5rem;
}

.feat h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feat h3 svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.feat p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feat-art {
  margin-top: 1rem;
  padding: 0 0.75rem 0.75rem;
}

.feat-art img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.95;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
}

.step .n {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(51, 95, 255, 0.16);
  color: #93b4ff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Community band */
.community {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .community {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.community-copy {
  text-align: left;
}

.community-copy .section-h,
.community-copy .section-p {
  text-align: left;
  margin-left: 0;
}

.community-copy .section-p {
  margin-bottom: 1.25rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.community-panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 70% at 70% 0%, rgba(51, 95, 255, 0.18), transparent 60%),
    var(--card);
  padding: 1.35rem;
}

.community-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.community-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.community-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.community-list strong {
  color: var(--fg);
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
}

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(51, 95, 255, 0.15);
}

/* Install */
.install-box {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.5rem;
  text-align: left;
}

.install-box ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.install-box li {
  margin: 0.55rem 0;
}

.install-box code {
  font-size: 0.82rem;
  background: #0c0c0e;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  color: #d4d4d8;
}

/* Form */
.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}

.field {
  margin: 0 0 1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0c0c0e;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: 500 0.95rem/1.4 var(--font);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(51, 95, 255, 0.14);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-msg {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-msg.ok {
  color: #39c582;
}

.form-msg.err {
  color: #f87171;
}

.seg {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: #0c0c0e;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.seg button {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  font: 600 0.85rem/1 var(--font);
  padding: 0.65rem 0.5rem;
  border-radius: 9px;
  cursor: pointer;
}

.seg button.on {
  background: var(--blue);
  color: #fff;
}

/* Ideas */
.ideas {
  display: grid;
  gap: 0.85rem;
}

.idea {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.idea .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(51, 95, 255, 0.16);
  color: #93b4ff;
}

.idea h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.idea p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* CTA */
.cta {
  margin: 1rem 0 4rem;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(51, 95, 255, 0.22), transparent 70%),
    rgba(255, 255, 255, 0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  position: relative;
}

.cta h2 em {
  font-style: italic;
  font-weight: 500;
}

.cta p {
  margin: 0 auto 1.35rem;
  color: var(--muted);
  max-width: 34rem;
  position: relative;
}

.cta .btn {
  position: relative;
}

.footer {
  position: relative;
  padding: 1.75rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: radial-gradient(50% 56400% at 50% 100%, rgb(34, 44, 57) 0%, rgba(169, 163, 194, 0) 100%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer a:hover {
  color: var(--fg);
}

.page-head {
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.page-head p {
  margin: 0.6rem auto 0;
  color: var(--muted);
  max-width: 34rem;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.muted {
  color: var(--muted);
}

/* ---------- Submit page ---------- */
.submit-page {
  padding: 2.5rem 0 4rem;
}

.submit-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .submit-layout {
    grid-template-columns: 0.9fr 1.15fr;
    gap: 2.75rem;
  }
}

.submit-side {
  text-align: left;
}

.submit-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93b4ff;
}

.submit-side h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.submit-lead {
  margin: 0.85rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 34rem;
}

.submit-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.submit-tips li {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
}

.submit-tips strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.submit-tips span {
  color: var(--muted);
  font-size: 0.86rem;
}

.submit-side-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: #93b4ff;
  font-weight: 600;
  font-size: 0.92rem;
}

.submit-side-link:hover {
  color: #fff;
}

.submit-card[hidden],
.submit-success[hidden] {
  display: none !important;
}

.submit-card-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.kind-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.15rem;
}

@media (min-width: 560px) {
  .kind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kind-card {
  text-align: left;
  border: 1px solid var(--line);
  background: #0c0c0e;
  color: var(--fg);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.kind-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.kind-card.on {
  border-color: rgba(51, 95, 255, 0.55);
  background: rgba(51, 95, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(51, 95, 255, 0.12);
}

.kind-title {
  display: block;
  font: 700 0.92rem/1.2 var(--font);
  margin-bottom: 0.25rem;
}

.kind-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.field-top label {
  margin-bottom: 0;
}

.hint {
  font-size: 0.72rem;
  color: #71717a;
  font-variant-numeric: tabular-nums;
}

.opt {
  font-weight: 500;
  color: #71717a;
  text-transform: lowercase;
}

.field-help {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: #71717a;
}

.field-err {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #f87171;
}

.field-row {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.submit-go {
  width: 100%;
  margin-top: 0.35rem;
}

.submit-success {
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(57, 197, 130, 0.14);
  color: #39c582;
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.submit-success h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
}

.submit-success > p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 28rem;
}

.success-ref {
  margin: 1.1rem 0 1.35rem !important;
  font-size: 0.9rem;
}

.success-ref code {
  font-size: 0.85rem;
  background: #0c0c0e;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  color: #c7d6ff;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.field label .opt {
  margin-left: 0.2rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-stage::before {
    animation: none;
  }
}
