:root {
  --bg-top: #07111c;
  --bg-bottom: #081423;

  --card-bg: rgba(13, 27, 42, 0.95);
  --card-border: rgba(183, 202, 227, 0.16);

  --text-main: #f7f1e8;
  --text-soft: #d6dfea;
  --text-muted: rgba(214, 223, 234, 0.7);

  --accent: #b7cae3;

  --input-bg: rgba(255, 255, 255, 0.03);

  --radius-card: 26px;
  --radius-input: 18px;
  --radius-pill: 999px;
}

/* RESET */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  padding: 30px 16px;

  /* ✅ FIXED FONT */
  font-family: Georgia, "Times New Roman", serif;

  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text-main);

  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* LAYOUT */
.tool-shell {
  max-width: 900px;
  margin: 0 auto;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.3),
    0 0 40px rgba(88,123,165,0.08);
}

/* HEADER */
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ✅ SOFTER HEADINGS */
h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
}

h2 {
  margin-bottom: 10px;
  font-weight: 500;
}

.intro {
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* PROGRESS BAR */
.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #9fb7d7, #c7d8eb);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-muted);
}

/* STEPS */
.step {
  display: none;
  margin-top: 24px;
}

.step.active {
  display: block;
}

.step-number {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.step-guidance {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ✅ TEXTAREA MATCHES FONT */
textarea {
  width: 100%;
  min-height: 180px;
  padding: 18px;

  font-family: Georgia, "Times New Roman", serif;

  border-radius: var(--radius-input);
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text-main);

  font-size: 15px;
  line-height: 1.6;

  resize: vertical;
}

textarea::placeholder {
  color: rgba(214, 223, 234, 0.6);
}

textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(183, 202, 227, 0.08);
}

/* BUTTONS */
.btn {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #102033;
  box-shadow: 0 0 20px rgba(183, 202, 227, 0.25);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-soft);
}

/* NAV */
.nav-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

/* SUMMARY */
.summary-card {
  margin-top: 16px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);

  font-family: Georgia, "Times New Roman", serif;

  line-height: 1.7;
  color: var(--text-soft);
  white-space: pre-wrap;
}

.summary-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .tool-card {
    padding: 20px;
  }

  .nav-actions {
    flex-direction: column;
    gap: 10px;
  }

  .summary-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}