:root {
  --bg: #0d1014;
  --surface: #161b22;
  --surface-2: #1c232d;
  --text: #eef2f6;
  --muted: #9aa7b4;
  --accent: #f2994a;
  --accent-2: #56ccf2;
  --border: #232b35;
  --radius: 14px;
  --maxw: 960px;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(13, 16, 20, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(242, 153, 74, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 26px;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  padding: 132px 0;
  text-align: center;
  background-image: url("/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 44px 46px;
  background: rgba(13, 16, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.3px;
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-family: var(--font-body);
  color: #f4f7fa;
  margin: 0 auto 30px;
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(242, 153, 74, 0.35);
  background: rgba(242, 153, 74, 0.1);
  color: #f7b267;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.4px;
  animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s both;
}

.coming-soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(242, 153, 74, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 153, 74, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(242, 153, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 153, 74, 0); }
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.06s ease, opacity 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f7b267);
  color: #1a1205;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

/* Sections */
section.block {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

section.block h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

section.block h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #f7b267);
}

.section-head {
  margin-bottom: 36px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--surface), #12171e);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 153, 74, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card .emoji {
  font-size: 1.7rem;
  display: block;
  margin-bottom: 12px;
}

/* Legal / content pages */
.content {
  padding: 64px 0 88px;
}
.content h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.content .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.content h2 {
  font-size: 1.3rem;
  margin: 38px 0 10px;
}
.content p, .content li { color: #cdd6df; }
.content a { color: var(--accent-2); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 52px;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.18s ease;
}
.site-footer nav a:first-child { margin-left: 0; }
.site-footer nav a:hover { color: var(--text); }

.site-footer .credit { color: var(--muted); }
.site-footer .credit a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer .credit a:hover { color: var(--text); }

/* Mobile */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav { height: 56px; }
  .brand { font-size: 1.12rem; }
  .brand .mark { width: 26px; height: 26px; }
  .nav-links a { margin-left: 16px; font-size: 0.82rem; }
  .hero { padding: 80px 0 72px; }
  .hero-card { padding: 30px 22px; border-radius: 16px; }
  section.block { padding: 52px 0; }
  .site-footer .footer-row { flex-direction: column; align-items: flex-start; }
  .site-footer nav a:first-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; scroll-behavior: auto; }
}
