/* Sanary AI Cleaner — sanaryapp.com
   Light palette sampled from the app: lavender-to-mint gradient, deep navy type,
   sky / lilac / mint / sun chips, navy gradient buttons, deep navy footer. */

:root {
  --paper: #E9EDFA;
  --card: #FFFFFF;
  --card-soft: rgba(255, 255, 255, 0.74);

  --ink: #14204A;
  --ink-mid: #1D2B5A;
  --slate: #56628A;
  --slate-soft: #8992AE;

  --line: rgba(29, 43, 90, 0.13);
  --line-soft: rgba(29, 43, 90, 0.06);

  --sky: #CEE8FC;
  --sky-deep: #1F62AE;
  --lilac: #D8DBF7;
  --sun: #FBEFA8;
  --mint: #BFE9DE;
  --leaf: #2FA85A;

  --btn: linear-gradient(96deg, #01143A 0%, #0E3468 100%);
  --night: #0B1636;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(18px, 4.5vw, 44px);
  --r-lg: 34px;
  --r-md: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--slate);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 620px at 50% -6%, #E4EAFC 0%, rgba(228, 234, 252, 0) 60%),
    radial-gradient(800px 700px at 96% 26%, #DCF3F6 0%, rgba(220, 243, 246, 0) 58%),
    radial-gradient(900px 800px at 4% 88%, #FAF6F1 0%, rgba(250, 246, 241, 0) 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: #fff; }

a { color: var(--sky-deep); text-decoration: none; border-bottom: 1px solid rgba(31, 98, 174, 0.28); }
a:hover { color: var(--ink); border-bottom-color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.center-col { margin-left: auto; margin-right: auto; }
.mt { margin-top: 1rem; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 30;
  background: var(--ink); color: #fff; padding: 10px 16px;
  font-family: var(--display); font-weight: 600; border: 0;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.62rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); letter-spacing: -0.012em; }
h4 { font-size: 0.95rem; font-weight: 600; font-variation-settings: "wdth" 100; letter-spacing: 0; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.05rem, 1.9vw, 1.26rem); line-height: 1.52; color: var(--ink-mid); }
.fine { font-size: 0.87rem; color: var(--slate); }
strong { color: var(--ink-mid); font-weight: 500; }

.chip {
  display: inline-block;
  font-family: var(--display); font-variation-settings: "wdth" 100;
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink); background: var(--sky);
  padding: 6px 14px 5px; border-radius: 999px;
}
.chip.lilac { background: var(--lilac); }
.chip.sun { background: var(--sun); }
.chip.mint { background: var(--mint); }

.eyebrow {
  font-family: var(--display); font-variation-settings: "wdth" 100;
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate-soft); margin: 0 0 0.7rem;
}

/* ---------- floating header ---------- */

.site-head { position: sticky; top: 12px; z-index: 20; padding-top: 14px; }
.head-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  box-shadow: 0 10px 30px -22px rgba(20, 32, 74, 0.6);
}
.brand { display: flex; align-items: center; gap: 10px; border: 0; }
.brand:hover { border: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand b {
  font-family: var(--display); font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.015em;
  display: block; line-height: 1.1;
}
.brand i {
  font-family: var(--display); font-variation-settings: "wdth" 100; font-style: normal;
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-soft); display: block;
}
.head-right { display: flex; align-items: center; gap: 24px; }
.navlinks { display: flex; gap: 22px; font-size: 0.9rem; }
.navlinks a { border: 0; color: var(--slate); }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 600; font-size: 0.93rem;
  font-variation-settings: "wdth" 104;
  padding: 12px 24px 13px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn); color: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px -16px rgba(1, 20, 58, 0.8);
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(1, 20, 58, 0.85); }
.btn.lg { font-size: 1rem; padding: 16px 32px 17px; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 2rem; }

/* ---------- hero ---------- */

.hero { text-align: center; padding: clamp(34px, 6vw, 64px) 0 0; }
.hero-icon {
  width: 76px; height: 76px; border-radius: 19px; display: block; margin: 0 auto 22px;
  box-shadow: 0 20px 36px -20px rgba(20, 32, 74, 0.6);
}
.hero h1 { max-width: 16ch; margin: 14px auto 0; }
.hero .lede { max-width: 52ch; margin: 20px auto 0; }
.hero .cta-row { justify-content: center; }
.hero-note { margin-top: 14px; font-size: 0.86rem; color: var(--slate-soft); }

.stage {
  position: relative; margin-top: clamp(26px, 4vw, 40px);
  height: clamp(300px, 42vw, 400px);
  display: flex; justify-content: center;
  overflow: hidden;
}
.stage::after {
  content: ""; position: absolute; left: -10vw; right: -10vw; bottom: 0;
  height: 130px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(233, 237, 250, 0), var(--paper) 84%);
}
.glow {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: min(560px, 92vw); height: 300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(206, 232, 252, 0.95), rgba(206, 232, 252, 0));
}
.phone {
  position: relative; background: var(--card);
  border-radius: 36px; padding: 9px;
  box-shadow: 0 34px 64px -32px rgba(20, 32, 74, 0.5), 0 2px 6px rgba(20, 32, 74, 0.07);
  width: 100%; max-width: 290px; height: -moz-fit-content; height: fit-content;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--paper); }
.phone.sm { max-width: 256px; border-radius: 32px; }
.phone.sm img { border-radius: 25px; }

/* ---------- feature bands ---------- */

.sec-head { margin-bottom: clamp(22px, 4vw, 34px); }
.sec-head .lede { max-width: 54ch; }

.band {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 46px);
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(26px, 4vw, 48px); align-items: center;
  box-shadow: 0 30px 60px -52px rgba(20, 32, 74, 0.7);
  margin-bottom: 18px;
}
.band.flip .band-media { order: -1; }
.band h2 { margin-top: 14px; }
.band > div > p { margin-top: 14px; font-size: 1rem; }
.band .btn { margin-top: 24px; }
.band-media { display: flex; justify-content: center; }

.tick { display: flex; gap: 9px; align-items: flex-start; margin-top: 11px; font-size: 0.93rem; color: var(--ink-mid); }
.tick i {
  flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--mint); position: relative;
}
.tick i::after {
  content: ""; position: absolute; left: 5px; top: 6px;
  width: 7px; height: 4px; border-left: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- small cards ---------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card {
  background: var(--card-soft); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 24px;
}
.mini-card h3 { font-size: 1.1rem; margin: 14px 0 0.5rem; }
.mini-card p { font-size: 0.93rem; margin: 0; }

/* ---------- trust cards ---------- */

.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tc {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 22px; box-shadow: 0 24px 46px -46px rgba(20, 32, 74, 0.8);
}
.tc h3 { margin: 14px 0 0.45rem; font-size: 1.03rem; }
.tc p { font-size: 0.87rem; line-height: 1.5; margin: 0; }
.ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: var(--sky);
}
.ic.lilac { background: var(--lilac); }
.ic.mint { background: var(--mint); }
.ic.sun { background: var(--sun); }

/* ---------- QR block ---------- */

.qr {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 28px;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 28px); flex-wrap: wrap;
  box-shadow: 0 26px 52px -50px rgba(20, 32, 74, 0.8);
}
.qr img { width: 104px; height: 104px; display: block; border-radius: 10px; }
.qr-text { flex: 1 1 260px; }
.qr-text h3 { font-size: 1.28rem; }
.qr-text p { margin-top: 7px; font-size: 0.92rem; }
.qr-text code { font-family: ui-monospace, Menlo, monospace; font-size: 0.85rem; color: var(--sky-deep); }

/* ---------- plans ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.plan {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 26px; box-shadow: 0 24px 46px -46px rgba(20, 32, 74, 0.8);
}
.plan .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.plan .price {
  font-family: var(--display); font-variation-settings: "wdth" 108; font-weight: 700;
  font-size: 2.2rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1;
}
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan .who { font-size: 0.92rem; margin: 5px 0 0; }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.plan li { padding-left: 24px; position: relative; margin-bottom: 6px; color: var(--ink-mid); }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em;
  width: 11px; height: 6px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}

/* ---------- FAQ (native disclosure, no JS) ---------- */

.faq-list { margin-top: 22px; }
.fi {
  background: var(--card-soft); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 16px 22px; margin-bottom: 10px;
}
.fi summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--display); font-variation-settings: "wdth" 104;
  font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.fi summary::-webkit-details-marker { display: none; }
.fi summary i { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--sky); position: relative; }
.fi summary i::before, .fi summary i::after {
  content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%;
}
.fi summary i::before { width: 10px; height: 1.7px; transform: translate(-50%, -50%); }
.fi summary i::after { width: 1.7px; height: 10px; transform: translate(-50%, -50%); }
.fi[open] summary i::after { display: none; }
.fi p { margin-top: 12px; font-size: 0.95rem; }
.fi p:last-child { margin-bottom: 0; }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 72ch; }
.prose h2 { margin: 2.4em 0 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.12rem; }
.prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.45em; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 9px; height: 7px; border-radius: 2px; background: var(--sky);
}
.prose ol li::marker { color: var(--slate-soft); font-family: var(--display); }
.prose .lede { max-width: 60ch; }

/* ---------- table ---------- */

.tbl-scroll { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.88rem; }
caption { text-align: left; font-size: 0.8rem; color: var(--slate-soft); padding-bottom: 10px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line-soft); }
th {
  font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-soft);
  border-bottom-color: var(--line);
}

/* ---------- support page FAQ + contacts ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
.faq-item h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.faq-item p { font-size: 0.95rem; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 30px; }
.contact dt {
  font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600;
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-soft);
  margin-bottom: 5px;
}
.contact dd { margin: 0; font-size: 0.95rem; color: var(--ink-mid); }

.callout {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(22px, 4vw, 38px); box-shadow: 0 26px 52px -50px rgba(20, 32, 74, 0.8);
}
.callout h2 { margin-bottom: 0.8rem; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 46px); }

/* ---------- contact-sheet strip divider ---------- */

.strip { border: 0; height: 10px; margin: clamp(46px, 6.5vw, 80px) 0; display: flex; align-items: center; gap: 6px; }
.strip::before { content: ""; flex: 1; height: 1px; background: var(--line); }
.strip i { width: 13px; height: 10px; border-radius: 3px; background: var(--sky); display: block; }
.strip i:nth-of-type(2) { background: var(--lilac); }
.strip i:nth-of-type(3) { background: var(--mint); }
.strip.tight { margin: clamp(30px, 4vw, 44px) 0; }

/* ---------- dark footer ---------- */

footer {
  margin-top: clamp(50px, 7vw, 84px);
  background: var(--night);
  color: #96A3C4;
  padding: clamp(32px, 5vw, 46px) 0 34px;
  font-size: 0.87rem; line-height: 1.65;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 26px 34px; }
.foot-grid b { display: block; color: #fff; font-weight: 500; font-family: var(--display); margin-bottom: 4px; }
.foot-col { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
footer a { color: var(--sky); border-bottom-color: rgba(206, 232, 252, 0.25); }
footer a:hover { color: #fff; border-bottom-color: #fff; }
.disclaimer {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid rgba(206, 232, 252, 0.14);
  color: #6E7C9F; font-size: 0.8rem;
}

/* ---------- one scroll reveal, opt-in via JS ---------- */

.anim [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.anim [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  * { animation: none !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navlinks { display: none; }
  .head-right { gap: 0; }
}

@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; }
  .band.flip .band-media { order: 0; }
  .band-media { margin-bottom: 4px; }
  .trio, .duo, .plans, .foot-grid { grid-template-columns: 1fr; }
  .stage { height: auto; overflow: visible; }
  .stage::after { display: none; }
  .phone, .phone.sm { max-width: 280px; }
}

@media (max-width: 560px) {
  .quad { grid-template-columns: 1fr; }
  .qr { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  body { font-size: 15px; }
  .brand i { display: none; }
  .btn, .btn.lg { padding: 13px 20px; font-size: 0.92rem; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
}

/* ---------- inner page heading block ---------- */

.page-head { padding: clamp(28px, 5vw, 54px) 0 0; }
.page-head h1 { max-width: 24ch; }
.page-head .lede { margin-top: 1.3rem; max-width: 54ch; }
