/* SafeCenter - safecentersystem.com
   Corporate SaaS editorial theme. Palette from logo. */

:root {
  --teal-900: #0E4D57;
  --teal-950: #0A3A42;
  --teal-400: #5FB3B3;
  --teal-100: #DCEEEE;
  --teal-50: #EAF4F4;
  --amber: #F2A541;
  --amber-600: #DE8E26;
  --ink: #12272B;
  --ink-soft: #4A5F63;
  --mist: #F3F8F8;
  --line: #DCE7E8;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 39, 43, .06), 0 2px 8px rgba(18, 39, 43, .04);
  --shadow: 0 10px 30px -12px rgba(14, 77, 87, .22), 0 2px 6px rgba(18, 39, 43, .05);
  --shadow-lg: 0 24px 60px -20px rgba(14, 77, 87, .35);
  --f-head: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-body: "Mulish", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-900); text-underline-offset: 3px; }
a:hover { color: var(--amber-600); }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  border-radius: 10px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn .ic { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn-solid { background: var(--teal-900); color: var(--white); box-shadow: 0 8px 20px -8px rgba(14, 77, 87, .6); }
.btn-solid:hover { background: var(--teal-950); color: var(--white); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 165, 65, .8); }
.btn-amber:hover { background: #F5B25C; color: var(--ink); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }

/* ---------- Topbar + header ---------- */
.topbar {
  background: var(--ink); color: #CFE3E3;
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px;
}
.site-header { position: static; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; }
.site-header .brand img { height: 50px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 77, 87, .10) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  padding: 76px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero-copy h1 { max-width: 13ch; }
.hero-sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-date { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.hero-date .ic { width: 18px; height: 18px; color: var(--teal-400); }

.hero-media { position: relative; padding: 0 0 34px 34px; }
.hero-media::before {
  content: ""; position: absolute; right: -18px; top: -18px; width: 46%; height: 52%;
  border: 2px solid var(--teal-400); border-radius: 0 var(--radius-lg) 0 0; opacity: .55;
  border-left: 0; border-bottom: 0;
}
.hero-frame {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 90px;
  aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg);
  background: var(--teal-900);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 30%; display: block; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 58, 66, .28) 0%, rgba(10, 58, 66, 0) 38%);
}
.hero-note {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  max-width: 330px; padding: 16px 20px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-note p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink); font-weight: 600; }
.note-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #FDF0DD; color: var(--amber-600); flex: none; }

/* ---------- Article ---------- */
.article { padding: 88px 0 40px; }
.article .band { max-width: 760px; margin: 0 auto 64px; }
.article h2 { margin-top: 1.5em; }
.article .band > h2:first-child, .article .col > h2:first-child { margin-top: 0; }
.article p { color: #263C40; }
.lead { font-size: 1.24rem; line-height: 1.65; color: var(--ink) !important; }
.lead::first-letter {
  float: left; font-family: var(--f-head); font-weight: 800;
  font-size: 4.4em; line-height: .82; margin: .08em .12em 0 0;
  color: var(--teal-900);
  padding: .08em .14em .06em; background: var(--teal-50); border-radius: 12px;
}

.band-two {
  max-width: 1080px !important;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  padding: 48px; border-radius: var(--radius-lg);
  background: var(--mist); border: 1px solid var(--line);
}
.band-two h2 { font-size: 1.5rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding: 12px 14px 12px 44px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--teal-400);
  box-shadow: inset 0 0 0 4px var(--teal-100);
}
.art-fig { margin: 8px 0 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16 / 9; background: var(--teal-900); }
.art-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.art-wide { margin: 34px 0 30px; position: relative; }
.art-wide .frame { border-radius: var(--radius-lg) var(--radius-lg) 70px var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--teal-950); box-shadow: var(--shadow); }
.art-wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
.art-wide figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .92rem; color: var(--ink-soft); }
.art-wide figcaption::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--amber); flex: none; }

.pull {
  margin: 36px 0; padding: 8px 0 8px 28px;
  border-left: 4px solid var(--amber);
}
.pull p { font-family: var(--f-head); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 600; color: var(--teal-900) !important; margin: 0; letter-spacing: -.01em; }

.band-tips { max-width: 1080px !important; }
.band-tips > h2, .band-tips > .band-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.band-intro { color: var(--ink-soft) !important; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.tip {
  position: relative; overflow: hidden;
  padding: 28px 26px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal-400);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tip:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tip h3 { margin-bottom: .4em; }
.tip p { font-size: .98rem; margin: 0; color: var(--ink-soft) !important; }
.tip-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-900); margin-bottom: 16px; }
.tip-wm { position: absolute; right: -18px; top: -14px; width: 110px; height: 110px; fill: none; stroke: var(--teal-400); stroke-width: 1.2; opacity: .12; }

.band-close { margin-bottom: 20px !important; }

/* ---------- Generic section ---------- */
.sec { padding: 96px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.sec-head h2 { margin-bottom: .35em; }
.sec-head p { color: var(--ink-soft); margin: 0; font-size: 1.06rem; }

/* ---------- Features: bento ---------- */
.features { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 22px; }
.tile {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile p { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.tile-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-900); margin-bottom: 18px; }
.tile-wm { position: absolute; right: -22px; bottom: -22px; width: 120px; height: 120px; fill: none; stroke: var(--teal-400); stroke-width: 1.1; opacity: .13; }
.tile-lg {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px; background: var(--teal-900); border-color: var(--teal-900);
  background-image: radial-gradient(circle at 85% 15%, rgba(95, 179, 179, .35), transparent 55%);
}
.tile-lg h3 { color: var(--white); font-size: 1.8rem; letter-spacing: -.02em; }
.tile-lg p { color: #CFE5E5; font-size: 1.08rem; max-width: 30rem; }
.tile-lg .tile-ic { width: 58px; height: 58px; background: var(--amber); color: var(--ink); margin-bottom: auto; }
.tile-lg .tile-ic .ic { width: 26px; height: 26px; }
.tile-lg .tile-wm { width: 300px; height: 300px; right: -50px; bottom: auto; top: -40px; stroke: var(--white); opacity: .08; }
.tile-lg .tile-note { margin-top: 18px; display: inline-block; align-self: flex-start; font-size: .86rem; font-weight: 700; color: var(--amber); padding: 6px 12px; border-radius: 999px; background: rgba(242, 165, 65, .12); }

/* ---------- Reviews ---------- */
.rev-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.rev-panel {
  position: relative; overflow: hidden;
  padding: 40px 36px; border-radius: var(--radius-lg);
  background: var(--mist); border: 1px solid var(--line);
}
.rev-panel h2 { margin-bottom: .6em; }
.rev-verdict { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; color: var(--teal-900); margin: 14px 0 10px; }
.rev-sum { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.rev-wm { position: absolute; right: -10px; bottom: -20px; width: 150px; height: 150px; fill: var(--teal-400); opacity: .1; }
.stars { display: inline-flex; gap: 3px; color: var(--amber); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars svg.dim { color: var(--line); }
.stars-lg svg { width: 26px; height: 26px; }
.rev-list { display: grid; gap: 16px; }
.rev {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rev:hover { border-color: var(--teal-400); box-shadow: var(--shadow); }
.rev h3 { margin: 6px 0 4px; font-size: 1.05rem; }
.rev p { margin: 0 0 6px; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.who { font-size: .85rem; font-weight: 700; color: var(--teal-900); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-900); }
.avatar.sm { width: 40px; height: 40px; }
.avatar.sm .ic { width: 18px; height: 18px; }

/* ---------- Installation: horizontal timeline ---------- */
.install { background: linear-gradient(180deg, var(--white), var(--mist)); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-400) 0 10px, transparent 10px 18px);
}
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.node {
  position: relative; z-index: 1;
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--teal-900);
  border: 2px solid var(--teal-400); box-shadow: 0 0 0 8px var(--mist), var(--shadow-sm);
  transition: background-color .2s ease, color .2s ease;
}
.node .ic { width: 26px; height: 26px; }
.timeline li:hover .node { background: var(--teal-900); color: var(--white); }
.timeline li:last-child .node { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.timeline h3 { font-size: 1.05rem; margin-bottom: .35em; }
.timeline p { font-size: .95rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Pricing: comparison table ---------- */
.table-wrap { max-width: 920px; margin: 0 auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody th, .compare tfoot th { text-align: left; font-weight: 600; font-family: var(--f-body); font-size: .98rem; color: var(--ink); }
.compare thead th { font-family: var(--f-head); font-size: 1.1rem; padding: 22px; color: var(--ink); }
.compare thead .feat-col { text-align: left; color: var(--ink-soft); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.compare .pro { background: var(--teal-50); width: 26%; }
.compare thead .pro { background: var(--teal-900); color: var(--white); border-radius: 0 var(--radius-lg) 0 0; }
.compare tfoot .pro { border-bottom-right-radius: var(--radius-lg); }
.compare thead th:not(.pro) { width: auto; }
.compare tbody tr:hover th, .compare tbody tr:hover td:not(.pro) { background: #FAFCFC; }
.compare tr > :nth-child(2) { width: 18%; }
.mk { width: 22px; height: 22px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.mk.yes { stroke: var(--teal-900); }
.compare .pro .mk.yes { stroke: var(--white); background: var(--teal-900); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.mk.no { stroke: #A9BABC; }
.compare tfoot th, .compare tfoot td { border-bottom: 0; padding-top: 22px; padding-bottom: 24px; }
.price { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.price-sub { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-soft); margin-top: 4px; }
.price-cta { text-align: center; margin-top: 36px; }
.fine { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: .85rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.voices { background: var(--mist); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.q {
  position: relative; margin: 0; padding: 30px 28px 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.q:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.q:nth-child(3n+2) { border-bottom: 3px solid var(--amber); }
.q-mark { width: 34px; height: 34px; fill: var(--teal-400); opacity: .45; margin-bottom: 14px; }
.q blockquote { margin: 0 0 22px; font-size: 1.04rem; line-height: 1.6; color: var(--ink); flex: 1; }
.q figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.q figcaption strong { display: block; color: var(--ink); font-family: var(--f-head); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; align-items: start; max-width: 1080px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--teal-400); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 22px;
  font-family: var(--f-head); font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--teal-50); color: var(--teal-900); transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--amber); color: var(--ink); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Bottom CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--teal-900);
  background-image: linear-gradient(115deg, var(--teal-950) 0%, var(--teal-900) 55%, #145F6A 100%);
  padding: 88px 0;
}
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.cta-copy { position: relative; }
.cta-copy h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; max-width: 15ch; position: relative; }
.cta-copy p { color: #CFE5E5; font-size: 1.1rem; margin: 0; position: relative; }
.cta-wm { position: absolute; left: -60px; top: -80px; width: 280px; height: 280px; fill: none; stroke: var(--teal-400); stroke-width: .8; opacity: .18; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .16); }
.cta-badge {
  display: inline-flex; align-items: center; padding: 12px 20px;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18), 0 0 0 3px rgba(242, 165, 65, .55);
  transition: transform .18s ease;
}
.cta-badge:hover { transform: translateY(-2px); }
.cta-badge img { height: 26px; width: auto; }
.disclaimer { font-size: .8rem; line-height: 1.6; color: #A9CACA; margin: 0; }
.disclaimer a { color: var(--white); }
.disclaimer a:hover { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 48px; padding-bottom: 44px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.foot-brand p { color: var(--ink-soft); font-size: .96rem; margin: 0; max-width: 22rem; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; }
.foot-links a:hover { color: var(--teal-900); text-decoration: underline; }
.foot-id { font-style: normal; font-size: .95rem; color: var(--ink-soft); line-height: 1.9; }
.foot-id strong { color: var(--ink); font-family: var(--f-head); }
.foot-id a { color: var(--teal-900); }
.foot-base { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 24px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Inner pages ---------- */
.page-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(14, 77, 87, .10) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--mist), var(--white));
  padding: 72px 0 56px; border-bottom: 1px solid var(--line);
}
.page-hero .wrap { max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; margin: 0; max-width: 40rem; }
.page-hero .bar { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--amber); margin-bottom: 22px; }
.prose { max-width: 860px; margin: 0 auto; padding: 56px 24px 88px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #263C40; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 8px 0 36px; }
.c-card { padding: 24px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.c-card .tile-ic { margin-bottom: 14px; }
.c-card h3 { font-size: 1rem; margin-bottom: .3em; }
.c-card p { margin: 0; font-size: .96rem; overflow-wrap: anywhere; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .tip, .q, .rev, .node { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 44px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-lg { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .rev-grid { grid-template-columns: 1fr; gap: 28px; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding: 52px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 18ch; }
  .band-two { grid-template-columns: 1fr; gap: 36px; padding: 32px; }
  .tips { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .timeline::before { top: 8px; bottom: 8px; left: 32px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal-400) 0 10px, transparent 10px 18px); }
  .timeline li { display: grid; grid-template-columns: 66px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .timeline li:last-child { padding-bottom: 0; }
  .node { margin: 0; grid-row: span 2; }
  .timeline h3 { align-self: end; margin-top: 8px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-side { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .header-row { min-height: 72px; }
  .site-header .brand img { height: 40px; }
  .site-header .btn-sm { padding: 0 14px; font-size: .9rem; }
  .site-header .btn-sm .ic { display: none; }
  .hero-sub { font-size: 1.06rem; }
  .hero-actions .btn { width: 100%; }
  .hero-media { padding: 0 0 46px 0; }
  .hero-media::before { display: none; }
  .hero-frame { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 56px; }
  .hero-note { left: 16px; right: 16px; max-width: none; padding: 14px 16px; }
  .article { padding: 56px 0 24px; }
  .article .band { margin-bottom: 48px; }
  .lead { font-size: 1.1rem; }
  .band-two { padding: 24px 18px; margin-left: -4px; margin-right: -4px; }
  .sec { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .bento { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; padding: 30px 26px; min-height: 300px; }
  .tile-lg h3 { font-size: 1.5rem; }
  .rev-panel { padding: 30px 24px; }
  .rev { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .quotes { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 13px 10px; }
  .compare thead th { padding: 16px 8px; font-size: 1rem; }
  .compare thead .feat-col { font-size: .75rem; letter-spacing: .04em; }
  .compare tbody th, .compare tfoot th { font-size: .9rem; line-height: 1.4; }
  .compare .pro { width: 30%; }
  .compare tr > :nth-child(2) { width: 18%; }
  .price { font-size: 1.3rem; }
  .price-sub { font-size: .74rem; }
  .price-cta .btn, .cta-side .btn { width: 100%; }
  .cta { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Contact form ---------- */
.form-shell { position: relative; margin: 8px 0 12px; padding: 40px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 60px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 4px solid var(--teal-900); }
.form-head h2 { margin-top: 0 !important; }
.form-head p { color: var(--ink-soft) !important; margin-bottom: 26px; }
.c-form { display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: grid; gap: 7px; }
.f-field label { font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.f-field .opt { font-weight: 500; color: var(--ink-soft); font-size: .85rem; }
.f-field input, .f-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--mist); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.f-field textarea { resize: vertical; min-height: 140px; }
.f-field input:focus, .f-field textarea:focus { outline: none; background: var(--white); border-color: var(--teal-400); box-shadow: 0 0 0 4px var(--teal-100); }
.f-check { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.f-check input { width: 22px; height: 22px; accent-color: var(--teal-900); flex: none; margin: 0; }
.f-check label { font-size: .98rem; color: #263C40; }
.c-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-family: var(--f-head); font-weight: 700; }
.c-form .btn .ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-thanks { text-align: center; padding: 36px 12px 20px; outline: none; }
.f-thanks[hidden] { display: none; }
.f-thanks-ic { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); box-shadow: inset 0 0 0 2px var(--teal-400); }
.f-thanks-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--teal-900); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.f-thanks h3 { font-size: 1.5rem; margin-bottom: .3em; color: var(--teal-900); }
.f-thanks p { color: var(--ink-soft) !important; margin: 0; }
@media (max-width: 640px) {
  .form-shell { padding: 26px 18px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 36px; }
  .f-row { grid-template-columns: 1fr; }
  .c-form .btn { width: 100%; justify-self: stretch; }
}

/* r3 reviews */
.rev-q { margin: 6px 0 8px; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.rev .rev-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 4px; }
.rev-date { font-size: .85rem; color: var(--ink-soft); }
.rev-src { display: inline-block; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.rev-all { margin: 20px 0 0; font-size: .95rem; }
.rev-all a { color: var(--teal-900); font-weight: 600; }
/* end r3 reviews */

/* ===== r4 header + footer (corporate SaaS) ===== */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
#article,#features,#install,#reviews,#pricing,#faq{scroll-margin-top:24px}

.topbar.sc-util{background:var(--teal-900);color:#D3EAEA;text-align:left;letter-spacing:0;text-transform:none;font-weight:500;font-size:.8rem;padding:0}
.sc-util__row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px}
.sc-util__ad{display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;font-size:.7rem;color:#fff}
.sc-util .ic{width:14px;height:14px;color:var(--amber)}
.sc-util__contact{display:flex;align-items:center;gap:6px}
.sc-util__contact a{display:inline-flex;align-items:center;gap:7px;color:#D3EAEA;text-decoration:none;min-height:38px;padding:0 10px;border-left:1px solid rgba(255,255,255,.14)}
.sc-util__contact a:first-child{border-left:0}
.sc-util__contact a:hover{color:#fff}
.sc-head{position:static;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 10px 30px -26px rgba(14,77,87,.55)}
.sc-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:28px;min-height:86px}
.sc-head .brand img{height:50px;width:auto}
.sc-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:clamp(16px,2.2vw,30px)}
.sc-nav ul a{position:relative;display:inline-flex;align-items:center;min-height:44px;font-family:var(--f-head);font-weight:600;font-size:.95rem;color:var(--ink);text-decoration:none;white-space:nowrap;transition:color .2s ease}
.sc-nav ul a::after{content:"";position:absolute;left:0;right:0;bottom:7px;height:2px;border-radius:2px;background:var(--amber);transform:scaleX(0);transform-origin:left center;transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.sc-nav ul a:hover,.sc-nav ul a:focus-visible{color:var(--teal-900)}
.sc-nav ul a:hover::after,.sc-nav ul a:focus-visible::after{transform:scaleX(1)}
.sc-pill{justify-self:end;min-height:46px;padding:0 22px;border-radius:999px;font-size:.95rem}
.sc-pill .ic,.sc-nav__cta .ic{width:17px;height:17px}
.sc-nav__cta,.sc-burger{display:none}
@media (max-width:1140px) and (min-width:861px){
  .sc-bar{grid-template-columns:auto 1fr auto;column-gap:20px}
  .sc-nav ul{justify-content:center;gap:16px}
  .sc-nav ul a{font-size:.88rem}
  .sc-head .brand img{height:44px}
}
@media (max-width:860px){
  .sc-bar{grid-template-columns:1fr auto auto;column-gap:10px;min-height:72px}
  .sc-head .brand img{height:44px}
  .sc-burger{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:48px;height:48px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:background .2s ease,border-color .2s ease}
  .sc-burger span{display:block;width:20px;height:2px;border-radius:2px;background:var(--teal-900);transition:transform .25s ease,opacity .2s ease}
  .sc-burger:hover{border-color:var(--teal-400)}
  .sc-head.is-open .sc-burger{background:var(--teal-50);border-color:var(--teal-400)}
  .sc-head.is-open .sc-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .sc-head.is-open .sc-burger span:nth-child(2){opacity:0}
  .sc-head.is-open .sc-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .sc-burger:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
  .sc-nav{grid-column:1/-1;grid-row:2;max-height:0;overflow:hidden;visibility:hidden;transition:max-height .35s ease,visibility 0s linear .35s}
  .sc-head.is-open .sc-nav{max-height:640px;visibility:visible;transition:max-height .4s ease}
  .sc-nav ul{flex-direction:column;align-items:stretch;gap:0;padding:6px 0 0;border-top:1px solid var(--line)}
  .sc-nav ul a{display:flex;justify-content:space-between;min-height:52px;font-size:1.02rem;border-bottom:1px solid var(--line)}
  .sc-nav ul a::after{content:"\203A";position:static;height:auto;background:none;transform:none;color:var(--amber-600);font-size:1.4rem;line-height:1}
  .sc-nav__cta{display:flex;width:100%;margin:16px 0 20px;border-radius:999px}
}
@media (max-width:560px){
  .sc-pill{display:none}
  .sc-bar{grid-template-columns:1fr auto}
  .sc-util__row{min-height:44px}
  .sc-util__contact a{min-height:44px;min-width:44px;justify-content:center;padding:0 8px}
  .sc-util__contact a span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .sc-util .ic{width:16px;height:16px}
}
/* footer */
.sc-foot{background:var(--mist);border-top:1px solid var(--line);padding:64px 0 0}
.sc-foot__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.25fr;gap:44px;padding-bottom:48px}
.sc-foot__h{margin:0 0 14px;font-family:var(--f-head);font-weight:700;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-900);display:flex;align-items:center;gap:10px}
.sc-foot__h::after{content:"";flex:0 0 22px;height:2px;border-radius:2px;background:var(--amber)}
.sc-qlinks{list-style:none;margin:0;padding:0;display:grid;gap:0}
.sc-qlinks a{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem;transition:color .2s ease,transform .2s ease}
.sc-qlinks .ic{width:15px;height:15px;color:var(--amber-600);transition:transform .2s ease}
.sc-qlinks a:hover{color:var(--teal-900)}
.sc-qlinks a:hover .ic{transform:translateX(3px)}
.sc-foot .foot-id{line-height:1.9}
@media (max-width:980px){.sc-foot__grid{grid-template-columns:1fr 1fr;gap:36px}.sc-foot .foot-brand{grid-column:1/-1}}
@media (max-width:560px){.sc-foot{padding-top:48px}.sc-foot__grid{gap:28px 20px}.sc-foot__grid > :last-child{grid-column:1/-1}.sc-qlinks a{min-height:44px}}
