:root {
  color-scheme: dark;
  --ink: #f7f1e7;
  --muted: #c9bba9;
  --soft: #a99682;
  --black: #11100e;
  --deep: #181513;
  --panel: rgba(28, 24, 21, 0.86);
  --panel-solid: #201c18;
  --line: rgba(247, 241, 231, 0.16);
  --copper: #c98545;
  --copper-strong: #e6a15a;
  --sage: #9eb7a3;
  --teal: #80aeb0;
  --paper: #fbf4e9;
  --paper-ink: #251e18;
  --paper-muted: #635448;
  --paper-line: rgba(37, 30, 24, 0.16);
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--copper-strong);
  outline-offset: 4px;
}

::selection {
  background: var(--copper);
  color: #130e09;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--paper-ink);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.2rem 0;
}

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

.brand img {
  width: 116px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.3rem;
  background: rgba(17, 16, 14, 0.58);
  border: 1px solid rgba(247, 241, 231, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.site-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(247, 241, 231, 0.1);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 9rem 1rem 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(12, 10, 8, 0.96) 0%, rgba(12, 10, 8, 0.76) 42%, rgba(12, 10, 8, 0.3) 100%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.28) 0%, rgba(12, 10, 8, 0.18) 45%, #11100e 100%),
    url("../images/site-background.jpg");
  background-position: center, center, center right;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  opacity: 0.35;
}

.hero__content {
  width: min(100%, var(--max));
  margin: 0 auto;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--copper-strong);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.1rem;
  font-size: 4.2rem;
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  line-height: 1.22;
  font-weight: 900;
}

.hero__intro,
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.56;
}

.hero__intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--copper-strong);
  color: #16100a;
}

.button--secondary {
  border-color: rgba(247, 241, 231, 0.32);
  background: rgba(247, 241, 231, 0.08);
  color: var(--ink);
}

.section {
  padding: 4.15rem 1rem;
  background: var(--black);
}

.section--intro {
  padding: 3.35rem 1rem;
  background: linear-gradient(180deg, #15120f 0%, var(--black) 100%);
}

.section--warm {
  background: var(--paper);
  color: var(--paper-ink);
}

.section--community {
  background:
    linear-gradient(135deg, rgba(158, 183, 163, 0.16) 0%, rgba(201, 133, 69, 0.12) 100%),
    #171511;
}

.section--contact {
  background: #0f0e0c;
}

.section--proof {
  padding: 3.35rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #14120f;
}

.section--faq {
  padding-top: 3.6rem;
  padding-bottom: 3.6rem;
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.35rem;
  align-items: start;
}

.split--wide {
  grid-template-columns: 0.85fr 1.15fr;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 0.85rem;
}

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

.card,
.check-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
}

.card {
  min-height: 170px;
  padding: 1.15rem;
}

.card:nth-child(even) {
  background: rgba(247, 241, 231, 0.075);
}

.card p,
.feature-band__copy p,
.section p,
.proof-item span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 440px;
  background: var(--deep);
}

.feature-band__image {
  min-height: 440px;
  overflow: hidden;
}

.feature-band__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 50%;
}

.feature-band__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background:
    linear-gradient(180deg, rgba(22, 19, 15, 0.92), rgba(22, 19, 15, 0.98)),
    var(--panel-solid);
}

.feature-band__copy h2 {
  font-size: 2.15rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.audience {
  min-height: 190px;
  padding: 1.15rem;
  border-left: 1px solid var(--paper-line);
}

.audience:first-child {
  border-left: 0;
}

.audience h3 {
  color: var(--paper-ink);
}

.audience p,
.section--warm p {
  color: var(--paper-muted);
}

.section--warm .eyebrow {
  color: #8a501f;
}

.section--warm .section-heading {
  max-width: 650px;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 2.35rem;
  align-items: center;
}

.check-panel {
  padding: 1rem;
  background: var(--paper);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.check-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-top: 1px solid var(--paper-line);
  color: var(--paper-ink);
  font-weight: 800;
}

.check-list li:first-child {
  border-top: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--copper);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.proof-item {
  display: block;
  padding: 1rem;
  border-left: 1px solid var(--line);
  background: rgba(247, 241, 231, 0.055);
}

.proof-item:first-child {
  border-left: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal);
  font-size: 0.92rem;
}

.contact-photo {
  background: var(--black);
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: clamp(280px, 34vw, 440px);
  object-fit: cover;
  object-position: 42% 34%;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.faq-item {
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.35rem;
  align-items: start;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 241, 231, 0.06);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 161, 90, 0.55);
  background: rgba(230, 161, 90, 0.1);
}

.social-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-panel {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(230, 161, 90, 0.12), rgba(128, 174, 176, 0.08)),
    rgba(247, 241, 231, 0.055);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.contact-panel h3 {
  max-width: 420px;
  margin-bottom: 0.55rem;
  font-size: 1.7rem;
  line-height: 1.06;
}

.contact-panel p:not(.eyebrow) {
  max-width: 390px;
  color: var(--muted);
}

.contact-dialog {
  width: min(calc(100% - 2rem), 780px);
  max-height: min(92dvh, 780px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.contact-dialog::backdrop {
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(10px);
}

.dialog-open {
  overflow: hidden;
}

.dialog-card {
  max-height: min(92dvh, 780px);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #14120f;
  box-shadow: var(--shadow);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 1.85rem;
}

.dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 241, 231, 0.07);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.dialog-close:hover {
  border-color: rgba(230, 161, 90, 0.55);
  background: rgba(230, 161, 90, 0.1);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 241, 231, 0.06);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.contact-form--dialog {
  gap: 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form--dialog textarea {
  min-height: 112px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 241, 231, 0.18);
  border-radius: 6px;
  background: rgba(17, 16, 14, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0.7rem 0.8rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 0.8rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--copper-strong);
  outline-offset: 2px;
  border-color: transparent;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.4em;
  color: var(--sage);
  font-weight: 800;
}

.form-status--error {
  color: #f1a38e;
}

.trap-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  align-items: center;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  color: var(--soft);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 42px;
  height: auto;
}

.footer-brand p,
.copyright {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration-color: rgba(247, 241, 231, 0.35);
  text-underline-offset: 0.22em;
}

.copyright {
  grid-column: 1 / -1;
  color: #8f8173;
}

.legal-page {
  background: var(--paper);
  color: var(--paper-ink);
}

.legal-page .site-header {
  position: static;
  padding: 1rem 0;
}

.legal-page .brand {
  padding: 0.35rem;
  background: var(--black);
  border-radius: 8px;
}

.legal-page .site-nav {
  background: rgba(37, 30, 24, 0.08);
  border-color: rgba(37, 30, 24, 0.16);
  backdrop-filter: none;
}

.legal-page .site-nav a {
  color: var(--paper-ink);
}

.legal-main {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-main h1 {
  margin-bottom: 0.5rem;
  color: var(--paper-ink);
  font-size: 3.1rem;
  line-height: 1.05;
}

.legal-main h2 {
  margin-top: 2rem;
  color: var(--paper-ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-main p,
.legal-main li {
  color: #46392f;
}

.legal-main ol {
  padding-left: 1.35rem;
}

.legal-main a {
  color: #6f3f17;
}

.legal-page .site-footer {
  border-top: 1px solid rgba(37, 30, 24, 0.16);
  color: #6d5e51;
}

.legal-page .footer-links a {
  color: var(--paper-ink);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .split,
  .split--wide,
  .community-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--three,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience:nth-child(odd) {
    border-left: 0;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band__image {
    min-height: 360px;
  }

  .feature-band__copy {
    padding: 3rem 1.5rem;
  }

  .contact-photo img {
    height: 340px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    width: min(100% - 1.1rem, var(--max));
    padding-top: 0.8rem;
  }

  .brand img {
    width: 86px;
  }

  .site-nav {
    max-width: 230px;
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .site-nav a {
    padding: 0.45rem 0.5rem;
    font-size: 0.74rem;
  }

  .hero {
    min-height: 86svh;
    padding: 7.4rem 1rem 3.5rem;
  }

  .hero__media {
    background-image:
      linear-gradient(180deg, rgba(12, 10, 8, 0.92) 0%, rgba(12, 10, 8, 0.64) 44%, rgba(12, 10, 8, 0.86) 100%),
      url("../images/site-background.jpg");
    background-position: center, center;
  }

  h1 {
    font-size: 2.42rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.82rem;
    line-height: 1.1;
  }

  .hero__intro,
  .lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3rem 1rem;
  }

  .card-grid--three,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--paper-line);
  }

  .audience:first-child {
    border-top: 0;
  }

  .card {
    min-height: 0;
  }

  .proof-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact-photo img {
    height: 270px;
    object-position: 44% 34%;
  }

  .contact-panel h3 {
    font-size: 1.45rem;
  }

  .contact-dialog {
    width: min(calc(100% - 1rem), 780px);
  }

  .dialog-card {
    padding: 1rem;
  }

  .dialog-header h2 {
    font-size: 1.4rem;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .legal-main h1 {
    font-size: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
