:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #282925;
  --muted: #72736b;
  --line: #ddded5;
  --coral: #da6347;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, label { -webkit-tap-highlight-color: transparent; }
a:focus-visible, .diagram-scroll:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; }
::selection { background: #f1c7b6; color: #282925; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .style-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; padding: 12px 18px; z-index: 10; background: var(--ink); color: white; }
.skip:focus { top: 12px; }
.top { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; letter-spacing: -1.4px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 32px; background: var(--coral); color: var(--paper); font: 700 31px/1 var(--mono); padding-bottom: 10px; border-radius: 2px; }
.brand-period { color: var(--coral); }
.navigation { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.nav-link { color: #62635b; transition: color .18s; }
.nav-link:hover { color: var(--coral); }
.nav-cta { border: 1px solid #b5b7ad; border-radius: 5px; padding: 12px 17px; display: flex; gap: 24px; transition: background .18s; }
.nav-cta:hover { background: #ecece5; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 54px; padding-top: 72px; padding-bottom: 73px; }
.eyebrow { margin: 0 0 26px; font: 10px/1.5 var(--mono); letter-spacing: 1.1px; text-transform: uppercase; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; letter-spacing: .8px; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #78937c; }
h1 { font-size: clamp(56px, 5.7vw, 80px); line-height: 1.04; letter-spacing: -4.6px; font-weight: 500; margin: 0 0 26px; }
.coral { color: var(--coral); }
.hero-description { font-size: 17px; line-height: 1.75; color: #686b62; margin: 0 0 31px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; border-radius: 5px; padding: 17px 22px; font-size: 13px; font-weight: 500; transition: background .18s, transform .18s; }
.button-dark { color: #fffdf8; background: var(--ink); }
.button-dark:hover { background: #45483d; transform: translateY(-2px); }
.button span { font-size: 18px; line-height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 17px; font-size: 13px; padding-block: 12px; }
.text-link:hover { color: var(--coral); }
.hero-note { margin: 19px 0 0; color: var(--muted); font: 10px/1.6 var(--mono); }
.hero-note span { margin-right: 5px; color: #70886e; }
.preview-area { position: relative; min-width: 0; padding-top: 19px; }
.preview-annotation { position: absolute; right: 19px; top: -14px; color: #89877e; font: italic 14px/1.2 Georgia, serif; transform: rotate(-5deg); }
.preview-annotation span { display: inline-block; font-size: 24px; margin-left: 8px; transform: translateY(13px); }
.diagram-preview { position: relative; min-width: 0; padding: 0; margin: 0; border: 1px solid #cecec4; border-radius: 7px; background: #fdfcf8; box-shadow: 5px 6px 0 #e9e8df, 0 14px 35px #343c2510; overflow: hidden; }
.preview-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 19px; border-bottom: 1px solid var(--line); font: 11px/1 var(--mono); }
.preview-title > span:first-child { display: flex; align-items: center; gap: 8px; }
.file-icon { color: #8a8b80; font-size: 17px; }
.preview-tag { font-size: 8px; letter-spacing: .7px; color: var(--muted); }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.toolbar-caption { font: 10px var(--mono); color: var(--muted); }
.style-options { display: flex; gap: 3px; }
.style-options label { cursor: pointer; padding: 7px 10px; border-radius: 3px; font: 10px var(--mono); color: #75776c; transition: background .18s; }
.style-options label:hover { background: #efeee7; }
#style-unicode:checked ~ .preview-toolbar label[for="style-unicode"],
#style-ascii:checked ~ .preview-toolbar label[for="style-ascii"],
#style-rounded:checked ~ .preview-toolbar label[for="style-rounded"] { background: #eee9df; color: #36392f; }
#style-unicode:focus-visible ~ .preview-toolbar label[for="style-unicode"],
#style-ascii:focus-visible ~ .preview-toolbar label[for="style-ascii"],
#style-rounded:focus-visible ~ .preview-toolbar label[for="style-rounded"] { outline: 2px solid var(--coral); outline-offset: 2px; }
.diagram-canvas { position: relative; padding: 21px 20px 28px; background-image: radial-gradient(#d5d7cc .65px, transparent .65px); background-size: 14px 14px; }
.canvas-caption { text-align: center; margin: 0 0 19px; color: #858879; font: 9px/1.5 var(--mono); }
.diagram-scroll { overflow-x: auto; scrollbar-width: thin; }
.flow { display: none; width: max-content; margin: 0 auto; font: 12px/1.25 var(--mono); color: #626957; }
#style-unicode:checked ~ .diagram-canvas .flow-unicode,
#style-ascii:checked ~ .diagram-canvas .flow-ascii,
#style-rounded:checked ~ .diagram-canvas .flow-rounded { display: block; }
.flow-highlight { color: #ba543b; font-weight: 600; }
.canvas-coordinate { position: absolute; right: 13px; bottom: 9px; font: 8px var(--mono); color: #929589; }
.preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 17px; border-top: 1px solid var(--line); color: #75766b; font: 9px var(--mono); }
.preview-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.preview-footer > span:last-child { color: #8a8478; }
.preview-under { margin: 17px 0 0; text-align: center; color: #8b8b7f; font: 10px var(--mono); }
.preview-under span { margin-right: 6px; color: var(--coral); }
.destinations { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 26px; border-block: 1px solid var(--line); }
.destinations p { flex-shrink: 0; font: 8px/1.5 var(--mono); letter-spacing: 1px; color: #7d7f72; }
.destinations ul { display: flex; justify-content: space-between; align-items: center; flex: 1; gap: 20px; list-style: none; margin: 0; padding: 0; }
.destinations li { display: flex; align-items: center; gap: 9px; color: #65675d; font-size: 12px; white-space: nowrap; }
.destinations li span { font: 18px var(--mono); color: #86887c; }
.section { padding-block: 86px; }
.section .eyebrow { color: #8a7565; margin-bottom: 19px; }
h2 { font-size: clamp(30px, 3vw, 41px); line-height: 1.15; letter-spacing: -1.6px; font-weight: 500; margin: 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading .section-description { justify-self: end; padding-right: 36px; }
.section-description { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 45px; }
.feature { padding: 0 34px; border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; border-left: 0; }
.feature:last-child { padding-right: 0; }
.feature-symbol { height: 62px; display: flex; align-items: center; white-space: pre; color: #787f65; font: 21px/0.9 var(--mono); }
.text-symbol { font-size: 27px; letter-spacing: -2px; gap: 16px; }
.text-symbol span { font-size: 26px; color: var(--coral); }
h3 { font-size: 16px; line-height: 1.4; font-weight: 500; letter-spacing: -.3px; margin: 14px 0 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 31ch; }
.feature-detail { display: block; color: #88897d; font: 8px/1.6 var(--mono); letter-spacing: .45px; margin-top: 25px; }
.templates { border-top: 1px solid var(--line); padding-top: 68px; }
.templates-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 33px; }
.template-card { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; transition: border-color .2s, transform .2s; }
.template-card:hover { transform: translateY(-3px); border-color: #bdbeb0; }
.template-art { display: grid; place-items: center; min-height: 190px; background: #f0f1e9; padding: 18px 10px; overflow: hidden; }
.template-card:nth-child(2) .template-art { background: #efede6; }
.template-card:nth-child(3) .template-art { background: #f4ebe3; }
.template-art pre { font: 11px/1.25 var(--mono); color: #7c816c; margin: 0; }
.template-card:nth-child(2) pre { color: #7d7b6e; }
.template-card:nth-child(3) pre { color: #a07d65; }
.template-caption { padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.template-caption h3 { margin: 0 0 5px; font-size: 14px; }
.template-caption p { margin: 0; color: var(--muted); font-size: 11px; }
.template-caption > span { font: 10px var(--mono); color: #8b8d80; }
.closing { display: flex; align-items: center; gap: 38px; padding: 43px 40px; background: #f1e6db; border: 1px solid #e5d9cc; border-radius: 6px; }
.closing-art { font: 16px/1.2 var(--mono); color: #b47b5f; white-space: pre; }
.closing .eyebrow { font-size: 8px; color: #9a7660; margin-bottom: 12px; }
.closing h2 { font-size: 29px; letter-spacing: -1px; }
.closing p:last-child { color: #8b7b6b; font-size: 12px; margin: 12px 0 0; }
.closing .button { margin-left: auto; flex-shrink: 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 129px; }
.foot .brand { font-size: 21px; }
.foot .brand-mark { width: 24px; height: 25px; font-size: 25px; padding-bottom: 8px; }
.foot p { font-size: 10px; color: #88897f; margin-right: auto; }
.footer-note { font: 9px var(--mono); color: #88897f; }
.footer-note span { margin-left: 10px; color: var(--coral); }
@media (min-width: 1500px) { .hero { padding-block: 92px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 30px; }
  h1 { font-size: 65px; }
  .flow { font-size: 11px; }
  .destinations { flex-direction: column; gap: 12px; padding-block: 22px; }
  .destinations p { margin: 0; }
  .destinations ul { width: 100%; justify-content: space-around; }
  .closing { gap: 24px; padding: 35px 28px; }
  .closing-art { display: none; }
}
@media (max-width: 850px) {
  .hero { gap: 38px; grid-template-columns: 1fr; padding-block: 52px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .cta-row { justify-content: center; }
  h1 { font-size: 76px; }
  .hero-description { font-size: 17px; }
  .preview-area { width: min(510px, 100%); margin-inline: auto; margin-top: 15px; }
  .flow { font-size: 13px; }
  .section { padding-block: 60px; }
  .section-heading .section-description { padding: 0; }
  .feature { padding-inline: 20px; }
  .feature p { font-size: 12px; }
  .feature-detail { font-size: 7px; }
  .template-grid { gap: 12px; }
  .template-art { min-height: 160px; }
  .template-art pre { font-size: 8px; }
  .template-caption { padding: 14px 12px; }
  .template-caption h3 { font-size: 12px; }
  .template-caption p { font-size: 10px; }
  .template-caption > span { display: none; }
  .footer-note { display: none; }
  .foot p { margin-right: 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .top { min-height: 82px; gap: 12px; }
  .brand { font-size: 24px; }
  .navigation { gap: 0; }
  .nav-link { display: none; }
  .nav-cta { padding: 11px 13px; gap: 14px; font-size: 12px; }
  .hero { padding-top: 43px; gap: 36px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: .4px; margin-bottom: 24px; }
  h1 { font-size: clamp(48px, 13.5vw, 74px); letter-spacing: -3.1px; margin-bottom: 21px; }
  .hero-description { font-size: 15px; line-height: 1.8; margin-bottom: 25px; }
  .desktop-break { display: none; }
  .cta-row { gap: 20px; }
  .hero-note { font-size: 9px; }
  .preview-annotation { font-size: 12px; right: 12px; }
  .preview-title { padding: 14px; font-size: 10px; }
  .preview-tag { font-size: 7px; }
  .preview-toolbar { padding: 9px 12px; gap: 6px; }
  .style-options label { padding: 9px 8px; font-size: 9px; }
  .diagram-canvas { padding-inline: 9px; }
  .canvas-caption { font-size: 8px; }
  .flow { font-size: clamp(9px, 2.7vw, 13px); }
  .preview-footer { padding: 12px; font-size: 8px; }
  .destinations ul { flex-wrap: wrap; justify-content: center; gap: 20px 25px; }
  .destinations li { font-size: 11px; }
  .destinations li span { font-size: 15px; }
  .section { padding-block: 49px; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; }
  .section .eyebrow { font-size: 9px; margin-bottom: 0; }
  .section-heading .section-description { justify-self: start; }
  h2 { font-size: 33px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 26px; gap: 23px; }
  .feature, .feature:first-child, .feature:last-child { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .feature-symbol { height: 45px; }
  .feature p { font-size: 13px; max-width: 42ch; }
  .feature-detail { margin-top: 17px; font-size: 8px; }
  .templates-heading { display: block; }
  .templates-heading .eyebrow { margin-bottom: 18px; }
  .templates-heading .text-link { margin-top: 13px; }
  .template-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
  .template-art { min-height: 184px; }
  .template-art pre { font-size: 12px; }
  .template-caption { padding: 18px; }
  .template-caption h3 { font-size: 15px; }
  .template-caption p { font-size: 12px; }
  .template-caption > span { display: block; }
  .closing { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px 25px; }
  .closing h2 { font-size: 32px; }
  .closing .button { margin-left: 0; }
  .foot { min-height: 110px; gap: 18px; }
  .foot p { font-size: 9px; text-align: right; max-width: 130px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
