/* =========================================================================
   Daverion AI — house style
   A calm, neutral identity (deep charcoal-navy + a single teal accent) that
   sits behind the product brands without clashing with any of them.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg:        #0B0F1A;
  --bg-soft:   #0E1422;
  --surface:   #121A2B;
  --border:    rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text:    #E9EDF6;
  --muted:   #9AA6BE;
  --faint:   #6F7B93;

  /* Single house accent — calm teal */
  --accent:      #54C7BE;
  --accent-soft: rgba(84, 199, 190, 0.12);
  --accent-line: rgba(84, 199, 190, 0.35);

  /* Product identity hints (used only as small tags) */
  --trst: #7D8CF6; /* indigo  */
  --brdg: #D8B25A; /* gold    */
  --sgnl: #E6A23C; /* amber   */

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1120px;

  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset,
            0 18px 40px -24px rgba(0, 0, 0, 0.8);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Subtle radial wash so the dark surface doesn't read flat */
  background-image:
    radial-gradient(900px 500px at 78% -8%, rgba(84,199,190,0.08), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(125,140,246,0.06), transparent 55%);
  background-attachment: fixed;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 650; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

.muted { color: var(--muted); }

/* skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--accent);
  color: #04201D;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); font-weight: 600; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(150deg, #1b2740, #0d1322);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--accent); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0;
}
.brand__name { font-size: 1.06rem; }
.brand__name b { font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: var(--muted); padding: 8px 13px; border-radius: 8px;
  font-size: 0.96rem; font-weight: 500;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }
.nav__cta {
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}
.nav__cta:hover { border-color: var(--accent-line); background: var(--accent-soft) !important; }

/* ------------------------------------------------------------------- hero */
.hero { padding: 92px 0 64px; }
.hero__inner { max-width: 820px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { font-size: 1.22rem; color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #042622; }
.btn--primary:hover { background: #6ad6cd; }
.btn--ghost { color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --------------------------------------------------------- generic panels */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* "What we do" three-up */
.feature-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.feature {
  padding: 24px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.feature .num {
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------- product cards */
.products { margin-top: 40px; }
.product-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
.product {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .12s ease, background .2s ease;
  color: var(--text);
}
a.product:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--border-strong); }
.product__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.product__wordmark {
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em;
}
.product__wordmark .v { color: var(--dot, var(--accent)); }
.product__tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px; white-space: nowrap;
}
.product__tagline { font-weight: 600; color: var(--text); margin-bottom: 8px; font-size: 1.02rem; }
.product__desc { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.product__foot {
  margin-top: auto; display: flex; align-items: center; gap: 8px;
  color: var(--dot, var(--accent)); font-weight: 600; font-size: 0.92rem;
}
.product__foot .arrow { transition: transform .2s ease; }
a.product:hover .product__foot .arrow { transform: translateX(4px); }

/* product accent dots */
.product--trst { --dot: var(--trst); }
.product--brdg { --dot: var(--brdg); }
.product--sgnl { --dot: var(--sgnl); }

/* the muted "more on the way" tile */
.product--more {
  border-style: dashed;
  background: transparent;
  align-items: flex-start;
  justify-content: center;
}
.product--more .product__wordmark { color: var(--faint); }
.product--more .product__desc { margin-bottom: 0; }

/* --------------------------------------------------------- about strip */
.about-strip {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.about-strip__card {
  padding: 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(84,199,190,0.10), rgba(125,140,246,0.06));
  border: 1px solid var(--border);
}
.about-strip__card ul { margin: 0; padding-left: 0; list-style: none; }
.about-strip__card li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 9px 0; color: var(--muted); font-size: 0.97rem;
}
.about-strip__card li::before {
  content: ""; flex: none; margin-top: 8px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}

/* --------------------------------------------------------- contact band */
.contact-band {
  text-align: center;
  padding: 56px 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(84,199,190,0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.contact-band h2 { margin-bottom: 12px; }
.contact-band .lead { margin: 0 auto 26px; }
.email-link { font-weight: 600; font-size: 1.05rem; }

/* --------------------------------------------------- prose (legal/about) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; }
.prose .meta {
  display: inline-block; font-size: 0.85rem; color: var(--faint);
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; margin-bottom: 8px;
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

.callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 22px 0;
}
.callout p { margin: 0; color: var(--text); font-size: 0.96rem; }

/* contact detail cards */
.detail-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.detail-card { padding: 22px 22px; }
.detail-card h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 8px; }
.detail-card p { margin: 0; }
.detail-card .big { font-size: 1.08rem; color: var(--text); font-weight: 500; }

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 0 38px;
  margin-top: 24px;
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
}
.footer__brand { max-width: 340px; }
.footer__brand .brand { margin-bottom: 12px; }
.footer__brand p { color: var(--faint); font-size: 0.9rem; margin: 0; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--faint); margin: 0 0 12px; font-weight: 600;
}
.footer__col a, .footer__col span { display: block; color: var(--muted); font-size: 0.94rem; padding: 4px 0; }
.footer__col a:hover { color: var(--text); }
.footer__legal {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  color: var(--faint); font-size: 0.86rem;
}
.footer__legal a { color: var(--faint); }
.footer__legal a:hover { color: var(--muted); }

/* ----------------------------------------------------------------- misc */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

.tag-soonline {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--muted);
}
.tag-soonline::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 26px; }
  .detail-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
  .nav__links a:not(.nav__cta) { display: none; }   /* keep nav lean on phones */
  .nav__links .nav__cta { display: inline-flex; }
  .footer__cols { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
