@font-face {
  font-family: Garamond;
  src: url(assets/garamond.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/barlow.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #172e3b;
  --muted: #485d67;
  --navy: #19394d;
  --navy-deep: #142d3b;
  --blue: #265774;
  --paper: #fbf9f3;
  --canvas: #eeeae1;
  --line: #b4bec0;
  --rule: #d3d7d4;
  --gold: #d6b577;
  --serif: Garamond, Georgia, serif;
  --label: Barlow, system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --section-pad: clamp(3.6rem, 7vw, 7rem);
  --weave: repeating-linear-gradient(131deg, #2d475712 0 1px, #ffffff25 1px 2px, transparent 2px 4px), repeating-linear-gradient(41deg, #526a7411 0 1px, transparent 1px 3px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }
a, button, label { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2173a4; outline-offset: 4px; }
figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figcaption { font-size: .83rem; color: var(--muted); }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font: 400 1rem/.98 var(--serif); letter-spacing: -.045em; }
h1 { font-size: clamp(3.55rem, 6.4vw, 7.25rem); }
h2 { font-size: clamp(2.65rem, 4.65vw, 5rem); }
h3 { font-size: clamp(1.85rem, 2.55vw, 2.85rem); }
h1 span, .pricing h2 span { color: #376987; }
code { font-size: .94em; }
.wrap { width: min(100%, 1840px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.eyebrow { margin: 0 0 .7rem; color: var(--blue); font: 600 .82rem/1.25 var(--label); text-transform: uppercase; letter-spacing: .145em; }
.lede { margin-block: 1.2rem 1.55rem; font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 39ch; }
.section-lede { margin-block: 1.05rem 1.35rem; font-size: 1.08rem; color: var(--muted); max-width: 55ch; }
.skip { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.control {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .65em;
  padding: .55rem 1.07rem; border: 1px solid var(--line); border-radius: .4rem; background: #fffdf6;
  color: var(--ink); font: 600 1.04rem/1.2 var(--label); text-align: center; text-decoration: none;
}
.control.primary { border-color: var(--navy); background: var(--navy); color: #fffdf8; box-shadow: inset 0 1px 0 #fff3, 0 2px 0 #102b3a28; }
.control.primary:hover { background: #29546d; }
.control.quiet:hover { border-color: #678ca0; background: #ebf3f6; }
.control:active { box-shadow: inset 0 2px 4px #0b263c34; }
@media (prefers-reduced-motion: no-preference) {
  .press { transition: transform 180ms cubic-bezier(.22, 1, .36, 1); }
  .press:active, .press[data-pressed] { transform: scale(.97); transition-duration: 70ms; }
}
.mast { background: var(--paper); border-bottom: 1px solid var(--rule); }
.mast-inner, .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.45rem; }
.mast-inner { min-height: 76px; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 400 2rem/.8 var(--serif); letter-spacing: -.065em; }
.brand img { width: 40px; flex-shrink: 0; }
.brand-dot { color: #447691; }
.brand small { display: block; margin-top: .34rem; font: 600 .68rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.mast nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem clamp(.45rem, 2.5vw, 2.15rem); }
.mast nav a:not(.control) { padding: .58rem .15rem; font: 600 1rem/1.25 var(--label); text-decoration: none; }
.mast nav a:not(.control):hover { text-decoration: underline; }
.mast .control { min-height: 39px; }
.hero {
  padding-block: clamp(2.4rem, 6vw, 6rem) 0;
  border-bottom: 1px solid #c3cbca;
  background: radial-gradient(ellipse at 74% 7%, #e5edf1 0, transparent 62%), linear-gradient(132deg, #f7f3e9, #e1e7e8);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.55fr); align-items: center; gap: clamp(1.75rem, 4vw, 4.35rem); }
.hero-product { min-width: 0; }
.app-frame { overflow: hidden; padding: .55rem; border: 1px solid #7290a0; border-radius: .85rem; background: var(--weave), #bbccd4; box-shadow: 0 17px 42px #253e502b, 0 2px 5px #253e5034; }
.app-frame img { width: 100%; border: 1px solid #829aa7; border-radius: .42rem; }
.app-caption { display: flex; justify-content: space-between; gap: .55rem; padding: .12rem .35rem .45rem; font: 600 .8rem/1.35 var(--label); color: #254352; }
.app-caption i { display: inline-block; margin-right: .35rem; width: .44rem; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }
.hero-product figcaption { margin-top: .72rem; }
.hero-platform { margin: 1.05rem 0 0; display: flex; flex-wrap: wrap; gap: .15rem .5rem; color: #364e59; font: 600 .95rem/1.35 var(--label); }
.hero-strip { display: grid; gap: 1rem clamp(1rem, 3vw, 3rem); grid-template-columns: repeat(3, 1fr); margin-top: clamp(2.25rem, 6.3vw, 6rem); border-top: 1px solid #aebdbf; padding-block: 1.35rem; }
.hero-strip dt, .format-list dt, .local dt { font: 600 1.15rem/1.2 var(--label); }
.hero-strip dd, .format-list dd, .local dd { margin-top: .24rem; color: var(--muted); font-size: .95rem; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: .85rem 2rem; align-items: end; margin-bottom: clamp(1.6rem, 3.4vw, 3rem); }
.section-head > p { max-width: 49ch; margin: 0 0 .22rem; color: var(--muted); font-size: 1.04rem; }
.workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.9rem); }
.workspace-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: .72rem; background: #fffdf8; box-shadow: 0 3px 9px #242a2710; }
.workspace-shot { padding: .6rem .6rem 0; background: var(--weave), #d9e2e5; border-bottom: 1px solid #bdced4; }
.workspace-shot img { width: 100%; aspect-ratio: 1.78; object-fit: cover; object-position: top; border: 1px solid #a3b6be; border-bottom: 0; border-radius: .38rem .38rem 0 0; }
.workspace-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(1.05rem, 2vw, 1.7rem); }
.workspace-copy p { margin: .75rem 0 1.05rem; max-width: 43ch; color: var(--muted); }
.view-links { display: flex; flex-wrap: wrap; gap: .38rem; margin: auto 0 0; padding: 0; list-style: none; }
.view-links button {
  display: flex; align-items: center; gap: .4rem; min-height: 37px; padding: .25rem .64rem;
  border: 1px solid #b8cbd4; border-radius: .32rem; background: #eef3f4; color: #234a60; font: 600 .94rem/1.2 var(--label);
}
.view-links button::after { content: "↗"; font-size: .75em; }
.view-links button:hover { border-color: #6892a7; background: #dfeef3; }
.formats { background: #e8ecea; border-block: 1px solid #ccd5d5; }
.split { display: grid; grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr); align-items: center; gap: clamp(1.7rem, 5vw, 5.5rem); }
.format-shot { padding: .65rem .65rem 0; border: 1px solid #a4b5be; border-radius: .7rem; background: var(--weave), #d5dfe3; box-shadow: 0 13px 35px #2d4a6017; }
.format-shot img { width: 100%; border: 1px solid #9cabb4; border-radius: .34rem; }
.format-shot figcaption { margin: .47rem .08rem .58rem; }
.format-list { margin-bottom: 1.15rem; }
.format-list > div { display: grid; align-items: baseline; grid-template-columns: minmax(8.7rem, .9fr) minmax(0, 1.45fr); gap: .2rem .95rem; padding: .55rem 0; border-top: 1px solid #c1cdce; }
.format-list dd { margin: 0; }
.theme-section { color: #f5f4eb; background: radial-gradient(ellipse at 78% 12%, #294d5e 0, transparent 58%), var(--navy-deep); }
.theme-section .eyebrow { color: #e0c48f; }
.theme-section .section-lede, .theme-path { color: #d5e3e8; }
.theme-section :focus-visible { outline-color: #ffe0a0; }
.theme-grid { display: grid; align-items: start; grid-template-columns: minmax(0, .88fr) minmax(0, 1.52fr); gap: clamp(1.4rem, 5vw, 5.2rem); }
.theme-path { font-size: .9rem; margin: 0; }
.theme-studio { min-width: 0; }
.theme-window { overflow: hidden; background: var(--weave), #c2cdd3; border: 1px solid #829eab; border-radius: .68rem; box-shadow: 0 13px 33px #091d2b80; }
.theme-window img { width: 100%; padding: 0 .48rem .48rem; }
.theme-window, .material-chip {
  --tb-bg: #a9b3b9;
  --tb-tex: repeating-linear-gradient(-58deg, #ffffff80 0 1.2px, transparent 1.2px 3.6px), repeating-linear-gradient(32deg, #2f3f4a2a 0 1px, transparent 1px 2.8px);
}
[data-tb="graphite-twill"] {
  --tb-bg: #4a555c;
  --tb-tex: repeating-linear-gradient(-58deg, #ffffff30 0 1.2px, transparent 1.2px 3.6px), repeating-linear-gradient(32deg, #00000040 0 1px, transparent 1px 2.8px);
}
[data-tb="checker"] { --tb-bg: #f4f4f2; --tb-tex: conic-gradient(#14161a 25%, #0000 0 50%, #14161a 0 75%, #0000 0) 0 0 / 10px 10px; }
[data-tb="argyle"] {
  --tb-bg: #2b3a4a;
  --tb-tex: linear-gradient(45deg, #d3b98e55 25%, #0000 25% 75%, #d3b98e55 75%) 0 0 / 16px 16px,
    linear-gradient(45deg, #d3b98e55 25%, #0000 25% 75%, #d3b98e55 75%) 8px 8px / 16px 16px,
    repeating-linear-gradient(45deg, #ffffff30 0 1px, #0000 1px 16px), repeating-linear-gradient(-45deg, #ffffff30 0 1px, #0000 1px 16px);
}
[data-tb="denim"] { --tb-bg: #34506b; --tb-tex: repeating-linear-gradient(#ffffff1c 0 1px, #0000 1px 3px), repeating-linear-gradient(90deg, #0000002e 0 1px, #0000 1px 2px); }
[data-tb="polka"] { --tb-bg: #121417; --tb-tex: radial-gradient(#f2f2ef 3px, #0000 3.5px) 0 0 / 18px 18px, radial-gradient(#f2f2ef 3px, #0000 3.5px) 9px 9px / 18px 18px; }
.preview-titlebar { display: flex; padding: .42rem .5rem; min-height: 58px; }
.preview-plate { display: flex; flex: 1; align-items: stretch; gap: .32rem; padding: .24rem; border: 1px solid #768e98; border-radius: .65rem; background: var(--tb-tex), var(--tb-bg); box-shadow: inset 0 1px 0 #fff6, 0 2px 6px #233b4b6b; }
[data-cover="full"] .preview-titlebar { background: var(--tb-tex), var(--tb-bg); }
[data-cover="full"] .preview-plate { background: transparent; border-color: transparent; box-shadow: none; }
.preview-name, .preview-window-buttons { display: flex; align-items: center; border: 1px solid #8da3ad; border-radius: .4rem; color: var(--ink); background: linear-gradient(#f2f4f5, #c6d3da); }
.preview-name { padding: 0 .72rem; font: 400 1.25rem/1 var(--serif); }
.preview-name > span { color: #38647f; }
.preview-grip { flex: 1; }
.preview-window-buttons { padding: .14rem; gap: .23rem; background: #b9c8d0; }
.preview-window-buttons span { display: grid; width: clamp(21px, 4vw, 35px); height: 24px; place-items: center; border: 1px solid #96a9b3; border-radius: .24rem; background: linear-gradient(#f5f7f8, #d3dde2); font: 600 1rem/1 var(--label); }
.theme-options { display: grid; gap: .7rem; margin-top: 1rem; }
.theme-options fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.theme-options legend { margin-bottom: .34rem; padding: 0; font: 600 .84rem/1.3 var(--label); color: #d9e6eb; }
.material-options, .coverage-options { display: flex; flex-wrap: wrap; gap: .34rem; }
.theme-choice {
  display: flex; align-items: center; position: relative; gap: .35rem; min-height: 40px; padding: .3rem .56rem;
  border: 1px solid #6c8997; border-radius: .35rem; background: #233f4e; color: #f6f5ea; cursor: pointer; font: 600 .94rem/1.15 var(--label);
}
.theme-choice:has(:checked) { border-color: #e4c884; background: #f2e3b8; color: #243745; }
.theme-choice:hover:not(:has(:checked)) { background: #315467; }
.theme-choice:has(:focus-visible) { outline: 3px solid #ffe0a0; outline-offset: 3px; }
.theme-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.material-chip { width: 1.32rem; height: 1.32rem; flex: none; border: 1px solid #8fa4ad; border-radius: .22rem; background: var(--tb-tex), var(--tb-bg); }
.local { background: #f2eee3; }
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); align-items: start; gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.local-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; max-width: 52ch; }
.local dl { border-block: 1px solid #bfc3ba; }
.local dl > div { padding: .73rem .08rem; }
.local dl > div + div { border-top: 1px solid #c6cbc4; }
.compare-table { border: 1px solid #b5c4cb; border-radius: .6rem; overflow: hidden; background: #fffdf7; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .98rem; }
.compare thead { color: #fffdf5; background: var(--navy); }
.compare th, .compare td { padding: .9rem clamp(.6rem, 1.75vw, 1.6rem); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare thead th { font: 600 clamp(.9rem, 1.37vw, 1.18rem)/1.25 var(--label); }
.compare thead th:first-child { width: 24%; }
.compare thead th:nth-child(2) { background: #2a5065; }
.compare tbody th { color: var(--ink); font: 600 1.03rem/1.4 var(--label); }
.compare tbody td:nth-child(2) { background: #eaf1f3; }
.compare tbody tr + tr { border-top: 1px solid var(--rule); }
.compare-sources { color: var(--muted); font-size: .87rem; margin: .8rem 0 0; }
.pricing { background: var(--weave), #dbe7eb; border-top: 1px solid #b7c9d3; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.35rem clamp(1.55rem, 6vw, 6rem); }
.price-card { padding: clamp(1.35rem, 3vw, 2.65rem); border: 1px solid #a0b7c4; border-radius: .72rem; background: var(--paper); box-shadow: 0 11px 30px #2a506527; }
.price { display: flex; align-items: baseline; gap: .45rem; margin: 0; color: var(--navy); }
.price strong { font: 400 clamp(3.65rem, 6vw, 6.15rem)/.85 var(--serif); letter-spacing: -.07em; }
.price span { font: 600 1rem/1 var(--label); }
.price-card ul { list-style: none; margin: 0 0 1.3rem; padding: .55rem 0 0; border-top: 1px solid var(--rule); }
.price-card li { position: relative; padding: .2rem 0 .2rem 1.2rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); }
.footer { padding-block: 1.25rem; border-top: 1px solid #c8cec8; }
.footer-inner > a:last-child { font-size: .81rem; color: var(--muted); }

/* The app handles all workspace navigation inside this frame. */
dialog {
  max-width: none; max-height: none; margin: auto; padding: 0;
  color: var(--ink); background: var(--paper); border: 1px solid #879ea9;
  border-radius: .75rem; box-shadow: 0 18px 70px #101c27a3;
}
dialog::backdrop { background: #142631be; }
body:has(dialog[open]) { overflow: hidden; }
#demo {
  width: min(1800px, calc(100% - 1rem));
  height: calc(100dvh - 1rem);
  overflow: hidden;
}
.demo-layout { display: flex; flex-direction: column; height: 100%; }
.dialog-head {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem;
  padding: .65rem clamp(.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid #aabec6; background: #f2f4ef;
}
.dialog-head h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.dialog-head p { margin: .14rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.demo-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.demo-toolbar .demo-close { justify-self: end; }
#demo-about-button {
  position: relative;
  justify-self: center;
  min-height: 52px;
  padding: .55rem clamp(1.1rem, 2.6vw, 2.2rem);
  border-color: #9f803e;
  background: linear-gradient(#fff3cb, #e7ca83);
  color: #19394d;
  box-shadow: inset 0 1px 0 #fff9, 0 2px 0 #b29352, 0 4px 11px #745c2e29;
  font-size: clamp(1.16rem, 2vw, 1.38rem);
}
#demo-about-button:hover { border-color: #825f22; background: linear-gradient(#fff7d7, #efd795); }
#demo-about-button::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid #ba943e;
  border-radius: .65rem;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  #demo[open] #demo-about-button::after { animation: demo-about-pulse 1.35s ease-out 2; }
  @keyframes demo-about-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    32% { opacity: .65; }
    80% { opacity: 0; transform: scale(1.045, 1.13); }
  }
}
@media (max-width: 660px) {
  .demo-toolbar { grid-template-columns: minmax(0, 1fr) auto; row-gap: .6rem; }
  .demo-toolbar .demo-close { grid-area: 1 / 2; align-self: start; }
  #demo-about-button { grid-area: 2 / 1 / 3 / -1; min-height: 46px; }
}

.demo-stage { flex: 1; min-height: 0; background: #c4d1d7; }
.demo-stage iframe { display: block; width: 100%; height: 100%; border: 0; }

#demo-about {
  width: min(73rem, calc(100% - 1rem));
  max-height: calc(100dvh - 1rem);
}
#demo-about .dialog-head {
  position: sticky;
  z-index: 1;
  top: 0;
  align-items: center;
}
.demo-about-content { padding: clamp(.85rem, 2.3vw, 1.55rem); }
#demo-about-copy {
  margin: 0 0 1rem;
  max-width: 74ch;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  line-height: 1.5;
}
.demo-about-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.9rem, 2.4vw, 1.65rem);
}
.demo-about-detail figure {
  overflow: hidden;
  padding: .4rem;
  border: 1px solid #a4b5be;
  border-radius: .5rem;
  background: var(--weave), #d5dfe3;
}
.demo-about-detail figure[hidden] + dl { grid-column: 1 / -1; max-width: 74ch; }
.demo-about-detail img {
  display: block;
  width: 100%;
  max-height: 58dvh;
  object-fit: contain;
  border-radius: .26rem;
}
.demo-about-detail figcaption { padding: .4rem .35rem .2rem; color: #2e4b5a; }
#demo-about-benefits > div { padding: .62rem 0; border-top: 1px solid #c1cdce; }
#demo-about-benefits > div:first-child { padding-top: 0; border-top: 0; }
#demo-about-benefits dt { margin-bottom: .22rem; color: var(--navy); font: 600 1.15rem/1.25 var(--label); }
#demo-about-benefits dd { color: var(--muted); font-size: .96rem; line-height: 1.5; }
@media (max-width: 740px) {
  .demo-about-detail { grid-template-columns: 1fr; }
}


@media (max-width: 530px) {
  #demo { width: 100%; height: 100dvh; border-radius: 0; }
  .dialog-head { align-items: start; flex-wrap: wrap; padding: .48rem .6rem; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); gap: 1.4rem; }
  .hero-break { display: none; }
  .section-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .workspace-grid { gap: .7rem; }
  .workspace-card h3 { font-size: 2rem; }
  .view-links { gap: .3rem; }
  .view-links button { padding-inline: .45rem; }
}
@media (max-width: 691px) {
  .hero-grid, .section-head, .workspace-grid, .split, .theme-grid, .local-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .workspace-shot img { aspect-ratio: 1.9; }
  .hero-strip { grid-template-columns: 1fr; gap: .65rem; }
  .hero-strip > div + div { padding-top: .65rem; border-top: 1px solid #b8c6c8; }
  .hero-platform { margin-top: .95rem; }
  .format-shot { grid-row: 2; }

}
@media (max-width: 420px) {
  .mast nav { column-gap: .52rem; }
  .mast nav a:not(.control) { font-size: .89rem; }
  .mast .control { min-height: 35px; padding-inline: .65rem; font-size: .92rem; }
  .app-caption { font-size: .7rem; }
  .compare table { font-size: .81rem; line-height: 1.45; }
  .compare thead th:first-child { width: 25%; }
  .compare th, .compare td { padding: .68rem .4rem; }
  .compare tbody th { font-size: .88rem; }
  .format-list > div { grid-template-columns: 1fr; }
}

