:root {
  color-scheme: light;
  --chalk: #f7fbf1;
  --paper: #ffffff;
  --ink: #10251f;
  --ink-soft: #47645b;
  --field: #0f6a43;
  --field-dark: #083b2b;
  --line: #d9f46a;
  --coral: #ff4d36;
  --sky: #2ea7df;
  --border: #c9d8cf;
  --shadow: 0 22px 54px rgba(12, 40, 31, 0.14);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 37, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 37, 31, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: inherit;
}

a:hover {
  color: var(--field);
}

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.shell,
.site-header,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 14px;
  margin-top: 10px;
  background: rgba(247, 251, 241, 0.9);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(12, 40, 31, 0.08);
}

.brand,
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span,
.footer-logo span {
  color: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a,
.nav a,
.header-cta,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(15, 106, 67, 0.08);
}

.header-cta,
.cta-primary {
  color: #071c15;
  background: var(--line);
  border-color: #bfe451;
  box-shadow: 0 10px 22px rgba(217, 244, 106, 0.28);
}

.header-cta:hover,
.cta-primary:hover {
  color: #071c15;
  background: #e4ff82;
  transform: translateY(-1px);
}

.cta-secondary,
.nav a {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
}

.cta-secondary:hover,
.nav a:hover {
  color: var(--field);
  border-color: var(--field);
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  margin-top: -88px;
  padding: 164px 24px 34px;
  background:
    linear-gradient(100deg, rgba(8, 59, 43, 0.96) 0%, rgba(15, 106, 67, 0.9) 52%, rgba(247, 251, 241, 0.56) 100%),
    #0f6a43;
  color: #ffffff;
}

.field-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.62) 50%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 2px, transparent 2px 10%),
    linear-gradient(rgba(255, 255, 255, 0.12) 2px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 100% 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(720px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  padding: 36px 0 44px;
}

.eyebrow,
.hero-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.final-cta .eyebrow {
  color: var(--line);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: 5.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  font-weight: 800;
}

.lede,
.section-copy p {
  max-width: 690px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  overflow-wrap: anywhere;
}

.home-hero .lede,
.final-cta .lede {
  color: rgba(255, 255, 255, 0.84);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-row.center {
  justify-content: center;
}

.hero-visual {
  position: absolute;
  inset: auto 0 12px auto;
  z-index: 1;
  width: min(52vw, 640px);
  height: 78vh;
  min-height: 560px;
  pointer-events: none;
}

.phone-shot {
  margin: 0;
  overflow: hidden;
  background: #eff3f8;
  border: 10px solid #07140f;
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 34px 54px rgba(0, 0, 0, 0.34);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-phone {
  position: absolute;
  aspect-ratio: 1170 / 2532;
}

.hero-phone-main {
  right: 18%;
  bottom: 2%;
  width: min(330px, 54%);
  transform: rotate(3deg);
  animation: float-main 7s ease-in-out infinite;
}

.hero-phone-side {
  right: 0;
  bottom: 18%;
  width: min(280px, 46%);
  transform: rotate(-8deg);
  animation: float-side 8s ease-in-out infinite;
}

@keyframes float-main {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes float-side {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 10px;
  }
}

.signal-strip {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.signal-strip span,
.ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  background: var(--coral);
}

.ticker span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 86px 0;
}

.section-copy {
  min-width: 0;
}

.playbook-grid,
.proof-track {
  display: grid;
  gap: 14px;
}

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

.playbook-grid article,
.proof-track article,
.page-card,
.tile {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(12, 40, 31, 0.08);
}

.playbook-grid strong {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--field);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.playbook-grid p,
.proof-track p,
.tile p {
  color: var(--ink-soft);
}

.image-band {
  grid-template-columns: 0.86fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-phone {
  width: min(360px, 100%);
  justify-self: center;
  aspect-ratio: 1170 / 2532;
  border-width: 8px;
  box-shadow: 0 28px 44px rgba(12, 40, 31, 0.18);
}

.text-link {
  font-weight: 900;
  color: var(--field);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.proof-section {
  grid-template-columns: 0.7fr 1.3fr;
}

.proof-track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-phone {
  width: min(220px, 100%);
  margin: 0 auto 16px;
  aspect-ratio: 1170 / 2532;
  border-width: 6px;
  border-radius: 26px;
  box-shadow: 0 22px 34px rgba(12, 40, 31, 0.16);
}

.final-cta {
  margin: 0;
  padding: 84px 24px;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(rgba(8, 59, 43, 0.88), rgba(8, 59, 43, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px),
    var(--field-dark);
}

.final-cta h2 {
  max-width: 820px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 48px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  font-weight: 800;
}

.page {
  padding-bottom: 56px;
}

.hero {
  padding: 56px 0 24px;
}

.hero-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.hero-card h1,
.page-card h1 {
  max-width: none;
  color: var(--ink);
  font-size: 4rem;
}

.hero-card .lede {
  color: var(--ink-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: 18px;
  margin: 28px 0 48px;
}

.page-card {
  margin-bottom: 40px;
}

.page-card h2 {
  color: var(--ink);
  font-size: 2.6rem;
}

.page-card h3 {
  color: var(--ink);
}

.meta,
.small,
.invite-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-break {
  height: 1px;
  margin: 28px 0;
  background: var(--border);
}

ul,
ol {
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(15, 106, 67, 0.08);
  font-family: var(--font-body);
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.invite-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(rgba(8, 59, 43, 0.9), rgba(8, 59, 43, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 11%),
    var(--field);
}

.invite-shell {
  width: min(calc(100% - 32px), 880px);
}

.invite-panel {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 26px;
  align-items: center;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.invite-mark {
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  place-items: center;
  color: #071c15;
  background: var(--line);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

.invite-copy-block h1 {
  max-width: none;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 4.7rem;
}

.invite-copy-block .lede {
  color: var(--ink-soft);
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 12px;
}

.invite-panel .nav {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

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

@media (min-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  h2 {
    font-size: 3rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-visual {
    opacity: 0.42;
    width: 66vw;
  }

  .playbook-grid,
  .proof-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    top: auto;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .home-hero {
    margin-top: 0;
    padding: 40px 16px 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-left: 0;
    padding: 18px 0 42px;
  }

  .home-hero .lede {
    width: 20rem;
    max-width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .section,
  .image-band,
  .proof-section {
    grid-template-columns: 1fr;
    padding: 58px 0;
  }

  .image-band img {
    order: 2;
  }

  .invite-panel {
    grid-template-columns: 1fr;
  }

  .invite-mark {
    width: 86px;
  }
}

@media (max-width: 560px) {
  h1,
  .invite-copy-block h1,
  .hero-card h1 {
    font-size: 3.25rem;
  }

  h2,
  .page-card h2 {
    font-size: 2.35rem;
  }

  .site-nav a,
  .nav a,
  .cta {
    width: 100%;
  }

  .action-row {
    width: 100%;
  }

  .action-row .cta {
    flex: 1 1 100%;
  }

  .signal-strip span,
  .ticker span {
    width: 100%;
    justify-content: center;
  }

  .invite-panel {
    padding: 20px;
  }
}
