:root {
  --bg: #0e0e10;
  --bg-raised: #1a1a1d;
  --text: #f5f5f4;
  --text-muted: #a8a29e;
  --accent: #f59e0b;
  --border: #2a2a2e;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  flex: 1;
}

.nav {
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.wordmark .accent {
  color: var(--accent);
}
.nav-cta {
  font-size: 14px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.nav-cta:hover {
  color: var(--accent);
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 80px;
  background: var(--accent);
  opacity: 0.5;
}
.hero::before {
  top: 48px;
  left: 24px;
}
.hero::after {
  bottom: 32px;
  right: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 14ch;
}
.hero-sub {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--accent);
  margin-top: 16px;
  font-weight: 500;
}
.hero-body {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 32px;
  max-width: 52ch;
}
.hero-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0e0e10;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.hero-cta:hover {
  opacity: 0.85;
}

.work {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .cases {
    grid-template-columns: 1fr 1fr;
  }
}
.case {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.case-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.case-head h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.case-link {
  font-size: 13px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.case-link:hover {
  color: var(--accent);
}
.case-screenshot {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: block;
}
.case-body dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 6px;
}
.case-body dt:first-child {
  margin-top: 0;
}
.case-body dd {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.case-body dd.todo {
  color: var(--text-muted);
  font-style: italic;
}

.contact {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px 128px;
  text-align: center;
}
.contact h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  transition: transform 0.15s ease;
}
.contact-btn:hover {
  transform: translateY(-1px);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  font-size: 13px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .capabilities {
    grid-template-columns: repeat(4, 1fr);
  }
}
.capability {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.capability h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--text);
}
.capability p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.tiers-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 640px;
  line-height: 1.55;
}
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tier {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.tier-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--bg-raised) 60%);
}
.tier-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: #1a1a1d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 10px;
  text-transform: uppercase;
}
.tier-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
}
.tier-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.tier-price {
  font-size: 14px;
  color: var(--text-muted);
}
.tier-price strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.tier-time {
  font-size: 12px;
  color: var(--text-muted);
  margin: 10px 0 24px;
  letter-spacing: 0.02em;
}
.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tier-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}
.tier-example {
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.tier-example a {
  color: var(--accent);
  font-style: normal;
  text-decoration: none;
  font-weight: 600;
}
.tier-example a:hover {
  text-decoration: underline;
}
.tiers-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 28px 0 6px;
  line-height: 1.6;
  max-width: 720px;
}
.tiers-availability {
  font-size: 14px;
  color: var(--text);
  margin-top: 14px;
}
.tiers-cta {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}
.tiers-cta:hover {
  text-decoration: underline;
}
