:root {
  --bg: #EAF8FF;
  --bg-warm: #D8F1FC;
  --bg-page: #C7E6F3;
  --ink: #06243C;
  --ink-soft: #244A64;
  --ink-muted: #5E8095;
  --accent: #007CC3;
  --accent-dark: #00598F;
  --accent-bright: #00A8E8;
  --line: rgba(6, 58, 92, 0.13);
  --line-strong: rgba(6, 58, 92, 0.3);
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

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

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.vortex-app {
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 168, 232, 0.18), transparent 28%),
    linear-gradient(160deg, #F4FCFF 0%, var(--bg) 45%, #DDF4FD 100%);
  min-height: 100vh;
}

.vx-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.vx-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}

.vx-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin: 0 0 22px;
}

.vx-kicker::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 12px;
}

.vx-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 36em;
}

.vx-panel {
  position: relative;
  padding: 28px 28px 24px;
  background:
    linear-gradient(135deg, rgba(244, 252, 255, 0.92), rgba(216, 241, 252, 0.75));
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 68, 105, 0.12);
}

.vx-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(0, 83, 132, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 83, 132, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.vx-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.vx-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vx-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 124, 195, 0.15);
}

.vx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

.vx-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.vx-btn:hover { background: var(--accent-dark); }
.vx-btn:active { transform: translateY(1px); }

.vx-btn--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid rgba(0, 124, 195, 0.35);
}

.vx-btn--ghost:hover {
  background: rgba(0, 124, 195, 0.08);
}

.vx-msg {
  margin: 0 0 16px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.vx-msg--error {
  color: #7a1f1f;
  background: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(180, 40, 40, 0.2);
}

.vx-msg--ok {
  color: var(--accent-dark);
  background: rgba(0, 124, 195, 0.08);
  border: 1px solid rgba(0, 124, 195, 0.2);
}

.vx-meta {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.vx-meta dt {
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 12px;
}

.vx-meta dd { margin: 2px 0 0; }

.vx-steps {
  margin: 8px 0 10px;
  padding-left: 1.4em;
}

.vx-steps li { margin: 4px 0; }

.vx-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 36px 0 12px;
}

.vx-fade-in {
  animation: vxFade 0.55s ease both;
}

@keyframes vxFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .vx-shell { padding: 32px 16px 56px; }
  .vx-panel { padding: 22px 18px; }
}
