.hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(129, 113, 208, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(129, 113, 208, 0.18) 0%, rgba(129, 113, 208, 0.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; padding: 0 32px; position: relative; z-index: 1; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(40px, 5.4vw, 60px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.03; margin-bottom: 22px; }
h2 { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
p { color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
.accent, h1 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--primary); }
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-muted); line-height: 1.55; max-width: 620px; margin: 0 auto 28px; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-rating .stars {
  color: var(--primary);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  background: var(--primary-softer);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.section-wrap { max-width: var(--container); margin: 0 auto; padding: 12px 24px; }
.card { background: var(--bg-card); border-radius: var(--radius-card); padding: 56px; box-shadow: var(--shadow-card); transition: box-shadow 0.3s ease; margin-bottom: 24px; }
.card:hover { box-shadow: var(--shadow-card-hover); }
.row { display: grid; grid-template-columns: var(--header-col) 1fr; gap: var(--gap-cols); }
.row-header { position: sticky; top: 88px; align-self: start; }
.row-body { min-width: 0; }
.row-stacked { display: block; }
.row-stacked .row-header { position: static; max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: linear-gradient(90deg, var(--primary), transparent); border-radius: 2px; }
.row-stacked .eyebrow::after { content: ''; width: 24px; height: 1.5px; background: linear-gradient(-90deg, var(--primary), transparent); border-radius: 2px; }
.intro { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.tool-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-page-card { display: flex; flex-direction: column; padding: 24px 22px; background: var(--bg-alt); border-radius: var(--radius); color: var(--text); transition: all 0.2s; min-height: 210px; }
.tool-page-card:hover { background: var(--primary-softer); transform: translateY(-2px); color: var(--text); }
.tool-page-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-press) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-style: italic; font-size: 15px; font-weight: 700; margin-bottom: 16px; text-transform: lowercase; box-shadow: 0 3px 8px rgba(129, 113, 208, 0.25); }
.tool-page-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.tool-page-card p { font-size: 13.5px; line-height: 1.55; margin-bottom: 18px; }
.tool-page-link { margin-top: auto; font-size: 13px; color: var(--primary); font-weight: 500; }
.prompt-card { max-width: 660px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 6px; box-shadow: 0 1px 2px rgba(15, 15, 18, 0.04), 0 16px 40px rgba(129, 113, 208, 0.14); }
.prompt-input { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px 8px; }
.prompt-textarea { flex: 1; font-family: inherit; font-size: 15px; color: var(--text); border: none; outline: none; background: transparent; resize: none; min-height: 26px; line-height: 1.5; }
.prompt-textarea::placeholder { color: var(--text-subtle); }
.prompt-actions { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 8px; }
.prompt-hints { display: flex; gap: 8px; font-size: 12px; color: var(--text-subtle); }
.send-btn { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; box-shadow: 0 2px 6px rgba(129, 113, 208, 0.3); }
.send-btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(129, 113, 208, 0.4); }
.example-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; justify-content: center; }
.example-prompts > span { font-size: 12px; color: var(--text-subtle); align-self: center; margin-right: 4px; }
.chip { font-size: 12.5px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-softer); }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.capability { position: relative; padding: 20px 20px 20px 24px; background: var(--bg-alt); border-radius: var(--radius); transition: all 0.2s; overflow: hidden; }
.capability::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); opacity: 0.25; transition: opacity 0.2s; }
.capability:hover { background: var(--primary-softer); transform: translateY(-2px); }
.capability:hover::before { opacity: 1; }
.cap-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--primary); letter-spacing: 0.08em; margin-bottom: 8px; display: block; font-weight: 600; }
.capability h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.capability p { font-size: 13.5px; line-height: 1.55; margin-bottom: 0; }
.mini-cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 28px 32px; background: linear-gradient(135deg, var(--primary-softer) 0%, var(--bg-alt) 100%); border-radius: var(--radius); }
.mini-cta h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.015em; }
.mini-cta p { font-size: 14px; margin-bottom: 0; }
code { font-family: var(--font-mono); font-size: 12px; color: var(--primary); background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 2px 6px; }
@media (max-width: 980px) { .tool-page-grid { grid-template-columns: repeat(2, 1fr); } .row { grid-template-columns: 1fr; gap: 28px; } .row-header { position: static; } }
@media (max-width: 700px) { .card { padding: 32px 22px; border-radius: 18px; } .section-wrap { padding: 10px 18px; } .tool-page-grid, .capability-grid { grid-template-columns: 1fr; } .mini-cta { grid-template-columns: 1fr; gap: 18px; } .prompt-actions { flex-direction: column; align-items: stretch; gap: 12px; } .send-btn { align-self: flex-end; } }
