:root {
  --ink: #15181d;
  --muted: #5b6472;
  --muted-2: #8993a3;
  --paper: #ffffff;
  --paper-soft: #f6f7f8;
  --paper-soft-2: #eef0f2;
  --line: #e4e7eb;
  --brand: #10564a;
  --brand-dark: #0b3f37;
  --brand-tint: #eaf4f1;
  --accent: #b9793b;
  --accent-tint: #fbf1e6;
  --bad: #b3432f;
  --bad-tint: #fbece8;
  --good: #1f7a5c;
  --good-tint: #e9f6f0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(21,24,29,.04), 0 8px 24px rgba(21,24,29,.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Armenian", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 800; margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); text-align: center; }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--brand-dark); text-decoration: none; }
ul { margin: 0; padding: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* nav */
.nav { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 30px; flex: 1; justify-content: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-login { font-weight: 600; color: var(--ink); font-size: .95rem; }
.nav-login:hover { color: var(--brand); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* buttons */
.btn { display: inline-block; padding: .68em 1.35em; border-radius: 9px; font-weight: 700;
  border: 1.5px solid transparent; cursor: pointer; font-size: .92rem; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: .85em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }

/* generic sections */
section { padding: 88px 0; }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: -0.4em auto 2.6em; font-size: 1.05rem; }
.transition-line { text-align: center; font-weight: 700; color: var(--brand-dark); margin-top: 2em; font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 700; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: .6em; }

/* page hero (sub-pages) */
.page-hero { padding: 64px 0 20px; text-align: center; }
.page-hero-narrow { text-align: left; }
.page-hero .lead, .page-hero-narrow .lead { color: var(--muted); font-size: 1.1rem; }
.page-hero h1 { max-width: 760px; margin: 0 auto .4em; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }

/* hero */
.hero { background: linear-gradient(180deg, var(--brand-tint), var(--paper) 72%); padding: 68px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 0 1.5em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.5em; }
.trust { color: var(--muted-2); font-size: .88rem; font-weight: 600; }

/* device frame (abstract product mockup, no fabricated data) */
.device-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.device-frame-wide { max-width: 900px; margin: 0 auto; }
.device-frame-narrow { max-width: 340px; margin-left: auto; margin-right: auto; }
.device-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.device-body { padding: 20px; }
.device-body-split { display: flex; gap: 18px; }
.device-sidebar { display: flex; flex-direction: column; gap: 10px; width: 76px; flex-shrink: 0; }
.device-pill { height: 10px; border-radius: 5px; background: var(--paper-soft-2); }
.device-pill-brand { background: var(--brand); opacity: .85; }
.device-main { flex: 1; min-width: 0; }
.device-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.device-cards-2 { grid-template-columns: repeat(2, 1fr); }
.device-card { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.device-card-wide { grid-column: 1 / -1; }
.device-label { font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.device-big { height: 16px; width: 46%; background: var(--paper-soft-2); border-radius: 4px; }
.device-table { display: flex; flex-direction: column; gap: 8px; }
.device-tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.device-tr span { height: 10px; border-radius: 4px; background: var(--paper-soft-2); }
.device-th span { background: var(--line); height: 8px; width: 60%; }
.device-chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 18px; padding: 0 4px; }
.device-chart span { flex: 1; background: var(--brand); opacity: .75; border-radius: 4px 4px 0 0; }
.hero-visual .device-frame { max-width: 460px; margin-left: auto; }

/* problem */
.problem { background: var(--paper-soft); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card-flat { background: var(--paper-soft); }
.card-lg { padding: 30px; }
.card .icon { font-size: 1.6rem; margin-bottom: .5em; }
.card p { color: var(--muted); margin: 0 0 .6em; }
.bullet-list { list-style: none; margin-top: .8em; display: flex; flex-direction: column; gap: 6px; }
.bullet-list li { color: var(--muted); font-size: .9rem; padding-left: 1.2em; position: relative; }
.bullet-list li::before { content: "—"; position: absolute; left: 0; color: var(--brand); }

/* persona sections */
.persona { padding: 76px 0; }
.persona-light { background: var(--paper-soft); }
.persona-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.persona-inner-rev .persona-text { order: 2; }
.persona-text p { color: var(--muted); font-size: 1.02rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 1.2em; }
.check-list li { padding-left: 1.6em; position: relative; color: var(--ink); font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* approval flow */
.flow { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 2em; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 110px; }
.flow-n { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-soft-2); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; }
.flow-step-done .flow-n { background: var(--good); color: #fff; }
.flow-step span:last-child { font-weight: 600; font-size: .92rem; }
.flow-arrow { color: var(--muted-2); font-size: 1.2rem; }

/* reporting */
.reporting { background: var(--paper-soft); }

/* security teaser */
.security-teaser { background: var(--brand-dark); color: #fff; }
.security-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.security-inner h2 { color: #fff; }
.security-inner p { color: #cfe3de; font-size: 1.05rem; }
.security-inner .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.security-inner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* security page */
.security-points .card .icon { font-size: 1.4rem; }

/* implementation */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); margin-top: 2.4em; }
.step { text-align: center; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 14px; }
.step p { color: var(--muted); font-size: .92rem; }

/* before / after */
.before-after { background: var(--paper-soft); }
.ba-col { border-radius: var(--radius); padding: 28px; }
.ba-before { background: var(--bad-tint); }
.ba-after { background: var(--good-tint); }
.ba-col h4 { color: var(--ink); margin-bottom: .9em; }
.ba-before h4 { color: var(--bad); }
.ba-after h4 { color: var(--good); }
.ba-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ba-col li { font-weight: 500; padding-left: 1.3em; position: relative; }
.ba-before li::before { content: "–"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }
.ba-after li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* pricing teaser + pricing page */
.pricing-teaser { text-align: center; }
.pricing-plans { padding-top: 48px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan-highlighted { border-color: var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -12px; right: 20px; background: var(--brand); color: #fff; font-size: .72rem;
  font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan-tagline { color: var(--muted); font-size: .92rem; margin: 0; min-height: 2.6em; }
.plan-card .bullet-list { flex: 1; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 2.4em; font-size: .92rem; }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); margin: .8em 0 0; }

/* final cta */
.final-cta { background: var(--brand-tint); text-align: center; }
.final-cta p { color: var(--muted); max-width: 520px; margin: 0 auto 1.5em; font-size: 1.05rem; }

/* about */
.about-story p { font-size: 1.08rem; color: var(--ink); }

/* demo form / contact-style form */
.demo-form-section { padding-top: 24px; }
.demo-form, .login-redirect { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.demo-form .row, .login-redirect .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form label, .login-redirect label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 16px; color: var(--muted); }
.demo-form input, .demo-form select, .demo-form textarea, .login-redirect input {
  width: 100%; margin-top: 6px; padding: .65em .85em; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .95rem; color: var(--ink);
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus, .login-redirect input:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.demo-form .err { color: var(--bad); font-size: .8rem; font-weight: 600; }
.alert-success { background: var(--good-tint); color: var(--good); padding: 28px; border-radius: var(--radius-lg); text-align: center; }
.alert-success h3 { color: var(--good); }
.alert-lg { padding: 40px; }

/* login page */
.login-input-wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; overflow: hidden; }
.login-input-wrap input { border: none; margin: 0; flex: 1; }
.login-input-wrap input:focus { box-shadow: none; }
.login-input-wrap span { padding: .65em .85em; color: var(--muted); background: var(--paper-soft); font-size: .9rem; }
.login-help { text-align: center; color: var(--muted); margin-top: 1.4em; font-size: .9rem; }

/* footer */
.footer { background: var(--ink); color: #c7ccd3; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: #9aa2ad; margin-top: .8em; font-size: .9rem; }
.footer .logo { color: #fff; }
.footer .logo span { color: #5fcbb3; }
.footer-col h4 { color: #fff; margin-bottom: .9em; }
.footer-col a { display: block; color: #9aa2ad; margin-bottom: .6em; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: .85rem; color: #7f8794; }

/* mobile */
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .persona-inner, .persona-inner-rev { grid-template-columns: 1fr; }
  .persona-inner-rev .persona-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-right { display: none; }
  .burger { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .nav.open .nav-right {
    display: flex; position: absolute; top: calc(64px + 230px); left: 24px; right: 24px;
    flex-direction: column; gap: 10px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .demo-form .row, .login-redirect .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
