/* sayarhub.com: the public website. Same type and colours as the app (Plus Jakarta Sans, teal). No framework. */
:root {
  --ink: #0b1220; --ink-2: #334155; --ink-3: #5b6577; --line: #e3e8ef; --canvas: #f5f7f6; --white: #fff;
  --brand: #0f766e; --brand-ink: #0b5e58; --brand-soft: #e6f2f0; --brand-glow: rgba(15, 118, 110, .14);
  --radius: 16px; --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 32px -12px rgba(11, 18, 32, .18);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .6); }
.btn--primary:hover { background: var(--brand-ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #c7d0dc; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn svg { width: 18px; height: 18px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo small { font-weight: 600; color: var(--ink-3); font-size: 15px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; background:
  radial-gradient(900px 420px at 85% 10%, var(--brand-glow), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--canvas) 100%); }
.hero::after { /* a road: dashed lane markings running under the screenshots */
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 4px; opacity: .35;
  background: repeating-linear-gradient(90deg, var(--brand) 0 46px, transparent 46px 92px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.hero h1 { margin: 16px 0 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }
.shot { position: relative; }
.frame { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fbfcfc; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe5ec; }
.frame__bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); background: #eef2f5; padding: 2px 12px; border-radius: 6px; }
.phone { position: absolute; width: 31%; right: -3%; bottom: -10%; border-radius: 28px; border: 6px solid var(--ink); background: var(--ink); box-shadow: 0 24px 50px -18px rgba(11, 18, 32, .5); overflow: hidden; }
.phone img { border-radius: 21px; }

/* facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts ul { list-style: none; margin: 0; padding: 22px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* sections */
.sec { padding: 96px 0; }
.sec--tint { background: var(--canvas); }
.sec__head { max-width: 760px; margin-bottom: 48px; }
.sec__head h2 { margin: 12px 0 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split--flip > :first-child { order: 2; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.feat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.feat h3 svg { flex: none; width: 22px; height: 22px; color: var(--brand); }
.feat p { color: var(--ink-2); font-size: 16px; }
.stack { display: grid; gap: 20px; position: sticky; top: 96px; }
.cap { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.shot--b { margin-bottom: 48px; }
.shot--b .phone { width: 34%; right: -2%; bottom: -14%; }

/* three columns: renewals, maintenance, money */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .frame { margin: -8px -8px 0; }

/* dark section: security */
.dark { background: var(--ink); color: #e5ebf2; }
.dark h2 { color: #fff; }
.dark .eyebrow { color: #5eead4; }
.dark .lead { color: #b6c2d1; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; }
.ticks li { position: relative; padding-left: 32px; color: #d3dce7; }
.ticks li b { color: #fff; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(94, 234, 212, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235eead4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* pricing */
.switches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.seg { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.seg button { font: inherit; font-size: 15px; font-weight: 700; border: 0; background: none; color: var(--ink-3); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; }
.plan--featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -24px rgba(15, 118, 110, .55); }
.plan__name { font-size: 22px; }
.plan__tag { color: var(--ink-3); font-size: 15px; margin-top: 4px; min-height: 2.6em; }
.plan__price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__cur { font-weight: 700; color: var(--ink-3); font-size: 15px; }
.plan__per { color: var(--ink-3); font-size: 15px; }
.plan__save { font-size: 13.5px; color: var(--brand); font-weight: 600; }
.plan__list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 9px; font-size: 15.5px; color: var(--ink-2); }
.plan__list li { padding-left: 26px; position: relative; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f766e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.plan__cta { margin-top: auto; }
.plans-note { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }

/* questions */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 500; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* demo form */
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field legend { font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number] { font: inherit; font-size: 16px; height: 48px; padding: 0 14px; border: 1px solid #cfd7e1; border-radius: 11px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid #cfd7e1; border-radius: 11px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.chips input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 22px; }
.form__msg { margin-top: 14px; font-size: 15px; min-height: 1.4em; }
.form__msg.is-error { color: #b42318; }
.form__done { text-align: center; padding: 30px 10px; }
.form__done h3 { font-size: 24px; margin-bottom: 8px; }
.form__small { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.contact { margin-top: 28px; display: grid; gap: 14px; }

/* footer */
.foot { background: var(--ink); color: #9aa7b8; padding: 44px 0; font-size: 14.5px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.foot .logo { color: #fff; }
.foot nav { display: flex; gap: 24px; margin-left: auto; }
.foot a { color: #cbd5e1; }

/* plain pages (privacy, 404) */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.page h2 { font-size: 22px; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }

@media (max-width: 1020px) {
  .hero__grid, .split, .demo { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .stack { position: static; }
  .cols, .plans { grid-template-columns: 1fr; max-width: 560px; }
  .hero::after { bottom: 14px; }
}
@media (max-width: 860px) {
  .nav, .top .btn { display: none; }
  .menu-btn { display: block; }
  .top.is-open .nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .top.is-open .nav a { padding: 12px 0; font-size: 17px; }
  .top.is-open .nav .nav__cta { display: inline-flex; margin-top: 8px; color: #fff; }
}
@media (min-width: 861px) { .nav__cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 68px 0; }
  .hero { padding: 40px 0 28px; }
  .feats, .ticks, .form__grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .phone { border-width: 4px; border-radius: 20px; }
  .phone img { border-radius: 16px; }
  .foot nav { margin-left: 0; }
}
