/* ratecontms.com – one stylesheet, no framework. Colors follow the app (dark navy top bar, blue buttons). */
:root {
  --ink: #1f2328;
  --muted: #59636e;
  --line: #d0d7de;
  --bg: #ffffff;
  --soft: #f6f8fa;
  --navy: #1b2433;
  --blue: #1f6feb;
  --blue-dark: #1a5fcc;
  --good: #1a7f37;
  --bad: #cf222e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 720px; }

.top { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; }

.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); }
.btn.small { padding: 7px 14px; font-size: 15px; }
.btn:disabled { opacity: 0.6; cursor: default; }

section { padding: 72px 0; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; margin: 0 0 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }

.hero { padding-top: 64px; padding-bottom: 40px; background: linear-gradient(var(--soft), var(--bg)); }
.hero-shot { margin: 44px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(27, 36, 51, 0.16); }

/* Features: text left, a CROP of the app right, shown at the app's real size (≤ 760 px wide) so its text reads like
   in the app; click → the whole screen. */
.features { padding-top: 40px; }
.section-title { text-align: center; margin-bottom: 48px; }
.feature { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 760px); gap: 48px; align-items: center; margin: 0 0 80px; }
.feature h3 { font-size: 23px; margin: 0 0 10px; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.media { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(27, 36, 51, 0.12); background: #fff; cursor: zoom-in; }
.media img { width: 100%; }
.watch { font-weight: 600; text-decoration: none; }
.also { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 760px); gap: 48px; align-items: center; }
.also p { color: var(--muted); margin: 0; }
.under-btn { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.hero-shot a { display: block; cursor: zoom-in; }

blockquote { margin: 0; font-size: 21px; line-height: 1.55; }
blockquote p { margin: 0 0 14px; }
blockquote footer { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 14px 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 20, 30, 0.88); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-body { max-width: min(1440px, 100%); max-height: 100%; overflow: auto; }
.lightbox-body img, .lightbox-body video { max-width: 100%; max-height: calc(100vh - 48px); width: auto; margin: 0 auto; border-radius: 6px; background: #fff; }
.lightbox-close { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }

.story, .faq { background: var(--soft); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 0 0 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.waitlist form { display: grid; gap: 14px; margin-top: 24px; }
.waitlist label { display: grid; gap: 5px; font-weight: 600; font-size: 15px; }
.waitlist input[type="email"], .waitlist input[type="text"] { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.waitlist fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.waitlist legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; width: 100%; }
.waitlist label.inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.waitlist .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; min-height: 1.5em; }
.form-note.good { color: var(--good); font-weight: 600; }
.form-note.bad { color: var(--bad); }

.page { padding: 48px 20px 72px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 15px; }
.foot-inner { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 760px) {
  section { padding: 48px 0; }
  /* Phones: the picture full width, above its text. */
  .feature, .also { grid-template-columns: 1fr; gap: 16px; margin-bottom: 52px; }
  .feature .media, .also .media { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* "Everything in RateConTMS" (2026-11-14): 3 columns on a desktop, 1 on a phone. */
.everything { background: var(--soft); }
.grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; margin: 0 0 40px; }
.grid-item { display: flex; gap: 12px; align-items: flex-start; }
.grid-icon { font-size: 24px; line-height: 1.2; flex: none; width: 32px; text-align: center; }
.grid-item strong { display: block; margin-bottom: 2px; }
.grid-item p { margin: 0; color: var(--muted); font-size: 16px; }
.reports-shot { max-width: 760px; margin: 0 auto; }
/* A feature's picture waits for Edmundas's confirmation (only what's live and used goes on the site). */
.media-pending { display: none; }
.feature:has(.media-pending) { grid-template-columns: minmax(0, 720px); }
@media (max-width: 900px) {
  .grid-list { grid-template-columns: 1fr; }
}
