/* Glance Desk website. Quiet product-page style: white, near-black type, grey bands, black pills,
   large rounded black panels for the G2 display. Green appears only where the glasses light up. */
:root {
  --bg: #ffffff;
  --band: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --g2: #3cfa44;
  --radius: 28px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(44px, 7.5vw, 88px);
  line-height: 1.02;
}
h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
}
h3 {
  font-size: 24px;
  line-height: 1.2;
}
code,
pre {
  font-family: var(--mono);
  font-size: 0.86em;
}
code {
  background: var(--band);
  border-radius: 6px;
  padding: 1px 6px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.fine {
  color: var(--muted);
  font-size: 14px;
}
.center {
  text-align: center;
}
section {
  padding: 120px 24px;
}
.section-head {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
  margin: 16px 0 0;
}

/* one colour per app, the same as on the demo page */
.app-cal {
  --app: #1a73e8;
  --app-soft: #e8f0fe;
}
.app-gmail {
  --app: #d93025;
  --app-soft: #fce8e6;
}
.app-drive {
  --app: #188038;
  --app-soft: #e6f4ea;
}
.app-notion {
  --app: #37352f;
  --app-soft: #efefed;
}
.app-tg {
  --app: #229ed9;
  --app-soft: #e3f4fc;
}
.app-ai {
  --app: #7c3aed;
  --app-soft: #f1ebfe;
}
.eyebrow.tag {
  display: inline-block;
  color: var(--app);
  background: var(--app-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.works {
  padding-top: 24px;
  padding-bottom: 96px;
  text-align: center;
}
.tiles {
  list-style: none;
  padding: 0;
  margin: 8px auto 20px;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  text-align: left;
}
.tiles li {
  background: var(--app-soft);
  border-radius: 18px;
  padding: 18px 16px;
  display: grid;
  gap: 6px;
  border-top: 4px solid var(--app);
}
.tiles b {
  font-size: 15px;
  color: var(--ink);
}
.tiles span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* top */
.topbar {
  background: #000;
  color: #f5f5f7;
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.8;
}
.nav nav a:hover {
  opacity: 1;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img {
  image-rendering: pixelated;
}

/* buttons */
.pill {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.pill:hover {
  background: var(--ink);
  color: #fff;
}
.pill.dark {
  background: var(--ink);
  color: #fff;
}
.pill.dark:hover {
  background: #000;
}
.pill.small {
  padding: 8px 18px;
  font-size: 14px;
}

/* lens panels */
.lens {
  background: #000;
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 48px);
  display: grid;
  place-items: center;
}
.lens img {
  display: block;
  width: 100%;
  max-width: 760px;
  border-radius: 8px;
}

/* hero */
.hero {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 80px;
}
.hero .lead {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 21px;
  color: var(--muted);
}
.ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 12px;
}
.stage {
  max-width: 1120px;
  margin: 64px auto 0;
}
.stage .lens {
  padding: clamp(28px, 7vw, 96px);
}
.stage figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* statement */
.statement {
  background: var(--band);
  text-align: center;
}
.statement h2 {
  max-width: 900px;
  margin: 0 auto;
}
.statement p {
  max-width: 680px;
  margin: 24px auto 0;
  font-size: 19px;
  color: var(--muted);
}

/* features */
.feature {
  max-width: 1120px;
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature.flip .lens {
  order: 2;
}
.feature .copy p:not(.eyebrow) {
  color: var(--muted);
  margin: 16px 0 20px;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--band);
}

/* screens */
.screens {
  background: var(--band);
}
.grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid figure {
  margin: 0;
}
.grid .lens {
  border-radius: 18px;
  padding: 14px;
}
.grid figcaption {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
.gestures {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
}
.gestures span {
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--muted);
}
.gestures b {
  color: var(--ink);
  margin-right: 4px;
}

/* how it works */
.sketch {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  overflow: hidden;
}
.sketch img {
  display: block;
  width: 100%;
  height: auto;
}
.sketch figcaption {
  padding: 4px 20px 12px;
  font-size: 15px;
  color: var(--muted);
}
.sketch figcaption b {
  color: var(--ink);
}
.sketch.wide {
  max-width: 1200px;
  margin: 0 auto 24px;
}
.sketches {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* telegram */
.telegram {
  background: var(--band);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  padding-right: max(24px, calc((100vw - 1120px) / 2));
}
.telegram .copy > p {
  color: var(--muted);
  margin: 16px 0 28px;
}
.cmds {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.cmds td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.cmds td:first-child {
  white-space: nowrap;
  padding-right: 16px;
}
.cmds td:last-child {
  color: var(--muted);
}
.phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.phones img {
  width: 100%;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35);
}

/* trust */
.cols {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.cols h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.cols p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.rules {
  max-width: 640px;
  margin: 72px auto 0;
}
.rules .eyebrow {
  text-align: center;
}
.rules ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: r;
}
.rules li {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-top: 1px solid var(--line);
  counter-increment: r;
}
.rules li span::before {
  content: counter(r) '  ';
  color: var(--muted);
  font-family: var(--mono);
  margin-right: 10px;
}
.rules b {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* apps */
.apps {
  background: var(--band);
  text-align: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.logos {
  list-style: none;
  padding: 0;
  margin: 8px auto 20px;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* get started */
.cards {
  max-width: 1120px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards > div {
  background: var(--band);
  border-radius: 22px;
  padding: 32px;
}
.cards h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.cards p {
  color: var(--muted);
  margin: 0 0 20px;
}
pre {
  margin: 0;
  background: #000;
  color: #e8e8ed;
  border-radius: 14px;
  padding: 16px 18px;
  overflow-x: auto;
  line-height: 1.6;
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 48px 32px 32px;
  max-width: 1184px;
  margin: 0 auto;
}
.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.foot h4 {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.foot-cols a:not(.brand) {
  display: block;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
}
.foot-cols a:hover {
  text-decoration: underline;
}

.feature > *,
.telegram > *,
.cards > *,
.sketches > * {
  min-width: 0;
}

@media (max-width: 900px) {
  section {
    padding: 80px 20px;
  }
  .nav nav {
    display: none;
  }
  .nav .pill {
    margin-left: auto;
  }
  .feature,
  .telegram,
  .sketches,
  .cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature {
    margin-bottom: 64px;
  }
  .feature.flip .lens {
    order: 0;
  }
  .grid,
  .cols,
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Seven role scenarios need more room than the compact integration tiles. */
.role-showcase .role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.role-showcase .role-grid li {
  background: #fff;
  border: 1px solid var(--line, #e5e5ea);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.role-title {
  text-decoration: none;
}
.role-title b {
  font-size: 21px;
}
.role-grid li > p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.role-grid li > span {
  font-size: 15px;
}
.role-apps {
  color: var(--muted);
}
.role-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.role-actions .pill {
  text-align: center;
}
@media (max-width: 900px) {
  .role-showcase .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .role-showcase .role-grid {
    grid-template-columns: 1fr;
  }
}

/* app icons on the "works with" tiles */
.tile-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

/* the working-day scenario */
.day {
  background: var(--band);
}
.day-list {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.day-list li {
  background: var(--bg);
  border-radius: 22px;
  padding: 14px 14px 18px;
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}
.day-list .lens {
  padding: 12px;
  border-radius: 16px;
}
.day-list .lens img {
  border-radius: 4px;
}
.day-time {
  margin: 8px 0 0;
  font: 600 13px var(--mono);
  color: var(--muted);
}
.day-list h3 {
  margin: 0;
  font-size: 19px;
}
.day-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.day-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px !important;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 13.5px !important;
}
.day-result img {
  border-radius: 5px;
}
.day-result span {
  margin-left: 4px;
}
@media (max-width: 900px) {
  .day-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .day-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.live {
  max-width: 1120px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.live figure {
  margin: 0;
  background: var(--bg);
  border-radius: 22px;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.live img {
  width: 100%;
  border-radius: 12px;
}
.live figcaption {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 700px) {
  .live {
    grid-template-columns: minmax(0, 1fr);
  }
}
