:root {
  --bg: #0d0d0d;
  --bg-elevated: #121212;
  --surface: #1a1a1a;
  --surface-hover: #242424;
  --border: #2a2a2a;
  --accent: #ff6b00;
  --accent-hover: #ff8533;
  --accent-muted: rgba(255, 107, 0, 0.15);
  --text: #ffffff;
  --text-muted: #8e8e93;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(255, 107, 0, 0.35);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #0a0a0a;
  background: var(--accent);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: clamp(15px, 2.8vw, 17px);
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 15% -10%, rgba(255, 107, 0, 0.18), transparent 45%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(255, 107, 0, 0.08), transparent 40%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(255, 107, 0, 0.1), transparent 55%);
  background-position: center;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* Demo + status — single high-visibility disclaimer */
.demo-disclaimer {
  position: relative;
  color: #0a0a0a;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 6px 28px rgba(255, 94, 0, 0.4),
    0 0 48px rgba(255, 107, 0, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
  .demo-disclaimer {
    animation: disclaimer-pulse 2.8s ease-in-out infinite alternate;
  }
}

@keyframes disclaimer-pulse {
  from {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 4px 22px rgba(255, 94, 0, 0.35),
      0 0 40px rgba(255, 107, 0, 0.12);
  }
  to {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 8px 32px rgba(255, 94, 0, 0.48),
      0 0 64px rgba(255, 107, 0, 0.22);
  }
}

.demo-disclaimer__accent {
  padding: calc(10px + var(--safe-top)) clamp(12px, 3vw, 20px) 12px;
  background: linear-gradient(165deg, #ff8a14 0%, #ff6b00 45%, #e85a00 100%);
}

.demo-disclaimer__accent-inner {
  max-width: 38rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.demo-disclaimer__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 12px);
  flex-wrap: wrap;
}

.demo-disclaimer__icon {
  flex-shrink: 0;
  width: clamp(22px, 5vw, 28px);
  height: clamp(22px, 5vw, 28px);
  stroke: #0a0a0a;
  fill: none;
  stroke-width: 2.2;
}

.demo-disclaimer__badge {
  margin: 0;
  font-weight: 900;
  font-size: clamp(0.88rem, 3.2vw, 1.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}

.demo-disclaimer__lead {
  margin: 0;
  max-width: 34em;
  font-weight: 600;
  font-size: clamp(0.78rem, 2.6vw, 0.9rem);
  line-height: 1.35;
  opacity: 0.95;
}

.demo-disclaimer__status-embed {
  width: 100%;
  max-width: 34em;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.22);
}

.demo-disclaimer__status-label {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.demo-disclaimer__status-text {
  margin: 0;
  font-size: clamp(0.75rem, 2.4vw, 0.84rem);
  font-weight: 600;
  color: rgba(10, 10, 10, 0.88);
  line-height: 1.35;
}

/* Header */
.site-header {
  min-height: 0;
  padding: 8px 14px;
  padding-top: max(8px, var(--safe-top));
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand__accent {
  color: var(--accent);
  font-weight: 600;
}

.page-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

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

.lang button[aria-pressed="true"] {
  background: var(--accent);
  color: #0a0a0a;
}

.lang__sep {
  color: var(--border);
  font-size: 0.75rem;
  user-select: none;
}

main {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 28px) clamp(16px, 4vw, 32px) calc(40px + var(--safe-bottom));
}

.main-canvas__glow {
  pointer-events: none;
  position: absolute;
  inset: -80px 10% auto;
  height: min(420px, 55vw);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 107, 0, 0.14), transparent 65%);
  filter: blur(2px);
  z-index: 0;
}

.main-canvas > *:not(.main-canvas__glow) {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
  margin-bottom: clamp(24px, 5vw, 36px);
  padding: clamp(18px, 4vw, 28px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.92) 0%, rgba(18, 18, 18, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 80px rgba(255, 107, 0, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hover), transparent);
  opacity: 0.85;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.28);
  border-radius: 999px;
}

.hero__pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(16px, 3vw, 22px);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pill:hover {
  color: var(--text);
  border-color: rgba(255, 107, 0, 0.35);
  background: rgba(255, 107, 0, 0.06);
}

.pill--accent {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  border-color: transparent;
}

.pill--accent:hover {
  color: #0a0a0a;
  filter: brightness(1.06);
}

.section-head {
  margin-bottom: clamp(14px, 2.5vw, 18px);
}

.section-head__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head__line {
  margin: 12px 0 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.9;
}

.section-block {
  margin-bottom: clamp(28px, 6vw, 40px);
}

.section-block--form .section-head {
  margin-bottom: clamp(12px, 2vw, 16px);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  align-items: baseline;
}

.hero h1 .accent {
  color: var(--accent);
}

.lead {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 3.2vw, 1.125rem);
  max-width: 36em;
}

.section-title {
  margin: 0;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-weight: 700;
}

.features {
  display: grid;
  gap: clamp(10px, 2vw, 14px);
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature {
  --feature-delay: 0ms;
  position: relative;
  display: flex;
  gap: 14px;
  padding: 1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(145deg, rgba(255, 107, 0, 0.35), rgba(42, 42, 42, 0.9) 38%, rgba(26, 26, 26, 1) 55%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature__inner {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: clamp(16px, 3vw, 20px);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(36, 36, 36, 0.98) 0%, var(--surface) 45%);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 32px rgba(255, 107, 0, 0.12);
}

.feature:hover .feature__inner {
  border-color: rgba(255, 107, 0, 0.2);
}

.feature__no {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.12);
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .feature {
    animation: feature-rise 0.55s ease backwards;
    animation-delay: var(--feature-delay);
  }
}

@keyframes feature-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 107, 0, 0.22), rgba(255, 107, 0, 0.06));
  border-radius: 12px;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover .feature__icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.25);
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__body {
  flex: 1;
  min-width: 0;
  padding-right: 28px;
}

.feature__body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.feature__body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-section {
  position: relative;
  max-width: 520px;
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.95), rgba(18, 18, 18, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.45), transparent 40%, transparent 60%, rgba(255, 107, 0, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-section::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -100px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15), transparent 70%);
  pointer-events: none;
}

.form-section > * {
  position: relative;
  z-index: 1;
}

.form-section .hint {
  margin: 0 0 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: #5c5c5c;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 50%, #e85a00 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, filter 0.2s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover::after {
    animation: btn-shine 0.75s ease;
  }
}

@keyframes btn-shine {
  to {
    transform: translateX(120%);
  }
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: scale(0.98);
}

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

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-muted);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

.hero h1,
.section-title,
.dev-panel .section-title {
  text-wrap: balance;
}

.site-footer {
  margin-top: clamp(8px, 2vw, 16px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, var(--bg) 24%);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) clamp(16px, 4vw, 32px) calc(28px + var(--safe-bottom));
}

.dev-panel {
  margin-bottom: clamp(28px, 5vw, 40px);
}

.dev-card {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(28, 28, 28, 0.95) 0%, rgba(14, 14, 14, 0.98) 55%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 28px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.dev-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.7), transparent);
}

@media (min-width: 800px) {
  .dev-card {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(16px, 2.2vw, 22px);
  }
}

.dev-card__studio {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.dev-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.08);
}

.dev-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dev-facts > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.dev-facts > div:first-child {
  padding-top: 0;
}

.dev-facts > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dev-facts dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dev-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.dev-facts a {
  font-weight: 600;
  word-break: break-word;
}

.dev-facts address {
  font-style: normal;
  white-space: pre-line;
}

.mono {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 200, 160, 0.95);
  word-break: break-all;
}

.dev-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn-copy {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.btn-copy:hover {
  border-color: rgba(255, 107, 0, 0.45);
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-hover);
}

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

  .demo-disclaimer {
    animation: none;
  }

  .feature {
    animation: none;
  }

  .btn,
  .btn-copy,
  .lang button,
  .field input {
    transition: none;
  }

  .feature:hover {
    transform: none;
    box-shadow: none;
  }

  .feature:hover .feature__icon {
    transform: none;
    box-shadow: none;
  }
}
