:root {
  --forest: #1F3D2C;
  --forest-deep: #15291C;
  --cream: #F7F3E9;
  --cream-tint: #EFE9D8;
  --charcoal: #2A2724;
  --charcoal-soft: #4A4540;
  --ochre: #C8893A;
  --ochre-deep: #A06D26;
  --signal-red: #B7464A;
  --bone: #FBFAF5;
  --rule: #D5CFB8;
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-deep); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.serif {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 11px;
  text-transform: uppercase;
}

/* ============ NAV ============ */
.nav {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 5px;
  background: var(--forest);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px 8px 4px 8px;
  background: var(--cream);
  border-radius: 2px;
}
.brand-mark::before {
  content: '';
  position: absolute;
  bottom: 4px; left: 8px; right: 8px;
  height: 6px;
  background: var(--forest-deep);
  border-radius: 1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--charcoal-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--forest); }
.nav-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--forest-deep); color: var(--cream); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 96px 0 120px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 28px;
}
.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: var(--ochre-deep);
}

h1.hero-headline {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--ochre-deep);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--charcoal-soft);
  margin-bottom: 36px;
  max-width: 30em;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
  padding: 16px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--forest-deep); color: var(--cream); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  font-size: 15px;
  color: var(--charcoal-soft);
  font-weight: 500;
  padding: 16px 4px;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--forest); border-color: var(--forest); }

.hero-trust {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--charcoal-soft);
  flex-wrap: wrap;
}
.hero-trust b {
  color: var(--forest);
  font-weight: 600;
}

.hero-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 16/10;
  box-shadow:
    0 24px 56px rgba(31, 61, 44, 0.18),
    0 0 0 1px var(--rule);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--bone);
  color: var(--charcoal-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
}
.hero-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, var(--cream-tint) 0 14px, var(--bone) 14px 28px);
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--charcoal-soft);
}

/* ============ SECTION DEFAULTS ============ */
section { padding: 96px 0; }
section.tinted { background: var(--cream-tint); }
@media (max-width: 760px) { section { padding: 64px 0; } }

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 18px;
}

h2.section-title {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--forest);
  margin-bottom: 32px;
  max-width: 22ch;
}
h2.section-title em {
  font-style: italic;
  color: var(--ochre-deep);
}

.section-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--charcoal-soft);
  max-width: 36em;
  margin-bottom: 56px;
}

/* ============ THE PROBLEM (Software lost) ============ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.problem-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 36px 32px;
}
.problem-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-red);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 14px;
}
.problem-card p {
  font-size: 16px;
  color: var(--charcoal-soft);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============ THE DUMB IDEA (How it works) ============ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .how-grid { grid-template-columns: 1fr; } }

.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.how-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}
.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--forest);
}
.how-step h4 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--forest);
  margin-bottom: 8px;
  line-height: 1.2;
}
.how-step p {
  font-size: 16px;
  color: var(--charcoal-soft);
  line-height: 1.55;
}

.how-image {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 1;
  box-shadow:
    0 18px 40px rgba(31, 61, 44, 0.14),
    0 0 0 1px var(--rule);
}
.how-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============ HONESTY (yes, your devices too) ============ */
.honesty {
  background: var(--forest);
  color: var(--cream);
  padding: 96px 0;
}
.honesty .section-eyebrow { color: var(--ochre); }
.honesty h2.section-title { color: var(--cream); }
.honesty .section-lead { color: rgba(247,243,233,0.78); }
.honesty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}
.honesty-item h4 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 12px;
}
.honesty-item p {
  font-size: 15px;
  color: rgba(247,243,233,0.72);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .honesty-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ COMPARISON TABLE ============ */
.compare-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--bone);
  margin-top: 32px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.compare-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  background: var(--cream-tint);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.compare-table th.us, .compare-table td.us {
  background: rgba(31,61,44,0.05);
  color: var(--forest);
  font-weight: 600;
}
.compare-table .feat {
  font-weight: 500;
  color: var(--forest);
  width: 30%;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.yes { color: var(--forest); font-weight: 600; }
.no { color: var(--signal-red); }

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
  height: clamp(420px, 60vw, 720px);
}
.gallery .g1 { grid-column: 1; grid-row: 1 / span 2; }
.gallery .g2 { grid-column: 2; grid-row: 1; }
.gallery .g3 { grid-column: 3; grid-row: 1; }
.gallery .g4 { grid-column: 2 / span 2; grid-row: 2; }
.gpic {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--rule);
}
.gpic img { width: 100%; height: 100%; object-fit: cover; }
.gpic-caption {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--bone);
  color: var(--charcoal-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
}
.gpic-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, var(--cream-tint) 0 14px, var(--bone) 14px 28px);
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--charcoal-soft);
  text-align: center;
  padding: 24px;
}
@media (max-width: 880px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16/10;
  }
}

/* ============ FOUNDER PULL QUOTE ============ */
.founder-quote {
  text-align: center;
  max-width: 32em;
  margin: 0 auto;
}
.founder-quote blockquote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--forest);
  margin-bottom: 24px;
}
.founder-quote cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* ============ FINAL CTA / SIGNUP ============ */
.signup {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 96px 0;
}
.signup h2 {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 22px;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.signup h2 em { font-style: italic; color: var(--ochre); }
.signup p {
  font-size: 17px;
  color: rgba(247,243,233,0.82);
  max-width: 28em;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.signup-form {
  max-width: 480px;
  margin: 0 auto;
}
.signup-row {
  display: flex;
  gap: 10px;
  background: var(--bone);
  padding: 6px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.signup-row input[type=email] {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--charcoal);
  padding: 12px 14px;
  outline: none;
}
.signup-row button {
  background: var(--forest);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.signup-row button:hover { background: var(--forest-deep); }
.signup-row button[disabled] { opacity: 0.6; cursor: default; }
.signup-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: rgba(247,243,233,0.7);
  text-align: left;
  line-height: 1.5;
}
.signup-consent a { color: var(--ochre); text-decoration: underline; }
.signup-consent input { margin-top: 3px; flex-shrink: 0; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.signup-status {
  font-size: 14px;
  margin-top: 14px;
  min-height: 1.4em;
  color: var(--ochre);
}
.signup-status.ok { color: #9ED7AA; }
.signup-status.err { color: #F08A6F; }
.signup-foot {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(247,243,233,0.55);
}

/* ============ FOOTER ============ */
footer {
  background: var(--cream-tint);
  border-top: 1px solid var(--rule);
  padding: 56px 0 36px;
  color: var(--charcoal-soft);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 12px;
}
.footer-tag {
  font-size: 14px;
  color: var(--charcoal-soft);
  max-width: 24em;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--charcoal-soft);
  font-size: 14px;
}
.footer-col a:hover { color: var(--forest); }
.footer-meta {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--charcoal-soft);
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ============ ANIMATIONS ============ */
.rise { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.40s; }
.d5 { animation-delay: 0.52s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}
