/* Lensare: dark theme, modelled on the current lensare.com.
   Black background on purpose, to keep visual strain low. */

:root {
  color-scheme: dark;
  --black: #000000;
  --panel: #404040;
  --line: #2b2b2b;
  --white: #ffffff;
  --text: #f2f2f2;
  --grey: #bfbfbf;
  --grey-mid: #8c8c8c;
  --green: #4f9e74;
  --mint: #a9ddbd;
  --error: #ff8f8f;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 52px);
  --poppins: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --opensans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; background: var(--black); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--black);
  color: var(--text);
  font-family: var(--poppins);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; display: block; }
main { flex: 1 0 auto; }

a { color: var(--mint); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--white); }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

b, strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--poppins);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5625rem); }
h2 { font-size: clamp(1.625rem, 2.6vw, 1.875rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--white); color: var(--black); padding: 8px 14px;
  font-family: var(--helvetica); font-size: 14px; border-radius: 5px;
}
.skip:focus { left: 8px; top: 8px; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.column { max-width: 680px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--grey); }
.small { font-size: 14px; }
.gap-top { margin-top: 32px; }

/* Preview strip */
.status {
  border-bottom: 1px solid var(--line);
  font-family: var(--helvetica);
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
  padding: 10px 0;
}
.status p { margin: 0; }
.status strong { color: var(--white); font-weight: 700; }

/* Header */
.site-head { position: relative; background: var(--black); z-index: 5; }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 96px;
}
.logo img { width: 170px; height: auto; }
.nav {
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: 0 28px;
  font-family: var(--helvetica); font-size: 14px;
}
.nav a { color: var(--white); text-decoration: none; line-height: 50px; }
.nav a:hover { color: var(--mint); }
.nav a[aria-current="page"] { color: var(--green); }
.nav-toggle {
  display: none;
  background: transparent; color: var(--white);
  border: 1px solid var(--grey); border-radius: 5px;
  font: 14px var(--helvetica); padding: 10px 18px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 55px; padding: 0 44px;
  border: 1px solid var(--green); border-radius: 5px;
  background: var(--green); color: var(--black);
  font-family: var(--helvetica); font-size: 16px; font-weight: 400; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--mint); border-color: var(--mint); color: var(--black); }
.btn-outline { background: transparent; border-color: var(--mint); color: var(--mint); }
.btn-outline:hover { background: var(--mint); color: var(--black); }
.btn-mint { background: var(--mint); border-color: var(--mint); }
.btn-mint:hover { background: var(--white); border-color: var(--white); }
.btn-wide { min-width: min(386px, 100%); }
.actions { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; }

/* Hero: full-bleed photo with a dark panel, as on the current site */
.hero { position: relative; background: var(--black); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 25%; }
/* The dark panel runs from the left edge to just past the text column, so the
   text keeps the same width on every screen from laptop to ultrawide. */
.hero-panel {
  position: relative;
  width: min(100%, calc(max(var(--gutter), (100% - var(--wrap)) / 2 + var(--gutter)) + 660px));
  padding: 0 48px 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  min-height: clamp(480px, 72vh, 780px);
  background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center;
}
.hero-inner { padding: 72px 0; max-width: 620px; }
.hero-tag {
  font-family: var(--helvetica); font-size: 14px; line-height: 1.5;
  color: var(--mint); margin-bottom: 22px;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .line { display: block; }
.hero .lede {
  font-size: clamp(1.125rem, 1.9vw, 1.5rem); line-height: 1.45;
  color: var(--white); max-width: 34ch; margin: 0;
}

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding-top: 0; }

/* Centred statement bands (accelerator, Dyson) */
.band { text-align: center; }
.band h2 { font-size: clamp(1.75rem, 3vw, 2.3125rem); margin-bottom: 14px; }
.band .sub {
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem); line-height: 1.45;
  color: var(--white); max-width: 58ch; margin: 0 auto 32px;
}
.band .also, .recog .also { margin-top: 28px; font-family: var(--opensans); font-size: 14px; color: var(--grey); }
.band .also a, .recog .also a { color: var(--grey); }

/* Recognition (homepage, straight after the hero) */
.recog { text-align: center; }
.recog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; text-align: left; }
.recog-item { display: flex; flex-direction: column; background: var(--panel); border-radius: 10px; padding: clamp(24px, 3vw, 36px); }
.recog-big {
  margin: 0 0 14px; font-family: var(--poppins); font-weight: 600;
  font-size: clamp(2.75rem, 5.5vw, 4.25rem); line-height: 1; letter-spacing: -0.01em; color: var(--mint);
}
.recog-item h3 { margin: 0 0 8px; color: var(--white); }
.recog-item p:not(.recog-big) { margin: 0 0 20px; font-family: var(--opensans); font-size: 15px; line-height: 1.6; color: var(--grey); }
.recog-link { margin-top: auto; font-family: var(--helvetica); font-size: 15px; color: var(--mint); text-underline-offset: 3px; }
.recog-link:hover { color: var(--white); }
@media (max-width: 640px) { .recog-grid { grid-template-columns: 1fr; } }

.prose p:last-child { margin-bottom: 0; }
.prose ul, .facts ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li, .facts li { margin-bottom: 0.4em; }
.prose li::marker, .facts li::marker { color: var(--green); }

/* Two columns */
.duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.duo .intro { color: var(--grey); margin-bottom: 0; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 78px 1fr; gap: 22px; align-items: center; }
.steps img { width: 78px; height: 78px; }
.steps b { display: block; color: var(--white); font-size: 18px; line-height: 1.35; margin-bottom: 2px; }
.steps p { margin: 0; }

.photo img { width: 100%; }
.photo figcaption, figure figcaption {
  font-family: var(--opensans); font-size: 13px; color: var(--grey); margin-top: 12px;
}
figure { margin: 0; }
.rounded img { border-radius: 40px; }
.video-frame { position: relative; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; }
.video-toggle {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0, 0, 0, 0.72); color: var(--white);
  border: 1px solid var(--mint); border-radius: 5px;
  font: 13px var(--helvetica); padding: 8px 14px; cursor: pointer;
}
.video-toggle:hover { background: var(--mint); color: var(--black); }
.video-note {
  max-width: 62ch; margin: 14px auto 0; text-align: center;
  font-family: var(--opensans); font-size: 14px; line-height: 1.6; color: var(--grey);
}
.video-note b { color: var(--mint); font-weight: 600; }
.video-note + .feature-video { margin-top: 24px; }
.feature-video { margin: 36px 0 0; }
.feature-video video { border-radius: 10px; }
.steps-row { grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.steps-row li { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 16px; }

/* Feature cards, staggered like the current site */
.cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 230px));
  gap: 20px 16px; margin-top: 28px; padding-bottom: 40px;
}
.cards .card:nth-child(even) { transform: translateY(40px); }
.card {
  background: var(--panel); border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  padding: 24px 20px 26px;
}
.card svg { display: block; height: 36px; width: auto; fill: var(--green); margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-family: var(--opensans); font-size: 14px; line-height: 1.6; color: var(--grey); }
.note { font-family: var(--opensans); font-size: 13px; line-height: 1.6; color: var(--grey); margin-top: 22px; }

/* Tint scale */
.scale { margin-top: clamp(56px, 7vw, 88px); }
.scale-title { font-size: 1.25rem; font-weight: 400; margin-bottom: 18px; }
.range-lede { margin: -8px 0 28px; max-width: 70ch; font-size: 16px; color: var(--grey); }
/* Light-transmission scale: 100% (left) to 0% (right); Lensare's range is 36% to 0.3% */
.tscale { position: relative; padding-top: 40px; }
.tscale-range {
  position: absolute; top: 26px; left: 64%; right: 0.3%; height: 14px;
  border: 2px solid var(--mint); border-bottom: 0; border-radius: 4px 4px 0 0;
}
.tscale-range span {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 6px;
  font-family: var(--helvetica); font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--mint);
}
.tscale-bar {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; padding: 0 14px;
  border: 1px solid var(--panel); border-radius: 5px;
  background: linear-gradient(90deg, #d9d9d9 0%, #000 100%);
  font-family: var(--helvetica); font-size: 13px; font-weight: 700;
}
.tscale-bar span:first-child { color: #000; }
.tscale-bar span:last-child { color: #fff; }
.tscale-ticks { position: relative; height: 14px; }
.tscale-ticks i { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; background: var(--mint); }
.tscale-ticks .t-every { left: 64%; }
.tscale-ticks .t-full { left: 99.7%; }
.tscale-labels { display: grid; grid-template-columns: 64% 36%; margin-top: 4px; }
.tscale-labels p { margin: 0; text-align: right; font-family: var(--helvetica); font-size: 14px; line-height: 1.45; color: var(--grey); }
.tscale-labels p:first-child { padding-right: 0; }
.tscale-labels p:last-child { padding-left: 24px; }
.tscale-labels strong {
  display: block; margin-bottom: 2px;
  font-family: var(--poppins); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; color: var(--mint);
}
@media (max-width: 640px) {
  .tscale-labels { grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
  .tscale-labels p, .tscale-labels p:last-child { text-align: left; padding-left: 0; }
}
.scale-note { font-family: var(--opensans); font-size: 13px; line-height: 1.6; color: var(--grey); margin: 22px 0 0; max-width: 84ch; }

/* Where we are */
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.timeline > div { background: var(--panel); border-radius: 10px; padding: 28px 28px 18px; }
.timeline h3 { margin-bottom: 8px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative; padding: 13px 0 13px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white); line-height: 1.5;
}
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--mint);
}
.timeline .done li::before { background: var(--green); border-color: var(--green); }
.timeline li span { display: block; font-family: var(--opensans); font-size: 14px; color: var(--grey); margin-top: 2px; }

/* Statement (mission, candour) */
.statement { max-width: 760px; margin: 0 auto; text-align: center; }
.statement p { font-size: clamp(1.0625rem, 2vw, 1.375rem); line-height: 1.65; color: var(--white); }

/* Inner pages */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(16px, 3vw, 32px); text-align: center; }
.page-head h1 { font-size: clamp(2.125rem, 4.2vw, 3.125rem); }
.page-head .lede { max-width: 640px; margin: 18px auto 0; font-size: 1.125rem; line-height: 1.7; }
.page-head .small { margin-top: 12px; }
.byline { font-family: var(--helvetica); font-size: 14px; color: var(--grey); margin: -4px 0 24px; }

.facts > div + div { margin-top: 48px; }
.facts h2 { font-size: 1.5rem; }

.datasheet { margin: 0; }
.datasheet div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--panel);
}
.datasheet div:first-child { border-top: 1px solid var(--panel); }
.datasheet dt { font-family: var(--helvetica); font-size: 15px; color: var(--grey); }
.datasheet dd { margin: 0; color: var(--white); font-weight: 400; text-align: right; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.pair > div { background: var(--panel); border-radius: 10px; padding: 28px; }
.pair ul { margin: 0; padding-left: 1.2em; }
.pair li { margin-bottom: 0.4em; color: var(--white); }
.pair li::marker { color: var(--mint); }

.list-rules { list-style: none; margin: 0; padding: 0; }
.list-rules li { padding: 14px 0; border-bottom: 1px solid var(--panel); }
.list-rules li:first-child { border-top: 1px solid var(--panel); }

/* Forms, styled like the current waitlist form */
.form { max-width: 560px; margin: 32px auto 0; text-align: left; }
.field { margin-bottom: 18px; }
.form label { display: block; font-family: var(--helvetica); font-size: 14px; line-height: 1.4; color: var(--grey); margin-bottom: 7px; }
.hint { color: var(--grey-mid); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px;
  background: var(--black); color: var(--white);
  border: 1px solid var(--grey); border-radius: 5px;
  font-family: var(--helvetica); font-size: 16px;
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
.form [aria-invalid="true"] { border-color: var(--error); }
.error { font-family: var(--helvetica); font-size: 14px; color: var(--error); margin: 6px 0 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 24px 0; }
.form .check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--green); }
.form .check label { margin: 0; font-family: var(--poppins); font-size: 15px; line-height: 1.6; color: var(--text); }
.form .btn { width: 100%; }
.fine { font-family: var(--opensans); font-size: 13px; line-height: 1.6; color: var(--grey); margin: 14px 0 0; }
.fine a { color: var(--grey); }
.form-msg {
  margin: 16px 0 0; padding: 14px 16px;
  border: 1px solid var(--green); border-radius: 5px;
  font-family: var(--helvetica); font-size: 15px; line-height: 1.5; color: var(--white);
}
.form [hidden] { display: none !important; }
.form-msg.is-error { border-color: var(--error); }
.form-msg a { color: var(--mint); }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footnotes */
sup { line-height: 0; }
sup a { font-family: var(--helvetica); font-size: 12px; text-decoration: none; padding: 0 2px; }
.notes { max-width: 860px; margin: 0 auto; }
.notes ol { margin: 0; padding-left: 1.4em; font-family: var(--opensans); font-size: 13px; line-height: 1.6; color: var(--grey); }
.notes li { margin-bottom: 6px; }
.notes a { color: var(--grey); }

/* Footer, modelled on the current site */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
  font-family: var(--helvetica); font-size: 14px; line-height: 1.6; color: var(--grey);
}
.foot-grid { display: grid; grid-template-columns: 200px 220px 1fr; gap: 40px; align-items: start; }
.foot-logo img { width: 170px; height: auto; margin-top: 6px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { font-family: var(--opensans); font-size: 16px; line-height: 2.3; color: var(--grey); text-decoration: underline; }
.foot-links a:hover { color: var(--white); }
.foot-legal p { margin: 0 0 12px; font-size: 13px; }
.foot-base {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px;
}
.foot-base a { color: var(--grey); }

/* Responsive */
@media (max-width: 1000px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 18px;
  }
  .nav.open { display: flex; }
  .nav a { line-height: 1.4; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
}

@media (max-width: 860px) {
  .duo, .timeline, .pair { grid-template-columns: 1fr; }
  .duo .photo { order: 2; }
  .steps-row { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .steps-row li { grid-template-columns: 64px 1fr; align-items: center; gap: 20px; }
  .steps-row img { width: 64px; height: 64px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-legal { grid-column: 1 / -1; }
  .hero-panel { width: 100%; padding: 0 var(--gutter); }
  .hero-inner { padding: 56px 0; }
}

/* Portrait phones and tablets: photo on top, text below on black */
@media (max-width: 860px) and (orientation: portrait) {
  .hero-media { position: relative; aspect-ratio: 16 / 10; max-height: 62vh; }
  .hero-panel { min-height: 0; background: var(--black); }
  .hero-inner { padding: 32px 0 56px; }
}

/* Short landscape screens (phones on their side): slimmer header */
@media (max-height: 500px) and (orientation: landscape) {
  .status { padding: 6px 0; }
  .site-head .wrap { min-height: 64px; }
  .hero-panel { min-height: 0; }
  .hero-inner { padding: 36px 0 40px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-head .wrap { min-height: 76px; }
  .logo img { width: 140px; }
  .status { font-size: 12px; padding: 8px 0; }
  .hero-inner { padding: 28px 0 48px; }
  .hero h1 { font-size: clamp(1.5rem, 8.4vw, 2rem); }
  .actions .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; padding-bottom: 0; }
  .cards .card:nth-child(even) { transform: none; }
  .datasheet div { flex-direction: column; gap: 2px; }
  .datasheet dd { text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, a { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
}
