/* Receipt Aid for business — full-width landing page */
:root {
  --ink: #0f1d19;
  --text: #24332e;
  --muted: #5d6e68;
  --line: #e1e9e6;
  --bg: #ffffff;
  --tint: #f2f7f5;
  --green-900: #072f27;
  --green-800: #0b4a3e;
  --green-700: #0b6b57;
  --green-500: #19a37f;
  --mint: #6fd3b0;
  --gold: #e0b44f;
  --gold-dark: #b8902f;
  --radius: 20px;
  --shadow: 0 30px 60px -30px rgba(7, 47, 39, 0.45), 0 10px 25px -15px rgba(7, 47, 39, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.biz {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-700); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------- top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 47, 39, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bar-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; text-decoration: none; color: var(--ink); }
.brand.light { color: #fff; }
.brand img { border-radius: 9px; }
.topnav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topnav[hidden] { display: none; }
.topnav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { color: #fff; }
.topnav .btn { color: var(--green-900); }
.picker select {
  font: inherit; font-size: 14px; padding: 7px 10px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff;
}
.picker option { color: var(--ink); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 650; font-size: 16px; padding: 12px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.big { padding: 15px 28px; font-size: 17px; }
.btn.primary { background: var(--gold); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(224, 180, 79, 0.8); }
.btn.primary:hover { background: #ecc161; }
.btn.ghost { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(111, 211, 176, 0.28), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(224, 180, 79, 0.18), transparent 60%),
    linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, #0d5a4a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mint); background: rgba(111, 211, 176, 0.12); border: 1px solid rgba(111, 211, 176, 0.3);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; margin: 20px 0 18px; }
.hero-text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); }

/* Mock cabinet */
.mock {
  background: rgba(255, 255, 255, 0.97); color: var(--text); border-radius: 22px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
}
.mock-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #e3e9e6; }
.mock-head .dot:first-child { background: #f0a39a; }
.mock-head .dot:nth-child(2) { background: #f2d184; }
.mock-head .dot:nth-child(3) { background: #9fdcc5; }
.mock-title { margin-left: 8px; font-size: 13px; font-weight: 650; color: var(--muted); }
.mock small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.mock b { display: block; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpis > div { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.mock-chart { margin-top: 12px; background: var(--tint); border-radius: 12px; padding: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin-top: 8px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, var(--green-700), var(--mint)); }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-card.accent { background: linear-gradient(135deg, #fff7e3, #fdecc2); border-color: #f2d58d; }
.mock-card span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.spark { width: 100%; height: 34px; margin-top: 6px; }
.spark polyline { fill: none; stroke: var(--green-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- bands */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band.light { background: var(--bg); }
.band.tint { background: var(--tint); }
.band.dark { background: linear-gradient(180deg, var(--green-900), var(--green-800)); color: rgba(255, 255, 255, 0.8); }
.band.dark .title { color: #fff; }
.band.dark .sub { color: rgba(255, 255, 255, 0.7); }
.title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; text-align: center; }
.title.left, .sub.left { text-align: left; }
.sub { font-size: 19px; color: var(--muted); text-align: center; max-width: 720px; margin: 14px auto 0; }
.sub.left { margin-left: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feature {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ic {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  color: var(--green-700); background: linear-gradient(135deg, #e3f6ef, #c9eedf);
}
.feature:nth-child(5) .feature-ic { color: var(--gold-dark); background: linear-gradient(135deg, #fff4da, #fde6ad); }
.feature h3 { font-size: 20px; margin: 18px 0 8px; }
.feature p { margin: 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-500) 0 6px, transparent 6px 10px);
}
.num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--green-500), var(--green-800));
  box-shadow: 0 10px 20px -10px rgba(11, 107, 87, 0.8);
}
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Promotions */
.promo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--green-500); margin-top: 3px; background: #e3f6ef; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.checks.light li { color: rgba(255, 255, 255, 0.86); }
.checks.light .ic { background: rgba(111, 211, 176, 0.18); color: var(--mint); }

.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #1c2a26, #0b1411); box-shadow: var(--shadow), inset 0 0 0 2px #2c3d38;
}
.phone-screen {
  height: 100%; border-radius: 36px; overflow: hidden; padding: 44px 16px 16px;
  background: linear-gradient(180deg, #f2f7f5, #ffffff 40%);
}
.phone-tab { font-weight: 800; font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.offer { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 14px 30px -18px rgba(7, 47, 39, 0.45); border: 1px solid var(--line); margin-bottom: 12px; }
.offer.faded { opacity: 0.75; }
.phone-screen { position: relative; }
.offer.skeleton { display: grid; gap: 8px; opacity: 0.6; }
.sk { display: block; height: 10px; border-radius: 6px; background: #e4ece9; }
.sk.w60 { width: 60%; } .sk.w90 { width: 90%; } .sk.w40 { width: 40%; }
.phone-nav {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-around; align-items: center;
  background: #fff; border-radius: 22px; padding: 10px; color: #9aaaa4; box-shadow: 0 10px 24px -14px rgba(7, 47, 39, 0.5);
}
.phone-nav .on { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #dff3ec; color: var(--green-700); }
.offer-top { display: flex; align-items: center; gap: 10px; }
.offer-top b { display: block; font-size: 14px; color: var(--ink); }
.offer-top small { font-size: 12px; color: var(--green-700); font-weight: 600; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e3f6ef; color: var(--green-700); }
.badge { margin-left: auto; background: #c62828; color: #fff; font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 8px; }
.badge.gold { background: var(--gold); color: var(--green-900); }
.offer-title { font-weight: 750; color: var(--ink); margin-top: 12px; font-size: 15.5px; line-height: 1.3; }
.offer-text { font-size: 13px; color: var(--muted); margin-top: 3px; }
.offer-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px;
  background: #dff3ec; color: var(--green-800); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px;
}

/* Privacy */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.pcard { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 26px; }
.pcard-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(111, 211, 176, 0.14); color: var(--mint); }
.pcard h3 { color: #fff; font-size: 18px; margin: 16px 0 8px; }
.pcard p { margin: 0; font-size: 15.5px; }

/* FAQ */
.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; background: #fff; transition: box-shadow 0.2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; color: var(--ink); padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 26px; font-weight: 400; color: var(--green-700); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Apply */
.band.apply {
  color: #fff;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(111, 211, 176, 0.22), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(224, 180, 79, 0.18), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-800));
}
.band.apply .title { color: #fff; }
.band.apply .sub { color: rgba(255, 255, 255, 0.75); }
.apply-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid2 .wide { grid-column: 1 / -1; }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.apply-form input, .apply-form select, .apply-form textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfdfc; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.apply-form textarea { resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(25, 163, 127, 0.15); background: #fff; }
.apply-form .invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12); }
.consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted) !important; margin: 18px 0 20px; }
.consent input { width: 20px !important; height: 20px; margin: 2px 0 0; accent-color: var(--green-700); flex: none; }
.consent.invalid span { color: #c62828; }
.apply-form .btn { width: 100%; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #c62828; font-size: 15px; margin: 14px 0 0; }
.form-mail { text-align: center; font-size: 14px; margin: 14px 0 0; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success h3 { font-size: 26px; margin: 14px 0 8px; }
.form-success p { color: var(--muted); margin: 0; }
.ok-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green-500), var(--green-800)); }
.apply-form.done > :not(.form-success) { display: none; }

/* Footer */
.bfoot { background: #061f1a; color: rgba(255, 255, 255, 0.6); padding: 48px 0 28px; font-size: 15px; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-grid p { max-width: 420px; margin: 12px 0 0; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.copy { text-align: center; margin: 36px 0 0; font-size: 13px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .hero-grid, .promo-grid, .apply-grid { grid-template-columns: 1fr; }
  .mock { transform: none; max-width: 560px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps, .pcards { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .topnav { gap: 14px; }
}
@media (max-width: 640px) {
  body.biz { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar-inner { gap: 10px; }
  .topnav .login { display: none; }
  .features, .steps, .pcards, .grid2 { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .brand { font-size: 0; gap: 0; }
  .brand img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
