:root {
  color-scheme: light;
  --background: #f7f8f4;
  --ink: #242c25;
  --muted: #626b60;
  --accent: #466938;
  --line: #dce1d6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
::selection { background: #d7e4c9; color: #242c25; }
.site-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 2; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; font-weight: 650; letter-spacing: -1.2px; }
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.brand-dot { color: var(--accent); }
nav { display: flex; gap: 34px; font-size: 14px; }
nav a { padding-block: 12px; }
nav a:hover { color: var(--accent); }
nav span { margin-left: 6px; }
.hero { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 20px; padding-block: 88px 94px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .035em; }
.small-cross { color: var(--accent); font-family: monospace; font-size: 21px; font-weight: 400; line-height: 1; }
h1 { margin: 0; font-size: clamp(44px, 5.5vw, 68px); font-weight: 500; line-height: 1.1; letter-spacing: -.06em; }
h1 span { color: var(--accent); }
.hero-description { margin: 26px 0 28px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.primary-link { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; padding: 12px 19px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; transition: background .18s; }
.primary-link:hover { background: #354f2b; }
.primary-link span { font-size: 18px; }
.ray-study { align-self: center; margin-top: 18px; }
.ray-study svg { display: block; width: 100%; height: auto; }
.applications { scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
h2 { margin: 0; font-size: 18px; font-weight: 550; letter-spacing: -.025em; }
.section-note { color: var(--muted); font-size: 12px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.app-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 9px; background: #fcfdf9; transition: border-color .18s, transform .18s, box-shadow .18s; }
.app-card:hover { border-color: #a8b49e; transform: translateY(-3px); box-shadow: 0 8px 24px #24351b08; }
.card-topline { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.app-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 10px; }
.app-icon svg { width: 28px; height: 28px; }
.pixels-icon { background: #edf0e3; color: #617640; }
.lens-icon { background: #e8eef0; color: #4c6d7e; }
.app-category { color: var(--muted); font-size: 12px; }
.card-arrow { margin-left: auto; align-self: flex-start; color: #75816e; font-size: 22px; }
h3 { margin: 0 0 12px; font-size: 24px; font-weight: 550; letter-spacing: -.045em; }
.app-card p { max-width: 400px; margin: 0 0 28px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-top: 21px; border-top: 1px solid #e7eadf; margin-top: auto; }
.card-footer > span:first-child { font-size: 12px; font-weight: 600; color: var(--accent); }
.card-footer > span:first-child span { margin-left: 5px; }
.card-domain { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.about { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 60px; padding: 40px 0; margin-top: 51px; border-top: 1px solid var(--line); }
.about-label { display: flex; align-items: center; gap: 12px; padding-top: 3px; }
.about h2 { font-size: 14px; letter-spacing: 0; }
.about p { max-width: 600px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 26px 32px; color: var(--muted); font-size: 11px; }
.footer-dot { color: var(--accent); margin-left: 2px; font-size: 19px; }

@media (min-width: 1400px) {
  .hero { padding-block: 105px 110px; }
}

@media (max-width: 900px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.5fr 1fr; padding-block: 70px; }
  h1 { font-size: 52px; }
  .hero-description { font-size: 15px; }
  .app-card { padding: 24px; }
  .card-footer { align-items: flex-start; flex-direction: column; }
  .about { gap: 32px; }
}

@media (max-width: 640px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 88px; }
  .wordmark { font-size: 25px; }
  .brand-mark { width: 27px; height: 27px; }
  nav { gap: 20px; font-size: 12px; }
  nav span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 53px 36px; }
  h1 { font-size: clamp(38px, 9.8vw, 58px); }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .hero-description { margin-block: 22px; font-size: 15px; }
  .ray-study { width: min(340px, 100%); justify-self: center; margin-top: 0; }
  .section-heading { margin-bottom: 18px; }
  .section-note { display: none; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-card { padding: 24px; }
  .card-topline { margin-bottom: 23px; }
  .card-footer { flex-direction: row; align-items: center; }
  .about { grid-template-columns: 1fr; gap: 16px; margin-top: 34px; padding-block: 30px; }
  .site-footer { font-size: 10px; padding-block: 22px; }
}

@media (max-width: 360px) {
  nav { gap: 14px; }
  .wordmark { gap: 6px; font-size: 23px; }
  .desktop-break { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .app-card:hover { transform: none; }
}
