/* Wellficient Systems website. Plain CSS, no framework, no build step. */
/* Fonts: Inter and Lexend (SIL Open Font License), self-hosted latin subset. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("assets/fonts/lexend-latin.woff2") format("woff2"); }
:root {
  --navy: #0A1B3D;
  --blue: #2F80FF;          /* logo, dots, accents only */
  --action: #1F66E0;        /* buttons and links: 5.2:1 with white */
  --action-hover: #1A5BCC;
  --ink: #0A1B3D;
  --body: #3A4660;
  --muted: #5B6680;         /* 5.3:1 on --gray */
  --gray: #F4F6FA;          /* section background */
  --line: #E2E7F0;
  --tint: #EAF2FF;
  --radius: 14px;
  --head: "Lexend", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --wrap: 1160px;
  /* Spacing scale: section padding and heading-to-content gap. Phone values set in the phone block. */
  --sec: 80px;
  --gap-head: 40px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6;
  color: var(--body); background: #fff; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--action); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app-head .h4 { color: var(--ink); }

/* ---------- Logo lockups ---------- */
.lockup { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; }
.lockup .mark { flex: none; display: block; }
.lockup .word { display: block; }
.lockup .stack { display: flex; flex-direction: column; align-items: center; }
.lockup .systems {
  font-family: var(--head); font-weight: 500; color: var(--navy);
  letter-spacing: 0.52em; margin-right: -0.52em; line-height: 1; text-transform: uppercase;
}
.lockup .badge {
  font-family: var(--head); font-weight: 700; color: #fff; background: var(--blue);
  border-radius: 0.22em; line-height: 1; letter-spacing: 0.01em;
}
/* header size */
.lockup.sm { gap: 11px; }
.lockup.sm .mark { width: 38px; height: 38px; }
.lockup.sm .word { height: 21px; width: auto; }
.lockup.sm .systems { font-size: 9.5px; margin-top: 5px; }
/* product size */
.lockup.prod { gap: 14px; }
.lockup.prod .mark { width: 52px; height: 52px; }
.lockup.prod .word { height: 31px; width: auto; }
.lockup.prod .badge { font-size: 22px; padding: 7px 9px 6px; margin-left: 4px; }

/* ---------- Header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.signin {
  font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px;
}
.signin:hover { border-color: #C5CEDD; background: var(--gray); }
.signin svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600;
  font-size: 17px; line-height: 1; padding: 17px 24px; border-radius: 12px; text-decoration: none;
  background: var(--action); color: #fff; box-shadow: 0 1px 2px rgba(10,27,61,.12), 0 4px 14px rgba(31,102,224,.22);
}
.btn:hover { background: var(--action-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.light { background: #fff; color: var(--navy); box-shadow: none; }
.btn.light:hover { background: var(--tint); }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 var(--sec); background:
  radial-gradient(900px 420px at 88% 18%, rgba(47,128,255,.08), transparent 70%), #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 500;
  font-size: 15px; color: var(--action); background: var(--tint); padding: 7px 14px 7px 11px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-size: 56px; line-height: 1.06; font-weight: 700; margin: 22px 0 22px; letter-spacing: -0.03em; }
.hero .sub { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 30em; margin-bottom: 34px; }

/* ---------- App mock (hero visual) ---------- */
.app {
  background: #fff; border: 1px solid #DCE2EC; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(10,27,61,.04), 0 24px 60px -12px rgba(10,27,61,.20);
  font-family: var(--text); color: var(--ink); font-size: 13px; line-height: 1.35;
}
.app-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F2F4F8; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3D9E3; display: block; }
.app-bar .url { margin-left: 12px; flex: 1; max-width: 300px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.app-prod { display: flex; align-items: center; gap: 7px; }
.app-prod svg.m { width: 22px; height: 22px; }
.app-prod svg.w { height: 13px; width: auto; color: var(--navy); }
.app-prod .b { font-family: var(--head); font-weight: 700; font-size: 10px; color: #fff; background: var(--blue); border-radius: 3px; padding: 3px 4px 2px; }
.sample { font-size: 11px; font-weight: 600; color: #8A5300; background: #FFF4DE; border-radius: 999px; padding: 3px 9px; }
.app-body { padding: 16px 18px 6px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.app-head .h4 { font-family: var(--head); font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.app-head .fac { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.picker { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-weight: 600; white-space: nowrap; }
.picker svg { width: 12px; height: 12px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.stat b { display: block; font-family: var(--head); font-size: 20px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 12px; }
.stat.flag b { color: #B42318; }
.chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: nowrap; overflow: hidden; }
.chip { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-weight: 500; white-space: nowrap; }
.chip em { font-style: normal; color: var(--muted); margin-left: 4px; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on em { color: #C9D3E6; }
.rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.25fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .nm { font-weight: 600; }
.row .rm { color: var(--muted); font-size: 11.5px; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; border-radius: 5px; padding: 2px 6px; white-space: nowrap; }
.t-new { background: #E6F0FF; color: #1A55C0; }
.t-ann { background: #EEF0F5; color: #3A4660; }
.t-qa { background: #E7F6EE; color: #1E7A4C; }
.t-loss { background: #FDECEA; color: #B42318; }
.t-re { background: #F1EBFF; color: #5B36B5; }
.who { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px 3px 7px; white-space: nowrap; }
.who i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.who.none { color: var(--muted); border-style: dashed; }
.row.hl { background: #FFF8F7; box-shadow: inset 3px 0 0 #E5484D; }
.app-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 14px; color: var(--muted); font-size: 12px; }
.app-foot .send { background: var(--action); color: #fff; font-weight: 600; border-radius: 7px; padding: 6px 11px; }

/* ---------- Sections ---------- */
section { padding: var(--sec) 0; }
/* Two white sections in a row share one gap instead of stacking two paddings */
.cracks + .features, .pricing + .security, .about + .faq, .tour + .pricing { padding-top: 0; }
.gray { background: var(--gray); }
h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
.kicker { font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--action); margin-bottom: 14px; }

/* Problem */
.problem .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.problem p { font-size: 20px; line-height: 1.65; color: var(--body); padding-top: 34px; }

/* Features */
.features .intro { max-width: 640px; margin-bottom: var(--gap-head); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; }
.card h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 18px 0 8px; letter-spacing: -0.015em; }
.card p { font-size: 16px; line-height: 1.6; }
.ico { width: 44px; height: 44px; border-radius: 11px; background: var(--tint); color: var(--action); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; padding: 30px 30px; }
.card.wide h3 { margin-top: 2px; font-size: 21px; }
.card.wide p { max-width: 46em; }

/* Steps */
.steps-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: var(--gap-head); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { position: relative; padding-top: 64px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; font-size: 18px; display: grid; place-items: center; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 56px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, #C5CEDD 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }

/* Security */
.security .panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.shield { width: 64px; height: 64px; margin-bottom: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.checks svg { width: 28px; height: 28px; margin-top: -2px; }

/* Product line */
.products h2 { margin-bottom: var(--gap-head); }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prod { border: 1px solid var(--line); border-radius: 18px; padding: 36px 34px; background: #fff; }
.prod p { margin-top: 22px; font-size: 18px; color: var(--body); }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status.now { color: #1E7A4C; } .status.now::before { background: #2DA66A; }
.status.soon { color: var(--muted); } .status.soon::before { background: #A9B3C6; }
.prod.soon { background: var(--gray); border-style: dashed; border-color: #CBD3E1; }

/* Closing */
.closing { background: var(--navy); color: #C9D3E6; text-align: center; }
.closing h2 { color: #fff; font-size: 44px; }
.closing p { font-size: 19px; margin: 16px 0 34px; }
.closing .mail { margin-top: 22px; font-size: 16px; }
.closing .mail a { color: #9CC2FF; text-underline-offset: 3px; }

/* Footer */
.site-foot { background: #071330; color: #A8B4CC; padding: 36px 0; font-size: 14px; }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-foot .lockup { color: #fff; }
.site-foot .lockup .systems { color: #fff; }
.site-foot .right { text-align: right; line-height: 1.7; }
.site-foot .right b { color: #fff; font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero .copy { max-width: 640px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .security .panel { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-head .wrap { height: 64px; }
  .lockup.sm { gap: 9px; }
  .lockup.sm .mark { width: 34px; height: 34px; }
  .lockup.sm .word { height: 18px; }
  .lockup.sm .systems { font-size: 8.5px; margin-top: 4px; }
  .signin { font-size: 15px; padding: 8px 13px; }
  :root { --sec: 56px; --gap-head: 28px; }
  .hero { padding: 32px 0 var(--sec); }
  .hero h1 { font-size: 38px; margin: 18px 0 16px; }
  .hero .sub { font-size: 17px; margin-bottom: 28px; }
  .btn { width: 100%; justify-content: center; font-size: 16px; padding: 17px 18px; }
  h2 { font-size: 30px; }
  .problem .wrap { grid-template-columns: 1fr; gap: 0; }
  .problem p { font-size: 17px; padding-top: 18px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card, .card.wide { padding: 24px 22px; display: block; }
  .card h3, .card.wide h3 { font-size: 18px; margin: 16px 0 6px; }
  .card p { font-size: 15.5px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 8px 0 28px 64px; min-height: 44px; }
  .steps li::after, .steps li:nth-child(2)::after { display: block; top: 52px; bottom: 6px; left: 21px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #C5CEDD 0 6px, transparent 6px 12px); }
  .steps li:last-child::after { display: none; }
  .steps li:last-child { padding-bottom: 0; }
  .security .panel { padding: 28px 22px; border-radius: 16px; }
  .checks { grid-template-columns: 1fr; gap: 16px; }
  .checks li { font-size: 16px; }
  .prods { grid-template-columns: 1fr; gap: 14px; }
  .prod { padding: 28px 22px; }
  .lockup.prod { gap: 10px; }
  .lockup.prod .mark { width: 40px; height: 40px; }
  .lockup.prod .word { height: 24px; }
  .lockup.prod .badge { font-size: 17px; padding: 6px 7px 5px; }
  .prod p { font-size: 16.5px; margin-top: 18px; }
  .closing h2 { font-size: 32px; }
  .closing p { font-size: 17px; margin-bottom: 28px; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
  .site-foot .right { text-align: left; }
  /* app mock on phone */
  .app { font-size: 12px; border-radius: 12px; }
  .app-bar .url { max-width: none; }
  .app-top, .app-body { padding-left: 12px; padding-right: 12px; }
  .app-head { flex-direction: column; gap: 8px; }
  .stats { gap: 6px; }
  .stat { padding: 7px 8px; }
  .stat b { font-size: 17px; }
  .stat span { font-size: 11px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; padding: 9px 10px; }
  .row .tags { grid-column: 1 / -1; grid-row: 2; }
  .app-foot { padding: 10px 12px 12px; }
}

/* ---------- Round 2 fixes ---------- */
.nw { white-space: nowrap; }
.hero h1 { text-wrap: balance; }
h2 { text-wrap: balance; }
.chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.chip { font-size: 12px; padding: 4px 9px; }
.row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) 128px; }
.row .who { justify-self: start; }

/* ---------- Launch additions ---------- */
/* Hero visual: let the filter chips wrap instead of being cut off at the edge */
.chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; row-gap: 6px; }

/* Focus styles and skip link */
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
.closing :focus-visible, .site-foot :focus-visible { outline-color: #9CC2FF; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.btn:focus-visible { outline-offset: 4px; }

/* Plain-words line under the features heading */
.features .lede { margin-top: 16px; font-size: 19px; line-height: 1.6; color: var(--body); }

/* Testimonial (hidden until switched on) */
.quote figure { margin: 0 auto; max-width: 820px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--head); font-weight: 500; font-size: 26px; line-height: 1.45;
  color: var(--ink); letter-spacing: -0.015em; }
.quote figcaption { margin-top: 22px; font-size: 16px; color: var(--muted); }

/* About */
.about .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about p { font-size: 18px; line-height: 1.65; }
.about p + p { margin-top: 14px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq .note { margin-top: 16px; font-size: 17px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px;
  border-right: 2.2px solid var(--action); border-bottom: 2.2px solid var(--action); transform: rotate(45deg) translateY(-3px);
  transition: transform .15s ease; }
.qa[open] summary::after { transform: rotate(225deg) translate(-3px, 0); }
.qa summary:hover { color: var(--action); }
.qa .a { padding: 0 40px 22px 4px; font-size: 16.5px; line-height: 1.65; }
.qa .a a { text-underline-offset: 3px; }

/* Footer links */
.site-foot .right a { color: #fff; text-underline-offset: 3px; }
.site-foot .links { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 6px; }
.site-foot .tm { display: block; }

/* Privacy page */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc p + p { margin-top: 12px; }
.back { font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; }
.back:hover { border-color: #C5CEDD; background: var(--gray); }

@media (max-width: 1040px) {
  .about .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .features .lede { font-size: 17px; }
  .quote blockquote { font-size: 21px; }
  .about p { font-size: 16.5px; }
  .qa summary { font-size: 17px; padding: 18px 2px; }
  .qa .a { padding: 0 8px 20px 2px; font-size: 16px; }
  .site-foot .links { justify-content: flex-start; }
  .doc { padding: 44px 0 64px; }
  .doc h1 { font-size: 34px; }
  .doc h2 { font-size: 21px; }
  .doc p, .doc li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }
.closing .mail { margin-bottom: 0; }
.eyebrow { margin: 0; }
.faq .wrap > *, .about .wrap > * { min-width: 0; }
/* The product lockup shares the .prod name with its card; keep the card box off the lockup itself */
.lockup.prod { border: 0; padding: 0; background: none; border-radius: 0; }
@media (max-width: 640px) {
  /* hero sample app on phone: name and assignee on one line, tags below */
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .who { justify-self: end; }
}
.doc ul + p { margin-top: 14px; }
/* Product cards: stack before the logos run out of room */
.prods > * { min-width: 0; }
@media (max-width: 900px) { .prods { grid-template-columns: 1fr; } }
@media (max-width: 360px) {
  .prod { padding: 24px 18px; }
  .lockup.prod { gap: 8px; }
  .lockup.prod .mark { width: 34px; height: 34px; }
  .lockup.prod .word { height: 20px; }
  .lockup.prod .badge { font-size: 15px; padding: 5px 6px 4px; }
}

/* Pricing */
.price-card { max-width: 640px; margin: 0 auto; text-align: center; border: 1px solid var(--line); border-radius: 18px; padding: 44px 32px; background: #fff; box-shadow: 0 10px 30px rgba(10,27,61,.06); }
.price { font-family: var(--head); color: var(--navy); font-size: 20px; margin: 14px 0 22px; }
.price .amt { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; margin-right: 6px; }
.price-list { list-style: none; padding: 0; margin: 0 auto; display: inline-block; text-align: left; }
.price-list li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--ink); }
.price-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
@media (max-width: 640px) { .price .amt { font-size: 44px; } .price-card { padding: 32px 20px; } }

/* Fewer misses */
.cracks h2 { max-width: 760px; margin-bottom: var(--gap-head); }
.miss-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; }
.miss-list li { position: relative; padding-left: 34px; font-size: 18px; line-height: 1.6; color: var(--ink); }
.miss-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
/* Calculator */
.calc { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); text-align: left; }
.calc h3 { font-size: 20px; margin-bottom: 16px; text-align: center; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.calc-inputs input { font: inherit; font-size: 18px; color: var(--ink); padding: 10px 12px; border: 1px solid #C5CEDD; border-radius: 10px; min-height: 44px; width: 100%; box-sizing: border-box; }
.calc-inputs input:focus { outline: 3px solid rgba(47,128,255,.35); border-color: var(--blue); }
.calc-out { margin: 20px 0 0; display: grid; gap: 10px; }
.calc-out div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--gray); border-radius: 10px; }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; font-family: var(--head); font-weight: 600; color: var(--navy); text-align: right; }
.calc-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .calc-inputs { grid-template-columns: 1fr; } .miss-list { grid-template-columns: 1fr; } }

/* ---------- Product tour ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.ghost { background: #fff; color: var(--navy); box-shadow: none; border: 1.5px solid #C5CEDD; padding: 15.5px 22px; }
.btn.ghost:hover { background: var(--gray); border-color: #A9B3C6; }
.closing .tour-link { margin-top: 26px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.tour { scroll-margin-top: -40px; }
.tour:focus { outline: none; }
/* Frame width: as wide as the column, but short enough that the slide fits on a laptop screen */
.tour-in { --tw: min(100%, max(820px, calc((100vh - 250px) * 1.6))); width: var(--tw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head nav" "slides slides" "dots dots"; column-gap: 24px; align-items: end; }
@supports (height: 100svh) { .tour-in { --tw: min(100%, max(820px, calc((100svh - 250px) * 1.6))); } }
.tour-head { grid-area: head; }
.tour-head p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.tour-nav { grid-area: nav; display: flex; align-items: center; gap: 12px; }
.tour-nav[hidden], .tour-dots[hidden] { display: none; }
.tour-btn { font: inherit; font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--navy); background: #fff;
  min-height: 44px; min-width: 44px; padding: 0 16px; border: 1.5px solid #C5CEDD; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tour-btn svg { width: 18px; height: 18px; flex: none; }
.tour-btn:hover { background: var(--gray); border-color: #A9B3C6; }
.tour-next { background: var(--action); border-color: var(--action); color: #fff; }
.tour-next:hover { background: var(--action-hover); border-color: var(--action-hover); }
.tour-btn[aria-disabled="true"] { opacity: .4; cursor: default; }
.tour-btn[aria-disabled="true"]:hover { background: #fff; border-color: #C5CEDD; }
.tour-next[aria-disabled="true"]:hover { background: var(--action); border-color: var(--action); }
.tour-btn:focus-visible, .tour-dot:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.tour-count { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--muted); min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; }
.tour-slides { grid-area: slides; list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 48px; }
.tour-slide figure { margin: 0; }
.tour-shot { display: block; aspect-ratio: 16 / 10; background: #F4F6FA; border: 1px solid #DCE2EC; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(10,27,61,.04), 0 18px 44px -14px rgba(10,27,61,.22); }
.tour-shot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.tour-slide figcaption { margin-top: 20px; }
.tour-slide h3 { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.tour-slide figcaption p { margin-top: 6px; font-size: 17px; line-height: 1.55; max-width: 44em; }
/* Carousel mode (JavaScript on): every slide sits in the same grid cell, so the box keeps one height */
.tour.is-ready .tour-slides { gap: 0; }
.tour.is-ready .tour-slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s .2s; }
.tour.is-ready .tour-slide.is-on { visibility: visible; opacity: 1; transition: opacity .2s ease; }
.tour-dots { grid-area: dots; display: flex; justify-content: center; gap: 2px; margin-top: 18px; }
.tour-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.tour-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #C5CEDD; transition: background .15s, transform .15s; }
.tour-dot:hover::before { background: #8C98AE; }
.tour-dot[aria-current="true"]::before { background: var(--action); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .tour.is-ready .tour-slide, .tour.is-ready .tour-slide.is-on, .tour-dot::before { transition: none; } }
@media (max-width: 640px) {
  .cta-row { flex-direction: column; gap: 10px; }
  .tour { scroll-margin-top: -36px; }
  .tour-in { --tw: 100%; grid-template-columns: 1fr; grid-template-areas: "head" "slides" "nav" "dots"; }
  .tour-head p { font-size: 16px; }
  .tour-slides { margin-top: 22px; gap: 36px; }
  .tour-shot { border-radius: 10px; }
  .tour-slide figcaption { margin-top: 14px; }
  .tour-slide h3 { font-size: 19px; }
  .tour-slide figcaption p { font-size: 16px; }
  .tour-nav { justify-content: space-between; margin-top: 18px; }
  .tour-btn { min-width: 108px; }
  .tour-dots { margin-top: 10px; }
  .tour-dot { width: 28px; height: 28px; }
}

.calc-inputs.calc-one { grid-template-columns: minmax(0, 280px); justify-content: center; }

/* Screenshot lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,27,61,.88); display: flex; align-items: center; justify-content: center; padding: 64px 24px 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox-close { position: absolute; top: 14px; right: 14px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.lightbox-close span { font-size: 22px; line-height: 1; margin-left: 6px; vertical-align: -2px; }
.lightbox-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Ready-gate fixes (2026-11-01) ---------- */
/* Hero sample app: navy top bar and white lockup, like the live app */
.app-top { background: var(--navy); border-bottom-color: var(--navy); }
.app-prod svg.w { color: #fff; }
/* Short laptop screens (zoomed Windows laptops): pull the tour button above the fold */
@media (min-width: 1041px) and (max-height: 820px) {
  .hero { padding-top: 32px; }
  .hero h1 { margin: 18px 0 18px; }
  .hero .sub { margin-bottom: 28px; }
}
/* Tablet: the sample app sits under the text; keep it from growing wider than the text block reads */
@media (max-width: 1040px) and (min-width: 641px) { .app { max-width: 720px; } }
/* Phone tap targets: at least 44px tall */
@media (max-width: 640px) {
  .signin { min-height: 44px; }
  a.lockup.sm { min-height: 44px; }
  .tour-dots { gap: 0; }
  .tour-dot { width: 44px; height: 44px; }
  .site-foot .links { gap: 4px 20px; margin-bottom: 0; }
  .site-foot .links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Scroll reveals and the sample weight flag */
.motion-ready main section :is(.reveal-pending) { opacity: 0; transform: translateY(16px); }
.motion-ready main section :is(.reveal-pending, .reveal-pending + *) { transition: opacity 600ms ease-out, transform 600ms ease-out; }
.motion-ready main section .reveal-pending { transition-delay: var(--reveal-delay, 0ms); }
.motion-ready main section .reveal-pending:not(:focus-within) { visibility: hidden; transition: opacity 600ms ease-out, transform 600ms ease-out, visibility 0s 600ms; }
.motion-ready main section .reveal-pending:focus-within { opacity: 1; transform: none; }
/* The transition is also present after the pending class is removed. */
.motion-ready main section .reveal-item { transition: opacity 600ms ease-out, transform 600ms ease-out; transition-delay: var(--reveal-delay, 0ms); }
.app-visual { position: relative; min-width: 0; }
.app { animation: app-float 6s ease-in-out infinite; }
.weight-flag { position: absolute; z-index: 2; top: -18px; right: 128px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(10,27,61,.18); animation: flag-float 7.5s ease-in-out infinite; }
.weight-flag-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fdecec; color: #c62828; font-weight: 700; }
.weight-flag small, .weight-flag strong { display: block; line-height: 1.35; }
.weight-flag small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.weight-flag strong { color: var(--ink); font-size: 13px; }
@keyframes app-float { 50% { transform: translateY(-6px); } }
@keyframes flag-float { 50% { transform: translateY(-9px); } }
@media (max-width: 1040px) { .weight-flag { display: none; } }

/* Contact form */
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; text-align: left; }
.contact-card { background: #fff; color: var(--body); padding: 32px; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.contact-card h3 { font-size: 25px; margin-bottom: 20px; }
.contact-field { margin-bottom: 15px; }
.contact-field label { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.contact-field label span { font-weight: 400; color: var(--muted); }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-height: 44px; border: 1px solid #aebbd0; border-radius: 9px; padding: 10px 12px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.contact-field textarea { resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { outline: 3px solid rgba(47,128,255,.4); outline-offset: 1px; border-color: var(--action); }
.contact-field input[aria-invalid="true"] { border-color: #b42318; }
.field-error { display: block; color: #a21d16; font-size: 14px; }
.field-error:empty { display: none; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-send { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.contact-send:disabled { opacity: .7; cursor: wait; }
.closing .contact-note, .closing .contact-error { font-size: 14px; line-height: 1.5; margin: 12px 0 0; }
.contact-error { color: #a21d16; }
.contact-success { color: var(--ink); font-weight: 600; }
.contact-card [hidden] { display: none; }
@media (max-width: 800px) { .closing .wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .contact-card { padding: 24px 20px; } }
@media (prefers-reduced-motion: reduce) { .app, .weight-flag { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .motion-ready main section .reveal-item, .motion-ready main section .reveal-pending { opacity: 1; transform: none; visibility: visible; transition: none; }
}
/* Form topic: Get started or Leave feedback */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 22px; padding: 4px; border: 0; border-radius: 12px; background: #EEF2F8; min-width: 0; }
.contact-mode label { position: relative; display: block; cursor: pointer; }
.contact-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.contact-mode span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border-radius: 9px; font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--muted); text-align: center; transition: background .15s, color .15s, box-shadow .15s; }
.contact-mode input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10,27,61,.14); }
.contact-mode input:focus-visible + span { outline: 3px solid rgba(47,128,255,.45); outline-offset: 1px; }
.contact-field label b { font-weight: 600; }
.contact-field textarea[aria-invalid="true"] { border-color: #b42318; }
@media (max-width: 400px) { .contact-mode span { font-size: 15px; padding: 0 6px; white-space: nowrap; } }
