/* The sourcing brief. System type and local artwork only. */
:root {
  color-scheme: light dark;
  --page: #fcfdff;
  --ink: #111f39;
  --body: #324563;
  --muted: #51627c;
  --blue: #1649d5;
  --link-hover: #0d329a;
  --tint: #edf3fc;
  --line: #c3d0e3;
  --amber: #92430a;
  --serif: Georgia, "Times New Roman", serif;
  --space: clamp(3rem, 6.5vw, 6.25rem);
  --gap: clamp(2.5rem, 6vw, 6rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0d1525;
    --ink: #f1f5ff;
    --body: #d0dcf0;
    --muted: #a4b6d4;
    --blue: #92b3ff;
    --link-hover: #cddfff;
    --tint: #14213a;
    --line: #354866;
    --amber: #ffc38c;
  }
  .brand img { filter: brightness(1.9) saturate(.7); }
  .sample .plate { filter: invert(1) hue-rotate(180deg) saturate(.67); mix-blend-mode: screen; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--body);
  background: var(--page);
  font: 1.0625rem/1.6 "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
main { flex: 1; }
.bar, main, footer { container-type: inline-size; }
main:focus { outline: none; }
:target { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - clamp(2.5rem, 11vw, 12rem), 76rem); margin: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
p, dd { text-wrap: pretty; }
p + p, p + a, h2 + p, dl + p { margin-top: 1.15rem; }
h1, h2, .brand {
  color: var(--ink);
  font: normal clamp(3.6rem, 5.9vw, 5.6rem)/1 var(--serif);
  letter-spacing: -.052em;
  text-wrap: balance;
}
h1 { margin-bottom: 1.55rem; }
h2 { letter-spacing: -.035em; font-size: clamp(2.45rem, 3.75vw, 3.65rem); line-height: 1.08; }
h3, dt { font-size: 1.14rem; color: var(--ink); font-weight: 600; margin-bottom: .35rem; }
p + h3, p + h2 { margin-top: 2rem; }
em { color: var(--blue); }
.lede { font-size: clamp(1.18rem, 1.5vw, 1.38rem); line-height: 1.48; letter-spacing: -.014em; }
.eyebrow, .label {
  color: var(--blue);
  font-size: .82rem;
  letter-spacing: .11em;
  line-height: 1.45;
  font-weight: 600;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 1.3rem; }
.note, .demo-shot figcaption, .fine { font-size: .92rem; line-height: 1.55; color: var(--muted); }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
p + a, section > a { display: inline-block; font-weight: 600; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--page);
  background: var(--blue);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  padding: .92rem 1.5rem;
  border-radius: .42rem;
  text-decoration: none;
  margin-top: 1.8rem;
}
.button:hover { background: var(--link-hover); color: var(--page); }
.skip { position: absolute; top: -12rem; left: 1rem; background: var(--page); padding: .6rem; z-index: 1; }
.skip:focus { top: .6rem; }
.bar { border-bottom: 1px solid var(--line); }
.mast, .end, .fine, nav, .brand, .sample figcaption, .pilot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mast { min-height: 5.25rem; gap: 0 2rem; }
.mast, .end, nav { flex-wrap: wrap; }
.brand { gap: .55rem; font-size: 1.88rem; font-weight: 600; text-decoration: none; }
nav { gap: clamp(1.45rem, 3vw, 3rem); font-size: 1rem; }
nav a { display: flex; min-height: 44px; align-items: center; color: var(--body); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: .4rem; }
.pilot { font-size: .92rem; gap: .55rem; color: var(--body); }
.pilot::before { content: ""; width: .48rem; height: .48rem; background: var(--blue); border-radius: 50%; }
footer { border-top: 1px solid var(--line); padding-block: 2.1rem; }
.end .brand { font-size: 1.55rem; }
.end img { width: 31px; height: auto; }
.fine { gap: 1rem; margin-top: 1.45rem; font-size: .85rem; }
.fine p { margin: 0; }

/* Paired editorial columns and the illustrated brief. */
.intro, .split, .tour, .article, .story {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: var(--gap);
  padding-block: var(--space);
}
.intro { align-items: center; padding-block: clamp(3rem, 5.2vw, 5.75rem); }
.lead h1 { font-size: clamp(4rem, 6.65vw, 6.25rem); line-height: .98; }
.lead em { display: block; }
.lead .lede { max-width: 25em; }
.sample { isolation: isolate; background: var(--page); }
.sample figcaption { gap: 1rem; color: var(--ink); }
.sample strong { font-weight: 600; }
.label { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.plate { width: 100%; height: auto; display: block; margin: 1.65rem auto; mix-blend-mode: multiply; }
table { border-collapse: collapse; width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
td, th { padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 400; }
tr > :first-child { text-align: left; }
thead th { color: var(--muted); font-size: .91rem; padding-top: 0; }
.sample tbody td:nth-child(2), tfoot td, tfoot th { font-weight: 600; }
.hold { margin-top: .95rem; font-size: .96rem; }
.hold strong { color: var(--amber); margin-right: .45rem; }
.tint { background: var(--tint); }
.calculation { align-self: center; }
.calculation .note { margin-top: 1rem; }
tfoot td, tfoot th { border: 0; color: var(--blue); }
.ruled, .prose section { border-top: 1px solid var(--line); }

/* Product figures are real crops, with a separate phone rendition. */
.tour { grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); align-items: start; gap: min(5vw, 4.5rem); }
#fit { padding-top: clamp(2.5rem, 4vw, 4rem); }
.tour h1 { font-size: clamp(3.3rem, 5.3vw, 5rem); }
.demo-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: .45rem; }
.demo-shot figcaption { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-bottom: .65rem; color: var(--ink); font-weight: 600; }
.demo-shot span { font-weight: 400; color: var(--muted); }
.jumps { gap: 0 1.3rem; justify-content: start; flex-wrap: wrap; margin-top: 1.15rem; }
.jumps a, .toc a { color: var(--blue); text-decoration: underline; }

/* Long-form reading and short wayfinding pages. */
.story, .article { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.story h2, .prose h2 { font-size: clamp(2rem, 2.9vw, 2.6rem); }
.toc { flex-direction: column; align-items: start; gap: 0; margin-top: 2rem; }
.prose section { margin-top: 2.1rem; padding-top: 2.1rem; }
.prose dt { font-size: 1rem; margin: 1.2rem 0 .25rem; }
.short { padding-block: clamp(4rem, 10vw, 10rem); }

@media (min-width: 54rem) and (min-height: 42rem) {
  .reading-aside { position: sticky; top: 2rem; align-self: start; }
}
@media (max-width: 64rem) {
  .wrap { width: min(100% - 4rem, 56rem); }
  .intro, .split, .story, .article { gap: 2rem; }
  .intro { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .lead h1 { font-size: 6.95vw; }
  .tour { grid-template-columns: 1fr; max-width: 48rem; gap: 2rem; }
  .tour h1 br { display: none; }
  .tour h1 { text-wrap: pretty; }
  .fine { align-items: start; }
  .end nav { gap: 1.3rem; }
}
@media (max-width: 47rem) {
  .wrap { width: min(100% - 2.5rem, 36rem); }
  .intro, .story, .article, .split { grid-template-columns: minmax(0, 1fr); }
  .mast, .end { flex-wrap: wrap; gap: 0; padding-top: .75rem; }
  .mast nav { width: 100%; order: 3; gap: .5rem; flex-wrap: wrap; }
  .brand { font-size: 1.6rem; }
  .brand img { width: 30px; height: auto; }
  .mast nav, .end nav { font-size: .96rem; }
  .end nav { gap: 0 1.2rem; flex-wrap: wrap; justify-content: start; margin-top: .8rem; }
  .fine { display: block; margin-top: .75rem; }
  .fine p + p { margin-top: .35rem; }
  footer { padding-block: 1rem 1.5rem; }
  h1, .tour h1 { font-size: clamp(2.85rem, 11vw, 4rem); margin-bottom: 1rem; }
  .lead h1 { font-size: clamp(2.1rem, 10.3vw, 3.8rem); line-height: 1.02; }
  .lead em { display: inline; }
  .lede { font-size: 1.1rem; }
  .intro, .story, .article, .tour { padding-block: 2rem 2.5rem; gap: 2rem; }
  .intro { padding-top: 1.6rem; gap: 1.6rem; }
  #fit { padding-top: 1.6rem; gap: 1.1rem; }
  .intro .button { margin-top: 1.15rem; }
  .eyebrow { margin-bottom: .8rem; font-size: .76rem; letter-spacing: .08em; }
  .sample { border-top: 1px solid var(--line); padding-top: 1rem; }
  .plate { margin: .85rem auto; }
  .sample figcaption { gap: .25rem; flex-wrap: wrap; }
  .label { font-size: .75rem; }
  td, th { font-size: 1rem; padding-block: .55rem; }
  .article h1, .story h1, .tour h1 { text-wrap: pretty; margin-bottom: 0; }
  .tour h1 { margin-bottom: 1rem; }
  .toc { flex-flow: row wrap; justify-content: start; gap: 0 1.1rem; margin-top: 1.25rem; }
  .split { gap: 1.5rem; }
}
/* Keep the reading measure usable when only text is enlarged. */
@container (max-width: 44em) {
  .intro, .split, .story, .article, .tour { grid-template-columns: minmax(0, 1fr); }
  .reading-aside { position: static; }
  .mast nav { order: 3; width: 100%; }
  .wrap { width: min(100% - 40px, 36rem); }
}
@container (max-width: 16em) {
  .wrap { width: calc(100% - 24px); }
  .button { padding-inline: .55rem; }
  .lead h1, h1, .tour h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  td, th, thead th { font-size: .8rem; padding-inline: 2px; overflow-wrap: normal; }
  .mast nav, .end nav { gap: 0 .65rem; }
}
@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  .sample .plate { filter: none; mix-blend-mode: normal; }
}
