/* SmartGuard.am public site. Brief v1.2: white/light dominant, Navy = structure, Emerald = action. */

@font-face {
    font-family: 'Noto Sans Armenian';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/noto-sans-armenian-armenian.woff2') format('woff2');
    unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}
@font-face {
    font-family: 'Noto Sans Armenian';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/noto-sans-armenian-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #051D41;
    --emerald: #086332;
    --white: #ffffff;
    --light: #f5f7fa;
    --green-tint: #eef6f1;
    --text: #374151;
    --muted: #5b6573;
    --line: #dfe4eb;

    --font: 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
    --radius: 6px;
    --shadow: 0 1px 2px rgba(5, 29, 65, .06), 0 4px 12px rgba(5, 29, 65, .05);
    --max: 1160px;
    --max-narrow: 760px;
    --max-wide: 920px;
}

*, *::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: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-wrap: break-word;
}

h1, h2, h3 { color: var(--navy); line-height: 1.3; margin: 0 0 var(--s4); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 var(--s4); }
a { color: var(--emerald); }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { flex: none; width: 1.25em; height: 1.25em; }

:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 2px; }
.band-navy :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -100px; background: var(--navy); color: #fff; padding: var(--s3) var(--s4); z-index: 100; border-radius: var(--radius); }
.skip-link:focus { top: var(--s4); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s4); }
.narrow { max-width: var(--max-narrow); }
.narrow-wide { max-width: var(--max-wide); }
@media (min-width: 768px) { .container { padding: 0 var(--s6); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s4); }
.logo-link { display: inline-flex; align-items: center; }
.logo-link img { display: block; height: 44px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); cursor: pointer; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: var(--s3) var(--s4) var(--s5); display: none; box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
html:not(.js) .site-nav { display: block; position: static; box-shadow: none; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a { display: block; padding: var(--s3) 0; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--emerald); }
.nav-cta { margin-top: var(--s4); width: 100%; }

@media (min-width: 1440px) {
    .site-header .container { padding: 0 var(--s5); }
    .nav-toggle { display: none; }
    .site-nav, html:not(.js) .site-nav { position: static; display: flex; align-items: center; gap: var(--s5); padding: 0; border: 0; box-shadow: none; background: none; }
    .site-nav ul { flex-direction: row; gap: var(--s3); }
    .site-nav li a { padding: var(--s2) 0; border-bottom: 2px solid transparent; font-size: .875rem; white-space: nowrap; }
    .site-nav li a[aria-current="page"] { border-bottom-color: var(--emerald); }
    .nav-cta { margin: 0; width: auto; white-space: nowrap; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 10px 22px; font: inherit; font-weight: 600; font-size: .9375rem; line-height: 1.3; text-decoration: none; text-align: center; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--green-tint); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.text-link { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Bands */
.band { padding: var(--s8) 0; }
.band-light { background: var(--light); }
.band-green { background: var(--green-tint); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
@media (min-width: 768px) { .band { padding: var(--s9) 0; } }
.section-title { margin-bottom: var(--s6); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: var(--s3); }

/* Hero */
.hero { padding: var(--s8) 0 var(--s7); }
.hero-page { padding: var(--s7) 0 var(--s6); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.hero h1 .h1-en, .hero h1 .h1-am { display: block; }
.hero h1 .h1-am { margin-top: var(--s3); font-size: clamp(1.125rem, 2.4vw, 1.5rem); font-weight: 600; color: var(--muted); }
.lead { font-size: 1.1875rem; color: var(--navy); }
.lead-quote { font-weight: 600; padding-left: var(--s4); border-left: 4px solid var(--emerald); margin-top: var(--s5); }
.lead-brand { font-size: 1.25rem; font-weight: 600; color: var(--emerald); }
.hero-support { max-width: 62ch; }
.hero-art { display: none; }
.hero-art svg { width: 100%; max-width: 360px; height: auto; margin: 0 auto; display: block; }
.ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.ring-mid { stroke: #c9d3e0; }
.ring-inner { stroke: var(--navy); stroke-width: 2; }
.node { fill: var(--emerald); }
.node-num { fill: #fff; font: 700 13px var(--font); }
@media (min-width: 960px) {
    .hero { padding: var(--s9) 0; }
    .hero-grid { grid-template-columns: 1.25fr .75fr; }
    .hero-art { display: block; }
}

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
.audience { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .audience { grid-template-columns: 1fr 1fr; } }
.audience-card { display: flex; flex-direction: column; gap: var(--s2); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.audience-card:hover { border-color: var(--emerald); }
.audience-card h2 { margin-bottom: var(--s2); }
.audience-card p { flex: 1; }
.card-icon { color: var(--emerald); }
.card-icon .icon { width: 32px; height: 32px; }
.card-link { display: inline-flex; align-items: center; gap: var(--s2); color: var(--emerald); font-weight: 600; }

/* Philosophy */
.philosophy blockquote { margin: 0; font-size: clamp(1.25rem, 2.8vw, 1.75rem); line-height: 1.55; font-weight: 600; }
.philosophy blockquote::before { content: ''; display: block; width: 48px; height: 4px; background: #fff; margin-bottom: var(--s5); }

/* Cycle / steps */
.cycle { display: grid; gap: var(--s3); counter-reset: none; }
.cycle li, .steps li { display: flex; align-items: flex-start; gap: var(--s4); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; color: var(--navy); }
.cycle li span:last-child::first-letter { text-transform: uppercase; }
.steps { display: grid; gap: var(--s3); }
.num { flex: none; min-width: 2.25rem; font-weight: 700; color: var(--emerald); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cycle { grid-template-columns: repeat(4, 1fr); } }

.note-box { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s6); padding: var(--s4) var(--s5); background: var(--light); border-left: 4px solid var(--emerald); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.note-box .icon { margin-top: 3px; color: var(--emerald); }
.band-light .note-box { background: #fff; }
.note-plain { margin: 0; color: var(--navy); font-weight: 600; }

.why { display: grid; gap: var(--s4); }
.why li, .principles li, .meta-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.why .icon, .principles .icon, .meta-list .icon { color: var(--emerald); margin-top: 4px; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s7); } }

.trust-inner { display: flex; flex-direction: column; gap: var(--s3); }
.trust-inner p { margin: 0; color: var(--navy); }
.band-light.trust-strip { padding: var(--s7) 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.chips li { padding: var(--s2) var(--s4); background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .9375rem; }

.review { display: flex; flex-direction: column; gap: var(--s5); align-items: flex-start; }
.review h2 { margin: 0; max-width: 40ch; }
@media (min-width: 768px) { .review { flex-direction: row; align-items: center; justify-content: space-between; } }

/* CTA band */
.cta-inner { display: flex; flex-direction: column; gap: var(--s5); align-items: flex-start; }
.cta-inner h2 { margin-bottom: var(--s2); max-width: 36ch; }
.cta-inner p { margin: 0; max-width: 60ch; color: #d6deea; }
@media (min-width: 768px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Services */
.service-level + .service-level { margin-top: var(--s8); }
.level-title { display: flex; align-items: baseline; gap: var(--s3); padding-bottom: var(--s3); margin-bottom: var(--s5); border-bottom: 2px solid var(--navy); }
.roman { color: var(--emerald); }
.service-grid { display: grid; gap: var(--s5); }
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card { display: flex; flex-direction: column; gap: var(--s2); }
.service-card p { margin: 0; }
.service-num { font-size: 1.75rem; font-weight: 700; color: var(--emerald); line-height: 1; margin-bottom: var(--s2); }

/* How we work */
.timeline { display: grid; gap: var(--s5); }
.timeline li { display: flex; gap: var(--s4); position: relative; }
.timeline .num { font-size: 1.5rem; line-height: 1.3; min-width: 3rem; }
.timeline h2 { font-size: 1.1875rem; margin-bottom: var(--s2); }
.timeline p { margin: 0; }
@media (min-width: 768px) { .timeline li { padding: var(--s5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); } }
.quality { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 700; color: var(--navy); padding: var(--s5); background: var(--green-tint); border-radius: var(--radius); margin-bottom: var(--s6); }
.principles { display: grid; gap: var(--s3); font-weight: 600; color: var(--navy); }

/* Insights */
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.category-list li { padding: var(--s4); margin-bottom: var(--s3); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--emerald); border-radius: var(--radius); color: var(--navy); font-weight: 600; }
.meta-list { display: grid; gap: var(--s3); }
.small-note { margin-top: var(--s5); font-size: .9375rem; color: var(--muted); }
.labels { display: grid; gap: var(--s3); margin: 0; }
.label-row { display: grid; gap: var(--s1); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
.labels dt { font-weight: 700; color: var(--navy); }
.labels dd { margin: 0; }
@media (min-width: 768px) { .label-row { grid-template-columns: 260px 1fr; gap: var(--s5); } }

/* About / Contact */
.descriptor { display: grid; gap: var(--s1); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.founder h2 { margin-bottom: var(--s1); }
.founder-role { margin: 0; color: var(--muted); font-weight: 600; }
.founder p:last-child { margin-top: var(--s4); margin-bottom: 0; }
.legal-card { width: 100%; margin-top: var(--s7); border-collapse: collapse; border: 1px solid var(--line); }
.legal-card th, .legal-card td { padding: var(--s3) var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-card th { width: 38%; color: var(--navy); background: var(--light); font-weight: 600; }
@media (max-width: 599px) { .legal-card th, .legal-card td { display: block; width: 100%; } .legal-card td { border-top: 0; } .legal-card th { border-bottom: 0; } }
.contact-list { display: grid; align-content: start; gap: var(--s4); font-size: 1.125rem; }
.contact-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.contact-list .icon { color: var(--emerald); margin-top: 4px; }
.band-light .two-col .note-box { margin-top: 0; }

/* Privacy */
.privacy-sections { counter-reset: sec; display: grid; gap: var(--s4); }
.privacy-sections li { counter-increment: sec; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
.privacy-sections li::before { content: counter(sec, decimal-leading-zero); color: var(--emerald); font-weight: 700; margin-right: var(--s3); float: left; }
.privacy-sections h2 { font-size: 1.0625rem; margin: 0; padding-left: 2.5rem; }
.dev-notice { padding: var(--s4); margin-bottom: var(--s6); background: #fff7e0; border: 1px dashed #b58105; color: #5a4100; font-size: .9375rem; }

/* Footer */
.footer-strip { background: #fff; border-bottom: 1px solid var(--line); margin: calc(var(--s8) * -1) 0 var(--s7); padding: var(--s5) 0; }
.footer-strip-inner { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; }
.footer-strip img { display: block; width: 260px; height: auto; max-width: 100%; }
.footer-strip p { margin: 0; display: grid; gap: 2px; color: var(--navy); font-weight: 600; font-size: .9375rem; }
@media (min-width: 768px) { .footer-strip-inner { flex-direction: row; align-items: center; gap: var(--s6); } }
.site-footer { background: var(--navy); color: #d6deea; padding: var(--s8) 0 var(--s7); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: var(--s6); }
.footer-brand { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: var(--s2); }
.footer-descriptor { margin: 0 0 var(--s1); font-size: .9375rem; }
.footer-contact, .footer-links { display: grid; gap: var(--s3); align-content: start; }
.footer-contact li { display: flex; gap: var(--s3); align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #fff; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr .8fr; gap: var(--s8); } }
