/* Rentura — coming soon. Plain CSS, tokens mirror the product's marketing theme. */

:root {
  --bg: #fafaf8;
  --card: #ffffff;
  --line: #e4e7e2;
  --line-soft: #ecefea;
  --green-50: #f0faf4;
  --green-100: #d6f2e3;
  --green-300: #6dcfa0;
  --green-500: #12a057;
  --green-600: #0d7a4a;
  --green-700: #0a6638;
  --green-800: #0d3f27;
  --green-900: #101a14;
  --ink: #171c19;
  --heading: #12171a;
  --muted: #4e5952;
  --body: #5b6660;
  --subtle: #8a948d;
  --amber: #d97706;
  --blue: #2563eb;
  --violet: #7c3aed;
  --rose: #e11d48;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 26, 20, 0.04), 0 12px 32px -12px rgba(16, 26, 20, 0.12);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Background atmosphere ───────────────────────────────────────── */
.glow {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 360px at 12% 8%, rgba(18, 160, 87, 0.16), transparent 70%),
    radial-gradient(520px 340px at 92% 22%, rgba(109, 207, 160, 0.22), transparent 70%),
    linear-gradient(to bottom, rgba(240, 250, 244, 0.7), transparent);
}
.grid-bg {
  position: absolute; inset: 0 0 auto 0; height: 720px; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
header.top { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
header.top > .wrap { flex: 1; display: flex; flex-direction: column; }

/* ── Nav ─────────────────────────────────────────────────────────── */
nav { display: flex; align-items: center; justify-content: space-between; padding: clamp(14px, 2.4vh, 22px) 0; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--heading); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: var(--green-700);
  background: var(--green-50); border: 1px solid var(--green-100);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); position: relative; }
.pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--green-500); opacity: 0.35; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 700; font-size: 14.5px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--green-500), var(--green-700)); color: #fff; box-shadow: 0 8px 20px -6px rgba(10, 102, 56, 0.45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -6px rgba(10, 102, 56, 0.5); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--green-50); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { flex: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding: 0 0 clamp(14px, 3vh, 32px); }
.eyebrow { margin-bottom: clamp(12px, 2.4vh, 20px); }
h1 {
  text-wrap: balance;
  font-size: clamp(32px, min(4.6vw, 7vh), 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: var(--heading);
}
h1 em { font-style: normal; background: linear-gradient(100deg, var(--green-500), var(--green-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: clamp(12px, 2.4vh, 22px); font-size: clamp(15px, 2.1vh, 18px); max-width: 520px; color: var(--muted); }

/* Form */
.signup {
  margin-top: clamp(18px, 3.4vh, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(16px, 2.6vh, 22px); box-shadow: var(--shadow); max-width: 520px;
}
.signup h3 { font-size: 15px; font-weight: 800; color: var(--heading); margin-bottom: 4px; }
.signup p.hint { font-size: 13px; color: var(--subtle); margin-bottom: clamp(10px, 1.8vh, 14px); }
.fields { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cta .fields { grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--subtle); margin-bottom: 6px; }
.field input {
  width: 100%; padding: clamp(11px, 1.8vh, 13px) 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font-size: 15px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input::placeholder { color: #b0b8b2; }
.field input:focus { outline: none; background: #fff; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(18, 160, 87, 0.14); }
.field input.invalid { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1); }
.signup .btn { width: 100%; margin-top: 12px; padding: clamp(12px, 1.9vh, 14px); font-size: 15.5px; }
.trust { margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--subtle); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 14px; height: 14px; color: var(--green-500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 4px; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.status.error { color: var(--rose); min-height: 20px; }
.signup .done { display: none; text-align: center; padding: 18px 8px 8px; }
.signup.is-done .done { display: block; }
.signup.is-done .form-body { display: none; }
.done .tick { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-50); border: 1px solid var(--green-100); display: grid; place-items: center; color: var(--green-600); }
.done .tick svg { width: 26px; height: 26px; }
.done h4 { font-size: 19px; color: var(--heading); font-weight: 800; }
.done p { margin-top: 6px; font-size: 14.5px; }

/* Product mock */
.mock { position: relative; }
.mock::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; background: linear-gradient(135deg, var(--green-100), rgba(109, 207, 160, 0.25)); border-radius: 36px; transform: rotate(3deg); z-index: -1; }
.window { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(16, 26, 20, 0.28); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: #fcfcfb; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e7e2; }
.window-bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--subtle); }
.window-body { padding: 18px; display: grid; gap: 14px; }
.hero-card { border-radius: 16px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-800)); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 160, 87, 0.45), transparent 70%); }
.hero-card small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.hero-card strong { display: block; font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; background: #fff; }
.stat b { display: block; font-size: 20px; color: var(--heading); letter-spacing: -0.02em; }
.stat span { font-size: 11.5px; color: var(--subtle); font-weight: 600; }
.list { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.row:last-child { border-bottom: 0; }
.row .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); flex-shrink: 0; }
.row .ico svg { width: 16px; height: 16px; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-size: 13.5px; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .txt span { font-size: 11.5px; color: var(--subtle); }
.tag { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.tag.green { color: var(--green-700); background: var(--green-50); border-color: var(--green-100); }
.tag.amber { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.tag.blue { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.float-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--heading); animation: bob 6s ease-in-out infinite; }
.float-chip svg { width: 18px; height: 18px; color: var(--green-600); }
.float-chip.a { left: -30px; bottom: -22px; }
.float-chip.b { right: -18px; top: 56px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Sections ────────────────────────────────────────────────────── */
section { position: relative; }
.band { border-block: 1px solid var(--line); background: #fff; padding: 20px 0; overflow: hidden; }
.band-track { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 700; font-size: 15px; color: var(--muted); }
.band-track span { display: inline-flex; align-items: center; gap: 10px; }
.band-track svg { width: 18px; height: 18px; color: var(--green-500); }

.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
h2 { text-wrap: balance; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--heading); }
.section-head p { margin-top: 16px; font-size: 17.5px; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; 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: var(--green-100); }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 22px; height: 22px; }
.ico.g { background: var(--green-50); color: var(--green-600); }
.ico.b { background: #eff6ff; color: var(--blue); }
.ico.v { background: #f5f3ff; color: var(--violet); }
.ico.a { background: #fffbeb; color: var(--amber); }
.ico.r { background: #fff1f2; color: var(--rose); }
.feature h3 { font-size: 18px; color: var(--heading); letter-spacing: -0.01em; margin-bottom: 8px; font-weight: 800; }
.feature p { font-size: 14.5px; }
.feature ul { margin-top: 12px; list-style: none; display: grid; gap: 7px; }
.feature li { font-size: 13.5px; color: var(--muted); padding-left: 22px; position: relative; font-weight: 500; }
.feature li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-100); box-shadow: inset 0 0 0 3px var(--green-500); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(180deg, var(--green-500), var(--green-700)); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h3 { font-size: 18px; color: var(--heading); font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

.cta {
  margin: 96px 0; border-radius: 28px; padding: 64px 32px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-900), var(--green-800) 70%);
}
.cta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 160, 87, 0.5), transparent 70%); }
.cta::after { content: ""; position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 207, 160, 0.25), transparent 70%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 660px; margin-inline: auto; }
.cta p.sub { margin: 16px auto 0; color: rgba(255, 255, 255, 0.7); font-size: 17px; max-width: 520px; }
.cta .signup { margin: 32px auto 0; text-align: left; max-width: 680px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--subtle); }
.foot .brand img { width: 26px; height: 26px; }
.foot .brand span { font-size: 16px; }

/* ── Reveal on scroll ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 24px; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .float-chip.a { left: -6px; } .float-chip.b { right: -6px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-right .pill { display: none; }
  .cta .fields { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .cta { margin: 72px 0; padding: 48px 18px; border-radius: 22px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .float-chip { display: none; }
  .band-track { gap: 18px 28px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill .dot::after, .float-chip { animation: none; }
}

/* ── Phone field with country-code selector ──────────────────────── */
.phone { position: relative; display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.phone:focus-within { background: #fff; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(18, 160, 87, 0.14); }
.phone.invalid { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1); }
.phone .cc { display: inline-flex; align-items: center; gap: 7px; padding: 0 10px 0 14px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: 12px 0 0 12px; color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.phone .cc:hover { background: var(--green-50); }
.phone .cc .flag { font-size: 20px; line-height: 1; }
.phone .cc .chev { width: 14px; height: 14px; color: var(--subtle); transition: transform 0.15s; }
.phone .cc[aria-expanded="true"] .chev { transform: rotate(180deg); }
.phone > input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0 12px 12px 0; padding: 13px 14px; }
.cc-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: min(340px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 48px -12px rgba(16, 26, 20, 0.28); overflow: hidden; }
.cta .cc-menu { top: auto; bottom: calc(100% + 6px); }
.cc-search { width: 100%; padding: 12px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line-soft) !important; border-radius: 0 !important; font-size: 14px; background: #fff !important; outline: none; box-shadow: none !important; }
.cc-menu ul { list-style: none; max-height: 260px; overflow-y: auto; padding: 6px; }
.cc-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--ink); }
.cc-menu li .f { font-size: 18px; width: 24px; text-align: center; }
.cc-menu li .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cc-menu li .d { color: var(--subtle); font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-menu li:hover, .cc-menu li.active { background: var(--green-50); }
.cc-menu li[aria-selected="true"] .n { color: var(--green-700); }
.cc-menu .empty { padding: 14px; font-size: 13.5px; color: var(--subtle); text-align: center; }

/* ── Free-trial highlight ────────────────────────────────────────── */
.pill.trial { color: #fff; background: linear-gradient(180deg, var(--green-500), var(--green-700)); border-color: transparent; box-shadow: 0 6px 16px -6px rgba(10, 102, 56, 0.5); }
.pill.trial svg { width: 15px; height: 15px; }
.signup h3 .hl { color: var(--green-600); }

/* Keep the first screen in one view on short laptop screens */
@media (min-width: 981px) and (max-height: 780px) {
  .signup .hint { display: none; }
  .trust { display: none; }
  .window-body { gap: 10px; padding: 14px; }
  .hero-card { padding: 14px 18px; }
  .row { padding: 9px 14px; }
}
