/* public/assets/css/style.css */
:root {
  --bg: #0a0b0d;
  --bg-glow: #0f1216;
  --fg: #e6e8eb;
  --muted: #8b929b;
  --faint: #565d66;
  --accent: #4ade80;
  --accent-hover: #22c55e;
  --border: #1c2026;
  --mono:
    ui-monospace,
    "SF Mono",
    "JetBrains Mono",
    "Fira Code",
    Menlo,
    Consolas,
    monospace;
  --sans:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  background:
    radial-gradient(
      1200px 600px at 50% -10%,
      var(--bg-glow),
      transparent 70%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.topbar-link {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  min-width: 0;
}
.topbar-link:hover {
  color: var(--fg);
  background: #101318;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.topbar-cta {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.topbar-cta:hover {
  border-color: var(--accent);
  background: #101318;
}
.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.gh-link:hover {
  color: var(--fg);
  background: #101318;
}
.gh-icon {
  display: block;
}
@media (max-width: 768px) {
  main {
    flex-direction: column;
    justify-content: flex-start;
  }
  .topbar {
    position: static;
    width: 100%;
    padding: 0.9rem 1rem;
    gap: 0.5rem;
  }
  .topbar-link,
  .topbar-cta,
  .gh-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
  }
  .topbar-cta {
    padding: 0.4rem 0.6rem;
  }
  .hero {
    padding: 2.5rem 1.25rem 3.5rem;
  }
}
@media (max-width: 400px) {
  .gh-link span {
    display: none;
  }
}
.hero {
  width: 100%;
  padding: 4rem 1.5rem;
}
.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 1.5rem;
}
.wordmark {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
.tagline {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 500;
  color: var(--fg);
  margin: 1.75rem auto 0;
  max-width: 34rem;
  text-wrap: balance;
}
.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 1.25rem auto 0;
  max-width: 38rem;
  text-wrap: pretty;
}
.signup-lead {
  margin: 2.5rem auto 0;
  max-width: 30rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;
  text-wrap: pretty;
}
.signup {
  margin: 1rem auto 0;
  max-width: 30rem;
}
.signup-row {
  display: flex;
  gap: 0.6rem;
}
.signup-email {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--fg);
  background: #101318;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.signup-email::placeholder {
  color: var(--faint);
}
.signup-email:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.signup .btn-primary {
  white-space: nowrap;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}
.consent input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.consent a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent a:hover {
  color: var(--fg);
}
.signup-status {
  min-height: 1.2rem;
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.signup-status.is-ok {
  color: var(--accent);
}
.signup-status.is-err {
  color: #f87171;
}
.actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--faint);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: #05130a;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.features {
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  max-width: 46rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.feature {
  background: var(--bg);
  padding: 1.1rem 1.2rem;
  transition: background 0.15s ease;
}
.feature:hover {
  background: #101318;
}
.feature h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.feature h3::before {
  content: "\203a";
  color: var(--accent);
}
.feature p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.feature code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--fg);
  background: #101318;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.footnote {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--faint);
}
.footnote a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.footnote a:hover {
  color: var(--fg);
}
main:has(.container) {
  align-items: flex-start;
}
.container {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.masthead {
  margin: 0 0 2.5rem;
}
.masthead a {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}
.page h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: -0.75rem 0 2.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--faint);
}
.post-meta > * + *::before {
  content: "\b7  ";
  color: var(--border);
}
.content {
  font-size: 1rem;
  color: var(--muted);
}
.content h2 {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--fg);
  margin: 2.25rem 0 0.75rem;
}
.content h3 {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--fg);
  margin: 1.75rem 0 0.5rem;
}
.content p {
  margin: 0 0 1rem;
}
.content ul,
.content ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.content li {
  margin: 0.35rem 0;
}
.content li::marker {
  color: var(--faint);
}
.content strong {
  color: var(--fg);
  font-weight: 600;
}
.content em {
  color: var(--fg);
  font-style: italic;
}
.content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content a:hover {
  color: var(--accent-hover);
}
.content code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--fg);
  background: #101318;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
}
.content pre {
  background: #101318;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
  overflow-x: auto;
}
.content pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--fg);
}
.content blockquote {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  color: var(--faint);
}
.content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0 1.5rem;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.post-nav a {
  color: var(--muted);
  text-decoration: none;
}
.post-nav a:hover {
  color: var(--fg);
}
.container .footnote {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.post-nav + .footnote {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: 0;
}
.post-signup {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-nav + .post-signup {
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}
.post-signup .signup-lead {
  margin-top: 0;
}
.post-signup + .footnote {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: 0;
}
.list h1 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}
.post-card {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.post-card h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.post-card h2 a {
  color: var(--fg);
  text-decoration: none;
}
.post-card h2 a:hover {
  color: var(--accent);
}
.post-card time {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
}
.post-card .excerpt {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-wrap: pretty;
}
.hire-lede {
  font-size: 1.1rem;
  color: var(--fg);
  text-wrap: pretty;
}
.hire-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.hire-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  text-wrap: pretty;
}
.hire-list li::before {
  content: "\203a";
  position: absolute;
  left: 0.25rem;
  color: var(--accent);
}
.hire-list strong {
  color: var(--fg);
}
.hire-list-no li::before {
  content: "\d7";
  color: var(--faint);
}
.content .hire-proof-line {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--faint);
  text-wrap: pretty;
}
.hire-price {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 8px;
  background: #101318;
  color: var(--muted);
  font-size: 0.95rem;
}
.hire-price strong {
  color: var(--fg);
  font-family: var(--mono);
}
.content .hire-email-cta {
  margin: 1.5rem 0 0;
}
.content .hire-email-cta .btn-primary {
  color: #05130a;
  text-decoration: none;
}
.content .hire-email-cta .btn-primary:hover {
  color: #05130a;
  background: var(--accent-hover);
}
.hire-form {
  margin-top: 1.75rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  min-width: 0;
}
.field label {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--fg);
  background: #101318;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field select {
  font-family: var(--mono);
  font-size: 0.9rem;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238b929b' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.hire-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hire-actions .btn-primary {
  flex-shrink: 0;
  padding: 0.8rem 1.75rem;
}
.hire-actions .hire-alt {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--faint);
  text-wrap: pretty;
}
.hire-alt a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hire-alt a:hover {
  color: var(--fg);
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
