:root {
  --bg-1: #f8fbff;
  --bg-2: #fff8ef;
  --panel: #ffffff;
  --panel-soft: #f7fbff;
  --text: #0f172a;
  --muted: #4b5c74;
  --border: rgba(15, 23, 42, 0.12);
  --accent: #0ea5e9;
  --accent-2: #f97316;
  --accent-3: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(14, 165, 233, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.13), transparent 28%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.shell {
  width: min(1140px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 48px;
  position: relative;
  z-index: 1;
}

.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: #0f4673;
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.announcement a {
  color: #0f4673;
  font-weight: 700;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.15);
}

.nav-links,
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  color: #032033;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(14, 165, 233, 0.32);
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: var(--panel);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-main {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0f5885;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.02;
}

.hero-copy {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 700px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

button,
input {
  font: inherit;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
  color: #032033;
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.26);
}

.btn-ghost {
  color: var(--text);
  background: #f8fcff;
  border-color: var(--border);
}

.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.pill-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  background: #f2f9ff;
  color: #0f5885;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-preview {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(160deg, #f9fcff, #fffaf2);
  padding: 18px;
}

.preview-tag {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f5885;
  font-weight: 700;
}

.hero-preview h2 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
}

.preview-stack {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.mini-card {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px;
  display: grid;
  gap: 2px;
}

.mini-card strong {
  font-size: 0.88rem;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.controls-card {
  grid-row: auto;
  background: linear-gradient(160deg, #f5fbff, #ffffff);
}

h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.muted {
  margin: 0 0 14px;
  color: var(--muted);
}

.field {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.field input {
  margin-top: 6px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
}

.field input:focus {
  outline: 2px solid rgba(14, 165, 233, 0.3);
  outline-offset: 1px;
}

.field input[type="color"] {
  padding: 0;
  height: 42px;
}

.feature-list,
.steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li,
.steps li {
  margin-bottom: 8px;
}

.demo-text {
  margin: 0;
  color: var(--muted);
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  background: #fbfdff;
}

.demo-text.is-success {
  color: #0d5a36;
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.11);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
