
:root {
  color-scheme: light;
  --ink: #101615;
  --muted: #5c6762;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #dfe6de;
  --green: #0f7b63;
  --green-dark: #0a4f43;
  --cyan: #2479a6;
  --amber: #f0a83a;
  --coral: #d9684b;
  --shadow: 0 24px 70px rgba(18, 28, 25, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef5ef 0%, var(--paper) 34%, #f4f2ec 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-shell { min-height: 100vh; transition: filter .2s ease; }
body.checkout-open .site-shell { filter: blur(7px); pointer-events: none; user-select: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(16, 22, 21, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(16, 22, 21, .07);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.16);
}
.nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 800; }
.nav a:hover, .footer a:hover { color: var(--green); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--green); box-shadow: 0 14px 28px rgba(15, 123, 99, .24); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.button.wide { width: 100%; }
.workspace-hero { width: min(1180px, calc(100% - 32px)); margin: 24px auto 0; min-height: calc(100vh - 96px); display: grid; align-items: center; }
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.04fr) minmax(320px, .96fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.task-card {
  border: 1px solid rgba(16, 22, 21, .1);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.task-input { grid-row: span 2; padding: clamp(22px, 3vw, 34px); }
.run-plan, .replay-panel { padding: 22px; }
.eyebrow { margin: 0 0 10px; color: var(--green); text-transform: uppercase; font-size: 12px; font-weight: 950; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: .94; letter-spacing: 0; margin-bottom: 18px; max-width: 780px; }
h2 { font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: 0; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.2; margin-bottom: 9px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 680px; }
.builder-form { display: grid; gap: 14px; margin-top: 22px; }
.builder-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 850; font-size: 13px; }
textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fbfcf8;
  outline: none;
}
textarea { resize: vertical; min-height: 150px; padding: 14px; line-height: 1.55; }
select { min-height: 44px; padding: 0 12px; }
textarea:focus, select:focus { border-color: rgba(15, 123, 99, .62); box-shadow: 0 0 0 4px rgba(15, 123, 99, .12); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-actions, .hero-cta-row, .checkout-direct { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.example-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.example-row button, .plan-pills button, .billing-toggle button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}
.example-row button { padding: 8px 12px; font-size: 13px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 24px; margin: 0; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #dff4ea;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.step-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.step-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcf8;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.step-list li.active { border-color: rgba(15,123,99,.5); background: #edf8f1; transform: translateX(2px); }
.step-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}
.step-list b { display: block; margin-bottom: 3px; }
.step-list small { color: var(--muted); line-height: 1.4; }
.queue-strip {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.queue-strip b { color: var(--ink); font-size: 22px; }
.progress { grid-column: 1 / -1; height: 9px; overflow: hidden; border-radius: 999px; background: #e7ece5; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--amber)); transition: width .25s ease; }
.browser-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f9faf6; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--coral); }
.browser-bar i:nth-child(2) { background: var(--amber); }
.browser-bar i:nth-child(3) { background: var(--green); }
.browser-bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 16px; display: grid; gap: 14px; }
.mini-table { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.mini-table > * { min-height: 34px; padding: 8px; background: #fff; font-style: normal; font-size: 13px; }
.mini-table span { color: var(--muted); font-weight: 900; background: #edf4ef; }
.mini-table em { color: var(--green-dark); background: #e7f6ee; font-weight: 900; }
.screenshot-stack { display: grid; gap: 8px; }
.screenshot-stack article { padding: 11px 12px; border-radius: 9px; color: var(--muted); background: #fff; border: 1px dashed var(--line); font-size: 13px; font-weight: 800; }
.screenshot-stack article.active { color: var(--green-dark); border-style: solid; border-color: rgba(15,123,99,.45); background: #edf8f1; }
.band, .section, .footer { width: min(1180px, calc(100% - 32px)); margin: 24px auto; }
.proof-band {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.proof-band p { color: rgba(255,255,255,.72); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.proof-grid article { padding: 16px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.proof-grid b { display: block; margin-bottom: 8px; }
.proof-grid span { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.45; }
.section { padding: 58px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.workflow-grid, .control-grid, .pricing-grid, .faq-grid, .guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.workflow-grid article, .control-grid article, .faq-grid article, .guide-grid a, .template-grid article, .price-card {
  border: 1px solid rgba(16,22,21,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 38px rgba(18, 28, 25, .07);
}
.workflow-grid article, .control-grid article, .faq-grid article, .guide-grid a, .template-grid article { padding: 18px; }
.workflow-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: var(--cyan);
  font-weight: 950;
  margin-bottom: 14px;
}
.workflow-grid p, .control-grid p, .faq-grid p, .template-grid p, .price-card p, .guide-grid span { color: var(--muted); line-height: 1.55; }
.split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.controls { padding-top: 28px; }
.pricing { scroll-margin-top: 100px; }
.billing-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.billing-toggle.inline { margin-bottom: 20px; }
.billing-toggle button { min-height: 34px; padding: 0 12px; }
.billing-toggle button.active, .plan-pills button.active { color: #fff; background: var(--green); border-color: var(--green); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.price-card { position: relative; padding: 22px; display: grid; gap: 12px; }
.price-card.featured { border-color: rgba(15,123,99,.48); box-shadow: 0 26px 70px rgba(15,123,99,.18); }
.recommended { position: absolute; top: -13px; left: 18px; padding: 6px 10px; border-radius: 999px; background: var(--amber); color: #2f1b00; font-weight: 950; font-size: 12px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 0; }
.price span { font-size: 44px; font-weight: 950; color: var(--ink); }
.price small { color: var(--muted); font-weight: 800; }
.allowance { font-weight: 900; color: var(--green-dark) !important; }
.feature-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--muted); line-height: 1.45; }
.feature-list li:before { content: "OK"; color: var(--green); font-weight: 950; font-size: 11px; }
.feature-list.compact { margin: 14px 0; }
.page-hero {
  width: min(980px, calc(100% - 32px));
  margin: 64px auto 18px;
  padding: clamp(34px, 7vw, 78px) 0 28px;
}
.page-hero h1 { font-size: clamp(42px, 7vw, 78px); }
.page-hero p { max-width: 820px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.compact-hero, .checkout-page, .legal-hero { padding-bottom: 6px; }
.resource-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.resource-layout article, .resource-cta, .legal-content {
  border: 1px solid rgba(16,22,21,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 38px rgba(18, 28, 25, .07);
  padding: 22px;
}
.resource-cta { position: sticky; top: 98px; }
.plain-list, .number-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.plain-list li, .number-list li { margin: 9px 0; }
.warning-list li::marker { color: var(--coral); }
.guide-grid { grid-template-columns: repeat(4, 1fr); }
.guide-grid a { display: grid; gap: 6px; }
.guide-grid b { color: var(--green-dark); }
.legal-content { width: min(920px, calc(100% - 32px)); margin: 0 auto 72px; }
.legal-content h2 { font-size: 24px; margin-top: 28px; }
.legal-content p { color: var(--muted); line-height: 1.75; }
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 22, 20, .46);
  backdrop-filter: blur(10px);
}
.checkout-overlay[hidden] { display: none; }
.checkout-panel {
  position: relative;
  width: min(850px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 32px 120px rgba(0,0,0,.34);
}
.icon-button {
  border: 0;
  background: var(--ink);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.icon-button.close { position: absolute; right: 16px; top: 16px; }
.checkout-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.checkout-steps span { padding: 7px 10px; border-radius: 999px; background: #edf1eb; color: var(--muted); font-weight: 900; font-size: 12px; }
.checkout-steps span.active { background: var(--green); color: #fff; }
.checkout-grid { display: grid; grid-template-columns: .82fr 1fr; gap: 20px; }
.checkout-price span:first-child { font-size: 46px; font-weight: 950; }
.plan-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-pills button { min-height: 36px; padding: 0 14px; }
.payment-status { min-height: 42px; color: var(--muted); line-height: 1.5; }
.reopen-link { display: inline-flex; margin-top: 10px; color: var(--green); font-weight: 900; }
.linklike {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}
.footer p, .fine { color: var(--muted); line-height: 1.6; }
.footer h2 { font-size: 14px; margin-bottom: 12px; color: var(--ink); }
.footer div { display: grid; align-content: start; gap: 9px; }
.footer-brand { margin-bottom: 6px; }
@media (max-width: 980px) {
  .workspace-grid, .proof-band, .split, .checkout-grid, .resource-layout { grid-template-columns: 1fr; }
  .task-input { grid-row: auto; }
  .proof-grid, .workflow-grid, .control-grid, .pricing-grid, .faq-grid, .guide-grid, .footer { grid-template-columns: repeat(2, 1fr); }
  .resource-cta { position: static; }
}
@media (max-width: 680px) {
  .topbar { width: calc(100% - 20px); gap: 10px; }
  .nav { display: none; }
  .topbar .button { display: none; }
  .workspace-hero, .band, .section, .footer { width: calc(100% - 20px); }
  .workspace-grid, .input-row, .proof-grid, .workflow-grid, .control-grid, .pricing-grid, .faq-grid, .guide-grid, .template-grid, .footer { grid-template-columns: 1fr; }
  h1 { font-size: 36px; line-height: 1.02; }
  .lead, .page-hero p { font-size: 16px; line-height: 1.55; }
  textarea { min-height: 116px; }
  .hero-actions { order: 3; }
  .input-row { order: 4; }
  .example-row { order: 5; }
  .task-input { padding: 22px; }
  .page-hero h1 { font-size: 40px; }
  .hero-actions .button, .hero-cta-row .button, .checkout-direct .button { width: 100%; }
  .proof-band { padding: 20px; }
}
