/* Rock the AI — warm, confident, a little playful */

:root {
  --cream: #FAF5EE;
  --cream-deep: #F3EADD;
  --card: #FFFFFF;
  --ink: #2E2A26;
  --ink-soft: #6E655B;
  --line: #E8DCCC;
  --coral: #E4633A;
  --coral-deep: #C74E27;
  --teal: #1F9C8F;
  --teal-glow: #4FE0CF;
  --slate: #5C6873;
  --amber: #F2B84B;
  --radius: 18px;
  --shadow: 0 2px 6px rgba(46, 42, 38, 0.06), 0 12px 28px rgba(46, 42, 38, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--coral-deep); }
img { max-width: 100%; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 650;
}

.brand em {
  font-style: normal;
  color: var(--coral);
}

.nav nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--coral-deep); }

/* ---------- hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.hero-copy { flex: 1.4; }

.kicker {
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--coral);
  position: relative;
  white-space: nowrap;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 26px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 16px rgba(228, 99, 58, 0.35);
}

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

.btn.ghost {
  color: var(--ink);
  border: 2px solid var(--line);
  background: var(--card);
}

.hero-rock { flex: 1; text-align: center; }

.hero-rock img {
  width: min(250px, 60vw);
  animation: bob 4.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rock img { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- three doors ---------- */

.doors {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 52px;
}

.doors h2 { text-align: center; font-size: 30px; }

.doors .sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 42em;
  margin: 0 auto 30px;
}

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

.door {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease;
}

.door:hover { transform: translateY(-3px); }

.door .door-emoji { font-size: 28px; }

.door h3 { font-size: 21px; margin: 8px 0 4px; }

.door p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 10px; }

.door .go { font-weight: 800; color: var(--coral-deep); font-size: 15px; }

/* ---------- stories ---------- */

.stories { padding: 52px 0 30px; }

.stories h2 { font-size: 32px; }

.stories .sub { color: var(--ink-soft); max-width: 44em; margin-top: 0; }

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 26px;
}

.filters button {
  font: inherit;
  font-weight: 800;
  font-size: 14.5px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
}

.filters button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--av, var(--slate));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.avatar-generic { background: #DAD3C7; font-size: 24px; }

.bio-photo {
  float: right;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 14px 22px;
  box-shadow: var(--shadow);
}

@media (max-width: 480px) {
  .bio-photo { width: 110px; height: 110px; margin: 0 0 10px 14px; }
}

.who { margin: 0; font-weight: 800; }

.track-chip {
  display: inline-block;
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1px 10px;
  border-radius: 999px;
}

.track-chip.prompting { background: #FCEBDD; color: #B35A17; }
.track-chip.agents    { background: #DFF3F0; color: #16756B; }
.track-chip.creating  { background: #EEE7FA; color: #6A45B0; }

.example-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11.5px;
  font-weight: 800;
  color: #8A6D1F;
  background: #FBF0D2;
  border: 1px dashed #E0C878;
  border-radius: 999px;
  padding: 2px 10px;
}

.card h3 { font-size: 20px; margin: 0 0 8px; }

.card .story { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 16px; flex: 1; }

.meta {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.meta li { white-space: nowrap; }

.card-link {
  margin-top: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.share-card {
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px dashed var(--line);
  background: transparent;
  box-shadow: none;
}

.share-card h3 { font-size: 21px; }
.share-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- inner pages ---------- */

.page { padding: 40px 0 60px; }

.page h1 { font-size: clamp(32px, 5vw, 44px); }

.page .lede { margin-bottom: 34px; }

.page section { margin-bottom: 44px; }

.page h2 {
  font-size: 26px;
  padding-top: 8px;
}

.page h2 .emoji { margin-right: 8px; }

.page ul { padding-left: 22px; }

.page li { margin-bottom: 8px; }

.tip {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.tip strong { color: var(--ink); }

.placeholder {
  background: #FBF0D2;
  border: 1px dashed #E0C878;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 90%;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  margin-top: 30px;
}

footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 800;
  font-size: 15px;
}

.footer-nav a { text-decoration: none; }

.footer-nav a:hover { color: var(--coral-deep); }

.footer-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

footer img { width: 26px; height: 26px; }

footer a { color: var(--ink-soft); }

@media (max-width: 720px) {
  footer .wrap { align-items: center; text-align: center; }
  .footer-nav, .footer-credit { justify-content: center; }
}

@media (max-width: 720px) {
  .hero { flex-direction: column-reverse; text-align: center; padding-top: 20px; }
  .cta-row { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .nav { flex-direction: column; align-items: center; gap: 12px; }
  .nav nav { justify-content: center; gap: 12px 18px; }
}

/* ---------- prototype banner ---------- */

.proto-banner {
  background: #FBF0D2;
  border-bottom: 1px solid #E0C878;
  color: #8A6D1F;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
}

.proto-banner a { color: inherit; }

.submit-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 6px;
  font-weight: 800;
  font-size: 17px;
}
