@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background: #edf4f0;
  color: #0a1510;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: #19e883; color: #fff; }

.display { font-family: 'Manrope', sans-serif; }
.mono { font-family: 'DM Mono', monospace; }

.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.dot { display: inline-block; height: .5rem; width: .5rem; border-radius: 999px; background: #19e883; flex: none; }

.eyebrow { color: #0a9c57; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--light { color: #75f0b1; }
.eyebrow-mono { font-family: 'DM Mono', monospace; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: #75f0b1; }

.h2 {
  font-family: 'Manrope', sans-serif;
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.045em;
}
@media (min-width: 640px) { .h2--xl { font-size: 3rem; } }

/* ---------- Coil mark (logo) ---------- */
.coil-mark {
  position: relative; display: inline-flex; flex: none;
  height: 5.5rem; width: 5.5rem;
  align-items: center; justify-content: center;
  border: 2px solid currentColor; border-radius: 999px; color: #19e883;
}
.coil-mark span { position: absolute; border: 1px solid currentColor; border-radius: 999px; }
.coil-mark span:nth-child(1) { inset: .55rem; }
.coil-mark span:nth-child(2) { inset: 1.2rem; }
.coil-mark span:nth-child(3) { inset: 2rem; background: currentColor; }
.coil-mark--small { height: 2.15rem; width: 2.15rem; border-width: 1px; }
.coil-mark--small span:nth-child(1) { inset: .25rem; }
.coil-mark--small span:nth-child(2) { inset: .55rem; }
.coil-mark--small span:nth-child(3) { inset: .85rem; }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand-name { font-family: 'Manrope', sans-serif; font-size: 1.125rem; font-weight: 600; letter-spacing: -.03em; }

/* ---------- Home header (over the hero) ---------- */
.header-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.header-overlay .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  row-gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.home-nav {
  order: 3; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem;
  font-size: .75rem; color: rgba(255,255,255,.7);
}
.home-nav a { transition: color .15s; }
.home-nav a:hover { color: #fff; }
@media (min-width: 768px) {
  .home-nav { order: 0; width: auto; gap: 2rem; border-top: 0; padding-top: 0; font-size: .875rem; }
}
.btn-outline {
  border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  padding: .625rem 1.25rem; font-size: .875rem; font-weight: 500; color: #fff;
  transition: background-color .15s, color .15s;
}
.btn-outline:hover { background: #fff; color: #0a1510; }

/* ---------- Inner-page header ---------- */
.header-bar { border-bottom: 1px solid rgba(255,255,255,.1); background: #06100b; color: #fff; }
.header-bar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.page-nav { display: flex; align-items: center; gap: 1rem; font-size: .75rem; color: rgba(255,255,255,.6); }
.page-nav a { border-bottom: 1px solid transparent; padding: .5rem 0; transition: color .15s; }
.page-nav a:hover { color: #fff; }
.page-nav a.active { border-color: #19e883; color: #fff; }
@media (min-width: 640px) { .page-nav { gap: 2rem; font-size: .875rem; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: #06100b; padding-top: 9rem; color: #fff; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25,232,131,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,232,131,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to right, black, transparent 80%);
  mask-image: linear-gradient(to right, black, transparent 80%);
  opacity: .3;
}
.page-hero .hero-grid { opacity: .4; }
.ring { position: absolute; border-radius: 999px; }
.ring-1 { right: -10rem; top: 5rem; height: 32rem; width: 32rem; border: 1px solid rgba(25,232,131,.2); }
.ring-2 { right: -6rem; top: 9rem; height: 24rem; width: 24rem; border: 1px solid rgba(255,255,255,.1); }

.hero-inner { position: relative; display: grid; gap: 4rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.1fr .9fr; padding-bottom: 8rem; } }
.hero-copy { max-width: 48rem; }
.kicker {
  margin-bottom: 1.75rem; display: flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: #75f0b1;
}
.kicker::before { content: ''; height: 1px; width: 2.5rem; background: #19e883; }
.hero-title { font-family: 'Manrope', sans-serif; font-size: 3rem; font-weight: 600; line-height: .96; letter-spacing: -.055em; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.25rem; } }
.hero-title .accent { font-family: 'DM Mono', monospace; font-size: .82em; font-weight: 500; color: #19e883; }
.hero-lead { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; line-height: 2rem; color: rgba(255,255,255,.68); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-primary {
  border-radius: 999px; background: #19e883; padding: .875rem 1.5rem;
  font-size: .875rem; font-weight: 600; color: #06100b; transition: transform .15s;
}
.btn-primary:hover { transform: translateY(-.125rem); }
.hero-meta { display: flex; align-items: center; gap: .75rem; padding: 0 .5rem; font-size: .875rem; color: rgba(255,255,255,.55); }

/* Hero visual */
.hero-visual { position: relative; display: flex; min-height: 20rem; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .hero-visual { justify-content: flex-end; } }
.power-visual {
  position: relative; display: flex; height: 18rem; width: 18rem;
  align-items: center; justify-content: center; border-radius: 999px;
  background: radial-gradient(circle, rgba(239,116,69,.16), transparent 68%);
}
@media (min-width: 640px) { .power-visual { height: 20rem; width: 20rem; } }
.dashed-ring { position: absolute; inset: 1.75rem; border-radius: 999px; border: 1px dashed rgba(255,255,255,.2); }
.device-card {
  position: absolute; display: flex; height: 12rem; width: 9.25rem;
  flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(25,232,131,.18); border-radius: 1rem;
  background: #edf4f0; box-shadow: 0 28px 70px rgba(0,0,0,.25);
}
.device-card--back { transform: translate(3.3rem, -1.8rem) rotate(9deg); background: #0f3a28; opacity: .8; }
.device-card--front { transform: translate(-1.9rem, 1.6rem) rotate(-5deg); }
.device-label { margin-top: 1.25rem; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: rgba(6,16,11,.55); }
.pill-receive {
  position: absolute; right: .25rem; top: 3.5rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15); background: #0b2418;
  padding: .5rem 1rem; font-size: .75rem; color: rgba(255,255,255,.65);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pill-transmit {
  position: absolute; bottom: 2rem; left: 0; border-radius: 999px; background: #19e883;
  padding: .5rem 1rem; font-family: 'DM Mono', monospace; font-size: .75rem; font-weight: 600; color: #06100b;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

/* Stats strip */
.stats { position: relative; border-top: 1px solid rgba(255,255,255,.1); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.5rem 0 1.5rem 1.25rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { padding-left: 0; }
@media (min-width: 768px) { .stat { padding: 2rem 0 2rem 2rem; } .stat:first-child { padding-left: 0; } }
.stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.5rem; letter-spacing: -.025em; }
.stat span { margin-top: .25rem; display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); }

/* ---------- Sections ---------- */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.section-sm { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .section-sm { padding-top: 7rem; padding-bottom: 7rem; } }

.split-innovation { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .split-innovation { grid-template-columns: .72fr 1.28fr; } }
.lead-xl { max-width: 48rem; font-size: 1.5rem; line-height: 1.5; letter-spacing: -.025em; color: #263a30; }
.body-muted { margin-top: 1.5rem; max-width: 48rem; line-height: 1.75rem; color: #60756a; }

.features {
  margin-top: 5rem; display: grid; gap: 1px; overflow: hidden;
  border-radius: .75rem; border: 1px solid #c9d7cf; background: #c9d7cf;
}
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #f8fbf9; padding: 2rem; }
@media (min-width: 1024px) { .feature { padding: 2.5rem; } }
.feature .num { font-family: 'DM Mono', monospace; font-size: .75rem; color: #0eae62; }
.feature h3 { font-family: 'Manrope', sans-serif; margin-top: 3.5rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.feature p { margin-top: 1rem; line-height: 1.75rem; color: #5f7368; }

/* Patents */
.band { background: #e2ebe6; }
.patents-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .patents-head { flex-direction: row; align-items: flex-end; } }
.patents-head > p { max-width: 28rem; line-height: 1.75rem; color: #60756a; }

.patent-list { margin-top: 4rem; border-top: 1px solid #bbc9c1; }
.patent-row { position: relative; display: grid; gap: 1.5rem; border-bottom: 1px solid #bbc9c1; padding: 2.25rem 0; }
@media (min-width: 768px) { .patent-row { grid-template-columns: 7rem 1fr 1.35fr; gap: 2.5rem; } }
.patent-list--page .patent-row { padding: 2.5rem 0; }
@media (min-width: 768px) { .patent-list--page .patent-row { grid-template-columns: 7rem 1fr 1.4fr; } }
.patent-row::before {
  position: absolute; top: -1px; left: 0; height: 2px; width: 0;
  background: #19e883; content: ''; transition: width 400ms ease;
}
.patent-row:hover::before { width: 100%; }
.patent-year { display: block; font-family: 'Manrope', sans-serif; font-size: 2.25rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; color: #0a9c57; }
.patent-issued { margin-top: .5rem; display: block; font-size: .75rem; color: #687b71; }
.patent-number { font-family: 'DM Mono', monospace; font-size: .75rem; font-weight: 600; letter-spacing: .025em; color: #425b4e; }
.patent-title { font-family: 'Manrope', sans-serif; margin-top: .75rem; font-size: 1.25rem; font-weight: 600; line-height: 1.375; letter-spacing: -.025em; }
.tag { margin-top: .75rem; display: inline-block; border-radius: 999px; border: 1px solid #bbc9c1; padding: .25rem .75rem; font-size: .75rem; color: #60756a; }
.patent-summary { line-height: 1.75rem; color: #52685d; }
.patent-filed { margin-top: 1rem; display: block; font-size: .75rem; color: #77877f; }
.fine-print { margin-top: 1.25rem; font-size: .75rem; line-height: 1.25rem; color: #687b71; }

/* Portfolio card */
.portfolio-card { overflow: hidden; border-radius: .75rem; background: #06100b; color: #fff; }
@media (min-width: 1024px) { .portfolio-grid { display: grid; grid-template-columns: 1.2fr .8fr; } }
.portfolio-main { padding: 2.25rem; }
@media (min-width: 640px) { .portfolio-main { padding: 3.5rem; } }
@media (min-width: 1024px) { .portfolio-main { padding: 4rem; } }
.portfolio-main h2 { font-family: 'Manrope', sans-serif; margin-top: 1.5rem; max-width: 42rem; font-size: 2.25rem; font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
@media (min-width: 640px) { .portfolio-main h2 { font-size: 3rem; } }
.portfolio-main p { margin-top: 1.75rem; max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: rgba(255,255,255,.62); }
.portfolio-side { border-top: 1px solid rgba(255,255,255,.1); background: #0a2016; padding: 2.25rem; }
@media (min-width: 640px) { .portfolio-side { padding: 3.5rem; } }
@media (min-width: 1024px) { .portfolio-side { border-top: 0; border-left: 1px solid rgba(255,255,255,.1); } }
.side-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: #75f0b1; }
.side-big { font-family: 'Manrope', sans-serif; margin-top: 2rem; font-size: 1.5rem; line-height: 1.375; letter-spacing: -.03em; }
.side-body { margin-top: 1.25rem; line-height: 1.75rem; color: rgba(255,255,255,.55); }
.side-status { margin-top: 2.5rem; display: flex; align-items: center; gap: .75rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .75rem; color: rgba(255,255,255,.45); }

/* ---------- Footers ---------- */
.footer { border-top: 1px solid #c9d7cf; background: #edf4f0; }
.footer .container { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding-top: 2.25rem; padding-bottom: 2.25rem; }
@media (min-width: 640px) { .footer .container { flex-direction: row; align-items: center; } }
.footer--page .container { gap: 1.25rem; padding-top: 2rem; padding-bottom: 2rem; }
.footer-name { font-family: 'Manrope', sans-serif; font-weight: 600; }
.footer-note { font-size: .875rem; color: #687b71; }
.footer-link { font-size: .875rem; font-weight: 600; color: #0a9c57; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: #06100b; padding: 5rem 0; color: #fff; }
@media (min-width: 1024px) { .page-hero { padding: 7rem 0; } }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: 'Manrope', sans-serif; margin-top: 1.5rem; max-width: 56rem; font-size: 3rem; font-weight: 600; line-height: .98; letter-spacing: -.055em; }
@media (min-width: 640px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p.intro { margin-top: 2rem; max-width: 42rem; font-size: 1.125rem; line-height: 2rem; color: rgba(255,255,255,.6); }

/* ---------- Technology page ---------- */
.two-col { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.prose-lg > * + * { margin-top: 1.5rem; }
.prose-lg { font-size: 1.125rem; line-height: 2rem; color: #52685d; }
.focus-band { border-top: 1px solid #c9d7cf; border-bottom: 1px solid #c9d7cf; background: #e2ebe6; }
.focus-grid { display: grid; gap: 3.5rem; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .focus-grid { grid-template-columns: .7fr 1.3fr; } }
.tiles { display: grid; gap: 1px; overflow: hidden; border-radius: .75rem; border: 1px solid #bbc9c1; background: #bbc9c1; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { background: #f8fbf9; padding: 1.5rem; }
.tile .num { font-family: 'DM Mono', monospace; font-size: .75rem; color: #0a9c57; }
.tile p { font-family: 'Manrope', sans-serif; margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.dark-card { display: grid; gap: 3rem; border-radius: .75rem; background: #06100b; padding: 2rem; color: #fff; }
@media (min-width: 640px) { .dark-card { padding: 3rem; } }
@media (min-width: 1024px) { .dark-card { grid-template-columns: 1fr 1fr; padding: 4rem; } }
.dark-card .copy > * + * { margin-top: 1.25rem; }
.dark-card .copy { line-height: 1.75rem; color: rgba(255,255,255,.62); }

/* ---------- Patents page ---------- */
.figures { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .figures { grid-template-columns: 1fr 1fr; } }
.figures figure { overflow: hidden; border-radius: .75rem; border: 1px solid #c9d7cf; background: #fff; }
.figures img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.continuation { margin-top: 4rem; display: grid; gap: 2.5rem; border-radius: .75rem; background: #e2ebe6; padding: 2rem; }
@media (min-width: 1024px) { .continuation { grid-template-columns: 1.2fr .8fr; padding: 3rem; } }
.continuation h2 { font-family: 'Manrope', sans-serif; margin-top: 1.25rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.continuation p { margin-top: 1.25rem; line-height: 1.75rem; color: #52685d; }
.continuation img { border-radius: .5rem; border: 1px solid #bbc9c1; }

/* ---------- Partnerships page ---------- */
.media-split { display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 1024px) { .media-split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .media-split--ces { grid-template-columns: .8fr 1.2fr; } }
.media-split .lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 2rem; color: #52685d; }
.media-split .body { margin-top: 1.25rem; line-height: 1.75rem; color: #60756a; }
.img-light { border-radius: .75rem; border: 1px solid #c9d7cf; }
.img-dark { border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); }
.dark-band { background: #06100b; color: #fff; }
.dark-band .lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 2rem; color: rgba(255,255,255,.65); }
.impact { max-width: 56rem; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .impact { padding: 7rem 1.5rem; } }
.impact h2 { line-height: 1.25; }
.impact p { margin: 1.5rem auto 0; max-width: 42rem; line-height: 1.75rem; color: #52685d; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .patent-row::before, .btn-primary { transition: none; }
}

/* ---------- WordPress adjustments ---------- */
body { margin: 0; }
body a { text-decoration: none; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; height: auto; }
.figures .wp-block-image { overflow: hidden; border-radius: .75rem; border: 1px solid #c9d7cf; background: #fff; }
.img-light, .img-dark { overflow: hidden; }
.continuation-img { overflow: hidden; border-radius: .5rem; border: 1px solid #bbc9c1; }
.continuation .continuation-img img { border: 0; border-radius: 0; }

/* Paragraph versions of elements that were spans in the static site */
.feature p.num, .tile p.num { margin-top: 0; font-family: 'DM Mono', monospace; font-size: .75rem; line-height: 1.5; }
.feature p.num { color: #0eae62; }
.tile p.num { color: #0a9c57; font-weight: 400; }
.tile p.tile-text { margin-top: 1.25rem; }
.portfolio-main p.eyebrow { margin-top: 0; font-size: .72rem; line-height: 1.5; color: #75f0b1; }
.continuation p.eyebrow { margin-top: 0; }
.impact p.eyebrow { margin: 0; max-width: none; line-height: 1.5; color: #0a9c57; }
.page-hero h1 { color: #fff; }
.patents-head > .patents-head-text { max-width: 28rem; line-height: 1.75rem; color: #60756a; }
.tag { width: fit-content; }

/* Generic pages and posts (anything besides the four designed pages) */
.generic-title { font-family: 'Manrope', sans-serif; font-size: 2.5rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.generic-content { margin-top: 2rem; max-width: 48rem; font-size: 1.125rem; line-height: 1.8; color: #263a30; }
.generic-content > * + * { margin-top: 1.25rem; }
