/* Lorem ipsum landing page styles
   Edit colors, fonts, and layout tokens in :root first. Component styles
   are grouped below in the same order the sections appear in index.html. */

/* Design tokens and reset */
:root {
  color-scheme: light;
  --espresso: #160d09;
  --espresso-2: #21140f;
  --cream: #f5efe8;
  --cream-2: #eee7df;
  --paper: #fffdf9;
  --paper-soft: #faf7f2;
  --taupe: #806d63;
  --muted: #75675f;
  --muted-2: #9b8e86;
  --line: rgba(55, 39, 31, 0.13);
  --line-dark: rgba(255, 246, 238, 0.13);
  --rose: #8a625d;
  --rose-2: #a67a74;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(36, 24, 18, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --container: min(960px, calc(100vw - 32px));
  --wide: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  line-height: 1.45;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #c49a8f;
  outline-offset: 3px;
}

.dark {
  background: var(--espresso);
  color: var(--cream);
}

.soft {
  background: var(--cream-2);
}

.wrap {
  width: var(--container);
  margin: 0 auto;
}

.wide-wrap {
  width: var(--wide);
  margin: 0 auto;
}

/* Scroll reveal animation */
@keyframes section-fade-in {
  from {
    opacity: 0.25;
  }

  to {
    opacity: 1;
  }
}

@supports (animation-timeline: view()) {
  .hero-copy,
  .video-card,
  .trusted,
  .section,
  .value,
  .cta,
  .newsletter,
  .footer {
    animation: section-fade-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

/* Header and navigation */
.site-header {
  background: var(--espresso);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 246, 238, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 18px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 246, 238, 0.14);
  border-radius: 999px;
  background: rgba(255, 246, 238, 0.04);
  color: var(--cream);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.hamburger {
  position: relative;
  width: 18px;
  height: 12px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 240ms var(--ease), opacity 180ms var(--ease), top 240ms var(--ease);
}

.hamburger::before {
  top: 0;
}

.hamburger span {
  top: 5px;
}

.hamburger::after {
  top: 10px;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 5px;
  transform: rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  font-weight: 700;
  color: var(--white);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--espresso);
  font-size: 13px;
  font-weight: 900;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(245, 239, 232, 0.72);
}

.nav-links a,
.nav-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms var(--ease);
}

.mobile-menu {
  display: none;
}

/* Shared buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(255, 246, 238, 0.14);
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  transition: transform 260ms var(--ease), background 260ms var(--ease), box-shadow 260ms var(--ease);
}

.pill.primary {
  border-color: transparent;
  background: var(--rose);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 78px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 78px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

h1 {
  max-width: 390px;
  color: var(--cream);
  font-size: clamp(3.35rem, 6vw, 5.25rem);
}

h2 {
  color: var(--espresso-2);
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  text-align: center;
}

h3 {
  color: var(--espresso-2);
  font-size: 1.12rem;
  line-height: 1.1;
}

.hero-copy p {
  max-width: 500px;
  margin: 24px 0 0;
  color: rgba(245, 239, 232, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.deployed {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: rgba(245, 239, 232, 0.56);
  font-size: 11px;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  color: rgba(245, 239, 232, 0.76);
  font-size: 11px;
  font-weight: 700;
}

.hero-actions {
  margin-top: 25px;
}

.video-card {
  border: 1px solid rgba(255, 246, 238, 0.09);
  border-radius: 12px;
  overflow: hidden;
  background: #24140f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  border-bottom: 1px solid rgba(255, 246, 238, 0.08);
  padding: 0 12px;
  color: rgba(245, 239, 232, 0.58);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.video-screen {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.78), transparent 0 58px, transparent 59px),
    linear-gradient(135deg, #3a1d8a 0%, #15154f 52%, #24140f 100%);
}

.video-screen::before {
  position: absolute;
  inset: 12px 16px auto auto;
  width: 160px;
  height: 84px;
  border: 1px solid rgba(42, 29, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  content: "";
}

.video-title {
  position: relative;
  z-index: 1;
  max-width: 360px;
  color: var(--white);
  font-family: Impact, "Arial Black", var(--sans);
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

.play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: #ff1f1f;
  color: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.play::before {
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid currentColor;
  margin-left: 4px;
  content: "";
}

.video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(245, 239, 232, 0.45);
  font-size: 10px;
}

/* Placeholder logos */
.trusted {
  padding: 66px 0 84px;
  background: var(--paper-soft);
  text-align: center;
}

.micro {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 36px;
  margin-top: 58px;
  color: rgba(45, 35, 29, 0.46);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 900;
}

/* Shared sections and cards */
.section {
  padding: 92px 0;
}

.section-intro {
  max-width: 650px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-intro p {
  max-width: 560px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.problem-grid,
.outcome-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}

.problem-card,
.outcome-card {
  min-height: 150px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-card:nth-child(4n),
.outcome-card:nth-child(2n) {
  border-right: 0;
}

.problem-card p,
.outcome-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Value statistics */
.value {
  padding: 82px 0 88px;
  text-align: center;
}

.value h2 {
  color: var(--cream);
}

.value .section-intro p {
  color: rgba(245, 239, 232, 0.55);
}

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

.stat {
  min-height: 130px;
  padding: 28px 20px;
  border-right: 1px solid var(--line-dark);
  text-align: left;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.stat strong span {
  color: var(--rose-2);
  font-size: 0.45em;
}

.stat p {
  margin: 13px 0 0;
  color: rgba(245, 239, 232, 0.55);
  font-size: 11px;
  line-height: 1.35;
}

/* Implementation process */
.steps {
  display: grid;
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.step-row {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.step-row h3 {
  font-size: 1.45rem;
}

.step-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* FAQ accordion */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 54px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--espresso-2);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.faq-question span:last-child {
  color: var(--muted-2);
  font-size: 18px;
  font-weight: 400;
  transition: transform 240ms var(--ease);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0 0 18px;
  max-width: 620px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

/* Conversion CTA */
.cta {
  padding: 96px 0 92px;
  text-align: center;
}

.cta h2 {
  color: var(--cream);
}

.cta p {
  margin: 12px auto 28px;
  color: rgba(245, 239, 232, 0.58);
  font-size: 13px;
}

/* Newsletter */
.newsletter {
  padding: 26px 0;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  align-items: center;
  gap: 28px;
}

.newsletter h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.newsletter p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.subscribe {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--white);
}

.subscribe input {
  min-height: 40px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--espresso);
  outline: 0;
}

.subscribe button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--rose);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

/* Footer */
.footer {
  padding: 46px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 34px;
}

.footer p,
.footer a,
.footer li {
  color: rgba(245, 239, 232, 0.52);
  font-size: 11px;
  line-height: 1.8;
}

.footer h4 {
  margin: 0 0 13px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 900;
}

.footer ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.address {
  margin-top: 26px;
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(245, 239, 232, 0.12);
  color: var(--cream);
  font-size: 10px;
  font-weight: 900;
}

.footer-lower {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  color: rgba(245, 239, 232, 0.42);
  font-size: 10px;
}

/* Motion and hover states */
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover,
  .nav-actions a:hover,
  .footer a:hover {
    color: var(--cream);
  }

  .pill:hover,
  .subscribe button:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 30px rgba(138, 98, 93, 0.25);
  }

  .problem-card:hover,
  .outcome-card:hover {
    background: var(--white);
  }
}

/* Tablet and mobile navigation/layout */
@media (max-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav > .nav-links,
  .nav > .nav-actions {
    display: none;
  }

  .mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    border-top: 1px solid rgba(255, 246, 238, 0.08);
    background: var(--espresso);
    transition: grid-template-rows 260ms var(--ease);
  }

  .mobile-menu.open {
    grid-template-rows: 1fr;
  }

  .mobile-menu-inner {
    width: var(--wide);
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
  }

  .mobile-menu-content {
    display: grid;
    gap: 18px;
    padding: 18px 0 22px;
  }

  .mobile-menu .nav-links,
  .mobile-menu .nav-actions {
    display: grid;
    align-items: stretch;
    gap: 4px;
  }

  .mobile-menu .nav-links a,
  .mobile-menu .nav-actions a {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 246, 238, 0.07);
    font-size: 14px;
  }

  .mobile-menu .nav-actions {
    padding-top: 4px;
  }

  .mobile-menu .pill {
    width: 100%;
    margin-top: 8px;
  }

  .hero-grid,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    gap: 46px;
  }

  .problem-grid,
  .stats,
  .footer-grid,
  .footer-lower {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-card:nth-child(2n),
  .outcome-card:nth-child(2n) {
    border-right: 0;
  }

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

/* Small mobile layout */
@media (max-width: 680px) {
  .nav {
    padding: 12px 0;
  }

  .pill,
  .subscribe button,
  .faq-question,
  .subscribe input {
    min-height: 48px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .section,
  .value,
  .cta {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .problem-grid,
  .outcome-grid,
  .stats,
  .step-row,
  .newsletter-inner,
  .footer-grid,
  .footer-lower,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .outcome-card,
  .stat {
    border-right: 0;
  }

  .step-row {
    gap: 12px;
  }

  .subscribe {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .subscribe button {
    border-radius: 12px;
  }

  .legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .hero-copy,
  .video-card,
  .trusted,
  .section,
  .value,
  .cta,
  .newsletter,
  .footer {
    opacity: 1 !important;
    animation: none !important;
  }
}
