/* Public landing page (index.html). Mobile first; the desktop layout starts at 900px. */
:root {
  --page: #f4efe2;
  --panel: #fdfbf6;
  --green: #1e3a2b;
  --sage: #3f6b45;
  --amber: #cf8f1e;
  --amber-ink: #3a2705;
  --body: #3b4a3f;
  --muted: #5c6b5e;
  --hairline: #e2ddcc;
  --on-green: #f4efe2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--green);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body.menu-open { overflow: hidden; }

a { color: var(--sage); }
a:hover { color: var(--green); }

h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }

.hidden { display: none !important; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.topbar :focus-visible,
.menu-head :focus-visible,
.footer :focus-visible { outline-color: var(--on-green); }

/* ---------- Shared ---------- */
.label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.btn-amber,
.btn-amber:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  text-decoration: none;
}

.wordmark,
.wordmark:hover {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--on-green);
  text-decoration: none;
}

/* ---------- Top bar (mobile) ---------- */
.topbar { position: relative; z-index: 10; background: var(--green); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 60px;
  padding: 0 10px 0 20px;
}

.nav-desktop { display: none; }

.topbar-actions { display: flex; align-items: center; gap: 4px; }

.topbar-login,
.topbar-login:hover {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--on-green);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(244, 239, 226, 0.4);
  border-radius: 10px;
  cursor: pointer;
}

.menu-btn span { display: block; width: 20px; height: 2px; background: var(--on-green); }

.topbar-create { display: none; }

/* ---------- Mobile menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--page);
}

.menu-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 20px;
  background: var(--green);
}

.menu-close {
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(244, 239, 226, 0.4);
  border-radius: 10px;
  color: var(--on-green);
  font: 600 16px var(--sans);
  cursor: pointer;
}

.menu-list { display: flex; flex-direction: column; padding: 8px 20px 32px; }

.menu-row,
.menu-row:hover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--green);
  font: 700 24px var(--serif);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.menu-create,
.menu-create:hover {
  min-height: 58px;
  margin-top: 32px;
  font-size: 19px;
  border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero { padding: 36px 20px 0; }

.hero-text { display: flex; flex-direction: column; }

.hero h1 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--green);
  text-wrap: balance;
}

.hero-lead { margin-top: 16px; font-size: 18px; color: var(--body); text-wrap: pretty; }

.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 28px; }

.hero-btn,
.hero-btn:hover { min-height: 54px; padding: 0 24px; font-size: 18px; border-radius: 12px; }

.see-link { display: flex; align-items: center; gap: 8px; min-height: 48px; font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.see-link span[aria-hidden] { text-decoration: none; }

.free-note { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; margin-top: 32px; padding-bottom: 48px; }

/* iPhone mockup (hero only): the screenshot sits behind the transparent PNG */
.iphone {
  --w: 300px;
  position: relative;
  flex: none;
  width: var(--w);
  height: calc(var(--w) * 800 / 389);
  filter: drop-shadow(0 18px 24px rgba(30, 58, 43, 0.16));
}

.iphone-screen {
  position: absolute;
  left: 4.4%;
  right: 4.4%;
  top: 1.75%;
  bottom: 1.75%;
  border-radius: calc(var(--w) * 0.125);
  overflow: hidden;
  background: var(--page);
}

.iphone-status { height: calc(var(--w) * 0.1); }
.iphone-screen img { display: block; width: 100%; height: auto; }
.iphone-shell { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Frameless phone (every other screen): rounded corners, never cropped */
.phone {
  --w: 290px;
  --bezel: max(4px, calc(var(--w) * 0.018));
  --sw: calc(var(--w) - 2 * var(--bezel));
  --status: calc(var(--sw) * 0.08);
  --cam: max(7px, calc(var(--sw) * 0.033));
  flex: none;
  width: var(--w);
  border-radius: calc(var(--w) * 0.135);
  box-shadow: 0 24px 48px -20px rgba(30, 58, 43, 0.35), 0 4px 12px rgba(30, 58, 43, 0.1), 0 0 0 1px rgba(30, 58, 43, 0.08);
}

.phone-inner {
  position: relative;
  padding-bottom: calc(var(--w) * 0.07);
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden;
  background: var(--page);
}

.phone-status { height: var(--status); }

.phone-cam {
  position: absolute;
  top: calc((var(--status) - var(--cam)) / 2);
  left: 50%;
  width: var(--cam);
  height: var(--cam);
  border-radius: 50%;
  background: #0a0b0a;
  transform: translateX(-50%);
}

.phone-inner img { display: block; width: 100%; height: auto; }

/* ---------- What it does ---------- */
.what { padding: 52px 20px 20px; }
.what:focus { outline: none; }

.block { padding: 12px 0 40px; }
.block-a { padding-top: 20px; }

.block h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--green);
  text-wrap: balance;
}

.block-text p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

.block-visual { display: flex; justify-content: center; margin-top: 24px; padding: 8px 0 24px; }

.c-visual { flex-direction: column; align-items: center; }

.c-sales {
  width: 100%;
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 24px -16px rgba(30, 58, 43, 0.3);
}

.c-sales img { display: block; width: 100%; height: auto; }

/* ---------- Closing call to action ---------- */
.closing { padding: 60px 20px 56px; }

.closing h2 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--green);
  text-wrap: balance;
}

.closing-action { display: flex; flex-direction: column; margin-top: 24px; }

.closing-btn,
.closing-btn:hover { min-height: 54px; padding: 0 24px; font-size: 18px; border-radius: 12px; }

.closing-contact { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hairline); }

.closing-question { font-size: 18px; color: var(--green); }

.closing-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; }

.btn-whatsapp,
.btn-whatsapp:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  background: var(--panel);
  border: 2px solid var(--green);
  border-radius: 12px;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.tel-link { display: flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: var(--on-green); padding: 40px 20px 36px; }

.footer a,
.footer a:hover { display: flex; align-items: center; min-height: 44px; color: var(--on-green); font-size: 16px; }

.footer-wordmark { font-family: var(--serif); font-size: 22px; font-weight: 700; }

.footer-nav { display: flex; flex-wrap: wrap; column-gap: 22px; margin-top: 16px; }

.footer-whatsapp { margin-top: 8px; }

.footer-copy { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(244, 239, 226, 0.2); font-size: 15px; color: var(--hairline); }

/* ---------- Sticky bar (mobile only) ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -6px 14px -10px rgba(30, 58, 43, 0.25);
}

.sticky-btn,
.sticky-btn:hover { min-height: 48px; font-size: 17px; border-radius: 10px; }

/* ---------- Pricing page (pricing.html) ---------- */
.menu-row[aria-current="page"] { color: var(--sage); }

.footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.footer-plain { display: flex; align-items: center; min-height: 44px; font-size: 16px; }

.pricing { padding: 36px 20px 56px; }
.pricing .label { font-size: 16px; }

.pricing-intro { max-width: 40em; }

.pricing h1 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--green);
  text-wrap: balance;
}

.pricing-lead { margin-top: 16px; font-size: 18px; color: var(--body); text-wrap: pretty; }

.plan-card {
  max-width: 560px;
  margin-top: 32px;
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
}

.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.plan-amount { font-family: var(--serif); font-size: 48px; line-height: 1.1; font-weight: 700; color: var(--green); }
.plan-per { font-size: 18px; font-weight: 600; color: var(--muted); }
.plan-after { margin-top: 8px; font-size: 16px; color: var(--muted); }

.plan-list { margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hairline); list-style: none; }

.plan-list li { position: relative; padding: 6px 0 6px 22px; font-size: 17px; color: var(--body); }

.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.plan-btn,
.plan-btn:hover { width: 100%; min-height: 54px; margin-top: 24px; padding: 0 24px; font-size: 18px; border-radius: 12px; }

.plan-nopay { margin-top: 12px; font-size: 16px; text-align: center; color: var(--muted); }

.pricing-section { margin-top: 48px; }

.pricing-section h2 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--green);
  text-wrap: balance;
}

.steps { display: grid; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }

.step-card {
  counter-increment: step;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.step-card::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  color: var(--amber);
}

.step-card h3 { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--green); }
.step-card p { margin-top: 6px; font-size: 16px; color: var(--body); }

.note-box {
  max-width: 40em;
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  font-size: 17px;
  color: var(--body);
}

.note-box p + p { margin-top: 10px; }
.note-box strong { color: var(--green); }

.pricing-questions { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 17px; color: var(--green); }
.pricing-questions a { display: inline-block; padding: 12px 0; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Phone-sized details ---------- */
.d-only { display: none; }
.c-expense { display: none; }

/* ---------- Desktop (900px and wider) ---------- */
@media (min-width: 900px) {
  .d-only { display: flex; }
  .m-only,
  .menu-overlay,
  .sticky-bar { display: none !important; }

  .topbar-inner {
    max-width: 1200px;
    height: 72px;
    margin: 0 auto;
    padding: 0 40px;
    justify-content: flex-start;
    gap: 12px;
  }

  .wordmark { font-size: 25px; }

  .nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: 16px; }

  .nav-link,
  .nav-link:hover {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--on-green);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-link[aria-current="page"] { background: rgba(244, 239, 226, 0.12); border-radius: 10px; }

  .topbar-actions { gap: 12px; margin-left: auto; }

  .topbar-create,
  .topbar-create:hover {
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    background: var(--amber);
    border-radius: 10px;
    color: var(--amber-ink);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }

  .label { font-size: 15px; }

  .hero { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 42.2vw, 540px); gap: 56px; }

  .hero-text { align-self: center; padding: 72px 0 80px; }

  .hero h1 { margin-top: 0; font-size: clamp(46px, 4.84vw, 62px); line-height: 1.04; }
  .hero-lead { margin-top: 22px; max-width: 30em; font-size: 20px; }

  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }

  .hero-btn,
  .hero-btn:hover { min-height: 56px; padding: 0 30px; }

  .see-link { font-size: 18px; }
  .free-note { margin-top: 16px; font-size: 16px; }

  .hero-visual { align-self: center; margin-top: 0; padding: 56px 0 64px; }
  .iphone { --w: 340px; }

  .what { max-width: 1200px; margin: 0 auto; padding: 96px 40px 40px; }

  .block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    padding: 64px 0;
  }

  .block-a { padding: 36px 0 64px; }
  .block-b .block-visual { order: -1; }
  .block-c { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 64px 0 56px; }

  .block h3 { font-size: 38px; line-height: 1.12; }
  .block-text p { max-width: 28em; margin-top: 16px; font-size: 19px; }

  .block-visual { margin-top: 0; }

  .phone-block { --w: 320px; }

  .phone-c-profit { --w: 280px; }
  .phone-c-expense { --w: 220px; }
  .c-sales { max-width: 350px; }

  .closing { max-width: 1200px; margin: 0 auto; padding: 96px 40px; }

  .closing-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }

  .closing h2 { font-size: 48px; line-height: 1.08; }
  .closing-action { flex-direction: row; margin-top: 28px; }
  .closing-btn,
  .closing-btn:hover { min-height: 56px; padding: 0 30px; }

  .closing-contact { margin-top: 0; padding-top: 14px; border-top: 0; }
  .closing-question { font-size: 21px; }
  .closing-links { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
  .btn-whatsapp,
  .btn-whatsapp:hover { min-height: 52px; padding: 0 24px; }
  .tel-link { font-size: 19px; }

  .footer { padding: 0; }

  .footer-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 40px;
  }

  .footer-nav { gap: 24px; margin-top: 0; }
  .footer-whatsapp { margin-top: 0; }
  .footer-copy { margin: 0 0 0 auto; padding: 0; border-top: 0; }

  .pricing { max-width: 1200px; margin: 0 auto; padding: 72px 40px 96px; }
  .pricing h1 { font-size: 52px; line-height: 1.06; }
  .pricing-lead { font-size: 20px; }
  .plan-card { padding: 32px; }
  .pricing-section { margin-top: 72px; }
  .pricing-section h2 { font-size: 36px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* Wide screens (1200px and up): the three money screens overlap as in the design.
   Between 900px and 1200px they stack, as on a phone, so nothing collides. */
@media (min-width: 1200px) {
  .c-visual { position: relative; display: block; height: 600px; padding: 0; }
  .c-profit { position: absolute; left: 32px; top: 44px; }
  .c-expense { position: absolute; right: 32px; top: 44px; display: block; }

  .c-sales {
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 350px;
    max-width: none;
    margin: 0;
    box-shadow: 0 12px 28px -16px rgba(30, 58, 43, 0.35);
  }
}

.founder-card { margin-top: 20px; }
.founder-text { margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--muted); }
