/* Einwort marketing site stylesheet. System font stack only. No remote font loading or
   client-side script is required for the responsive experience. */

:root {
  --color-ink: #172033;
  --color-ink-deep: #0d1528;
  --color-cloud: #f7f8fc;
  --color-warm: #fffdfa;
  --color-surface: #ffffff;
  --color-coral: #ff6b61;
  --color-coral-dark: #d74842;
  --color-muted: #4a5468;
  --color-line: #d8dde8;
  --color-focus: #5b5ff2;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  --page-width: 92rem;
  --content-width: 72rem;
  --radius-small: 0.45rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-warm);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:not(.button) {
  text-decoration-thickness: from-font;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 1em;
}

.page-shell,
.wrap {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 3.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-small);
  background: var(--color-ink);
  color: var(--color-cloud);
  font-weight: 700;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.header-row {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-lockup {
  width: 9.6rem;
  height: auto;
}

.brand .icon {
  width: 2rem;
  height: 2rem;
}

.brand .wordmark {
  width: 6.75rem;
  height: auto;
  margin-left: 0.55rem;
}

.legal-header .header-row {
  flex-wrap: wrap;
}

.nav-list,
.mobile-nav-list,
.footer-links,
.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
}

.nav-list a,
.mobile-nav-list a {
  display: block;
  padding: 0.6rem 0;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover,
.mobile-nav-list a:hover {
  text-decoration: underline;
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  min-width: 3rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu[open] nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-surface);
  box-shadow: 0 1rem 2rem rgb(23 32 51 / 14%);
}

/* Hero */

.hero {
  background: var(--color-warm);
}

.hero-grid {
  display: grid;
  padding-inline: 0;
}

.hero-copy {
  padding: 1rem clamp(1rem, 4vw, 3rem) 1.5rem;
  align-self: start;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  font-weight: 760;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-word {
  white-space: nowrap;
}

.lead {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.76vw, 1.04rem);
  line-height: 1.55;
}

.hero-actions {
  margin: 1.25rem 0 0;
}

.hero-photo {
  width: min(100%, 32rem);
  height: auto;
  aspect-ratio: 1.55;
  justify-self: center;
  min-height: 0;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 58% center;
}

/* Buttons */

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-cloud);
}

.button-primary:hover {
  border-color: var(--color-ink-deep);
  background: var(--color-ink-deep);
}

/* Editorial flow statement */

.flow-statement {
  border-top: 1px solid var(--color-line);
  background: var(--color-warm);
}

.flow-grid {
  min-height: 7rem;
  display: grid;
  align-items: stretch;
  gap: 2rem;
  overflow: hidden;
}

.flow-statement h2 {
  max-width: 28ch;
  margin: 0;
  padding-block: clamp(1.25rem, 2vw, 1.75rem);
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
}

.signal-lines {
  min-height: 5rem;
  opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 18%, var(--color-line) 18% 18.4%, transparent 18.4% 31%, var(--color-line) 31% 31.4%, transparent 31.4%),
    repeating-linear-gradient(90deg, transparent 0 1.3rem, var(--color-line) 1.3rem calc(1.3rem + 1px));
  border-left: 1px solid var(--color-line);
  border-radius: 0 0 0 4rem;
}

/* Principles */

.principles {
  background: var(--color-ink);
  color: var(--color-cloud);
}

.principles-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.principles-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgb(247 248 252 / 34%);
}

.principles-list li:last-child {
  border-bottom: 0;
}

.principle-number {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-coral);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.principles-list h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.principles-list p {
  max-width: 24rem;
  margin-bottom: 0;
  color: rgb(247 248 252 / 82%);
}

/* Audience and pilot status */

.audience {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--color-warm);
}

.audience::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 17rem;
  height: 17rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  box-shadow: 0 0 0 2.2rem var(--color-warm), 0 0 0 calc(2.2rem + 1px) var(--color-line),
    0 0 0 4.4rem var(--color-warm), 0 0 0 calc(4.4rem + 1px) var(--color-line);
  pointer-events: none;
}

.audience-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.audience h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.audience-grid > p {
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.status-panel {
  max-width: 30rem;
  padding: 1.25rem;
  border-left: 4px solid var(--color-coral);
  background: var(--color-surface);
}

.status-panel h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* Email updates */

.updates {
  background: var(--color-coral);
}

.updates-row {
  display: grid;
  align-items: start;
  gap: 1.35rem;
  padding-block: clamp(1rem, 2vw, 1.5rem);
}

.updates h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.015em;
}

.updates-copy p {
  max-width: none;
  margin: 0.65rem 0 0;
}

.updates-form {
  display: grid;
  justify-self: end;
  width: min(100%, 34rem);
  gap: 0.65rem;
  padding: 0.85rem;
  border: 2px solid var(--color-ink);
  border-radius: 0.5rem;
  background: var(--color-cloud);
  color: var(--color-ink);
}

.updates-field {
  display: grid;
  gap: 0.35rem;
}

.updates-field label {
  font-weight: 700;
}

.updates-field input {
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--color-ink);
  border-radius: 0.25rem;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.updates-consent {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: start;
  gap: 0.65rem;
  line-height: 1.45;
}

.updates-consent input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
}

.updates-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.updates-turnstile {
  min-height: 0;
}

.updates-turnstile:empty {
  display: none;
}

.updates-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.9rem;
}

.updates-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

/* Footer */

.site-footer {
  padding-block: 1.25rem;
  background: var(--color-ink);
  color: var(--color-cloud);
  font-size: 0.9rem;
}

.footer-row {
  display: grid;
  align-items: center;
  gap: 1.15rem;
}

.footer-brand {
  display: inline-flex;
  width: 9.5rem;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-cloud);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-links {
  gap: 0.55rem;
}

.social-links a {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(247 248 252 / 38%);
  border-radius: var(--radius-small);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.social-links a:hover {
  border-color: var(--color-coral);
  background: rgb(247 248 252 / 8%);
}

.social-links img {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

/* Legal pages */

.legal-page {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--color-warm);
}

.legal-page .wrap {
  max-width: var(--content-width);
}

.legal-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.legal-page h2 {
  margin-top: 2.3rem;
  margin-bottom: 0.6rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-intro {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.legal-note {
  display: inline-block;
  padding: 0.08rem 0.45rem;
  border: 1px solid #f0c9a6;
  border-radius: var(--radius-small);
  background: #fff1e6;
  color: #8a3b12;
  font-size: 0.75em;
  font-weight: 750;
  letter-spacing: 0;
  vertical-align: middle;
}

/* 404 */

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding-block: 4rem;
  text-align: center;
}

.not-found .wrap {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
}

.not-found-copy {
  min-width: 0;
}

.not-found-art {
  display: block;
  width: min(100%, 32rem);
  justify-self: center;
}

.not-found-art img {
  display: block;
  width: 100%;
  height: auto;
}

.not-found h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.not-found p {
  color: var(--color-muted);
}

/* Keyboard focus */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-small);
}

.principles a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--color-coral);
}

/* Responsive */

@media (min-width: 48rem) {
  .not-found .wrap {
    grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 1.15fr);
    text-align: left;
  }

  .desktop-nav {
    display: block;
  }

  .mobile-menu {
    display: none;
  }

  .flow-grid {
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
  }

  .principles-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .principles-list li {
    min-height: 12rem;
    padding: 1.75rem clamp(1.25rem, 2.5vw, 2rem);
    border-right: 1px solid rgb(247 248 252 / 34%);
    border-bottom: 0;
  }

  .principles-list li:first-child {
    padding-left: 0;
  }

  .principles-list li:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
    grid-template-rows: auto 1fr;
    align-items: start;
  }

  .audience h2 {
    grid-row: 1 / span 2;
  }

  .status-panel {
    grid-column: 2;
  }

  .updates-row {
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  }

  .footer-row {
    grid-template-columns: 1fr auto auto;
  }
}

/* Keep the editorial hero stacked while a tablet-width text column would split "channel." or
   overlap the photograph. The two-column composition begins only when both columns fit. */
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 1.05fr);
  }

  .hero-photo {
    height: 21rem;
    min-height: 0;
    justify-self: end;
    border-radius: 0 0 0 5rem;
  }

  .hero-photo img {
    min-height: 0;
  }
}

@media (min-width: 75rem) {
  .updates-row {
    grid-template-columns: minmax(0, 1fr) 28rem;
  }

  .updates h2 {
    font-size: clamp(1.2rem, 1.65vw, 1.65rem);
  }
}

@media (max-width: 29.99rem) {
  .hero h1 {
    font-size: clamp(1.8rem, 7.5vw, 2rem);
  }

  .hero-actions .button,
  .updates .button {
    width: 100%;
  }

  .footer-row {
    justify-items: start;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* Owner-selected type scale, September 2026. Keep layout dimensions independent. */
body { font-size: 0.875rem; line-height: 1.5; }
.lead, .audience-grid > p, .legal-intro { font-size: 0.875rem; line-height: 1.5; }
.button { font-size: 0.875rem; min-height: 2.5rem; padding: 0.5rem 0.875rem; }
.updates-consent { font-size: 0.75rem; line-height: 1.4; grid-template-columns: 1rem 1fr; gap: 0.5rem; }
.updates-consent input { width: 1rem; height: 1rem; margin-top: 0.1rem; }
.updates-field input { min-height: 2.5rem; }
.legal-page h2 { font-size: 1.375rem; line-height: 1.25; }

/* Owner-selected B2 header logo. */
.site-header .brand { gap: 10px; }
.brand-symbol { width: 52px; height: 52px; flex: none; }
.brand-text { display: block; font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; line-height: 1.25; }
.brand-name { display: block; font-size: 32px; font-weight: 600; letter-spacing: -1px; line-height: 1.05; }
.brand-tagline { display: block; font-size: 12px; white-space: nowrap; }
