/* SimpleOps marketing site (usesimpleops.com). Static, no build step.
   Calm, precise software: white ground, near-black ink, cool grays, one
   accent (the logo's blue). The product UI does the persuading. */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --ink: #0E1116;
  --ink-2: #3A404A;
  --muted: #5F6672;
  --line: #E6E8EC;
  --line-2: #D9DCE2;
  --blue: #0B5E95;
  --blue-hover: #094E7C;
  --blue-soft: #EAF2F8;
  --green: #17704A;
  --green-soft: #E7F5EE;
  --amber: #8A5300;
  --amber-soft: #FDF3E1;
  --red: #C23B32;
  --red-soft: #FCECEA;

  --font: "Onest", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --frame-shadow: 0 1px 2px rgba(14, 17, 22, 0.05), 0 6px 14px -6px rgba(14, 17, 22, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line-2) transparent; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--blue-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.45em; color: var(--ink); text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.55; max-width: 38rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }

/* ---------- Logo (the owner's own artwork, site/logo.png) ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 29px; width: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color 150ms, background 150ms; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu nav { position: absolute; right: 0; top: 44px; min-width: 190px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--frame-shadow); padding: 6px; display: grid; }
.menu nav a { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu nav a:hover { background: var(--bg-soft); }
@media (max-width: 760px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu { display: block; }
  .site-header .wrap { padding: 0 16px; gap: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font: 500 0.98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 160ms var(--ease), border-color 160ms, color 160ms, transform 160ms var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11, 94, 149, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #BFC4CC; background: var(--bg-soft); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .actions { justify-content: center; }
.fine { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 112px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; }
.hero__stage { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.hero__stage::before {
  content: ""; position: absolute; inset: 12% -10% -20%; z-index: -1;
  background: radial-gradient(60% 55% at 50% 40%, rgba(11, 94, 149, 0.13), transparent 70%);
}

/* ---------- App frame (authored product UI) ---------- */
.frame { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--frame-shadow); overflow: hidden; text-align: left; }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FBFBFC; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E4E8; }
.frame__bar span { margin-left: 10px; font-size: 0.75rem; color: var(--muted); }
.shot { display: block; width: 100%; height: auto; }
figure { margin: 0; }
.caption { margin-top: 14px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.inline-arrow { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-left: 5px; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 10vw, 128px) 0; }
.section-head { max-width: 40rem; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.soft { background: linear-gradient(180deg, var(--bg) 0, var(--bg-soft) 96px, var(--bg-soft) calc(100% - 96px), var(--bg) 100%); }


/* Split feature: copy + UI */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--flip .split__copy { order: 2; }
.split__copy p { color: var(--muted); font-size: 1.08rem; }
.points { list-style: none; margin: 24px 0 0; padding: 0; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 7px 0; color: var(--ink-2); }
.points svg { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip .split__copy { order: 0; } }

/* Tenant portal screenshot */
.phone-stage { display: flex; flex-direction: column; align-items: center; padding: 36px 20px 24px; background: var(--bg-soft); border-radius: 22px; border: 1px solid var(--line); }
.phone-shot { width: 300px; max-width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--frame-shadow); }
.caption--stage { margin: 18px 0 0; }

/* Financials: three plain columns under the screenshot */
.trio { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio li::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--blue); margin-bottom: 16px; }
.trio p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; gap: 24px; } }

/* Delinquency: ruled list */
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li { padding: 18px 0 18px 22px; position: relative; }
.steps-list li::before { content: ""; position: absolute; left: 0; top: 27px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.steps-list b { display: block; font-weight: 500; }
.steps-list span { color: var(--muted); font-size: 0.98rem; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.trust h3 { margin-bottom: 6px; }
.trust p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; gap: 28px; } }

/* Closing CTA */
.closer { text-align: center; background: radial-gradient(50% 70% at 50% 100%, rgba(11, 94, 149, 0.09), transparent 70%); }
.closer .wrap { max-width: 760px; }
.closer .lede { margin: 0 auto; }
.closer .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-body { padding-top: 0; }

.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 72px; }
.group h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.group > p { color: var(--muted); margin-bottom: 14px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.group li b { display: block; font-weight: 500; }
.group li span { color: var(--muted); font-size: 0.95rem; }
.band { margin-top: 64px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.band b { font-weight: 600; }
.band span { color: var(--muted); }
@media (max-width: 820px) { .groups { grid-template-columns: 1fr; gap: 48px; } }

.plan { max-width: 560px; margin: 0 auto; padding: 36px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--frame-shadow); background: var(--bg); }
.plan__price { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 10px 0 6px; }
.plan__sub { color: var(--muted); margin: 0; }
.plan .points { margin: 22px 0 28px; border-top: 1px solid var(--line); padding-top: 14px; }
.plan .btn { width: 100%; }
.plan .fine { text-align: center; }

.faq { max-width: 720px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform 220ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 40rem; }

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--frame-shadow); background: var(--bg); }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.form input, .form textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); width: 100%;
  padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color 150ms, box-shadow 150ms;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 94, 149, 0.12); }
.form input:user-invalid { border-color: var(--red); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: 11px 14px; font-size: 0.95rem; margin: 0 0 16px; }
.alert[hidden] { display: none; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; }
.steps b { display: block; font-weight: 500; }
.steps span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row2 { grid-template-columns: 1fr; } .form, .plan { padding: 24px; } }

/* ---------- Motion: one entrance, then the Today list resolves ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 900ms var(--ease) both; }
  .rise-2 { animation-delay: 80ms; }
  .rise-3 { animation-delay: 160ms; }
  .rise-4 { animation-delay: 280ms; }
  @keyframes rise { from { transform: translateY(14px); opacity: 0.001; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Trial request form: grouped fieldsets */
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 18px; }
.form legend { padding: 0; margin-bottom: 4px; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.form select { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; }
.form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 94, 149, 0.12); }
.form .row3 { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 16px; }
.form .fine { margin-top: 0; }
@media (max-width: 520px) { .form .row3 { grid-template-columns: 1fr 1fr; } .form .row3 label:first-child { grid-column: 1 / -1; } }
.form legend { float: left; width: 100%; }
.form legend + * { clear: both; }

/* SimpleShield: 50/50 split card and features band */
.split-card { padding: 32px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--frame-shadow); }
.split-card__label { margin: 0; color: var(--muted); font-size: 0.92rem; }
.split-card__big { margin: 6px 0 18px; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.split-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 14px; }
.split-bar span { border-radius: 999px; background: var(--blue); }
.split-bar span + span { background: #9CC3DD; }
.split-legend { display: flex; gap: 20px; margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); }
.split-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--you { background: var(--blue); }
.dot--shield { background: #9CC3DD; }
.split-card figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.band--shield { background: var(--blue-soft); border-color: transparent; }
.band { margin-top: 16px; }
.band--shield { margin-top: 64px; }

/* Sections ease in once on scroll (index.html script); visible by default */
.js-reveal main > section:not(.hero) .wrap { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js-reveal main > section:not(.hero) .wrap.is-in { opacity: 1; transform: none; }
