/* Evorus Digital — evorusdigital.com
   Brand: Neutral Black C #222323, PMS 7723 C #4fa885. Type: Jost (self-hosted, SIL OFL). */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2") tech("variations"),
       url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/jost-latin-wght-normal.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;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2") tech("variations"),
       url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --black: #222323;
  --green: #4fa885;
  --green-hover: #5db894;
  --green-deep: #35805f;
  --green-bright: #74c7a2;

  --bg: #ffffff;
  --bg-2: #f4f6f5;
  --surface: #ffffff;
  --line: #e2e6e4;
  --line-2: #c9d0cc;
  --text: #222323;
  --text-2: #5c6360;
  --text-3: #858c89;
  --accent-text: var(--green-deep);
  --tint: #e6f3ed;
  --tint-line: #bddccc;

  --dark: #222323;
  --dark-2: #2a2b2b;
  --dark-line: #3b3d3c;
  --on-dark: #f2f3f2;
  --on-dark-2: #b9bfbc;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 70px rgba(0, 0, 0, .38), 0 3px 10px rgba(0, 0, 0, .22);
  --font: "Jost", Futura, "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", system-ui, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191a1a;
    --bg-2: #1f2020;
    --surface: #242525;
    --line: #353736;
    --line-2: #474a49;
    --text: #f0f1f0;
    --text-2: #b4bab7;
    --text-3: #8b918e;
    --accent-text: var(--green-bright);
    --tint: #1f2d27;
    --tint-line: #335b4a;
    --dark: #222323;
    --dark-2: #2b2c2c;
    --dark-line: #3d3f3e;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.8vw, 4.3rem); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: .6em 1em; background: var(--green); color: var(--black); border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.eyebrow {
  margin: 0 0 1em;
  font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.125rem; color: var(--text-2); max-width: 40em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--green); color: var(--black);
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:hover { background: var(--green-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex; align-items: center; gap: .32em;
  --mark-h: 24px;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.brand-mark { height: var(--mark-h); width: auto; margin-top: 1px; }
.brand-digital {
  font-size: calc(var(--mark-h) * 1.5); font-weight: 400; letter-spacing: .005em; line-height: 1;
  color: var(--on-dark-2); transform: translateY(-.02em);
}
.brand:hover .brand-digital { color: var(--on-dark); }

/* ---------- Dark bands ---------- */
.dark {
  background: var(--dark); color: var(--on-dark);
  --text: var(--on-dark); --text-2: var(--on-dark-2); --text-3: #8f9593;
  --line: var(--dark-line); --line-2: #4c4f4e; --surface: var(--dark-2);
  --accent-text: var(--green);
}

/* ---------- Header / hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -14%; right: -16%; width: min(74vw, 820px); aspect-ratio: 1;
  background: url("brand/ring-green.png") center / contain no-repeat;
  opacity: .13;
}
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 10%, rgba(79, 168, 133, .16), transparent 70%);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
}
.nav-links { display: flex; gap: clamp(16px, 2.6vw, 34px); list-style: none; }
.nav-links a { text-decoration: none; color: var(--on-dark-2); font-weight: 500; font-size: 1rem; }
.nav-links a:hover { color: var(--on-dark); }
.nav .btn { white-space: nowrap; }
.only-narrow { display: none; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
}
.hero-copy h1 { max-width: 11em; }
.hero .lead { color: var(--on-dark-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin: 22px 0 0; font-size: .95rem; color: var(--on-dark-2); }
.hero-note strong { color: var(--on-dark); font-weight: 500; }

/* ---------- App mock (decorative) ---------- */
.hero-visual { min-width: 0; }
.app {
  --a-bg: #ffffff; --a-side: #f3f5f4; --a-line: #e1e5e3; --a-text: #222323; --a-text-2: #6a716e; --a-sel: #e4f2eb;
  font-size: clamp(6.5px, 0.98vw, 11px); line-height: 1.35; color: var(--a-text); background: var(--a-bg);
  border-radius: 1em; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-rows: auto auto 1fr; aspect-ratio: 16 / 10.6;
  user-select: none;
}
.app-title { display: flex; align-items: center; gap: .8em; padding: .7em 1.1em; background: var(--a-side); border-bottom: 1px solid var(--a-line); }
.app-dots { display: flex; gap: .45em; }
.app-dots i { width: .95em; height: .95em; border-radius: 50%; background: #d5dad7; }
.app-name { display: flex; align-items: center; gap: .5em; font-weight: 600; }
.app-name img { width: 1.5em; height: 1.5em; }
.app-win { margin-left: auto; color: var(--a-text-2); }
.app-ribbon { display: flex; gap: .35em; padding: .55em 1em; border-bottom: 1px solid var(--a-line); white-space: nowrap; overflow: hidden; }
.rb { padding: .4em .75em; border-radius: .5em; color: var(--a-text); }
.rb-primary { background: var(--green); color: var(--black); font-weight: 600; }
.rb-sp { flex: 1; }
.app-body { display: grid; grid-template-columns: 1.05fr 2.15fr 2.7fr; min-height: 0; }
.app-nav { background: var(--a-side); border-right: 1px solid var(--a-line); padding: .9em 0; overflow: hidden; }
.app-nav h4 { margin: 0 0 .4em; padding: 0 1em; font-size: .85em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--a-text-2); }
.app-nav h4 + h4, .app-nav ul + h4 { margin-top: 1.1em; }
.app-nav ul { list-style: none; }
.app-nav li { display: flex; justify-content: space-between; gap: .5em; padding: .42em 1em; white-space: nowrap; overflow: hidden; }
.app-nav li.on { background: #e6eae8; font-weight: 600; box-shadow: inset .3em 0 0 var(--green); }
.app-nav li b { font-weight: 600; color: var(--green-deep); }
.app-list { border-right: 1px solid var(--a-line); overflow: hidden; }
.app-tabs { display: flex; gap: 1.4em; padding: .8em 1.2em 0; border-bottom: 1px solid var(--a-line); }
.app-tabs span { padding-bottom: .55em; color: var(--a-text-2); }
.app-tabs span.on { color: var(--a-text); font-weight: 600; box-shadow: inset 0 -.25em 0 var(--green); }
.app-group { padding: .8em 1.2em .3em; font-size: .85em; font-weight: 600; color: var(--a-text-2); }
.msg { display: grid; grid-template-columns: auto 1fr auto; gap: .2em .8em; padding: .7em 1.2em; border-bottom: 1px solid var(--a-line); align-items: start; }
.msg.on { background: var(--a-sel); box-shadow: inset .3em 0 0 var(--green); }
.msg .av { grid-row: 1 / 4; width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; font-size: .9em; font-weight: 600; color: #fff; background: #6f8f84; }
.msg .av.b { background: #5b7fa6; } .msg .av.c { background: #a0745e; } .msg .av.d { background: #8a6fa3; } .msg .av.e { background: #4fa885; }
.msg .who { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg.unread .who { font-weight: 700; }
.msg .t { color: var(--a-text-2); font-size: .9em; }
.msg .sub { grid-column: 2 / 4; }
.msg.unread .sub { font-weight: 600; }
.msg .pre { grid-column: 2 / 4; color: var(--a-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-read { padding: 1.3em 1.5em; overflow: hidden; }
.app-read h5 { margin: 0 0 .9em; font-size: 1.35em; font-weight: 600; line-height: 1.2; }
.app-from { display: flex; align-items: center; gap: .8em; margin-bottom: 1.1em; }
.app-from .av { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: #6f8f84; }
.app-from .meta { line-height: 1.3; }
.app-from .meta span { display: block; color: var(--a-text-2); font-size: .9em; }
.app-from .when { margin-left: auto; color: var(--a-text-2); font-size: .9em; }
.app-read p { margin: 0 0 .8em; }
.app-att { display: inline-flex; align-items: center; gap: .6em; margin-top: .4em; padding: .5em .8em; border: 1px solid var(--a-line); border-radius: .6em; background: var(--a-side); }
.app-att i { width: 1.1em; height: 1.4em; border-radius: .2em; background: #d9534f; }
.app-att span { color: var(--a-text-2); }

/* ---------- Facts strip ---------- */
.facts { padding-block: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts strong { display: block; font-weight: 600; font-size: 1.1rem; margin-bottom: .2em; }
.facts span { color: var(--text-2); font-size: .98rem; }

/* ---------- Product ---------- */
.product-title { display: flex; align-items: center; gap: 14px; margin-bottom: .6em; }
.product-title img { width: 44px; height: 44px; border-radius: 10px; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 22px; }
.card svg { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: .45em; }
.card p { color: var(--text-2); font-size: 1rem; margin: 0; }
.also { margin-top: 44px; }
.also h3 { font-size: 1rem; font-weight: 600; color: var(--text-2); margin-bottom: .8em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: .35em .9em; font-size: .95rem; color: var(--text-2); }

/* ---------- Promises ---------- */
.promises { list-style: none; border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.promises .num { font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--green); letter-spacing: .02em; }
.promises h3 { font-size: 1.45rem; margin-bottom: .35em; max-width: 24em; }
.promises p { margin: 0; color: var(--on-dark-2); max-width: 40em; }

/* ---------- Roadmap ---------- */
.roadmap { background: var(--bg-2); border-block: 1px solid var(--line); }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 18px; }
.lane h3 { display: inline-flex; align-items: center; gap: .6em; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.lane h3::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--green); }
.lane.next h3::before { background: transparent; box-shadow: inset 0 0 0 2px var(--green); }
.lane.later h3::before { background: var(--line-2); }
.lane ul { list-style: none; }
.lane li { padding: .55em 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 1rem; }
.lane li strong { color: var(--text); font-weight: 600; }
.roadmap-note { margin-top: 36px; max-width: 48em; color: var(--text-2); }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.company-grid h2 { max-width: 14em; }
.company-grid .lead { margin-top: .4em; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .6em; }
.contact-card p { color: var(--text-2); margin-bottom: .8em; }
.contact-card a.mail { font-weight: 600; color: var(--accent-text); text-decoration: none; font-size: 1.15rem; word-break: break-all; }
.contact-card a.mail:hover { text-decoration: underline; }
.contact-card .ring { width: 64px; margin-bottom: 18px; }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--tint); border-top: 1px solid var(--tint-line); }
.waitlist-inner { max-width: 640px; }
.waitlist h2 { margin-bottom: .4em; }
.waitlist p { color: var(--text-2); }
.form-row { display: flex; gap: 12px; margin-top: 26px; }
.form-row label { flex: 1; }
.form-row input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .85em 1.25em; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--text);
}
.form-row input::placeholder { color: var(--text-3); }
.form-row input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(79, 168, 133, .3); }
.form-small { margin: 14px 0 0; font-size: .92rem; color: var(--text-3); }
.form-small a { color: var(--accent-text); }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { display: none; margin-top: 22px; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid var(--tint-line); background: var(--surface); }
.notice:target, .notice.is-shown { display: block; }
.notice p { margin: 0; color: var(--text); }
.notice.error { border-color: #d9a3a0; }
.notice.error p { color: #a33a35; }
@media (prefers-color-scheme: dark) { .notice.error p { color: #f0a09b; } .notice.error { border-color: #7a3f3b; } }

/* ---------- Footer ---------- */
.footer { padding-block: 48px 36px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-bottom: 28px; border-bottom: 1px solid var(--dark-line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; font-size: .98rem; }
.footer-links a:hover { color: var(--on-dark); }
.footer-legal { padding-top: 24px; font-size: .9rem; color: #8f9593; display: grid; gap: 6px; }
.footer-legal p { margin: 0; }
.footer-legal a { color: inherit; }

/* ---------- Secondary pages ---------- */
.page-head { padding-block: 0 48px; }
.page-head .nav { padding-block: 22px; }
.page-main { padding-block: clamp(48px, 7vw, 96px); min-height: 50vh; }
.prose { max-width: 42em; }
.prose h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: .4em; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text-2); font-size: 1.0625rem; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose a { color: var(--accent-text); }
.prose .updated { font-size: .95rem; color: var(--text-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .app { font-size: clamp(6.5px, 1.45vw, 11px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(2) { border-right: 0; margin-right: 0; }
  .company-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li { border-right: 0; margin-right: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 0; }
  .promises li { grid-template-columns: 1fr; gap: 8px; }
  .form-row { flex-direction: column; }
  .form-row .btn { width: 100%; }
  .brand { --mark-h: 20px; }
  .nav { gap: 16px; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
  .app { font-size: 2.1vw; }
  .hero-visual { margin-inline: calc(var(--gutter) * -0.5); }
}

/* ---------- Coming soon page ---------- */
.splash { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.splash-head { padding-block: 26px; }
.splash-main { display: grid; place-items: center; text-align: center; padding-block: 24px 48px; }
.splash-copy { max-width: 40em; }
.splash-copy h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
.splash-copy .lead { margin-inline: auto; margin-bottom: 1.6em; }
.splash-copy .form-row { max-width: 540px; margin: 0 auto; }
.splash-copy .form-small { max-width: 34em; margin-inline: auto; }
.splash-copy .notice { max-width: 540px; margin-inline: auto; text-align: left; }
.splash-foot { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 6px 28px; padding-block: 24px 30px; font-size: .9rem; color: #8f9593; }
.splash-foot p { margin: 0; }
.splash-foot a { color: inherit; }
.dark .notice { border-color: var(--line-2); }
.dark .notice.error { border-color: #7a3f3b; }
.dark .notice.error p { color: #f0a09b; }
.dark .form-row input:focus { box-shadow: 0 0 0 3px rgba(79, 168, 133, .45); }
