/* aevon.ca, dark system. Rebuilt 2026-09-03 to a pinned reference: full-bleed landscape hero,
   centred headline, numbered how-it-works beside a product shot, a features strip over a large
   screenshot. Dark by design, single theme, so every colour is set explicitly.

   What carried over from the research-backed light version (see memory
   reference_aevon_site_design): category keyword in the Cadre H1, competitor named as a
   question, pricing ahead of the demo, body 17px, real screenshots only, no purple, no logo
   strip of customers we do not have. What changed: the ground. */

:root {
  --bg:        #0C0E0D;
  --bg-2:      #111413;
  --surface:   #161A18;
  --raised:    #1D2220;
  --ink:       #ECEEEA;
  --ink-2:     #B7BDB5;
  --ink-3:     #858C84;   /* 5.4:1 on --bg */
  --line:      rgba(236, 238, 234, 0.09);
  --line-2:    rgba(236, 238, 234, 0.16);
  --accent:    #9DBFA1;   /* the fern from the light site, lifted for a dark ground */
  --accent-2:  #7FA884;
  --on-accent: #0C0E0D;
  --danger:    #E3968A;
  --radius:    6px;
  --radius-lg: 12px;
  --f-display: Manrope, 'Helvetica Neue', Arial, sans-serif;
  --f-body:    Manrope, system-ui, sans-serif;
  --f-mono:    'Martian Mono', ui-monospace, monospace;
  --wrap:      1180px;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.lbl { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.lbl.accent { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---- nav: sits over the hero, no bar ---- */
nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.navr { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.navr a { color: var(--ink-2); text-decoration: none; }
.navr a:hover { color: var(--ink); }
.navr a.btn-primary { color: var(--on-accent); }
.navr a.btn-ghost { color: var(--ink); }
@media (max-width: 820px) { .navr a:not(.btn) { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; transition: background 160ms ease, border-color 160ms ease, color 160ms ease; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--ink); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(12, 14, 13, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-sm { font-size: 14px; padding: 9px 15px; }

/* ---- hero: full bleed, photo, centred ---- */
.hero {
  position: relative; min-height: 640px; display: grid; place-items: center; text-align: center;
  padding: 140px 0 96px; isolation: isolate; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image, none);
  background-size: cover; background-position: center 40%;
  /* placeholder ground until the real photograph lands: layered dusk gradients, no image */
  background-color: #121716;
}
.hero-bg.placeholder {
  background-image:
    radial-gradient(120% 70% at 50% 100%, #1f2a24 0%, rgba(31, 42, 36, 0) 60%),
    radial-gradient(60% 40% at 30% 20%, #3a3532 0%, rgba(58, 53, 50, 0) 70%),
    radial-gradient(50% 35% at 75% 30%, #2b3236 0%, rgba(43, 50, 54, 0) 70%),
    linear-gradient(180deg, #1a1d1f 0%, #14181a 55%, #0c0e0d 100%);
}
.hero-bg::after {
  /* darken the image toward the page ground so the type stays legible and the bottom edge
     dissolves into the body instead of ending on a hard line */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,14,13,.55) 0%, rgba(12,14,13,.38) 40%, rgba(12,14,13,.88) 85%, var(--bg) 100%);
}
.hero .wrap { max-width: 860px; }
.hero .lbl { color: var(--ink-2); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 600; color: var(--ink); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .sub { margin: 20px auto 0; font-size: clamp(17px, 2vw, 19.5px); color: var(--ink-2); max-width: 58ch; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero .verify { margin-top: 26px; font-size: 14px; color: var(--ink-3); max-width: 62ch; margin-left: auto; margin-right: auto; }
.hero .verify b { color: var(--ink-2); font-weight: 600; }

/* ---- strip: the thing that replaces a customer-logo strip ---- */
.strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; align-items: baseline; }
.strip .lbl { width: 100%; text-align: center; margin-bottom: 4px; }
.strip span:not(.lbl) { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink-3); letter-spacing: -0.01em; }

/* ---- sections ---- */
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.sec-head { max-width: 640px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 12px; }
.sec-head .lede { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.pill { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; }

/* how it works: numbered list beside a product shot */
.how { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .how { grid-template-columns: 1fr; gap: 36px; } }
.steps { list-style: none; counter-reset: s; margin-top: 30px; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }

/* product shots: dark chrome around a real capture */
.shot { border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.4); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--raised); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.shot-bar span { margin-left: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.shot img { width: 100%; height: auto; }
.shot.glow { position: relative; }
.shot.glow::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(60% 50% at 50% 60%, rgba(157,191,161,.10), transparent 70%); }

/* features: tab strip then the big screenshot */
.tabs { display: flex; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; background: none; border: 0; color: var(--ink-3); font: 500 14px/1 var(--f-body); padding: 16px 18px; cursor: pointer; text-align: left; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button b { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--ink-3); margin-right: 10px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs button[aria-selected="true"] b { color: var(--accent); }
.tabs button:hover { color: var(--ink); }
.tabpanel { margin-top: 36px; }
.tabpanel[hidden] { display: none; }
.cap, .tabpanel .cap { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }

/* three cards, not rounded blobs: flat, ruled, same ground */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 36px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.grid3 > div { background: var(--bg-2); padding: 26px 24px; }
.grid3 h3 { font-size: 17px; font-weight: 600; }
.grid3 p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }

/* two-column text band */
.two { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 52px; }
@media (max-width: 940px) { .two { grid-template-columns: 1fr; gap: 24px; } }
.two h2 { font-size: clamp(26px, 3vw, 34px); }
.two p { color: var(--ink-2); font-size: 17px; }
.two p + p { margin-top: 14px; }

/* facts table */
.facts { margin-top: 26px; display: grid; border-top: 1px solid var(--line); }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact span:first-child { color: var(--ink-3); }
.fact span:last-child { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--ink); text-align: right; }

/* pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-box { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px 30px 26px; }
.price-num { font-family: var(--f-display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.todo { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--danger); border: 1px dashed var(--danger); border-radius: 4px; padding: 3px 8px; vertical-align: middle; }
.price-list { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.price-list li { padding-left: 22px; position: relative; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--accent); }

/* faq */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; max-width: 70ch; }

/* form */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
label .lbl { display: block; margin-bottom: 7px; }
.opt { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.fld { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); font: 400 16px/1.4 var(--f-body); padding: 12px 14px; }
.fld:focus { outline: none; border-color: var(--accent); }
textarea.fld { resize: vertical; min-height: 110px; }
.done { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); padding: 26px; max-width: 640px; }

/* checkbox chips on the contact form */
.chk { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px 8px 11px; font-size: 14px; color: var(--ink-2); cursor: pointer; background: var(--surface); }
.chk:has(input:checked) { border-color: var(--accent); color: var(--ink); background: rgba(157,191,161,.10); }
.chk input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.chk:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 14.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* prose pages (privacy) */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p, .prose li { color: var(--ink-2); margin-top: 12px; }
.prose ul { padding-left: 20px; }

/* ---- phone ---- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  nav .wrap { height: 64px; }
  .hero { min-height: 0; padding: 112px 0 64px; }
  .hero-bg { background-position: center 30%; }
  /* the sky is the bright part of any landscape and it is exactly where the headline sits on a
     narrow screen, so the overlay is heavier here than on desktop */
  .hero-bg::after { background: linear-gradient(180deg, rgba(12,14,13,.62) 0%, rgba(12,14,13,.55) 45%, rgba(12,14,13,.92) 85%, var(--bg) 100%); }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero .sub { font-size: 16.5px; }
  .hero .cta .btn { flex: 1 1 100%; }
  section { padding: 64px 0; }
  section.tight { padding: 52px 0; }
  .strip { padding: 20px 0; }
  .strip .wrap { gap: 8px 22px; }
  /* tabs stack instead of scrolling off the edge with nothing to say more exist */
  .tabs { flex-wrap: wrap; border-top: 0; }
  .tabs button { flex: 1 1 100%; border-top: 1px solid var(--line); border-bottom: 0; margin-bottom: 0; padding: 14px 4px; white-space: normal; }
  .tabs button[aria-selected="true"] { border-bottom: 0; box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .tabpanel { margin-top: 24px; }
  .steps li { grid-template-columns: 28px 1fr; gap: 12px; }
  .price-box { padding: 24px 20px; }
  .price-num { font-size: 36px; }
  footer .wrap { flex-direction: column; gap: 14px; }
}
