/* OneSweep — brand from Cloud Honest LLC (blue logo #0b5b9e, green action #25a75b) */
:root {
  --blue: #0b5b9e;
  --blue-deep: #063f70;
  --green: #25a75b;
  --green-hover: #1f8f4e;
  --green-soft: #d8f3e1;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --bg-card: #ffffff;
  --text: #16202a;
  --muted: #4d5a68;
  --border: #dde3ea;
  --ring: #0b5b9e;
  --shadow: 0 1px 2px rgba(6,63,112,.06), 0 8px 24px rgba(6,63,112,.08);
  --radius: 16px;
  --max: 1080px;
  --z-nav: 30;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #5aa9ec;
    --blue-deep: #0b1f33;
    --green: #3cc673;
    --green-hover: #59d489;
    --green-soft: #113a25;
    --bg: #0d1117;
    --bg-soft: #141a22;
    --bg-card: #161d27;
    --text: #eef2f6;
    --muted: #a3aebb;
    --border: #26303c;
    --ring: #5aa9ec;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a, button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: .6rem; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.3rem; }
code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
nav.main { display: flex; gap: 4px; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s, background .2s; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
nav.main .btn { margin-left: 8px; color: #fff; }
nav.main a.btn:hover { color: #fff; background: var(--green-hover); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 0 22px; min-height: 48px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; transition: background .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-hover); box-shadow: 0 6px 18px rgba(37,167,91,.3); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn.secondary { background: var(--bg-card); color: var(--text); border-color: var(--border); }
.btn.secondary:hover { background: var(--bg-soft); box-shadow: none; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lead { margin: 18px 0 28px; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { color: var(--muted); font-size: .9rem; margin-top: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; max-width: none; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px; aspect-ratio: 9 / 19.2; border-radius: 44px; padding: 12px;
  background: #0f1319; box-shadow: 0 30px 60px rgba(6,63,112,.25), inset 0 0 0 2px #2a313b;
}
.screen { height: 100%; border-radius: 34px; background: var(--bg-soft); overflow: hidden; display: flex; flex-direction: column; padding: 46px 16px 16px; gap: 12px; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 14px; background: #0f1319; }
.gauge { background: var(--bg-card); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.gauge .label { font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gauge .value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.gauge .value small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.bar { height: 10px; border-radius: 6px; background: var(--border); overflow: hidden; margin-top: 10px; }
.bar span { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 6px; }
.row { background: var(--bg-card); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.row .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.row .ic svg { width: 18px; height: 18px; }
.row .t { font-size: .85rem; font-weight: 700; line-height: 1.2; }
.row .s { font-size: .72rem; color: var(--muted); }
.row .n { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--blue); white-space: nowrap; }
.row .txt { min-width: 0; flex: 1; }
.row .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen .cta { margin-top: auto; background: var(--green); color: #fff; text-align: center; border-radius: 12px; padding: 12px; font-weight: 700; font-size: .9rem; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 32px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.compare .col { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); background: var(--bg-card); }
.compare .col.good { border-color: var(--green); background: color-mix(in srgb, var(--green-soft) 45%, var(--bg-card)); }
.compare h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.compare h3 svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; align-items: flex-start; max-width: none; }
.compare li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.compare .bad li svg { color: #d92632; }
.compare .good li svg { color: var(--green); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; counter-reset: step; }
.step { position: relative; padding: 24px 24px 24px 72px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.featured { border: 2px solid var(--green); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; align-items: center; font-size: .95rem; max-width: none; }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.plan .btn { width: 100%; }
.fine { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 20px; }

/* FAQ */
.faq { max-width: 760px; margin: 24px auto 0; }
.page .faq { margin-left: 0; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; background: var(--bg-card); transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary { font-weight: 700; padding: 16px 32px 16px 0; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; max-width: none; }

/* CTA band */
.band { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: 24px; padding: 48px 32px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.85); margin: 10px auto 24px; }
.band .btn { background: #fff; color: var(--blue-deep); }
.band .btn:hover { background: #eaf2fa; box-shadow: none; }

/* Legal / content pages */
.page { padding: 56px 0 80px; }
.page h1 { margin-bottom: 8px; }
.page h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.page h3 { margin: 1.4rem 0 .4rem; }
.meta { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.callout { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0 28px; }
.callout p { margin: 0; max-width: none; }
.table-wrap { overflow-x: auto; margin: 12px 0 24px; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; background: var(--bg-soft); white-space: nowrap; }
.post-list { display: grid; gap: 14px; margin-top: 28px; }
.post-list article { display: block; text-decoration: none; color: inherit; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; transition: border-color .2s, box-shadow .2s; }
.post-list article:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.post-list h3 { color: var(--blue); margin-bottom: 4px; }
.post-list p { color: var(--muted); margin: 0; }
.post-body { max-width: 720px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 40px 0 32px; color: var(--muted); font-size: .92rem; }
footer.site .top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
footer.site .links a { color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; min-height: 40px; display: inline-flex; align-items: center; transition: color .2s, background .2s; }
footer.site .links a:hover { color: var(--text); background: var(--bg-card); }
footer.site .parent { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
footer.site .parent img { height: 28px; width: auto; }
footer.site .parent a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* Screenshots strip */
.screenshots-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding: 16px 0 20px; margin-top: 28px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.screenshots-scroll img {
  height: 480px; width: auto; border-radius: 20px; flex: none;
  scroll-snap-align: start; box-shadow: 0 8px 28px rgba(6,63,112,.15);
  border: 1px solid var(--border);
}
@media (max-width: 600px) {
  .screenshots-scroll img { height: 380px; }
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .phone { width: 280px; }
  .row .t { font-size: .8rem; }
  .compare { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  nav.main a:not(.btn) { padding: 10px 8px; font-size: .9rem; }
  nav.main .btn { display: none; }
  .hero .actions .btn { width: 100%; }
  .band { padding: 36px 20px; border-radius: 18px; }
}
