:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --card: #fff;
  --bg: #f6f7f9;
  --blue: #3186ff;
  --blue-dark: #1a6fe0;
  --green: #00af57;
  --red: #fc413d;
  --yellow: #ffbe00;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
  --sans: "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #3186ff 0 25%, #fc413d 25% 50%, #ffbe00 50% 75%, #00af57 75% 100%);
}

a { color: var(--blue-dark); }

img { display: block; max-width: 100%; }

.top, .foot, main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img { width: 36px; height: 36px; border-radius: 9px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }

.nav a:hover { color: var(--blue); }

.nav-cta, .button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

.nav-cta { padding: 8px 14px; }

.button.secondary, a.secondary {
  background: #fff;
  color: var(--blue) !important;
  border: 1px solid var(--blue);
}

.button:hover, .nav-cta:hover { background: var(--blue-dark); }

button:disabled { opacity: 0.55; cursor: not-allowed; }

.button.secondary:hover { background: #e8f1ff; }

.hero { padding: 18px 0 8px; }

.hero h1, .section h2, .card h1, .card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 { font-size: clamp(36px, 6vw, 58px); max-width: 14ch; }

.lede { max-width: 62ch; font-size: 18px; color: #3c4043; }

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

.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet header, .sample-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.3fr;
  gap: 10px;
  padding: 12px 16px;
}

.sheet header {
  background: #f1f3f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sample-row { border-top: 1px solid var(--line); font-size: 14px; }

.sample-row strong { font-weight: 650; }

.section { padding: 42px 0; }

.section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }

.steps, .plans { display: grid; gap: 14px; }

.steps { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }

.step, .plan, .card, .note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.step span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
}

.step h3, .plan h3 { margin: 0 0 6px; font-size: 18px; }

.step p, .plan li, .note p, .card p { color: #3c4043; }

.plans { grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 18px; }

.plan { display: flex; flex-direction: column; }

.plan.pro { border: 2px solid var(--blue); }

.price { margin: 8px 0 12px; font-family: var(--serif); font-size: 36px; }

.plan ul { margin: 0 0 18px; padding-left: 18px; flex: 1; }

.plan li { margin: 6px 0; }

.card { max-width: 460px; margin: 28px auto 48px; }

.card h1 { font-size: 32px; margin-bottom: 8px; }

form.stack { display: grid; gap: 12px; margin-top: 16px; }

label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus { outline: 2px solid #d2e3fc; border-color: var(--blue); }

.alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fde8e7;
  color: #9b1c1c;
}

.ok {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e6f6ee;
  color: #0d5c32;
}

.usage {
  height: 10px;
  border-radius: 999px;
  background: #e8eaed;
  overflow: hidden;
  margin: 8px 0 4px;
}

.usage span { display: block; height: 100%; background: var(--blue); }

.account-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; margin: 12px 0 40px; }

.muted { color: var(--muted); }

.foot { padding: 10px 0 28px; color: var(--muted); font-size: 14px; }

.foot p { margin: 6px 0; }

.foot a { margin-right: 14px; }

.honeypot { position: absolute; left: -9999px; }

@media (max-width: 800px) {
  .steps, .plans, .account-grid, .sheet header, .sample-row { grid-template-columns: 1fr; }
  .sheet header { display: none; }
  .sample-row { gap: 2px; }
}
