/* Layout: a familiar SaaS platform page, kept simple. Dark teal hero with a bold two-line promise and the product below it, then alternating feature blocks each with a product screen, a five-step flow, a closing call to action and a light footer. Single committed light world with one dark band. */
:root {
  color-scheme: light;
  --deep: #0b3d3a;
  --deep-2: #0f4d49;
  --teal: #12706a;
  --mint: #7fd3c7;
  --amber: #e39a2d;
  --bg: #ffffff;
  --tint: #f3f7f6;
  --ink: #142624;
  --soft: #51625f;
  --line: #dde7e5;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--mint); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--deep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--sans); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: .95rem; }
.top nav a.link { text-decoration: none; color: #c4dcd8; }
.top nav a.link:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 .97rem/1 var(--sans); padding: 13px 22px; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, transform .2s cubic-bezier(.2,.8,.2,1); }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #1f1405; }
.btn-amber:hover { background: #eeab48; }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0e5e59; }
@media (max-width: 680px) { .top nav a.link { display: none; } }

.hero { background: var(--deep); color: #fff; padding-top: clamp(56px, 8vw, 104px); text-align: center; overflow: hidden; }
.hero h1 { font: 800 clamp(2.4rem, 5.6vw, 4.4rem)/1.06 var(--sans); letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 18ch; text-wrap: balance; }
.hero h1 span { color: var(--mint); }
.hero .lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: #c4dcd8; max-width: 56ch; margin: 0 auto 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* hero stage: bill flows from inbox, through the split, to tenants */
.stage { position: relative; max-width: 1060px; margin: clamp(56px, 8vw, 88px) auto 0; padding-bottom: clamp(88px, 10vw, 112px); display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: -10% -6% 0; z-index: -1; background: radial-gradient(60% 55% at 50% 45%, rgba(127,211,199,.20), transparent 70%); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.wires path { fill: none; stroke: url(#wg); stroke-width: 2; stroke-dasharray: 5 9; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.col { display: grid; gap: 16px; min-width: 0; }
.glass, .share, .toast { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; color: #fff; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.glass { padding: 14px 16px; font-size: .9rem; }
.glass.in { display: flex; gap: 12px; align-items: center; }
.glass b { display: block; font-weight: 700; }
.glass small, .share small { color: #b9d6d1; font-size: .82rem; }
.ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: rgba(127,211,199,.18); color: var(--mint); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; }
.glass.read ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.glass.read li { display: flex; justify-content: space-between; gap: 10px; color: #b9d6d1; font-size: .84rem; }
.glass.read li span { color: #fff; }
.bill { background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 22px 22px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.4); }
.bill-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; }
.pill { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #dcf3ee; color: #0b5a54; white-space: nowrap; }
.bill-addr { color: var(--soft); font-size: .86rem; margin-top: 2px; }
.bill-amt { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 14px; }
.splitbar { display: flex; gap: 3px; height: 14px; border-radius: 999px; overflow: hidden; }
.splitbar i { flex: var(--f); background: var(--c); transform-origin: left; animation: grow 1.2s cubic-bezier(.16,1,.3,1) both; animation-delay: .5s; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .8rem; color: var(--soft); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-right: 6px; }
.share { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; font-size: .88rem; }
.share b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share small { font-size: .9rem; color: #fff; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--deep); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.av.own { background: var(--amber); color: #1f1405; }
.av svg { width: 18px; height: 18px; }
.av.doc { background: rgba(127,211,199,.18); color: var(--mint); }
.tag { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.tag.sent { background: rgba(127,211,199,.18); color: var(--mint); }
.tag.paid { background: var(--mint); color: var(--deep); }
.tag.own { background: rgba(227,154,45,.2); color: #f3c27a; }
.toast { position: absolute; left: 50%; bottom: clamp(24px, 3vw, 36px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; font-size: .9rem; white-space: nowrap; }
.toast .mono { color: #b9d6d1; font-size: .82rem; }
.toast .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--deep); display: grid; place-items: center; }
.toast .ok svg { width: 15px; height: 15px; }
.stage [style*="--d"] { animation: rise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d) * 110ms); }
.stage .toast { animation-name: rise-x; }
@keyframes rise { from { transform: translateY(18px); filter: blur(4px); } }
@keyframes rise-x { from { transform: translate(-50%, 18px); filter: blur(4px); } }
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; max-width: 460px; gap: 14px; padding-bottom: 40px; }
  .wires { display: none; }
  .toast { position: static; transform: none; white-space: normal; flex-wrap: wrap; }
  .stage .toast { animation-name: rise; }
}
@media (prefers-reduced-motion: reduce) { .wires path, .stage [style*="--d"], .splitbar i { animation: none !important; } }

/* feature blocks */
section.s { padding-block: clamp(64px, 9vw, 104px); }
.sec-title { font: 800 clamp(1.9rem, 3.8vw, 2.8rem)/1.12 var(--sans); letter-spacing: -0.025em; margin: 0 0 12px; text-align: center; text-wrap: balance; }
.sec-lede { text-align: center; color: var(--soft); max-width: 56ch; margin: 0 auto clamp(40px, 6vw, 64px); }
.blocks { display: grid; gap: clamp(48px, 7vw, 88px); }
.block { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.block:nth-child(even) .copy { order: 2; }
.block h3 { font: 800 clamp(1.4rem, 2.4vw, 1.8rem)/1.2 var(--sans); margin: 0 0 12px; letter-spacing: -0.015em; }
.block p { margin: 0 0 14px; color: var(--soft); max-width: 46ch; }
.block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.block li { display: flex; gap: 10px; align-items: baseline; }
.block li svg { flex: none; width: 16px; height: 16px; transform: translateY(3px); }
.panel { background: var(--tint); border-radius: 16px; padding: clamp(16px, 3vw, 28px); min-width: 0; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 28px -14px rgba(11,61,58,.25); padding: 16px 18px; font-size: .88rem; overflow-x: auto; }
.card + .card { margin-top: 12px; }
.card h4 { margin: 0 0 10px; font: 800 .95rem/1.3 var(--sans); }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.row:last-child { border-bottom: 0; }
.row.tot { font-weight: 800; }
@media (max-width: 860px) { .block { grid-template-columns: 1fr; } .block:nth-child(even) .copy { order: 0; } }

/* steps */
.steps-band { background: var(--tint); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; padding-inline: 4px; }
.steps .ic { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 18px -10px rgba(11,61,58,.3); }
.steps .ic svg { width: 26px; height: 26px; }
.steps h3 { font: 800 1.05rem/1.3 var(--sans); margin: 6px 0 0; }
.steps p { margin: 0; color: var(--soft); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* closing CTA + form */
.cta { background: var(--deep); color: #fff; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.cta h2 { font: 800 clamp(2rem, 4vw, 3rem)/1.1 var(--sans); letter-spacing: -0.025em; margin: 0 0 14px; }
.cta p { color: #c4dcd8; margin: 0; max-width: 36ch; }
form { background: #fff; color: var(--ink); border-radius: 16px; padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--tint); border: 1.5px solid transparent; border-radius: 10px; padding: 11px 13px; width: 100%; caret-color: var(--teal); }
input:hover, select:hover, textarea:hover { border-color: var(--line); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.status { font-weight: 700; color: var(--teal); }
.status.err { color: #b4530a; }
button:disabled { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 820px) { .cta-grid, form { grid-template-columns: 1fr; } }

footer { padding-block: 40px; font-size: .95rem; color: var(--soft); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer .brand { color: var(--teal); font-size: 1.1rem; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; } footer a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
