:root {
  color-scheme: light dark;
  --paper: #f4f5f8;
  --surface: #ffffff;
  --ink: #202936;
  --muted: #596476;
  --line: #d5dce6;
  --accent: #0865bf;
  --wash: #e7f0fc;
  --screen-edge: #8b97a8;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: radial-gradient(ellipse at top right, var(--wash), transparent 48rem), var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .65rem; background: var(--surface); }
.skip:focus { top: 1rem; z-index: 1; }
.shell { width: min(100% - 3rem, 66rem); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; color: var(--ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.brand img { display: block; width: 36px; height: 36px; }
nav { display: flex; gap: .4rem; flex-wrap: wrap; }
nav a { padding: .5rem .85rem; border-radius: 999px; text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { background: var(--wash); color: var(--ink); }
main { max-width: 47rem; padding-block: clamp(2rem, 6vw, 4rem); }
.eyebrow { margin: 0 0 .65rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.1; letter-spacing: -.055em; margin: 0 0 1rem; font-weight: 600; }
h2 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.025em; margin: 2.25rem 0 .6rem; }
p, ul { margin: .6rem 0 1rem; }
li { margin-block: .5rem; }
.meta, .site-footer { color: var(--muted); font-size: .9rem; }
.summary { padding: 1.4rem 1.6rem; margin-block: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; }
.summary p:last-child { margin-bottom: 0; }
.summary p:first-child { margin-top: 0; }
.intro { font-size: 1.2rem; max-width: 36rem; color: var(--muted); }
.page-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.page-link { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); color: var(--ink); text-decoration: none; }
.page-link strong { display: block; font-size: 1.25rem; }
.page-link span { display: block; color: var(--muted); margin-top: .5rem; }
.contact { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; }
.site-footer p { margin: 0; }
.home-page .site-header, .home-page .site-footer { border: 0; }
.landing { max-width: 66rem; padding-top: 1.5rem; }
.landing > .page-links { margin-top: 7rem; }
/* Independent columns fill the space beside tall screenshots instead of waiting for a row to end. */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 7rem clamp(2rem, 6vw, 5rem); }
.story-column { display: flex; flex-direction: column; gap: 7rem; min-width: 0; }
.story-column > figure { align-self: center; }
.hero-copy { grid-area: intro; align-self: start; }
.hero-copy h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.home-preview { grid-area: home; align-self: start; }
.routing-preview { grid-area: routing; }
.organization-copy { grid-area: organization; }
.widgets-copy { grid-area: widgets-copy; }
.widget-preview { grid-area: widgets; }
.duo-copy { grid-area: duo-copy; }
.duo-preview { grid-area: duo; }
.launch-note, figcaption { color: var(--muted); font-size: .875rem; }
.launch-note { max-width: 29rem; margin-top: 1rem; }
figure { margin: 0; }
figure img { display: block; max-width: 100%; height: auto; }
.phone-preview, .routing-preview { justify-self: center; width: min(100%, 16rem); }
.phone-preview img, .duo-preview img, .routing-preview img { border: 2px solid var(--screen-edge); border-radius: 1.5rem; }
figcaption { margin-top: .8rem; line-height: 1.5; }
.feature-copy h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-top: 0; line-height: 1.15; letter-spacing: -.04em; }
.feature-copy { scroll-margin-top: 2rem; }
.feature-copy > :last-child, .hero-copy > :last-child { margin-bottom: 0; }
.feature-list { padding-left: 1.2rem; margin-top: 1.5rem; color: var(--muted); }
.duo-preview { justify-self: center; width: min(100%, 28rem); }
@media (max-width: 48rem) {
  .story-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "home" "organization" "routing" "widgets-copy" "widgets" "duo-copy" "duo"; gap: 3.5rem; }
  .story-column { display: contents; }
  .landing > .page-links { margin-top: 3.5rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
  .feature-copy { margin-top: 1rem; }
  .phone-preview, .routing-preview { width: min(100%, 18rem); }
}
@media (max-width: 30rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { gap: .5rem; }
  nav { gap: 0; }
  nav a { padding-inline: .65rem; }
  .page-links { grid-template-columns: 1fr; }
  .summary { padding: 1.15rem; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121823;
    --surface: #1c2533;
    --ink: #edf2f9;
    --muted: #b4bfd0;
    --line: #354254;
    --accent: #8bc5ff;
    --wash: #1d3048;
    --screen-edge: #7f8da2;
  }
}
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .shell { width: 100%; }
  nav, .skip { display: none; }
  main { max-width: none; padding-block: 1rem; }
  .summary { background: none; }
  h2 { break-after: avoid; }
  a { color: inherit; }
}
