:root {
  --bg: #050816;
  --bg-alt: #0b1724;
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.1);
  --text: #f5f7fa;
  --muted: #9aa4b2;
  --border: #1e293b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.4);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #172554 0, #020617 55%, #000 100%);
  color: var(--text);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding: 2.5rem 1.5rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .page-content {
    padding: 3.5rem 2rem 4rem;
  }
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(from 160deg, #ff6b3d, #f97316, #fb923c, #ff6b3d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #020617;
}

.site-logo-text-main {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.site-logo-text-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.site-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
  max-width: 260px;
  line-height: 1.4;
}

/* Layout */

.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .layout-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2rem;
    align-items: start;
  }
}

/* Hero */

.hero-card {
  border-radius: 24px;
  padding: 2.25rem 2rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-title {
  font-size: 2.15rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

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

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

/* Feature list */

.feature-list {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
}

.feature-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-bullet {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--accent);
}

/* Form card */

.form-card {
  border-radius: 22px;
  padding: 1.9rem 1.7rem 1.8rem;
  background: linear-gradient(145deg, #020617, #020617, #111827);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
}

.form-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

/* Form */

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row-inline {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-row-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-label {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.form-label span {
  color: #f97373;
}

.form-input,
.form-textarea {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
  background: rgba(15, 23, 42, 0.95);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.form-checkbox-row input[type="checkbox"] {
  margin-top: 0.1rem;
  accent-color: var(--accent);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

@media (min-width: 520px) {
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.form-button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg, #f97316, #fb923c, #ff6b3d);
  color: #020617;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.form-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.form-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.8);
}

.form-button[disabled] {
  opacity: 0.7;
  cursor: default;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-status {
  margin-top: 0.6rem;
  font-size: 0.8rem;
}

.form-status.ok {
  color: #4ade80;
}

.form-status.error {
  color: #fb7185;
}

/* Footer */

.site-footer {
  padding: 0.5rem 1.5rem 1.8rem;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.9;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}