:root {
  --bg: #050608;
  --bg-alt: #0b0e14;
  --card: #111623;
  --accent: #f5c15b;
  --accent-soft: #f5c15b22;
  --text-main: #f7f7fb;
  --text-muted: #a5adc4;
  --border-subtle: #252b3a;
  --link: #f5c15b;
  --link-hover: #ffe2a3;
  --danger: #ff6b6b;
  --max-width: 1080px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #151a26 0, #050608 55%);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--link-hover);
}

main {
  flex: 1;
}

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 18px 40px;
}

/* Header / Nav */

.site-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 0 10px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe7a3, #f5c15b 40%, #8a5b1a 100%);
  box-shadow: 0 0 0 1px rgba(245, 193, 91, 0.4), 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b1305;
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-text span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

.site-tagline {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 260px;
  text-align: right;
}

.nav-shell {
  border-radius: 999px;
  background: linear-gradient(135deg, #111623, #090c13);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(245, 193, 91, 0.4);
  color: var(--link-hover);
  background: rgba(245, 193, 91, 0.06);
}

.nav-links a.active {
  color: var(--text-main);
  border-color: rgba(245, 193, 91, 0.7);
  background: rgba(245, 193, 91, 0.12);
}

.nav-cta {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 193, 91, 0.7);
  background: radial-gradient(circle at top, rgba(245, 193, 91, 0.18), transparent 60%);
  color: var(--text-main);
  white-space: nowrap;
}

/* Hero / Cards */

.hero {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 18px;
}

.hero-main {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #1c2233, #090c13 55%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 20px;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-title {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary,
.btn-ghost {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, #f5c15b, #e39a2f);
  color: #1b1305;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--border-subtle);
  background: rgba(10, 13, 20, 0.9);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(245, 193, 91, 0.5);
  color: var(--text-main);
}

.hero-side {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #111623, #090c13);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-side-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-side-body {
  font-size: 13px;
  color: var(--text-muted);
}

/* Sections */

.section {
  margin-top: 26px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.card {
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #111623, #090c13);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 14px 14px 13px;
}

.card h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Forms */

.form-card {
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #111623, #090c13);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 18px 16px 16px;
  max-width: 640px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

label {
  font-size: 13px;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #05070c;
  color: var(--text-main);
  padding: 8px 9px;
  font-size: 13px;
  font-family: var(--font-main);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(245, 193, 91, 0.6);
  border-color: rgba(245, 193, 91, 0.6);
}

/* Footer */

.site-footer {
  border-top: 1px solid #151827;
  padding: 16px 18px 22px;
  margin-top: 10px;
  background: radial-gradient(circle at top, #111623, #050608 60%);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--link-hover);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-tagline {
    text-align: left;
    max-width: none;
  }

  .nav-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    align-self: flex-start;
  }
}
