:root {
  /* Brand: teal wordmark #006B66, selection blue #2455B6, cursor blue #3F8DE3. Light only:
     the brand guide keeps the teal wordmark on a light background. */
  --paper: #F3F7F7; --sheet: #FFFFFF; --ink: #0F2B2E; --slate: #4D6466; --line: #D2DFDF;
  --teal: #006B66; --blue: #2455B6; --cursor: #3F8DE3; --focus: #2455B6; --select: #D3E2FA;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 18px/1.6 "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 40px; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* The one bold mark: the headline looks selected, like the brackets in the icon. */
.selected { background-image: linear-gradient(var(--select), var(--select)); background-repeat: no-repeat;
  padding: 0 .06em; margin: 0 -.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.top { max-width: 1120px; width: 100%; margin: 0 auto; padding: 28px 40px 0; }
.brand { display: inline-block; line-height: 0; }
.brand img { width: 168px; height: auto; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0 96px; }
h1 { font-size: 58px; line-height: 1.2; font-weight: 600; letter-spacing: -0.022em; margin: 0 0 24px; }
.lede { font-size: 20px; color: var(--slate); margin: 0 0 22px; max-width: 34em; }
.status { margin: 0; font-weight: 500; }
.status a { color: var(--blue); }

.demo { position: relative; margin: 0; height: 330px; }
.page-text { position: absolute; left: 0; top: 8px; width: 400px; margin: 0; background: var(--sheet); border-radius: 12px;
  padding: 26px 30px; font-size: 21px; line-height: 1.65; box-shadow: 0 1px 0 rgba(15,43,46,.05), 0 14px 36px rgba(15,43,46,.12); }
mark { background: var(--select); color: inherit; }
.menu { position: absolute; left: 120px; top: 190px; width: 200px; background: #F6F6F8; color: #222; border-radius: 9px; padding: 6px;
  font: 14px/1.2 -apple-system, "Segoe UI", system-ui, sans-serif; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 16px 40px rgba(15,43,46,.25); }
.menu div { padding: 7px 11px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu hr { border: 0; border-top: 1px solid rgba(0,0,0,.1); margin: 5px 8px; }
.menu .hot { background: #3D7BF7; color: #fff; }
.menu .sub { position: absolute; left: 194px; top: 40px; width: 270px; background: #F6F6F8; border-radius: 9px; padding: 6px;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 16px 40px rgba(15,43,46,.25); }

/* Features: copy beside a real capture of the UI. */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 64px 0;
  border-top: 1px solid var(--line); }
.feature.flip .copy { order: 2; }
.feature.wide { grid-template-columns: 1fr; gap: 28px; }
.feature.wide .copy { max-width: 36em; }
h2 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 14px; }
.copy p { margin: 0; color: var(--slate); max-width: 30em; }
figure.media { margin: 0; position: relative; }
.ui { display: block; max-width: 100%; height: auto; border-radius: 12px; background: #fff;
  box-shadow: 0 1px 0 rgba(15,43,46,.05), 0 14px 36px rgba(15,43,46,.14); }
.fill { min-height: 330px; }
.fill .field { position: absolute; left: 0; top: 0; width: 290px; background: var(--sheet); border-radius: 10px; padding: 14px 16px 16px;
  box-shadow: 0 1px 0 rgba(15,43,46,.05), 0 10px 28px rgba(15,43,46,.10); }
.fill .field span { display: block; font-size: 14px; color: var(--slate); margin-bottom: 6px; }
.fill .field output { display: block; border: 2px solid var(--blue); border-radius: 7px; padding: 8px 11px;
  font-variant-numeric: tabular-nums; }
.fill .ui { position: absolute; left: 230px; top: 92px; width: 240px; }
.cards { display: grid; gap: 18px; justify-items: start; }
.cards .ui { width: 300px; }
.cards .ui + .ui { margin-left: 64px; }
.wide .ui { width: 820px; }

/* Early access (the skill's reveal form: keep #reveal, data-secret and the field names). */
#reveal { border-top: 1px solid var(--line); padding: 64px 0 96px; max-width: 40em; }
#reveal p { color: var(--slate); margin: 0 0 18px; }
form { display: flex; flex-wrap: wrap; gap: 10px; }
input, button, .button { font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 9px; min-height: 46px; }
input { border: 1px solid var(--line); background: var(--sheet); color: var(--ink); flex: 1 1 11em; }
button, .button { border: 0; background: var(--teal); color: #fff; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-block; padding-inline: 20px; }
#reveal .reveal-msg { margin: 14px 0 0; }
#reveal .button { margin-top: 6px; }

footer { max-width: 1120px; width: 100%; margin: 0 auto; padding: 28px 40px 40px; display: flex; justify-content: space-between;
  align-items: center; border-top: 1px solid var(--line); color: var(--slate); font-size: 15px; }
.brand.small img { width: 120px; }

/* Privacy page */
.doc { max-width: 40em; padding: 56px 0 80px; }
.doc h1 { font-size: 44px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--slate); }
.doc .updated { font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero .selected { animation: drag 1s .2s cubic-bezier(.3,.6,.2,1) both; }
  @keyframes drag { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
}

@media (max-width: 900px) {
  main, .top, footer { padding-left: 20px; padding-right: 20px; }
  .brand img { width: 144px; }
  .hero, .feature { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 40px 0 56px; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .feature { padding: 48px 0; }
  .feature.flip .copy { order: 0; }
  .demo { height: 360px; }
  .page-text { width: 100%; max-width: 400px; font-size: 19px; }
  .menu { left: 20px; top: 200px; }
  .menu .sub { left: 24px; top: 74px; }
  .fill { min-height: 0; }
  .fill .field, .fill .ui { position: static; }
  .fill .ui { margin: 16px 0 0 40px; }
  .cards .ui + .ui { margin-left: 24px; }
  .wide .ui { width: 100%; }
}
