/* Landing page (reference/landing-page.html), mobile first. */
:root {
  --ink: #1b2a6b;
  --ink-2: #33459c;
  --ink-soft: #e7eaf8;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --text: #181b22;
  --muted: #5d584d;
  --line: #e4ddcb;
  --line-2: #d8cfb6;
  --amber: #8a5a1f;
  --amber-bright: #c98a3e;
  --amber-soft: #f3e4c8;
  --wa: #25d366;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', 'Newsreader', Georgia, serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  margin: 0;
  font-weight: 600;
}
h1 {
  font-weight: 700;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 0;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}
@media (min-width: 721px) {
  .wrap {
    padding: 0 32px;
  }
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 60;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--ink-2);
  outline-offset: 2px;
}

/* scroll reveal (only when the script runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.8, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 0.8, 0.3, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 234, 0);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 721px) {
  .nav-inner {
    padding: 18px 32px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
}
.mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  flex-shrink: 0;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a {
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
}
@media (min-width: 841px) {
  .nav-links {
    display: flex;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 9px;
  border: 0;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(27, 42, 107, 0.4);
  background: var(--ink-2);
}
.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  box-shadow: none;
  background: var(--surface);
}
.btn-block {
  width: 100%;
}
.wa-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  text-align: center;
}
@media (min-width: 901px) {
  .hero {
    padding: 76px 0 90px;
  }
  .hero-grid {
    grid-template-columns: 1fr 380px;
    gap: 64px;
    text-align: left;
  }
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin: 0 auto 30px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 901px) {
  .hero-sub {
    margin-left: 0;
  }
  .hero-ctas {
    justify-content: flex-start;
  }
}
.shot {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}
@media (min-width: 901px) {
  .shot {
    max-width: 380px;
  }
}
.shot img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 70px -30px rgba(60, 45, 20, 0.35),
    0 4px 14px -6px rgba(60, 45, 20, 0.15);
  transform: rotate(-3.2deg);
}

/* ---------- sections ---------- */
section {
  padding: 56px 0;
}
@media (min-width: 721px) {
  section {
    padding: 88px 0;
  }
}
.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-top {
  border-bottom: 0;
}
.section-head {
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
}
.center {
  text-align: center;
}

.problem-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.problem-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 641px) {
  .problem-item {
    grid-template-columns: 130px 1fr;
    gap: 28px;
  }
}
.problem-item span {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--amber);
  padding-top: 2px;
}
.problem-item p {
  font-size: 15.5px;
  max-width: 540px;
  line-height: 1.65;
}

/* gallery */
.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gcard {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 210px;
}
@media (min-width: 721px) {
  .gcard {
    width: 230px;
  }
}
.gcard img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px -22px rgba(60, 45, 20, 0.3);
}
.gcard-cap {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.gcard-cap span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}
.gallery-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* demo */
.demo-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 901px) {
  .demo-grid {
    grid-template-columns: 1fr 380px;
    gap: 64px;
  }
}
.phone {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  padding: 10px;
  border-radius: 36px;
  background: #1c1f27;
  box-shadow: 0 40px 70px -30px rgba(60, 45, 20, 0.45);
}
.phone iframe {
  display: block;
  width: 100%;
  height: min(720px, 78vh);
  border: 0;
  border-radius: 28px;
  background: #fff;
}

/* mid CTA */
.mid-cta {
  background: var(--ink-soft);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}
@media (min-width: 721px) {
  .mid-cta {
    flex-direction: row;
    text-align: left;
    padding: 38px 40px;
    gap: 30px;
  }
}
.mid-title {
  font-size: 19px;
  font-family: var(--sans);
  margin-bottom: 6px;
}
.mid-cta p {
  font-size: 14px;
  color: var(--muted);
}

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.step {
  padding: 28px 26px;
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 0;
}
@media (min-width: 761px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step {
    padding: 32px 28px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .step:last-child {
    border-right: 0;
  }
}
.step em {
  font-style: normal;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 16px;
  margin-bottom: 7px;
  font-family: var(--sans);
}
.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* honest */
.honest {
  border-left: 3px solid var(--amber-bright);
  background: var(--amber-soft);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  max-width: 680px;
}
.honest-title {
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 8px;
}
.honest p {
  font-size: 14px;
  color: #574628;
  line-height: 1.7;
}

/* pricing receipt */
.receipt {
  max-width: 330px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 38px 30px 30px;
  box-shadow: 0 30px 60px -35px rgba(60, 45, 20, 0.3);
}
.receipt-label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.receipt-price {
  text-align: center;
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.receipt-price small {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}
.receipt-sub {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.receipt hr {
  border: 0;
  border-top: 1px dashed var(--line-2);
  margin: 20px 0;
}
.receipt-lines {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 22px;
}
.receipt-lines div {
  display: flex;
  justify-content: space-between;
}
.receipt-lines dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item h3 {
  font-size: 15.5px;
  font-family: var(--sans);
  margin-bottom: 7px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

/* lead form */
.lead-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
}
@media (min-width: 641px) {
  .lead-box {
    padding: 44px;
  }
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 821px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
.lead-title {
  font-size: 25px;
  margin-bottom: 12px;
}
.lead-intro {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 380px;
}
.field {
  display: block;
  margin-bottom: 20px;
}
.field span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  padding: 8px 2px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  border-radius: 0;
}
.field input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}
.form-error {
  color: #9b2c1f;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.legal {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 96px;
}
.foot-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
@media (min-width: 601px) {
  footer {
    padding-bottom: 30px;
  }
  .foot-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* floating WhatsApp button */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 29px;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}
.fab svg {
  width: 28px;
  height: 28px;
}
@keyframes pulse-once {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.fab.pulse {
  animation: pulse-once 1.6s ease-out 1.2s 1;
}
@media (prefers-reduced-motion: reduce) {
  .fab.pulse {
    animation: none;
  }
}

/* ---------- legal pages ---------- */
.doc {
  max-width: 720px;
  padding: 32px 0 64px;
}
.doc h1 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 8px;
}
.doc h2 {
  font-family: var(--sans);
  font-size: 17px;
  margin: 28px 0 8px;
}
.doc p,
.doc li {
  font-size: 15px;
  line-height: 1.7;
}
.doc ul {
  padding-left: 22px;
  margin: 8px 0;
}
.doc p + p {
  margin-top: 8px;
}
.draft {
  background: var(--amber-soft);
  border-left: 3px solid var(--amber-bright);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 16px 0 8px;
  font-size: 14px;
  color: #574628;
}
.back {
  display: inline-block;
  margin-top: 36px;
  font-size: 14px;
}
