:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --accent: #1f4fd8;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sq {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--accent); }
a:hover { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

h1, h2, h3, .word {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  max-width: 16ch;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
}

h3 { margin: 0 0 8px; font-size: 20px; }

p { margin: 0 0 16px; }

.lede, .measure { max-width: 68ch; }

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.brand img { width: 36px; height: 48px; object-fit: contain; }

.word { display: block; font-size: 20px; line-height: 1; }
.tag {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a,
.site-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  white-space: nowrap;
}

.nav-desktop a[aria-current="page"],
.site-menu a[aria-current="page"] { color: var(--accent); }

.header-cta { margin-left: 8px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.site-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 24px 20px;
}
.site-menu.is-open { display: block; }
.site-menu a { display: flex; padding: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--accent);
  font: 600 15px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.btn:hover { color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { padding: 88px 0 72px; }
.rule { border-top: 1px solid var(--line); padding: 72px 0; }
.stack { display: grid; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff;
}
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 600; text-decoration: none; }

ol.steps { margin: 0; padding-left: 20px; }
ol.steps li { margin: 0 0 12px; }

table.price {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}
.table-scroll { overflow-x: auto; }
table.price th,
table.price td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
}
table.price th { font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  color: var(--muted);
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.legal { margin-top: 28px; font-size: 13px; }

.form { display: grid; gap: 16px; max-width: 640px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 16px/1.4 Inter, system-ui, sans-serif;
  padding: 12px;
  min-height: 44px;
}
textarea { min-height: 140px; resize: vertical; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
#form-status { min-height: 1.6em; font-weight: 600; }

.crumb {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { color: var(--ink); }

@media (max-width: 1240px) {
  .nav-desktop, .header-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 1120px) {
  .cards, .cards-2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
