/* Olivance Platforms — ported from Claude Design (Olivance.dc.html) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: #0B0D12;
  color: #F4F5F7;
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: rgba(46,111,176,.4); }
a { color: inherit; text-decoration: none; }

.page { position: relative; width: 100%; }

/* ambient grid */
.ambient-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(150% 100% at 50% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(150% 100% at 50% 0%, #000 0%, transparent 70%);
}

/* scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--rise, 26px));
  transition:
    opacity var(--reveal-dur, 1s) cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0s),
    transform var(--reveal-dur, 1s) cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0s);
}
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 48px;
  border-bottom: 1px solid transparent;
  transition: background .5s ease, backdrop-filter .5s ease, border-color .5s ease, padding .5s ease;
}
.site-nav.scrolled {
  background: rgba(11,13,18,.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.07);
  padding-top: 14px; padding-bottom: 14px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1340px; margin: 0 auto; gap: clamp(24px,4vw,72px);
}
.nav-left { display: flex; align-items: center; gap: clamp(22px,3vw,46px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  display: block; width: 42px; height: auto; position: relative; top: 2px;
  filter: drop-shadow(0 4px 16px rgba(120,150,200,.28));
}
.brand .wordmark { font-weight: 500; font-size: 16.5px; letter-spacing: .16em; text-transform: uppercase; }
.brand.brand-footer img { width: 34px; filter: none; }
.brand.brand-footer .wordmark { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav-link { color: #9aa0aa; transition: color .3s; }
.nav-link:hover { color: #F4F5F7; }

/* buttons */
.btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; color: #0B0D12; background: #F4F5F7;
  padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,255,255,.16); }
.btn-solid.btn-nav { padding: 13px 30px; }
.btn-solid.btn-product { gap: 10px; padding: 14px 24px; margin-top: 40px; width: fit-content; }
.btn-ghost {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500; color: #cdd1d8;
  padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  transition: border-color .35s, background .35s, color .35s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); color: #fff; }

/* HERO */
.hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; align-items: center;
  padding: 128px 48px 72px; overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.9fr 1.15fr;
  gap: clamp(36px,5vw,96px); align-items: center;
  max-width: 1340px; width: 100%; margin: 0 auto;
}
.hero h1 {
  margin: 0; font-weight: 500;
  font-size: clamp(40px,5vw,76px); line-height: 1.03; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 .dim { color: #7f8694; }
.hero-sub {
  margin: 30px 0 0; font-size: clamp(16px,1.3vw,19px); line-height: 1.62;
  color: #9aa0aa; max-width: 46ch; font-weight: 400;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 40px; }
.hero-visual {
  position: relative; justify-self: center; width: 100%; height: min(78vh, 700px);
  --rise: 0px; --reveal-dur: 1.6s; --reveal-delay: .2s;
}
.hero-visual-glow {
  position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,58,96,.26) 0%, rgba(12,68,124,.05) 44%, transparent 68%);
  pointer-events: none;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 48%, #000 22%, transparent 72%);
  mask-image: radial-gradient(ellipse 68% 66% at 50% 48%, #000 22%, transparent 72%);
}

/* sections shared */
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #5f6671; font-weight: 500; }

/* PRODUCTS */
.section-products { position: relative; z-index: 2; padding: 9vh 48px 11vh; }
.section-products .inner { max-width: 1320px; margin: 0 auto; }
.eyebrow-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; margin-bottom: 5vh; --rise: 24px; --reveal-dur: .9s;
}
.eyebrow-meta { font-size: 13.5px; color: #5f6671; }
.product-card {
  --rise: 34px;
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 0;
  border: 1px solid rgba(255,255,255,.08); border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #101319, #0c0e14);
}
.product-copy { padding: clamp(38px,4vw,68px); display: flex; flex-direction: column; justify-content: center; }
.product-icon {
  width: 62px; height: 62px; border-radius: 16px; display: block;
  margin-bottom: 24px; box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.product-copy h2 { margin: 0; font-weight: 500; font-size: clamp(42px,5vw,72px); line-height: .98; letter-spacing: -.035em; }
.product-copy p { margin: 26px 0 0; font-size: clamp(17px,1.5vw,21px); line-height: 1.5; color: #9aa0aa; max-width: 32ch; }
.product-cta-note { margin-top: 14px; font-size: 12.5px; color: #5f6671; }
.coming-soon {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px; width: fit-content;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #ffb454; background: rgba(255,180,84,.08);
  border: 1px solid rgba(255,180,84,.35);
  padding: 14px 24px; border-radius: 999px;
  user-select: none; cursor: default;
}
.coming-soon-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ffb454;
  box-shadow: 0 0 12px rgba(255,180,84,.8);
  animation: liveBlink 1.6s ease-in-out infinite;
}
@keyframes liveBlink { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.product-visual {
  position: relative; min-height: clamp(400px,46vw,600px);
  border-left: 1px solid rgba(255,255,255,.06); overflow: hidden;
  background: linear-gradient(135deg, #1f7a2c 0%, #46901e 46%, #e8881b 100%);
}
.product-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.placeholder-card {
  --rise: 28px;
  margin-top: 22px; display: flex; align-items: center; gap: 18px;
  padding: 34px clamp(30px,3vw,52px);
  border: 1px dashed rgba(255,255,255,.12); border-radius: 24px;
}
.placeholder-icon {
  display: inline-flex; width: 42px; height: 42px; border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1); color: #5f6671; flex: none;
}
.placeholder-title { font-size: 16px; font-weight: 500; color: #cdd1d8; }
.placeholder-sub { font-size: 13.5px; color: #5f6671; margin-top: 3px; }

/* ABOUT */
.section-about { position: relative; z-index: 2; padding: 11vh 48px; }
.about-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px,6vw,90px); align-items: start;
}
.about-grid .eyebrow { margin-bottom: 20px; }
.about-grid h2 { margin: 0; font-weight: 500; font-size: clamp(30px,3.4vw,48px); line-height: 1.06; letter-spacing: -.03em; }
.about-head { --rise: 24px; --reveal-dur: .9s; }
.about-body { --rise: 24px; --reveal-delay: .1s; }
.about-lede {
  margin: 0; font-size: clamp(18px,1.5vw,23px); line-height: 1.55;
  color: #cdd1d8; font-weight: 400; letter-spacing: -.01em;
}
.about-more { margin: 22px 0 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.62; color: #9aa0aa; }
.about-more a { color: #cdd1d8; border-bottom: 1px solid rgba(255,255,255,.22); transition: color .3s, border-color .3s; }
.about-more a:hover { color: #F4F5F7; border-color: rgba(255,255,255,.5); }

/* FOOTER / CONTACT */
.site-footer { position: relative; z-index: 2; padding: 12vh 48px 52px; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer .inner { max-width: 1320px; margin: 0 auto; }
.contact-block {
  --rise: 24px; --reveal-dur: .9s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-bottom: 11vh;
}
.contact-block .eyebrow { margin-bottom: 18px; }
.contact-block h2 { margin: 0; font-weight: 500; font-size: clamp(30px,3.6vw,52px); line-height: 1.05; letter-spacing: -.03em; max-width: 20ch; }
.contact-sub { margin: 18px 0 0; font-size: 16px; line-height: 1.55; color: #9aa0aa; max-width: 46ch; }

#contact-form {
  width: 100%; max-width: 540px; margin-top: 38px;
  display: flex; flex-direction: column; gap: 14px; text-align: left;
}
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field {
  flex: 1; min-width: 200px;
  font-family: inherit; font-size: 15px; color: #F4F5F7;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.12); border-radius: 13px;
  padding: 15px 17px; outline: none;
  transition: border-color .3s, background .3s;
}
.field:focus { border-color: rgba(46,111,176,.65); background: rgba(255,255,255,.05); }
select.field { color: #9aa0aa; cursor: pointer; }
textarea.field { width: 100%; flex: none; line-height: 1.5; resize: vertical; }
.form-submit {
  align-self: center; gap: 10px; margin-top: 10px; padding: 14px 28px;
  font-family: inherit; border: none; cursor: pointer;
}
.botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error {
  display: none; text-align: center; font-size: 14px; color: #e08b8b;
  padding: 12px 16px; border: 1px solid rgba(224,139,139,.35); border-radius: 12px;
  background: rgba(224,139,139,.07);
}
.form-error.visible { display: block; }
.form-submit[disabled] { opacity: .6; cursor: default; }
.form-submit[disabled]:hover { transform: none; box-shadow: none; }
.thanks {
  display: none; margin-top: 38px; width: 100%; max-width: 540px; padding: 34px;
  border: 1px solid rgba(46,111,176,.3); border-radius: 18px;
  background: rgba(46,111,176,.06); text-align: center;
}
.thanks.visible { display: block; }
.thanks-title { font-size: 19px; font-weight: 500; color: #F4F5F7; }
.thanks-sub { font-size: 14.5px; color: #9aa0aa; margin-top: 7px; }

.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 30px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; flex-wrap: wrap; }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 26px;
}
.footer-legal span { font-size: 13px; color: #5f6671; }

/* LEGAL PAGES (terms.html, future privacy.html) */
.legal-main { position: relative; z-index: 2; padding: 168px 48px 10vh; }
.legal-inner { max-width: 1100px; margin: 0 auto; }
.legal-head { --rise: 24px; --reveal-dur: .9s; max-width: 760px; }
.legal-head .eyebrow { margin-bottom: 20px; }
.legal-head h1 {
  margin: 0; font-weight: 500;
  font-size: clamp(36px,4.4vw,60px); line-height: 1.04; letter-spacing: -.03em;
  text-wrap: balance;
}
.legal-effective {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: #5f6671;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
}
.legal-intro { margin: 30px 0 0; font-size: clamp(16px,1.3vw,18px); line-height: 1.62; color: #9aa0aa; }
.legal-intro + .legal-intro { margin-top: 16px; }

.legal-body {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px,6vw,90px); align-items: start;
  margin-top: clamp(56px,8vh,88px);
  padding-top: clamp(40px,6vh,64px);
  border-top: 1px solid rgba(255,255,255,.06);
}
.legal-toc { position: sticky; top: 110px; }
.legal-toc-label { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #5f6671; font-weight: 500; margin-bottom: 18px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.legal-toc a {
  display: flex; gap: 14px; align-items: baseline;
  padding: 7px 0; font-size: 14px; font-weight: 500; color: #7f8694;
  transition: color .3s;
}
.legal-toc a:hover { color: #F4F5F7; }
.legal-toc .toc-num { font-size: 11.5px; color: #5f6671; min-width: 20px; font-variant-numeric: tabular-nums; }

.legal-article { max-width: 70ch; font-size: 16px; line-height: 1.7; color: #9aa0aa; }
.legal-article section { scroll-margin-top: 110px; }
.legal-article section + section { margin-top: clamp(44px,6vh,60px); }
.legal-article h2 {
  display: flex; gap: 18px; align-items: baseline;
  margin: 0 0 18px; font-weight: 500; color: #F4F5F7;
  font-size: clamp(20px,1.8vw,24px); line-height: 1.25; letter-spacing: -.02em;
}
.legal-article h2 .sec-num {
  font-size: 13px; font-weight: 500; color: #5f6671;
  font-variant-numeric: tabular-nums; letter-spacing: .06em; flex: none;
}
.legal-article p { margin: 0 0 16px; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article ul { margin: 0 0 16px; padding: 0 0 0 2px; list-style: none; }
.legal-article ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.legal-article ul li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 8px; height: 1px; background: #5f6671;
}
.legal-article ol { margin: 0 0 16px; padding-left: 22px; }
.legal-article ol li { margin-bottom: 9px; padding-left: 4px; }
.legal-article h3 {
  margin: 28px 0 12px; font-weight: 500; color: #cdd1d8;
  font-size: 17px; line-height: 1.4; letter-spacing: -.01em;
}
.legal-article strong { color: #cdd1d8; font-weight: 500; }
.legal-article a { color: #cdd1d8; border-bottom: 1px solid rgba(255,255,255,.22); transition: color .3s, border-color .3s; }
.legal-article a:hover { color: #F4F5F7; border-color: rgba(255,255,255,.5); }
.legal-contact-card {
  margin-top: 4px; padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  background: rgba(255,255,255,.02);
}
.legal-contact-card p { margin: 0; line-height: 1.7; }
.legal-contact-card .legal-contact-name { color: #F4F5F7; font-weight: 500; }

.legal-main + .site-footer { padding-top: 56px; }

/* 404 PAGE (shares the legal-* shell) */
.legal-head h1 .dim { color: #7f8694; }
.notfound-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.notfound-ctas .btn-solid { gap: 9px; }
.legal-intro a { color: #cdd1d8; border-bottom: 1px solid rgba(255,255,255,.22); transition: color .3s, border-color .3s; }
.legal-intro a:hover { color: #F4F5F7; border-color: rgba(255,255,255,.5); }

@media (max-width: 960px) {
  .legal-body { grid-template-columns: 1fr; gap: 44px; }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  .legal-main { padding: 138px 20px 10vh; }
}

@media print {
  body { background: #fff; color: #111; }
  .ambient-grid, .site-nav, .legal-toc, .footer-bar { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .legal-main { padding: 0; }
  .legal-head h1 { color: #111; }
  .legal-article, .legal-intro { color: #333; }
  .legal-article h2, .legal-article h3, .legal-article strong, .legal-contact-card .legal-contact-name { color: #111; }
  .legal-article a { color: #111; border-bottom-color: #999; }
  .site-footer { border-top: none; }
  .footer-legal span { color: #666; }
}

/* responsive — the design canvas was desktop; these adapt it down */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero-visual { height: min(52vh, 440px); }
  .product-card { grid-template-columns: 1fr; }
  .product-visual { border-left: none; border-top: 1px solid rgba(255,255,255,.06); min-height: clamp(320px,64vw,480px); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .site-nav { padding: 16px 20px; }
  .site-nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
  .nav-links { display: none; }
  .hero { padding: 110px 20px 40px; }
  .hero-ctas { flex-wrap: wrap; }
  .section-products { padding: 8vh 20px 10vh; }
  .section-about { padding: 10vh 20px; }
  .site-footer { padding: 10vh 20px 40px; }
}
