/* EasiKeeper company website. One stylesheet for every page.
   Text colours on light backgrounds use --blue-text / --ink-soft, which keep
   WCAG AA contrast; --blue is decorative (ticks, borders) only. */
:root {
  --navy: #10192d;
  --navy-2: #1d2452;
  --ink: #11292e;
  --ink-soft: #536b68;
  --paper: #f7faf8;
  --blue: #1687ef;
  --blue-text: #0b63c2;
  --button: #0d6fd6;
  --button-hover: #0b5cb3;
  --teal: #44ddb0;
  --line: #dce5df;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
[id] { scroll-margin-top: 90px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.skip { position: absolute; top: -100px; left: 12px; background: #fff; padding: 12px; z-index: 20; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 250, 248, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.top-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.brand-icon { display: block; flex: none; width: 38px; height: 38px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 650; }
.nav a { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #135a9a; }
/* The current page is marked by more than colour (WCAG 1.4.1). */
.nav a[aria-current="page"], .footer-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-login { padding-left: 24px; border-left: 1px solid var(--line); }
.menu { display: none; border: 0; background: transparent; font-size: 1.5rem; line-height: 1; padding: 8px; color: var(--ink); cursor: pointer; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 12px; background: var(--button); color: #fff; font-weight: 800; border: 1px solid var(--button); white-space: nowrap; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--button-hover); }
.btn.dark { background: var(--navy); border-color: var(--navy); }
.btn.dark:hover { background: #24434a; }
.text-link { font-weight: 750; color: #fff; border-bottom: 1px solid #8aa19b; padding: 10px 0; }
.text-link:hover { color: #5cb0ff; }

/* Hero */
.hero { background: linear-gradient(145deg, var(--navy), #1c1b4d); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; min-height: 600px; padding: 82px 0; }
.hero-grid > * { min-width: 0; }
.eyebrow { margin: 0; font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.hero h1 { font-size: clamp(3.1rem, 5.8vw, 5.6rem); line-height: 1.02; letter-spacing: -.072em; margin: 18px 0 24px; max-width: 650px; }
.hero h1 em { color: var(--teal); font-style: normal; }
.lead { font-size: 1.16rem; line-height: 1.65; color: #cbd9d5; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 34px; }
.home-hero { min-height: min(720px, 85svh); display: flex; align-items: center; background: radial-gradient(circle at 85% 20%, #184a68 0%, transparent 33%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.home-hero-inner { padding: 105px 0 120px; }
.home-hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); line-height: .99; letter-spacing: -.075em; max-width: 940px; margin: 20px 0 30px; }
.home-hero .lead { max-width: 690px; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.real-scene { margin: 0; padding: 12px 0 20px; min-width: 0; }
.real-screen { border: 8px solid #29355a; border-radius: 18px; overflow: hidden; box-shadow: 0 35px 70px #070d25a8; background: #fff; transform: rotate(-2deg); }
.real-screen img { display: block; width: 100%; height: auto; }
.scene-caption { font-size: .8rem; color: #a7bbc6; margin-top: 25px; }

/* Sections */
.section { padding: 112px 0; }
.section-label { display: block; margin: 0; font-size: .8rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-text); }
.section h2 { font-size: clamp(2.2rem, 4vw, 3.55rem); letter-spacing: -.06em; line-height: 1.1; margin: 14px 0 16px; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; max-width: 660px; }
.home-intro .wrap { max-width: 850px; }
.home-more { display: inline-flex; margin-top: 24px; min-height: 48px; align-items: center; gap: 12px; color: #135a9a; font-weight: 800; border-bottom: 2px solid var(--blue); }
.band { background: #eef2ff; }
.section.alt { background: #f3f6fb; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; align-items: center; }
.split > * { min-width: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.card { background: #fff; border: 1px solid #e2eae4; border-radius: 20px; padding: 32px; min-height: 260px; box-shadow: 0 12px 28px #17332a08; }
.card .num { font-size: .8rem; color: var(--blue-text); font-weight: 900; }
.card h3 { font-size: 1.4rem; letter-spacing: -.035em; margin: 25px 0 12px; }
.card p { color: #586d69; line-height: 1.65; margin: 0; }

.bullets { padding: 0; list-style: none; margin: 28px 0 0; }
.bullets li { padding: 10px 0 10px 28px; position: relative; font-weight: 650; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); }

/* Screenshots */
.actual-shot, .wide-shot, .technician-shot, .flow-grid figure { background: #fff; border: 1px solid #d9e1ed; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 45px #17245320; }
.actual-shot img, .wide-shot img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; }
.actual-shot { max-height: 520px; }
.proof { margin-top: 75px; }
.proof h3, .flow-heading h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.045em; margin: 10px 0; }
.flow-heading h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.proof p:not(.section-label), .flow-heading p:not(.section-label) { color: var(--ink-soft); line-height: 1.6; }
.wide-shot { margin-top: 25px; max-height: 490px; }
.technician-shot { position: relative; margin: 0; }
.technician-shot img { display: block; width: 100%; height: 410px; object-fit: cover; object-position: 43% top; }
.technician-shot figcaption { display: block; font-size: .83rem; font-weight: 750; padding: 15px 18px; color: #455c71; }
.technician-flow { margin-top: 76px; }
.flow-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 25px; }
.flow-grid figure { margin: 0; border-radius: 16px; box-shadow: 0 10px 24px #17245310; }
.flow-grid img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: top left; }
.flow-grid figcaption { padding: 16px; font-weight: 750; font-size: .9rem; }

/* Audience */
.audience { background: var(--navy); color: #fff; }
.audience .section-label { color: var(--teal); }
.audience .section-intro { color: #bdd0ca; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.audience-grid li { border: 1px solid #465174; border-radius: 12px; padding: 20px; font-weight: 700; }

/* Call to action */
.cta { padding: 100px 0; background: #d9e4ff; }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.cta-action { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 10px; }
.cta-note { margin: 0; font-size: .9rem; color: #2c3e57; }
.cta-note a { text-decoration: underline; text-underline-offset: 3px; }
/* The blue ring is 2.9:1 on this band; navy is 13.7:1 (WCAG 1.4.11). */
.cta :focus-visible { outline-color: var(--navy); }
.cta h2 { font-size: clamp(2.4rem, 4.8vw, 4.3rem); letter-spacing: -.065em; line-height: 1.06; margin: 0; max-width: 690px; }
.cta p { font-size: 1.1rem; line-height: 1.6; max-width: 590px; }

/* Policy pages */
.policy { max-width: 800px; padding: 64px 0 90px; line-height: 1.75; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.1; letter-spacing: -.05em; margin: 0 0 8px; }
.policy h2 { font-size: 1.4rem; line-height: 1.3; margin: 36px 0 12px; }
.policy a { text-decoration: underline; text-underline-offset: 3px; }
.policy .updated { font-size: .9rem; color: var(--ink-soft); }
.policy ul { padding-left: 1.2em; }

/* Not found */
.not-found { padding: 120px 0; }
.not-found .hero-actions { margin-top: 24px; }

/* Footer */
.footer { background: var(--navy); color: #d5e0dc; padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand img { display: block; width: 200px; height: auto; }
.company-info { margin: 0; padding: 0 0 8px; font-size: 1rem; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .9rem; }
.footer a:hover { color: var(--teal); }
.company-info a, .footer-links a { text-decoration: underline; text-decoration-color: #465174; text-underline-offset: 4px; }

/* Scroll reveal. Only with JS (site.js sets .js), so nothing stays hidden
   without it, and never for visitors who asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s, transform .55s; }
  .js .reveal.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* The folded header. site.js sets .nav-folded below 1120px and whenever the
   full header would not fit (larger text, text-spacing tools, wide fonts).
   The panel hangs off the sticky .top, so it spans the full width. */
.nav-folded .menu { display: block; }
.nav-folded .top .btn { display: none; }
.nav-folded .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 66px); overflow-y: auto; background: var(--paper); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 30px #10192d14; }
.nav-folded .nav.open { display: flex; }
.nav-folded .nav a { padding: 14px 12px; }
.nav-folded .nav-login { padding-left: 12px; border-left: 0; border-top: 1px solid var(--line); margin-top: 6px; }
/* Without JS the links wrap under the brand, and the taller header stops
   being sticky so it never covers what an anchor scrolls to. */
@media (max-width: 1120px) {
  html:not(.js) .top { position: static; }
  html:not(.js) .top-inner { height: auto; flex-wrap: wrap; padding: 14px 0; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 8px 18px; }
}
@media (max-width: 850px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding: 65px 0 85px; gap: 35px; }
  .real-scene { max-width: 650px; }
  .real-screen { transform: none; }
  .split { gap: 38px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-action { align-items: flex-start; text-align: left; }
  .actual-shot { max-height: 450px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid figure:first-child { grid-column: span 2; }
  .technician-shot img { height: 350px; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .top-inner { height: 66px; gap: 12px; }
  .brand { min-width: 0; font-size: 1.2rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); letter-spacing: -.06em; overflow-wrap: break-word; }
  .hero-grid { padding: 55px 0 80px; }
  .lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; justify-items: start; }
  .hero-actions .btn { white-space: normal; text-align: center; max-width: 100%; }
  .home-hero { min-height: auto; }
  .home-hero-inner { padding: 72px 0 90px; }
  .home-hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .home-hero .lead { font-size: 1.05rem; }
  .home-hero .hero-actions .btn { width: 100%; padding: 12px 18px; }
  .home-intro { padding: 72px 0; }
  .section { padding: 80px 0; }
  .section h2, .cta h2 { overflow-wrap: break-word; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .audience-grid li { padding: 13px; font-size: .85rem; }
  .real-screen { border-width: 4px; border-radius: 10px; }
  .proof { margin-top: 50px; }
  .wide-shot { max-height: none; }
  .actual-shot { max-height: 380px; }
  .technician-shot img { height: auto; object-fit: contain; }
  .technician-flow { margin-top: 50px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid figure:first-child { grid-column: auto; }
  .flow-grid img { height: 210px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
