:root {
  --bg: #ffffff;
  --ink: #222222;
  --ink-2: #555555;
  --muted: #8a8a8a;
  --line: #e5e5e5;
  --accent: #fd6a3b;
  --accent-2: #d94f22;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-2); }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  max-width: 1040px;
  margin: 0 auto;
}

/* ---- Header / Wordmark ---- */
.site-header {
  padding: 60px 0 48px;
  text-align: center;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
}
.wordmark-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}
.wordmark span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

/* ---- Products row ---- */
.products {
  padding: 56px 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.product {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-shot {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.product-shot img {
  max-height: 280px;
  width: auto;
  display: block;
}
.product h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.product p {
  font-size: 14px;
  margin: 0;
  color: var(--ink-2);
  max-width: 220px;
  line-height: 1.45;
}

.tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
  text-decoration: none;
}

/* ---- Prose section ---- */
.prose {
  padding: 56px 0;
}
.prose-grid {
  display: flex;
  justify-content: center;
}
.prose-grid > div {
  max-width: 560px;
}
.prose p {
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 560px;
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.prose a {
  color: var(--accent);
}
.prose .app-store-btn {
  display: inline-block;
  margin-top: 12px;
}
.prose .app-store-btn img {
  height: 44px;
  width: auto;
}

/* ---- Links grid ---- */
.links {
  padding: 56px 0;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.col h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.col h4 a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.col p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 14px;
  line-height: 1.5;
}
.col ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.col li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.col li a {
  color: var(--accent);
}

/* ---- Footer ---- */
.footer {
  padding: 32px 0 60px;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-nav a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav span { color: var(--muted); }
.footer p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---- Inner pages (support, privacy) ---- */
.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}
.page {
  padding: 48px 0 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 12px;
}
.page-title {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.page-lede {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 40px;
  max-width: 560px;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  transition: border-color .15s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea {
  min-height: 140px;
  line-height: 1.5;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.btn-send {
  align-self: flex-start;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn-send:hover {
  background: var(--accent-2);
}
.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-status {
  margin: 0;
  font-size: 14px;
  min-height: 1em;
}
.form-status.success { color: #2f7a2f; }
.form-status.error { color: #b0341a; }

/* Legal / privacy copy */
.legal {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}
.legal .updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}
.legal h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 30px 0 10px;
  letter-spacing: -0.005em;
}
.legal p { margin: 0 0 12px; }
.legal ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .container { padding: 0 20px; }

  .site-header { padding: 32px 0 24px; }
  .wordmark span { font-size: 20px; }
  .wordmark-logo { width: 24px; height: 24px; }

  .products { padding: 36px 0; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .product-shot { height: 240px; }
  .product-shot img { max-height: 240px; }

  .prose { padding: 36px 0; }
  .prose-grid { grid-template-columns: 1fr; }

  .links { padding: 36px 0; }
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer { padding: 24px 0 40px; }
}

@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
}
