@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
}

:root {
  --brand-500: #0097fe;
  --brand-600: #0061d1;
  --brand-700: #004fab;
  --brand-800: #003d85;
  --ink-400: #7f97b0;
  --ink-500: #5d7896;
  --ink-700: #3b4e65;
  --ink-800: #2b3a4d;
  --ink-900: #16212f;
  --ink-950: #0b131d;
  --line: #d5dee8;
  --page: #f3f5f8;
  --blob: #e6ebf1;
  --card: #ffffff;
  --shadow: 0 1px 2px rgb(11 19 29 / 0.04), 0 18px 40px -18px rgb(11 19 29 / 0.18);
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
  --display: Sora, Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink-800);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brand-600);
  color: #fff;
}

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

.top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding: 28px 36px 0;
}

.logo-link {
  display: inline-flex;
  line-height: 0;
}

.logo-link img {
  height: 46px;
  width: auto;
}

.stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 28px;
  min-height: 560px;
}

.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene svg.backdrop {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(980px, 86vw);
  height: auto;
  transform: translate(-50%, -52%);
}

.deco {
  position: absolute;
  overflow: visible;
}

.deco-env-tl { left: 6%; top: 8%; width: 108px; transform: rotate(-8deg); }
.deco-plane-tr { right: 11%; top: 22%; width: 58px; transform: rotate(16deg); }
.deco-plane-ml { left: 9%; top: 58%; width: 52px; transform: rotate(-28deg); }
.deco-code { left: 68%; top: 11%; width: 72px; }
.deco-env-br { right: 7%; bottom: 8%; width: 118px; transform: rotate(6deg); }
.deco-path { position: absolute; inset: 0; width: 100%; height: 100%; }

.wrap {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  text-align: center;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-950);
}

.subtitle {
  margin: 10px 0 0;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.card {
  margin-top: 28px;
  padding: 32px 34px 28px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.field-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink-400);
  font-size: 0.78rem;
}

textarea,
input[type="text"],
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-900);
  font: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
}

textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

textarea::placeholder { color: #b0bcc8; }

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%),
    linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
  text-align: left;
}

textarea:focus,
input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgb(0 151 254 / 0.12);
}

.secret-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  text-align: left;
}

.actions {
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-600);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn:hover { background: var(--brand-700); }

.btn:active { background: var(--brand-800); }

.note {
  margin: 16px 0 0;
  color: var(--ink-500);
  font-size: 0.84rem;
  line-height: 1.5;
}

.note strong { color: var(--ink-800); font-weight: 600; }

.foot {
  position: relative;
  z-index: 3;
  padding: 8px 20px 28px;
  text-align: center;
  color: var(--ink-700);
  font-size: 0.92rem;
}

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

.foot a:hover { color: var(--brand-700); }

@media (max-width: 980px) {
  .deco-path,
  .deco-plane-tr,
  .deco-plane-ml,
  .deco-code { display: none; }
  .deco-env-tl { width: 72px; left: 4%; top: 4%; }
  .deco-env-br { width: 80px; right: 4%; bottom: 4%; }
}

@media (max-width: 640px) {
  .top { padding: 18px 18px 0; }
  .logo-link img { height: 36px; }
  .deco { display: none; }
  .scene svg.backdrop { width: 140%; opacity: 0.7; }
  h1 { font-size: 1.65rem; }
  .card { padding: 26px 18px 22px; margin-top: 22px; }
  .stage { min-height: 0; padding-top: 28px; }
}
