



@font-face {
  font-family: "Josefin Sans";
  src: url("fonts/josefin-sans/JosefinSans%5Bwght%5D.ttf") format("truetype-variations"),
       url("fonts/josefin-sans/JosefinSans%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans/WorkSans%5Bwght%5D.ttf") format("truetype-variations"),
       url("fonts/work-sans/WorkSans%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}



:root {
  --c-canvas: #0d1510;
  --c-sunken: #070c09;
  --c-surface: #16231b;
  --c-surface-raised: #1f2c23;
  --c-hairline-soft: #1c241e;
  --c-hairline: #272f28;
  --c-hairline-strong: #3d443c;
  --c-ink: #e6ead6;
  --c-ink-muted: #94998b;
  --c-ink-faint: #71776b;
  --c-accent: #a8c08e;
  --c-accent-quiet: #3c4836;
  --c-on-accent: #0d1510;
  --c-success: #5da061;
  --c-success-quiet: #1f3422;
  --c-warning: #a48e4b;
  --c-warning-quiet: #2e301d;
  --c-error: #cb7a6a;
  --c-error-quiet: #372b24;
  --c-info: #6a96b4;
  --c-info-quiet: #213134;

  
  --c-stone-lit: #bdd0aa;
  --c-stone-shade: #86a762;

  --f-display: "Josefin Sans", Futura, "Century Gothic", system-ui, sans-serif;
  --f-text: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-quoted: "EB Garamond", "Newsreader", Charter, "Iowan Old Style", Georgia, serif;
  --f-mono: ui-monospace, Menlo, "SFMono-Regular", Consolas, monospace;

  
  --t-display-0: 124px;
  --t-display-1: 76px;  --lh-display-1: 1.02;  --tr-display-1: -0.022em;
  --t-display-2: 56px;  --lh-display-2: 1.06;  --tr-display-2: -0.020em;
  --t-h1: 40px;         --lh-h1: 1.14;         --tr-h1: -0.016em;
  --t-h2: 30px;         --lh-h2: 1.22;         --tr-h2: -0.012em;
  --t-h3: 22px;         --lh-h3: 1.32;         --tr-h3: -0.006em;
  --t-lead: 19px;       --lh-lead: 1.58;       --tr-lead: 0.000em;
  --t-body: 16px;       --lh-body: 1.62;       --tr-body: 0.000em;
  --t-small: 14px;      --lh-small: 1.56;      --tr-small: 0.000em;
  --t-caption: 13px;    --lh-caption: 1.5;     --tr-caption: 0.004em;
  --t-eyebrow: 12px;    --lh-eyebrow: 1.2;     --tr-eyebrow: 0.140em;
  --t-quote: 28px;      --lh-quote: 1.38;      --tr-quote: -0.004em;
  --t-mono: 13px;       --lh-mono: 1.52;       --tr-mono: 0.000em;

  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-display: 700;
  --measure: 64ch;
  --measure-lead: 46ch;

  --s-0: 0px;   --s-1: 2px;   --s-2: 4px;   --s-3: 8px;   --s-4: 12px;
  --s-5: 16px;  --s-6: 24px;  --s-7: 32px;  --s-8: 48px;  --s-9: 64px;
  --s-10: 96px; --s-11: 128px; --s-12: 160px; --s-13: 224px;

  --r-0: 0px; --r-1: 4px; --r-2: 8px; --r-3: 12px; --r-4: 18px; --r-pill: 999px;

  --rule: 1px;
  --rule-thick: 2px;
  --focus-ring: 2px;
  --focus-offset: 2px;

  --page-max: 1200px;
  --page-gutter: var(--s-7);
  --col-count: 12;
  --col-gap: var(--s-6);
  --header-h: 72px;
  --icon-1: 16px;
  --icon-2: 20px;
  --icon-3: 24px;
  --logo-h: 36px;
  --control-h: 40px;
  --track: 1px;

  --shadow-0: none;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.30);
  --shadow-2: 0 8px 24px rgb(0 0 0 / 0.40);

  color-scheme: dark;
}



@media (prefers-color-scheme: light) {
  :root {
    --c-canvas: #ece9db;
    --c-sunken: #e2e0d2;
    --c-surface: #f6f5ef;
    --c-surface-raised: #ffffff;
    --c-hairline-soft: #d8d8ca;
    --c-hairline: #c9cabd;
    --c-hairline-strong: #afb3a6;
    --c-ink: #12291d;
    --c-ink-muted: #4f5f52;
    --c-ink-faint: #727d71;
    --c-accent: #334a36;
    --c-accent-quiet: #ced0c1;
    --c-on-accent: #ece9db;
    --c-success: #376e43;
    --c-success-quiet: #d6dac9;
    --c-warning: #835b18;
    --c-warning-quiet: #dfd8c4;
    --c-error: #9f3a2e;
    --c-error-quiet: #e3d4c6;
    --c-info: #325e7c;
    --c-info-quiet: #d6d8d0;
    
    --c-stone-lit: #476849;
    --c-stone-shade: #233425;
    --shadow-1: 0 1px 2px rgb(18 41 29 / 0.10);
    --shadow-2: 0 8px 24px rgb(18 41 29 / 0.12);
    color-scheme: light;
  }
}

[data-theme="light"] {
  --c-canvas: #ece9db;
  --c-sunken: #e2e0d2;
  --c-surface: #f6f5ef;
  --c-surface-raised: #ffffff;
  --c-hairline-soft: #d8d8ca;
  --c-hairline: #c9cabd;
  --c-hairline-strong: #afb3a6;
  --c-ink: #12291d;
  --c-ink-muted: #4f5f52;
  --c-ink-faint: #727d71;
  --c-accent: #334a36;
  --c-accent-quiet: #ced0c1;
  --c-on-accent: #ece9db;
  --c-success: #376e43;
  --c-success-quiet: #d6dac9;
  --c-warning: #835b18;
  --c-warning-quiet: #dfd8c4;
  --c-error: #9f3a2e;
  --c-error-quiet: #e3d4c6;
  --c-info: #325e7c;
  --c-info-quiet: #d6d8d0;
  --c-stone-lit: #476849;
  --c-stone-shade: #233425;
  --shadow-1: 0 1px 2px rgb(18 41 29 / 0.10);
  --shadow-2: 0 8px 24px rgb(18 41 29 / 0.12);
  color-scheme: light;
}



*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--c-canvas);
  color: var(--c-ink);
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

p { margin: 0 0 var(--s-5); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--s-5); padding-left: var(--s-6); }
li { margin-bottom: var(--s-3); }
li:last-child { margin-bottom: 0; }

strong { font-weight: var(--w-semibold); }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: from-font; }
a:hover { text-decoration-color: var(--c-accent); }

:focus-visible {
  outline: var(--focus-ring) solid var(--c-accent);
  outline-offset: var(--focus-offset);
  border-radius: var(--r-1);
}


.skip {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 2;
  transform: translateY(calc(-100% - var(--s-7)));
  background: var(--c-surface-raised);
  color: var(--c-ink);
  border: var(--rule) solid var(--c-hairline-strong);
  border-radius: var(--r-2);
  padding: var(--s-3) var(--s-5);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  text-decoration: none;
}
.skip:focus { transform: none; }



.well {
  width: min(var(--page-max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.band { width: 100%; }
.band-rule { border-bottom: var(--rule) solid var(--c-hairline); }


.section { padding-block: var(--s-10); }
.section-tight { padding-block: var(--s-9); }
.section + .section { border-top: var(--rule) solid var(--c-hairline-soft); }

.section-after-head { padding-top: var(--s-8); }



.display-1, .display-2, h1, h2 {
  font-family: var(--f-display);
  font-weight: var(--w-display);
  margin: 0;
}

h1, .display-1 {
  font-size: var(--t-display-1);
  line-height: var(--lh-display-1);
  letter-spacing: var(--tr-display-1);
  max-width: 17ch;
}

h2, .display-2 {
  font-size: var(--t-display-2);
  line-height: var(--lh-display-2);
  letter-spacing: var(--tr-display-2);
  max-width: 22ch;
}

h3 {
  font-family: var(--f-text);
  font-weight: var(--w-semibold);
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
  margin: 0;
}



.lead {
  font-size: var(--t-lead);
  line-height: var(--lh-lead);
  color: var(--c-ink-muted);
  max-width: var(--measure-lead);
}

.prose { max-width: var(--measure); }


h2 + .prose, h2 + p, .page-head h1 + .lead { margin-top: var(--s-8); }
.section-intro { margin-bottom: 0; }

.page-head .lead + .prose { margin-top: var(--s-6); }
.page-head .prose:last-child { margin-bottom: 0; }
.lead a { color: var(--c-ink); }
.hero-lead { max-width: 56ch; }
.contact-line { max-width: 52ch; }

.small { font-size: var(--t-small); line-height: var(--lh-small); }
.muted { color: var(--c-ink-muted); }





.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: var(--header-h);
  padding-block: var(--s-4);
  flex-wrap: wrap;
}

.logo-link { display: inline-block; text-decoration: none; }
.logo { height: var(--logo-h); width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-6);
  font-size: var(--t-small);
  font-weight: var(--w-medium);
}
.nav a {
  text-decoration: none;
  color: var(--c-ink-muted);
  padding-block: var(--s-2);
  border-bottom: var(--rule-thick) solid transparent;
}
.nav a:hover { color: var(--c-ink); }
.nav a[aria-current="page"] {
  color: var(--c-ink);
  border-bottom-color: var(--c-accent);
}



.hero-band {
  background:
    radial-gradient(90% 70% at 10% -10%, var(--c-surface) 0%, transparent 62%),
    var(--c-canvas);
}


.page-head { padding-block: var(--s-11) var(--s-8); }
.page-head h1 { max-width: 20ch; margin-bottom: var(--s-6); }



.hero-product { padding-block: var(--s-11) var(--s-10); }
.hero-product h1 { margin-bottom: var(--s-8); max-width: 19ch; }
.hero-product .lead { margin-bottom: 0; max-width: 54ch; }

.hero-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-9);
  align-items: start;
}
.hero-cols h1 { max-width: none; }
.hero-cols .lead { max-width: none; }
.hero-cols .offer { max-width: none; }
@media (max-width: 900px) {
  .hero-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
}

.hero-aside { display: block; }
.hero-mini {
  margin-top: var(--s-7);
  background: var(--c-surface);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-2);
  padding: var(--s-5);
}
.hero-mini .fig-art { width: 100%; height: auto; }


.offer {
  margin-top: var(--s-8);
  background: var(--c-surface);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-3);
  padding: var(--s-7);
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.offer > * { margin: 0; }




.steps {
  list-style: none;
  padding-left: 0;
  margin: var(--s-8) 0 0;
  counter-reset: step;
  max-width: var(--measure);
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: var(--s-9);
  margin-bottom: var(--s-6);
}
.steps > li:last-child { margin-bottom: 0; }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s-7);
  height: var(--s-7);
  border: var(--rule) solid var(--c-accent-quiet);
  border-radius: var(--r-1);
  color: var(--c-accent);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  line-height: calc(var(--s-7) - 2 * var(--rule));
  text-align: center;
}
.steps > li strong { color: var(--c-ink); }

.bullets {
  list-style: none;
  padding-left: 0;
  margin: var(--s-5) 0 0;
  max-width: var(--measure);
}
.bullets > li {
  position: relative;
  padding-left: var(--s-6);
  margin-bottom: var(--s-4);
}
.bullets > li:last-child { margin-bottom: 0; }
.bullets > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.5 * var(--t-body) * var(--lh-body) - 0.5 * var(--rule-thick));
  width: var(--s-4);
  height: var(--rule-thick);
  background: var(--c-accent);
}

.bullets.nots > li::before { background: var(--c-hairline-strong); }

@media (min-width: 900px) {
  .bullets.nots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s-9);
    max-width: none;
  }
}
.bullets + .prose { margin-top: var(--s-6); }
.prose + .bullets { margin-top: var(--s-5); }



.card-title {
  font-family: var(--f-display);
  font-weight: var(--w-display);
  font-size: var(--t-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
  max-width: none;
}
.card-copy { max-width: 46ch; }


.spec {
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  font-weight: var(--w-semibold);
  color: var(--c-accent);
}
.support {
  font-size: var(--t-small);
  line-height: var(--lh-small);
  color: var(--c-ink-muted);
}





.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: var(--control-h);
  padding-inline: var(--s-6);
  border-radius: var(--r-2);
  background: var(--c-accent);
  color: var(--c-on-accent);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  text-decoration: none;
}
.btn:hover { background: var(--c-ink); color: var(--c-canvas); }
.btn .icon { color: currentColor; }

.btn-quiet {
  background: transparent;
  color: var(--c-ink);
  border: var(--rule) solid var(--c-hairline-strong);
}
.btn-quiet:hover { background: var(--c-surface); color: var(--c-ink); }

.icon { width: var(--icon-2); height: var(--icon-2); flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-small);
  font-weight: var(--w-semibold);
  color: var(--c-accent);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }



.site-foot { border-top: var(--rule) solid var(--c-hairline); }
.foot-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-8);
  padding-block: var(--s-10);
}

.foot-brand .logo { height: var(--logo-h); }
.foot-contact { font-size: var(--t-small); color: var(--c-ink-muted); margin: 0; }
.foot-contact a { color: var(--c-ink); }
.foot-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  font-size: var(--t-small);
}
.foot-nav a { color: var(--c-ink-muted); text-decoration: none; }
.foot-nav a:hover { color: var(--c-ink); }



.fig { margin: 0; }
.fig + .fig, .prose + .fig, .bullets + .fig, h2 + .fig { margin-top: var(--s-9); }

.fig-frame {
  position: relative;
  
  background: var(--c-surface);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-3);
  padding: var(--s-8);
}

.fig-frame::before, .fig-frame::after {
  content: "";
  position: absolute;
  width: var(--s-6);
  height: var(--s-6);
  border: var(--rule-thick) solid var(--c-accent-quiet);
  pointer-events: none;
}
.fig-frame::before {
  top: var(--s-4); left: var(--s-4);
  border-right: none; border-bottom: none;
  border-top-left-radius: var(--r-1);
}
.fig-frame::after {
  bottom: var(--s-4); right: var(--s-4);
  border-left: none; border-top: none;
  border-bottom-right-radius: var(--r-1);
}


.fig-art { display: block; width: 100%; height: auto; }


.fig-narrow { display: none; }


.f-stone { fill: var(--c-accent); }
.f-lit   { fill: var(--c-stone-lit); }
.f-shade { fill: var(--c-stone-shade); }

.f-contact { fill: none; stroke: var(--c-hairline-strong); stroke-width: 3; stroke-linecap: butt; }
.f-guide { fill: none; stroke: var(--c-hairline-strong); stroke-width: 1; stroke-dasharray: 3 6; }
.f-axis  { fill: none; stroke: var(--c-hairline); stroke-width: 1; }
.f-tick  { fill: none; stroke: var(--c-accent); stroke-width: 1.5; stroke-linecap: butt; }
.f-line  { fill: none; stroke: var(--c-ink-muted); stroke-width: 3; stroke-linejoin: round; }
.f-line-b { fill: none; stroke: var(--c-accent); stroke-width: 3; stroke-linejoin: round; }

.f-drift { fill: var(--c-accent); }
.f-node  { fill: var(--c-surface-raised); stroke: var(--c-ink-muted); stroke-width: 1.5; }
.f-node-line { fill: none; stroke: var(--c-ink-muted); stroke-width: 1.5; }
.f-node-b { fill: var(--c-accent-quiet); stroke: var(--c-accent); stroke-width: 1.5; }
.f-bar   { fill: var(--c-accent); }
.f-mark  { fill: none; stroke: var(--c-warning); stroke-width: 2; stroke-dasharray: 4 5; }
.f-mark-dot { fill: var(--c-warning); }

.f-killed { fill: var(--c-accent-quiet); stroke: var(--c-accent); stroke-width: 1.5; }

.f-survived { fill: var(--c-warning-quiet); stroke: var(--c-warning); stroke-width: 2.5; stroke-dasharray: 4 3; }
.f-harness { fill: none; stroke: var(--c-accent); stroke-width: 3; stroke-linecap: butt; }

.f-out { fill: none; stroke: var(--c-hairline-strong); stroke-width: 2; stroke-dasharray: 4 5; }
.f-strike { fill: none; stroke: var(--c-hairline-strong); stroke-width: 1.5; }

.f-label {
  font-family: var(--f-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: var(--c-ink);
}
.f-label-sm { font-size: 11px; letter-spacing: 0.14em; }

.f-label-p { font-size: 20px; }
.f-label-w { fill: var(--c-warning); }
.f-label-a { fill: var(--c-accent); }

.f-panel { fill: var(--c-accent-quiet); }

.f-text-line { fill: var(--c-ink-muted); }
.f-text-line-b { fill: var(--c-ink); }

.f-edge { fill: none; stroke: var(--c-ink-muted); stroke-width: 2; stroke-linecap: butt; }
.f-edge-a { stroke: var(--c-accent); }


.band-cols {
  display: grid;
  grid-template-columns: minmax(0, 590fr) minmax(0, 546fr);
  gap: var(--s-9);
  align-items: start;
}
.band-text, .band-side { min-width: 0; }
.band-text > :first-child, .band-side > :first-child { margin-top: 0; }

.band-flip > .band-text { grid-column: 2; grid-row: 1; }
.band-flip > .band-side { grid-column: 1; grid-row: 1; }
.band-cols + .fig, .fig + .band-cols { margin-top: var(--s-9); }

.band-text .bullets.nots { display: block; max-width: none; }

.band-side .fig-frame { padding: var(--s-7); }

.band-side .fig-doc { max-width: none; margin-inline: 0; }
.band-side .doc-rows { display: block; }
.band-side .doc-rows dt { text-align: left; margin-bottom: var(--s-3); }
.band-side .doc-rows dd { margin-bottom: var(--s-6); }
.band-side .doc-rows dd:last-child { margin-bottom: 0; }
.band-side .doc-body { padding: var(--s-6); }


.pull {
  border-top: var(--rule-thick) solid var(--c-accent);
  padding-top: var(--s-6);
}
.pulled {
  margin: 0;
  font-family: var(--f-display);
  font-weight: var(--w-display);
  font-size: var(--t-display-2);
  line-height: var(--lh-display-2);
  letter-spacing: var(--tr-display-2);
  color: var(--c-accent);
}



.band-note > :first-child { margin-top: 0; }
.band-note .prose { max-width: none; }
.mail-object { margin-top: 0; }



.hero { padding-block: var(--s-10) var(--s-11); }
.hero h1 {
  max-width: none;
  font-size: var(--t-display-0);
  
  letter-spacing: -0.026em;
  margin-bottom: 0;
}

.hero-under {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-9);
  align-items: start;
  margin-top: var(--s-9);
}
.hero-under .lead { margin: 0; max-width: none; }

.hero-text { min-width: 0; align-self: stretch; display: flex; flex-direction: column; }

.hero-under .hero-lead { font-size: var(--t-h3); margin-bottom: var(--s-9); }


.hero-index {
  list-style: none;
  
  margin: auto 0 0;
  padding: 0;
  border-top: var(--rule) solid var(--c-hairline-strong);
}
.hero-index li { border-bottom: var(--rule) solid var(--c-hairline); }
.hero-index a {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: var(--s-6);
  text-decoration: none;
  color: var(--c-ink);
}
.hero-index a:hover .hx-name { text-decoration: underline; }
.hx-name {
  font-family: var(--f-text);
  font-weight: var(--w-semibold);
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
}

.hx-name { flex: none; }
.hx-arrow { margin-left: auto; align-self: center; flex: none; color: var(--c-accent); }



.settle-1, .settle-2, .settle-3 { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .settle-1 { animation: settle-1 1100ms cubic-bezier(.22,.72,.2,1) both; }
  .settle-2 { animation: settle-2 1100ms 90ms cubic-bezier(.22,.72,.2,1) both; }
  .settle-3 { animation: settle-3 1100ms 180ms cubic-bezier(.22,.72,.2,1) both; }
}
@keyframes settle-1 { from { transform: translate(26px, -34px) rotate(-7deg); } to { transform: none; } }
@keyframes settle-2 { from { transform: translate(-22px, -18px) rotate(5deg); } to { transform: none; } }
@keyframes settle-3 { from { transform: translate(14px, 16px) rotate(-3deg); } to { transform: none; } }


.float-1, .float-2, .float-3 { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .float-1 { animation: float-1 3400ms -1100ms ease-in-out infinite; }
  .float-2 { animation: float-2 4000ms -2600ms ease-in-out infinite; }
  .float-3 { animation: float-3 4500ms -400ms ease-in-out infinite; }
}
@keyframes float-1 {
  0%   { transform: translateY(0) rotate(-1.5deg); }
  50%  { transform: translateY(-10px) rotate(1.5deg); }
  100% { transform: translateY(0) rotate(-1.5deg); }
}
@keyframes float-2 {
  0%   { transform: translateY(0) rotate(1deg); }
  50%  { transform: translateY(-6px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(1deg); }
}
@keyframes float-3 {
  0%   { transform: translateY(0) rotate(-1deg); }
  50%  { transform: translateY(-5px) rotate(1deg); }
  100% { transform: translateY(0) rotate(-1deg); }
}


@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    
    .draw-a { animation: draw-a linear both; animation-timeline: view(); animation-range: entry 10% cover 46%; }
    .draw-b { animation: draw-b linear both; animation-timeline: view(); animation-range: entry 10% cover 46%; }
    .lift { animation: lift linear both; animation-timeline: view(); animation-range: entry 6% cover 32%; }
    .pop { animation: pop linear both; animation-timeline: view(); animation-range: entry 24% cover 52%; }
    
    .fill-in { animation: fill-in linear both; animation-timeline: view(); animation-range: entry 10% cover 46%; }
    
    .close-l { animation: close-l linear both; animation-timeline: view(); animation-range: entry 12% cover 44%; }
    .close-r { animation: close-r linear both; animation-timeline: view(); animation-range: entry 12% cover 44%; }
  }
}
@keyframes lift { from { transform: translateY(26px); } to { transform: none; } }

@keyframes draw-a { from { transform: translateY(46px) scaleY(0.2); } to { transform: none; } }
@keyframes draw-b { from { transform: translateY(-46px) scaleY(0.2); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }

@keyframes fill-in { from { opacity: 0; transform: scaleX(0.04); } to { opacity: 1; transform: none; } }
@keyframes close-l { from { transform: translateX(-58px); } to { transform: none; } }
@keyframes close-r { from { transform: translateX(58px); } to { transform: none; } }
.draw-a, .draw-b, .fill-in { transform-box: fill-box; transform-origin: 0% 50%; }
.pop { transform-box: fill-box; transform-origin: 50% 50%; }



.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-7);
  margin-top: var(--s-9);
}
.cell-lg { grid-column: span 3; }



.bento-why {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-7);
}

.cell {
  background: var(--c-surface);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-3);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.cell > * { margin: 0; }
.cell-sm { padding: var(--s-7); gap: var(--s-4); }
.cell .card-foot { margin-top: auto; padding-top: var(--s-3); }
.cell h2 a, .cell h3 a { text-decoration: none; }
.cell h2 a:hover, .cell h3 a:hover { text-decoration: underline; }


.cell-plate {
  background: var(--c-surface);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-2);
  padding: var(--s-5);
  margin-bottom: var(--s-1);
}
.cell-plate .fig-art { width: 100%; height: auto; }
.cell-icon { width: var(--icon-3); height: var(--icon-3); color: var(--c-accent); }




.fig-doc { max-width: 1000px; margin-inline: auto; }


.fig-flow .steps-flow { margin-top: 0; margin-bottom: 0; }


.doc {
  background: var(--c-surface-raised);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-2);
  overflow: hidden;
}

.doc-body { padding: var(--s-7); }
.doc-title {
  font-family: var(--f-text);
  font-weight: var(--w-semibold);
  font-size: var(--t-h3);
  line-height: var(--lh-h3);
  margin: 0 0 var(--s-6);
}
.doc-rows { margin: 0; }
.doc-rows dt {
  font-size: var(--t-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  font-weight: var(--w-semibold);
  color: var(--c-accent);
  margin-bottom: var(--s-3);
}
.doc-rows dd {
  margin: 0 0 var(--s-6);
  padding-left: var(--s-5);
  border-left: var(--rule-thick) solid var(--c-hairline);
  max-width: 62ch;
}
.doc-rows dd:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .doc-rows {
    display: grid;
    
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: var(--s-6);
    align-items: start;
  }
  .doc-rows dt { text-align: right; margin-bottom: var(--s-7); padding-top: 3px; }
  .doc-rows dd { margin-bottom: var(--s-7); }
  .doc-rows dt:last-of-type, .doc-rows dd:last-child { margin-bottom: 0; }
}
.doc-rows .doc-said { font-family: var(--f-mono); font-size: var(--t-mono); line-height: var(--lh-mono); color: var(--c-ink-muted); }
.doc-rows dd.doc-found { border-left-color: var(--c-accent); }




.steps-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-7);
  max-width: none;
  counter-reset: step;
}
.steps-flow > li {
  counter-increment: step;
  position: relative;
  padding-left: 0;
  padding-top: var(--s-9);
  margin-bottom: 0;
  border-top: var(--rule) solid var(--c-hairline);
}

.steps-flow > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--s-5);
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  color: var(--c-accent);
  font-size: var(--t-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  font-weight: var(--w-semibold);
  text-align: left;
}

.steps-flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--rule));
  right: calc(-1 * var(--s-7) / 2 - 3px);
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  transform: rotate(45deg);
}
.step-icon {
  width: var(--s-7);
  height: var(--s-7);
  color: var(--c-accent);
  margin-bottom: var(--s-5);
}
.steps-flow .step-name {
  display: block;
  font-weight: var(--w-semibold);
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}
.steps-flow .step-copy { color: var(--c-ink-muted); font-size: var(--t-small); line-height: var(--lh-small); }



.term {
  background: var(--c-sunken);
  border: var(--rule) solid var(--c-hairline);
  border-radius: var(--r-2);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: var(--t-mono);
  line-height: 1.8;
}

.term-body { margin: 0; padding: var(--s-6); color: var(--c-ink-muted); white-space: pre-wrap; }
.term-body b { color: var(--c-ink); font-weight: var(--w-regular); }
.term-ok { color: var(--c-success); }
.term-pass {
  display: inline-block;
  margin-top: var(--s-5);
  padding: 2px var(--s-3);
  border: var(--rule) solid var(--c-success);
  border-radius: var(--r-1);
  color: var(--c-ink);
  background: var(--c-success-quiet);
  font-family: var(--f-text);
  font-size: var(--t-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  font-weight: var(--w-semibold);
}



.mail {
  display: inline-block;
  margin-top: var(--s-8);
  font-family: var(--f-display);
  font-weight: var(--w-display);
  font-size: var(--t-display-2);
  line-height: var(--lh-display-2);
  letter-spacing: var(--tr-display-2);
  color: var(--c-ink);
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 2px;
  word-break: break-word;
}
.mail:hover { color: var(--c-accent); }
.mail-note { margin-top: var(--s-8); }



@media (max-width: 1100px) {
  :root { --t-display-0: 88px; }
  .hero h1 { letter-spacing: -0.024em; }
  
  .band-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s-9); }
  .band-flip > .band-text, .band-flip > .band-side { grid-column: auto; grid-row: auto; }
  .band-side > .fig, .band-side > .pull { max-width: 546px; }
}

@media (max-width: 900px) {
  :root { --t-display-0: 64px; }
  
  .steps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
  .steps-flow > li:nth-child(2)::after { display: none; }
  
  .bento { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .cell-lg, .bento-why { grid-column: auto; }
  
  .bento-why { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: var(--s-6); }
  .hero-under { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .hero { padding-block: var(--s-10); }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: var(--s-6);
    
    --t-display-0: 38px;
    --t-display-1: 38px;
    --t-display-2: 28px;
    --t-h2: 24px;
    --t-h3: 19px;
    --t-lead: 17px;
  }
  h1, .display-1 { max-width: none; letter-spacing: -0.014em; }
  h2, .display-2 { max-width: none; letter-spacing: -0.012em; }
  .hero { padding-block: var(--s-9) var(--s-9); }
  .hero-product { padding-block: var(--s-9) var(--s-8); }
  .page-head { padding-block: var(--s-9) var(--s-7); }
  .section { padding-block: var(--s-9); }
  .section-tight { padding-block: var(--s-9); }
  .section-after-head { padding-top: var(--s-7); }
  .card { padding: var(--s-6); }
  .offer { padding: var(--s-6); margin-top: var(--s-7); }
  .steps { margin-top: var(--s-7); }
  .steps > li { padding-left: var(--s-8); }
  .hero-product h1, .hero-product .lead { max-width: none; }
  .site-head { gap: var(--s-4); padding-block: var(--s-5); }
  
  .nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--s-3);
    width: 100%;
  }
  .nav a {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--s-8);
    padding-inline: var(--s-2);
    border: var(--rule) solid var(--c-hairline);
    border-bottom-width: var(--rule-thick);
    border-radius: var(--r-2);
    text-align: center;
  }
  .nav a:nth-child(4), .nav a:nth-child(5) { grid-column: span 3; }
  .nav a[aria-current="page"] {
    background: var(--c-surface);
    border-color: var(--c-hairline-strong);
    border-bottom-color: var(--c-accent);
  }
  .foot-nav a {
    display: inline-flex;
    align-items: center;
    min-height: var(--s-8);
  }
  .fig-frame, .band-side .fig-frame { padding: var(--s-6); }
  
  .fig-wide { display: none; }
  .fig-narrow { display: block; }
  .pull { padding-top: var(--s-5); }
  .fig-frame::before, .fig-frame::after { width: var(--s-5); height: var(--s-5); top: auto; }
  .fig-frame::before { top: var(--s-3); left: var(--s-3); }
  .fig-frame::after { bottom: var(--s-3); right: var(--s-3); }
  .cell { padding: var(--s-6); }
  .cell-sm { padding: var(--s-6); }
  .doc-body { padding-inline: var(--s-6); }
  .doc-rows dd { padding-left: var(--s-4); }
  
  .steps-flow { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .steps-flow > li::after { display: none; }
  .steps-flow > li { padding-top: var(--s-8); }
  .term-body { padding-inline: var(--s-5); }
  .foot-nav { gap: var(--s-3); }
  .foot-main { padding-block: var(--s-9); gap: var(--s-7); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
