/* Dotwords corp landing pages — brand kit (red #ff2121 accent, navy #1e4381
   for tech pages, ink text on paper/white). Be Vietnam Pro (OFL). */
:root {
  --dw-red: #ff2121;
  --dw-red-dark: #ec111a;
  --dw-navy: #1e4381;
  --dw-white: #ffffff;
  --dw-ink-900: #15171a;
  --dw-paper: #f5f7fd;
  --dw-mute-500: #747474;
  --dw-divider: #d9d9d9;
  --accent: var(--dw-red);
}
body.theme-navy { --accent: var(--dw-navy); }
body.theme-red { --accent: var(--dw-red); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  color: var(--dw-ink-900);
  background: var(--dw-paper);
  line-height: 1.55;
}
a { color: var(--accent); }
.display { font-weight: 300; letter-spacing: 0.01em; line-height: 1.1; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 20px 40px; background: var(--dw-white);
  border-bottom: 1px solid var(--dw-divider);
}
.site-header .brand img { display: block; height: 40px; }
.site-header .tagline {
  font-size: 13px; color: var(--dw-mute-500);
  text-transform: uppercase; letter-spacing: 0.12em;
}

main { max-width: 1080px; margin: 0 auto; padding: 56px 40px; }

.hero { max-width: 760px; margin-bottom: 12px; }
.eyebrow {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin: 0 0 12px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--dw-ink-900); opacity: 0.85; margin: 0; }

.content {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px;
  margin-top: 48px; align-items: start;
}
.benefits h2 { font-weight: 600; font-size: 18px; }
.benefits ul { list-style: none; padding: 0; margin: 16px 0 0; }
.benefits li {
  padding: 12px 0 12px 30px; border-bottom: 1px solid var(--dw-divider);
  position: relative;
}
.benefits li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}

.card {
  background: var(--dw-white); border: 1px solid var(--dw-divider);
  border-radius: 14px; padding: 28px;
  box-shadow: 0 8px 30px rgba(21, 23, 26, 0.06);
}
.gate { position: sticky; top: 24px; }
.gate h2 { margin-top: 0; font-weight: 600; font-size: 20px; }

form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--dw-mute-500); margin-bottom: 14px;
}
form input[type="text"], form input[type="email"] {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  font: inherit; color: var(--dw-ink-900);
  border: 1px solid var(--dw-divider); border-radius: 9px; background: #fff;
}
form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
label.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 400; color: var(--dw-ink-900); font-size: 13px;
}
label.consent input { margin-top: 3px; }
button[type="submit"] {
  width: 100%; margin-top: 8px; padding: 13px 18px;
  font: inherit; font-weight: 600; color: #fff; cursor: pointer;
  background: var(--accent); border: 0; border-radius: 9px;
  transition: filter 0.15s ease;
}
button[type="submit"]:hover { filter: brightness(0.92); }
button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.form-msg { min-height: 18px; margin: 12px 0 0; font-size: 13px; color: var(--dw-red-dark); }

.gate-success p { font-size: 17px; }
.download-btn {
  display: inline-block; margin-top: 8px; padding: 13px 22px;
  font-weight: 600; color: #fff; text-decoration: none;
  background: var(--accent); border-radius: 9px;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.teaser { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.teaser:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(21,23,26,0.10); }
.teaser h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.teaser p { color: var(--dw-mute-500); margin: 0 0 16px; flex: 1; }
.teaser .more { font-weight: 600; color: var(--accent); }

.prose { max-width: 720px; }
.prose h2 { font-weight: 600; font-size: 20px; margin-top: 32px; }
.muted { color: var(--dw-mute-500); }

.site-footer {
  border-top: 1px solid var(--dw-divider); background: var(--dw-white);
  padding: 28px 40px; font-size: 13px; color: var(--dw-mute-500);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 840px) {
  .content { grid-template-columns: 1fr; }
  .gate { position: static; }
  main { padding: 40px 22px; }
}
