:root {
  --bg: #f5f1ea;
  --bg-wash: radial-gradient(circle at 12% 15%, #ffd5a0 0, transparent 33%),
    radial-gradient(circle at 85% 0%, #9dc5ff 0, transparent 34%),
    radial-gradient(circle at 40% 90%, #b8f0d9 0, transparent 32%);
  --text: #1d2228;
  --muted: #5a6270;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-border: #d9d6cf;
  --primary: #0a5f3c;
  --primary-hover: #08482d;
  --secondary: #ece8df;
  --secondary-hover: #dfd8cb;
  --shadow: 0 18px 42px rgba(22, 35, 29, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-wash);
}

.page {
  width: min(1100px, 92vw);
  margin: 2rem auto 3rem;
}

.hero h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  max-width: 20ch;
}

.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.subtitle {
  max-width: 55ch;
  color: var(--muted);
  margin-top: 0.7rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.controls-panel {
  margin-top: 1.4rem;
  padding: 1rem;
}

.controls-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.93rem;
}

select,
button {
  font: inherit;
}

.button-row {
  display: grid;
  --button-cols: 1;
  grid-template-columns: repeat(var(--button-cols), minmax(0, 1fr));
  gap: 0.6rem;
  grid-column: 1 / -1;
}

.button-row .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .controls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-row {
    grid-template-columns: repeat(var(--button-cols), minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .controls-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.btn {
  border: 0;
  border-radius: 11px;
  padding: 0.66rem 0.95rem;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

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

.btn-secondary:hover {
  background: var(--secondary-hover);
}

.stats-panel {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
}

.stats-panel p {
  margin: 0;
  color: var(--muted);
}

.results {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.seo-panel,
.faq-panel {
  margin-top: 1rem;
  padding: 1rem 1rem 1.1rem;
}

.seo-panel h2,
.faq-panel h2 {
  margin: 0 0 0.45rem;
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.seo-panel p,
.faq-panel p {
  margin: 0.2rem 0 0;
  color: #4c5563;
  line-height: 1.45;
}

.seo-columns {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.seo-columns article {
  border: 1px solid #e4dfd4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.75rem 0.78rem;
}

.seo-columns h3 {
  margin: 0;
  font-size: 1rem;
}

.seo-detail {
  margin-top: 0.8rem;
}

.planning-head {
  max-width: 700px;
}

.planning-kicker {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.planning-title {
  margin: 0.2rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.planning-grid {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.planning-item {
  border: 1px solid #e4dfd4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.8rem;
}

.planning-item dt {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.planning-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary);
  flex: none;
}

.planning-item dd {
  margin: 0.5rem 0 0;
}

.planning-item dd p {
  margin: 0;
}

.planning-link {
  margin-top: 0.7rem !important;
}

.planning-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.planning-link a:hover {
  color: var(--primary-hover);
}

.progress-nav {
  margin: 1.1rem 0 1.2rem;
  padding: 0.35rem;
  border: 1px solid #c8c1b3;
  border-radius: 14px;
  background: #efebe3;
}

.progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #bbb2a1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(42, 35, 20, 0.1);
}

.progress-item {
  position: relative;
}

.progress-item + .progress-item {
  border-top: 1px solid #d5cebf;
}

.progress-link {
  display: block;
  text-decoration: none;
  background: #f6f3ec;
}

.progress-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
}

.progress-circle {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.progress-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.progress-item-complete .progress-link {
  color: #3f4a5d;
  background: #f6f3ec;
}

.progress-item-current .progress-link {
  color: #3f4a5d;
  background: #f6f3ec;
}

.progress-item-upcoming .progress-link {
  color: #3f4a5d;
  background: #f6f3ec;
}

.progress-item-complete .progress-link:hover {
  color: #2f3949;
  background: #f6f3ec;
}

.progress-item-current .progress-link:hover {
  color: #2f3949;
  background: #f6f3ec;
}

.progress-item-upcoming .progress-link:hover {
  color: #2f3949;
  background: #f6f3ec;
}

.progress-arrow {
  display: none;
}

@media (min-width: 768px) {
  .progress-list {
    display: flex;
  }

  .progress-item {
    flex: 1;
  }

  .progress-item + .progress-item {
    border-top: 0;
  }

  .progress-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.2rem;
    height: 100%;
    display: block;
    color: #bfb7a7;
  }

  .progress-arrow-svg {
    width: 100%;
    height: 100%;
  }
}

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

.faq-item {
  border: 1px solid #e3ddd1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0.8rem;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.idea-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dad6cc;
  border-radius: var(--radius-md);
  padding: 0.95rem;
  box-shadow: 0 9px 30px rgba(25, 30, 35, 0.08);
  animation: rise 320ms ease;
}

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

.idea-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem;
  gap: 0.6rem;
  align-items: start;
}

.idea-title {
  margin: 0;
  font-size: 1.08rem;
  min-width: 0;
}

.favorite-btn {
  justify-self: end;
}

.meta-badges {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.badge-duration {
  background: #dbeafe;
  color: #1e3a8a;
}

.badge-budget {
  background: #dcfce7;
  color: #166534;
}

.badge-timezone {
  background: #ffedd5;
  color: #9a3412;
}

.badge-mood {
  background: #fee2e2;
  color: #991b1b;
}

.steps-list {
  list-style: none;
  margin: 0.62rem 0 0;
  padding: 0;
  border: 1px solid #e6e2d8;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.step-item {
  display: flex;
  gap: 0.58rem;
  align-items: flex-start;
  padding: 0.55rem 0.62rem;
}

.step-item + .step-item {
  border-top: 1px solid #ece8df;
}

.step-marker {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 700;
}

.step-text {
  color: #2d3440;
  font-size: 0.92rem;
  line-height: 1.35;
}

.meta {
  margin: 0.45rem 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.links {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.links a {
  color: #034b79;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .page {
    margin-top: 1.3rem;
  }
}
