/* Windward Apps — site stylesheet
   Palette from the logo: navy ink, ocean blue, palm green, warm sand. */

:root {
  --navy: #172e53;
  --navy-deep: #0f1f3a;
  --ink: #15243d;
  --text: #2c3a50;
  --muted: #5f6c80;
  --line: #e3e8ef;
  --sand: #f7f5f0;
  --sky: #eaf4fb;
  --ocean: #176fb3;
  --ocean-hover: #125a92;
  --palm: #5ad13d;
  --palm-soft: #e6f7df;
  --palm-deep: #2e9e4b;
  --white: #ffffff;
  --danger: #c0392b;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 46, 83, 0.06), 0 8px 24px rgba(23, 46, 83, 0.06);
  --max: 1120px;
  --gutter: 24px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
ul,
ol {
  list-style: none;
}
a {
  color: var(--ocean);
  text-decoration: none;
}
a:hover {
  color: var(--ocean-hover);
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.6rem, 2rem + 3.2vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.nowrap {
  white-space: nowrap;
}
h1 .dot {
  color: var(--palm);
}
h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
}
p + p {
  margin-top: 1em;
}
.no-scroll {
  overflow: hidden;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 760px;
}
.section {
  padding: 96px 0;
}
.bg-sand {
  background: var(--sand);
}
.section > .container > h2 {
  margin-bottom: 40px;
}
.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--muted);
}
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
    transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 46, 83, 0.18);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--ink);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  height: 36px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9875rem;
}
.nav a:not(.btn) {
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--palm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}
.nav a.is-active {
  color: var(--ink);
  font-weight: 700;
}
.nav .btn {
  margin-left: 8px;
}
.nav a.btn-primary {
  color: var(--white);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  margin: auto;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 16px 4px;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn {
    margin: 24px 0 0;
    border-bottom: 0;
    font-size: 1rem;
  }
}

/* Wind-lines motif */
.wind {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(62%, 860px);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%);
  mask-image: linear-gradient(to right, transparent 0%, #000 42%);
  animation: wind-sway 14s ease-in-out infinite alternate;
}
.wind path {
  stroke: var(--ocean);
  stroke-linecap: round;
  opacity: 0.32;
}
.wind .w2 { opacity: 0.22; }
.wind .w3 { stroke: var(--palm); opacity: 0.6; }
.wind .w4 { opacity: 0.18; }
.wind .w5 { stroke: var(--palm); opacity: 0.35; }
.wind .w6 { opacity: 0.14; }
.wind .w7 { stroke: var(--palm); opacity: 0.25; }
.wind .w8 { opacity: 0.2; }
@keyframes wind-sway {
  from { transform: translateX(-28px); }
  to { transform: translateX(16px); }
}
@media (prefers-reduced-motion: reduce) {
  .wind {
    animation: none;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 160px;
  background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 760px;
}
.hero .lead {
  max-width: 600px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Section header: heading left, one-line intro right */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-header p {
  max-width: 380px;
  padding-bottom: 6px;
  font-size: 1.0625rem;
  color: var(--muted);
}

/* Statement: heading left, argument right */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.statement h2 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1;
}
.statement .prose {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Points: three short claims with a rule above each */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.points > div {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.points > div::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--palm);
}
.points h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}
.points p {
  font-size: 1rem;
  color: var(--muted);
}

/* Build list: full-width rows that react on hover */
.build {
  border-top: 1px solid #d9d4c8;
}
.build li {
  border-bottom: 1px solid #d9d4c8;
}
.build a {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 40px;
  gap: 24px;
  align-items: baseline;
  padding: 30px 0;
  color: var(--ink);
  transition: transform 200ms ease;
}
.build a:hover {
  text-decoration: none;
  transform: translateX(10px);
}
.build-index {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--palm-deep);
}
.build-title {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.build-desc {
  font-size: 1rem;
  color: var(--muted);
}
.build-arrow {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ocean);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.build a:hover .build-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  max-width: 900px;
}
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
}
.step-num {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--palm-deep);
}
.step h3 {
  margin-bottom: 6px;
  font-size: 1.125rem;
}
.step p {
  font-size: 1rem;
  color: var(--muted);
}
.stack-line {
  max-width: 720px;
  margin-top: 48px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Dark band + quotes */
.bg-navy {
  background: var(--navy);
  color: #c9d3e3;
}
.bg-navy h2 {
  color: var(--white);
}
.quote {
  padding-left: 28px;
  border-left: 3px solid var(--palm);
}
.quote blockquote {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--white);
}
.quote footer {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: #9fb0c8;
}
.quote footer strong {
  color: var(--white);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--muted);
}
.contact-lines {
  margin-top: 32px;
  font-size: 1.0625rem;
}
.contact-lines li + li {
  margin-top: 10px;
}
.contact-lines a,
.contact-lines strong {
  font-weight: 600;
  color: var(--ink);
}
.card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(23, 46, 83, 0.04), 0 24px 56px rgba(23, 46, 83, 0.1);
}

/* Forms */
form > p {
  margin-bottom: 18px;
}
form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
form input[type='text'],
form input[type='email'],
form input[type='password'],
form input[type='tel'],
form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
form textarea {
  min-height: 160px;
  resize: vertical;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(23, 111, 179, 0.15);
}
form input::placeholder,
form textarea::placeholder {
  color: #9aa5b5;
}
form .message {
  margin: 0 0 18px;
  color: var(--danger);
  font-weight: 500;
}
form .message:empty {
  display: none;
}
form .field-message {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--danger);
}
.success-message {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--palm-soft);
  color: var(--palm-deep);
  font-weight: 600;
  text-align: center;
}
.h-captcha {
  margin: 8px 0 18px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .wind {
  width: min(58%, 780px);
  opacity: 0.75;
}
.page-hero h1 {
  max-width: 820px;
}
.page-hero .lead {
  max-width: 680px;
  margin-top: 20px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-top: 36px;
  font-size: 1rem;
}
.facts span {
  color: var(--muted);
}
.facts strong {
  margin-left: 8px;
  color: var(--ink);
}
.prose-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.prose-section:last-of-type {
  border-bottom: 0;
}
.prose-section h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}
.prose-section h2 em {
  font-style: italic;
  color: var(--ocean);
}
.prose-section .prose {
  font-size: 1.125rem;
  line-height: 1.7;
}
.prose-section .prose p + p {
  margin-top: 1.1em;
}
.pull-quote {
  margin: 0;
  padding: 28px 32px;
  border-left: 4px solid var(--palm);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--sand);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}
.reg {
  margin: 0;
  display: grid;
  gap: 10px 0;
}
.reg div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.reg dt {
  color: var(--muted);
}
.reg dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.prose-section .prose h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.codes {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
.codes th,
.codes td {
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.codes th {
  width: 96px;
  padding-right: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.codes .tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--palm-soft);
  color: var(--palm-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.office {
  margin: 1.1em 0 0;
  font-style: normal;
  line-height: 1.6;
}
.office strong {
  color: var(--ink);
}
.office a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}
.office-map {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sky);
}
.office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.endnote {
  padding: 24px 0 96px;
}
.endnote .container > div {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: 24px;
  background: var(--sand);
}
.endnote .wind {
  width: 55%;
  opacity: 0.7;
}
.endnote h2,
.endnote p,
.endnote .btn {
  position: relative;
  z-index: 1;
}
.endnote h2 {
  margin-bottom: 10px;
}
.endnote p {
  max-width: 520px;
  color: var(--muted);
}
.endnote .btn {
  margin-top: 24px;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.news-grid > li {
  display: flex;
}
.news-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: inherit;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}
.news-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: #d3dbe6;
}
.news-card .thumb {
  position: relative;
  height: 0;
  padding-top: 62.5%;
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.news-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .body {
  padding: 24px;
}
.news-card .body h3 {
  color: var(--ink);
}
.news-card .date {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.news-empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.article header {
  margin-bottom: 40px;
}
.article header h1 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3.25rem);
}
.article header .lead {
  margin-top: 16px;
  max-width: 680px;
}
.article .date {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.article .figure {
  margin: 32px 0 0;
  padding: 24px;
  background: var(--sand);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
}
.article .figure img {
  max-height: 440px;
  width: auto;
}
.article .content {
  font-size: 1.125rem;
  line-height: 1.75;
  white-space: pre-line;
}
.newsletter {
  padding: 72px 0;
  background: var(--sky);
}
.newsletter .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.newsletter .container > div:first-child {
  padding-top: 6px;
}
.newsletter h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}
.newsletter p {
  margin-top: 8px;
  color: var(--muted);
}
.newsletter form {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.newsletter form > p {
  flex: 1;
  margin: 0;
}
.newsletter form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.newsletter .success-message {
  width: 100%;
}

/* Login */
.auth {
  padding: 80px 0;
  background: var(--sand);
  min-height: 60vh;
}
.auth .card {
  max-width: 420px;
  margin: 0 auto;
}
.auth h1 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #aab6c9;
  font-size: 0.9375rem;
}
.site-footer a {
  color: #d7deeb;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-main .brand {
  color: var(--white);
}
.footer-main .brand img {
  height: 32px;
}
.footer-main .tagline {
  max-width: 320px;
  margin-top: 16px;
}
.footer-main h4 {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-main li + li {
  margin-top: 10px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
.footer-bottom a {
  color: #8b99b0;
}

/* Simple pages */
.simple {
  padding: 96px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .grid-3,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 > :last-child:nth-child(odd),
  .news-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .statement,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .build a {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 6px 16px;
  }
  .build-desc {
    grid-column: 2;
  }
  .build-arrow {
    display: none;
  }
  .wind {
    width: 100%;
    opacity: 0.5;
  }
  .contact-grid {
    gap: 40px;
  }
  .points,
  .build {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .prose-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 44px 0;
  }
  .reg div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .newsletter .container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 72px 0 120px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .grid-3,
  .grid-2,
  .news-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
  }
  .newsletter form {
    flex-direction: column;
  }
  .newsletter form .btn {
    width: 100%;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }
  .page-hero {
    padding: 56px 0 48px;
  }
  .endnote {
    padding: 16px 0 64px;
  }
  .endnote .container > div {
    padding: 32px 24px;
  }
}

/* Forms: honeypot, htmx states, stacked newsletter form */
.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
form.htmx-request .btn {
  opacity: 0.6;
  pointer-events: none;
}
.newsletter form {
  display: block;
}
.newsletter form > p {
  margin-bottom: 14px;
}
.newsletter form .h-captcha {
  margin: 0 0 14px;
}
