/* Ocean, the theme of the demo app */
:root {
  --cw-radius: 14px;
  --md-text-font: "Segoe UI", Tahoma, "Noto Sans", "Helvetica Neue";
  --md-code-font: "Cascadia Code", Consolas, "SFMono-Regular";
}

:root, [data-md-color-scheme="default"] {
  --cw-primary: #1565c0;
  --cw-secondary: #00838f;
  --cw-bg: #f4f7fb;
  --cw-surface: #ffffff;
  --cw-drawer: #eaf1f9;
  --cw-text: #1c2b3a;
  --cw-text-2: #5b7085;
  --cw-line: #dde6f1;
  --cw-gradient: linear-gradient(135deg, #1565c0 0%, #0d6fb8 45%, #00838f 100%);
  --cw-on-gradient: #ffffff;
  --cw-shadow: 0 18px 50px rgba(21, 101, 192, .14), 0 2px 8px rgba(15, 23, 34, .06);

  --md-primary-fg-color: #1565c0;
  --md-primary-fg-color--light: #1e88e5;
  --md-primary-fg-color--dark: #0d47a1;
  --md-primary-bg-color: #ffffff;
  --md-primary-bg-color--light: rgba(255, 255, 255, .7);
  --md-accent-fg-color: #00838f;
  --md-accent-fg-color--transparent: rgba(0, 131, 143, .1);
  --md-accent-bg-color: #ffffff;
  --md-default-bg-color: #f4f7fb;
  --md-default-fg-color: rgba(28, 43, 58, .92);
  --md-default-fg-color--light: rgba(28, 43, 58, .62);
  --md-default-fg-color--lighter: rgba(28, 43, 58, .34);
  --md-default-fg-color--lightest: rgba(28, 43, 58, .1);
  --md-code-bg-color: #eaf1f9;
  --md-typeset-a-color: #1565c0;
  --md-footer-bg-color: #0f1722;
  --md-footer-bg-color--dark: #0b121b;
}

[data-md-color-scheme="slate"] {
  --cw-primary: #64b5f6;
  --cw-secondary: #4dd0e1;
  --cw-bg: #0f1722;
  --cw-surface: #16202e;
  --cw-drawer: #131c28;
  --cw-text: #e3eefb;
  --cw-text-2: #9fb3c8;
  --cw-line: #26364a;
  --cw-gradient: linear-gradient(135deg, #64b5f6 0%, #4fc3f7 50%, #4dd0e1 100%);
  --cw-on-gradient: #0f1722;
  --cw-shadow: 0 18px 50px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);

  --md-hue: 213;
  --md-primary-fg-color: #16202e;
  --md-primary-fg-color--light: #1d2a3b;
  --md-primary-fg-color--dark: #0f1722;
  --md-primary-bg-color: #e3eefb;
  --md-primary-bg-color--light: rgba(227, 238, 251, .7);
  --md-accent-fg-color: #4dd0e1;
  --md-accent-fg-color--transparent: rgba(77, 208, 225, .12);
  --md-accent-bg-color: #0f1722;
  --md-default-bg-color: #0f1722;
  --md-default-bg-color--light: rgba(15, 23, 34, .54);
  --md-default-bg-color--lighter: rgba(15, 23, 34, .26);
  --md-default-bg-color--lightest: rgba(15, 23, 34, .07);
  --md-default-fg-color: rgba(227, 238, 251, .9);
  --md-default-fg-color--light: rgba(159, 179, 200, .9);
  --md-default-fg-color--lighter: rgba(159, 179, 200, .4);
  --md-default-fg-color--lightest: rgba(159, 179, 200, .14);
  --md-code-bg-color: #16202e;
  --md-code-fg-color: #d4e2f2;
  --md-typeset-color: #e3eefb;
  --md-typeset-a-color: #64b5f6;
  --md-typeset-table-color: rgba(159, 179, 200, .16);
  --md-footer-bg-color: #0b121b;
  --md-footer-bg-color--dark: #080d14;
}

/* docs */
.md-header { box-shadow: none; }
[data-md-color-scheme="slate"] .md-header, [data-md-color-scheme="slate"] .md-tabs { border-bottom: 1px solid var(--cw-line); }
.md-typeset h1 { color: var(--cw-primary); font-weight: 600; }
.md-typeset pre > code, .md-typeset .highlight, .md-typeset .admonition, .md-typeset details { border-radius: 10px; }
.md-typeset table:not([class]) { border-radius: 10px; border-color: var(--cw-line); background: var(--cw-surface); }
.md-typeset .admonition, .md-typeset details { background: var(--cw-surface); }
.md-typeset img.shot { border: 1px solid var(--cw-line); border-radius: var(--cw-radius); box-shadow: var(--cw-shadow); }
.md-typeset .grid.cards > ul > li { border-radius: var(--cw-radius); background: var(--cw-surface); border-color: var(--cw-line); }
.md-search__form { border-radius: 10px; }
.md-search__output { border-radius: 0 0 10px 10px; }

/* contact and support dialogs open from the footer links; their own trigger buttons stay out of sight */
.gilde-widgets { position: absolute; width: 0; height: 0; overflow: hidden; }

/* footer */
.md-footer-meta { background: var(--md-footer-bg-color); }
.md-footer-meta__inner { display: block; padding: 2.4rem .8rem 1.2rem; }
.md-copyright.cw-footer { width: 100%; margin: 0; padding: 0; color: #9fb3c8; font-size: .72rem; }
.cw-footer a { color: #e3eefb; }
.cw-footer a:hover { color: #64b5f6; }
.cw-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.6rem; }
.cw-footer__cols nav { display: flex; flex-direction: column; gap: .35rem; }
.cw-footer__cols strong { color: #fff; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.cw-footer__logo { display: inline-flex; align-items: center; gap: .55rem; font-size: 1rem; font-weight: 600; }
.cw-footer__brand p { margin: .6rem 0 0; max-width: 22rem; line-height: 1.5; }
.cw-built { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: 1.8rem 0 0; padding: 1.2rem 0; border-top: 1px solid #26364a; border-bottom: 1px solid #26364a; }
.cw-built > span { margin-right: .4rem; text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; }
.cw-built a { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border: 1px solid #26364a; border-radius: 999px; transition: border-color .2s, transform .2s; }
.cw-built a:hover { border-color: #64b5f6; transform: translateY(-1px); }
.cw-built img, .cw-built svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.cw-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1.1rem; }
.cw-gilde { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; letter-spacing: .02em; }
.cw-gilde svg { width: 2.2rem; height: 2.2rem; overflow: visible; transition: transform .4s; }
.cw-gilde:hover svg { transform: rotate(-6deg) scale(1.08); }
.cw-gilde path { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.cw-gilde.is-drawn path { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 1.8s ease-in-out, opacity .4s; }
.cw-gilde.is-drawn .cw-gilde__bar { transition-duration: .6s; transition-delay: 1.6s; }
.cw-gilde:hover path { animation: cw-draw 1.6s ease-in-out; }
.cw-gilde:hover .cw-gilde__bar { animation-duration: .6s; animation-delay: 1.2s; animation-fill-mode: backwards; }
@keyframes cw-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 44.9375em) {
  .cw-footer__cols { grid-template-columns: 1fr 1fr; }
  .cw-footer__brand { grid-column: 1 / -1; }
}

/* landing */
.cw-hero, .cw-section { overflow: hidden; }
.cw-hero { position: relative; background: var(--cw-bg); color: var(--cw-text); }
.cw-hero__curve { position: absolute; inset: 0 0 0 auto; width: 42%; background: var(--cw-gradient); opacity: .92; clip-path: ellipse(100% 74% at 100% 50%); animation: cw-slide-in 1s cubic-bezier(.2, .8, .2, 1) both; }
.cw-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.4rem; align-items: center; padding: 3.6rem .8rem 4rem; }
.cw-hero h1 { margin: .5rem 0 1rem; font-size: 2.2rem; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--cw-text); }
.cw-lead { margin: 0 0 1.4rem; font-size: .9rem; line-height: 1.65; color: var(--cw-text-2); max-width: 34rem; }
.cw-search { display: flex; align-items: center; gap: .5rem; max-width: 30rem; padding: 0 .6rem 0 .8rem; height: 2.6rem; border-radius: var(--cw-radius); background: var(--cw-surface); border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow); cursor: text; transition: border-color .2s, box-shadow .2s; }
.cw-search:focus-within { border-color: var(--cw-primary); box-shadow: 0 0 0 3px var(--md-accent-fg-color--transparent), var(--cw-shadow); }
.cw-search__icon svg { width: 1.2rem; height: 1.2rem; fill: var(--cw-primary); display: block; }
.cw-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .8rem; color: var(--cw-text); }
.cw-search input::placeholder { color: var(--cw-text-2); }
.cw-search kbd { padding: .1rem .45rem; border: 1px solid var(--cw-line); border-radius: 6px; font-size: .65rem; color: var(--cw-text-2); }
.cw-topics { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.6rem; max-width: 34rem; }
.cw-topics a { padding: .28rem .7rem; border-radius: 999px; font-size: .68rem; color: var(--cw-primary); background: var(--cw-surface); border: 1px solid var(--cw-line); transition: background .2s, color .2s, transform .2s; }
.cw-topics a:hover { background: var(--cw-primary); color: var(--cw-surface); transform: translateY(-1px); }
.cw-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.cw-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: var(--cw-radius); font-size: .78rem; font-weight: 600; color: var(--cw-primary); background: var(--cw-surface); border: 1px solid var(--cw-line); transition: transform .2s, box-shadow .2s; }
.cw-btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.cw-btn:hover { transform: translateY(-2px); box-shadow: var(--cw-shadow); color: var(--cw-primary); }
.cw-btn--primary { background: var(--cw-primary); color: var(--cw-surface); border-color: transparent; }
.cw-btn--primary:hover { color: var(--cw-surface); }

.cw-frame { border-radius: var(--cw-radius); overflow: hidden; background: var(--cw-surface); box-shadow: 0 30px 80px rgba(8, 30, 60, .35); border: 1px solid rgba(255, 255, 255, .25); animation: cw-rise 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
.cw-frame__bar { display: flex; align-items: center; gap: .35rem; height: 1.6rem; padding: 0 .7rem; background: var(--cw-drawer); border-bottom: 1px solid var(--cw-line); font-size: .6rem; color: var(--cw-text-2); }
.cw-frame__bar span { margin-left: .5rem; }
.cw-slides { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cw-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; animation: cw-cycle 20s infinite; }
.cw-slides img:nth-of-type(1), .cw-slides img:nth-of-type(2) { animation-delay: 0s; }
.cw-slides img:nth-of-type(3), .cw-slides img:nth-of-type(4) { animation-delay: 5s; }
.cw-slides img:nth-of-type(5), .cw-slides img:nth-of-type(6) { animation-delay: 10s; }
.cw-slides img:nth-of-type(7), .cw-slides img:nth-of-type(8) { animation-delay: 15s; }
.cw-slides img.cw-auth { scale: 1.38; transform-origin: center; object-position: center; }
[data-md-color-scheme="slate"] .cw-light, [data-md-color-scheme="default"] .cw-dark { display: none; }
@keyframes cw-cycle {
  0% { opacity: 0; transform: translateX(6%); }
  4%, 24% { opacity: 1; transform: none; }
  28%, 100% { opacity: 0; transform: translateX(-6%); }
}
@keyframes cw-slide-in { from { transform: translateX(30%); } }
@keyframes cw-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.cw-section { padding: 4rem 0; background: var(--cw-bg); }
.cw-section--alt { background: var(--cw-drawer); }
.cw-section > .md-grid { padding: 0 .8rem; }
.md-typeset.cw-section h2 { margin: 0 0 .4rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; color: var(--cw-text); }
.cw-section__lead { margin: 0 0 2rem !important; max-width: 40rem; color: var(--cw-text-2); font-size: .85rem; }
.md-typeset .cw-section h3, .md-typeset.cw-section h3 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 600; color: var(--cw-text); }

.md-typeset h3.cw-also { margin: 2.2rem 0 .6rem; }
.md-typeset ul.cw-more { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.md-typeset .cw-more li { margin: 0; font-size: .8rem; }
.cw-eyebrow { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cw-secondary); }
.cw-ai-hint { display: inline-flex; align-items: center; gap: .5rem; max-width: 34rem; margin: -.6rem 0 1.4rem; font-size: .74rem; line-height: 1.45; color: var(--cw-text-2); transition: color .2s; }
.cw-ai-hint:hover { color: var(--cw-primary); }
.cw-ai-hint svg { flex: none; width: 1.1rem; height: 1.1rem; fill: var(--cw-primary); }

/* hero: packages snapping into one app */
.cw-kit { max-width: 30rem; margin: 0 0 1.3rem; }
.cw-kit__line { display: flex; align-items: center; gap: .45rem; height: 1.6rem; margin-bottom: .45rem; font-size: .8rem; color: var(--cw-text-2); }
.cw-kit__line code { font-family: var(--md-code-font-family, ui-monospace, monospace); font-size: .8rem; color: var(--cw-text); background: none; padding: 0; }
.cw-kit__plus { display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--cw-gradient); color: var(--cw-on-gradient); font-weight: 700; font-size: .75rem; line-height: 1; }
.cw-kit__name { display: inline-block; font-weight: 700; color: var(--cw-primary); }
.cw-kit__name.is-in { animation: cw-kit-name .45s cubic-bezier(.2, .8, .2, 1); }
.cw-kit__app { position: relative; padding: 1.15rem .6rem .6rem; border: 1.5px solid var(--cw-primary); border-radius: var(--cw-radius); background: color-mix(in srgb, var(--cw-surface) 70%, transparent); transition: border-color .3s, box-shadow .3s; }
.cw-kit__tab { position: absolute; top: -.66rem; left: .8rem; display: inline-flex; align-items: center; gap: .4rem; padding: .05rem .55rem; border-radius: 999px; border: 1px solid var(--cw-line); background: var(--cw-surface); font-size: .62rem; font-weight: 700; color: var(--cw-text); }
.cw-kit__done { font-weight: 600; color: var(--cw-secondary); }
.cw-kit__app ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; margin: 0; padding: 0; list-style: none; }
.cw-kit__app li { margin: 0; padding: .32rem .2rem; border-radius: 7px; border: 1px solid var(--cw-line); background: var(--cw-surface); font-size: .6rem; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cw-text); box-shadow: 0 1px 2px rgba(15, 23, 34, .06); }
.cw-kit.is-live .cw-kit__app { border-style: dashed; border-color: var(--cw-line); }
.cw-kit.is-live .cw-kit__done { display: none; }
.cw-kit.is-live li { border-style: dashed; background: transparent; box-shadow: none; color: transparent; transition: background .25s, color .25s, border-color .25s; }
.cw-kit.is-live li.is-on { border-style: solid; border-color: color-mix(in srgb, var(--cw-primary) 45%, var(--cw-line)); background: var(--cw-surface); color: var(--cw-text); box-shadow: 0 1px 2px rgba(15, 23, 34, .06); animation: cw-kit-snap .5s cubic-bezier(.3, 1.4, .5, 1); }
.cw-kit.is-live.is-done .cw-kit__app { border-style: solid; border-color: var(--cw-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cw-primary) 14%, transparent); }
.cw-kit.is-live.is-done .cw-kit__done { display: inline; animation: cw-fade .4s ease; }
.cw-kit.is-live.is-done .cw-kit__tab { border-color: var(--cw-primary); }
@keyframes cw-kit-snap { from { transform: translateY(-.7rem) scale(.92); opacity: 0; } }
@keyframes cw-kit-name { from { transform: translateY(.5rem); opacity: 0; } }

/* landing: walkthrough */
.cw-walk { max-width: 60rem; }
.cw-walk__screen { position: relative; aspect-ratio: 14 / 9; overflow: hidden; border-radius: var(--cw-radius); border: 1px solid var(--cw-line); background: var(--cw-surface); box-shadow: var(--cw-shadow); }
.md-typeset .cw-walk__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.md-typeset .cw-walk__frame.is-on { opacity: 1; }
.cw-walk__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cw-walk__cursor { position: absolute; left: 50%; top: 50%; z-index: 1; width: 1.6rem; height: 1.6rem; margin: -.15rem 0 0 -.3rem; transition: left 1.1s cubic-bezier(.45, .05, .25, 1), top 1.1s cubic-bezier(.45, .05, .25, 1); pointer-events: none; }
.cw-walk__cursor svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #111; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.cw-walk__cursor::before { content: ""; position: absolute; left: .3rem; top: .15rem; width: 1.8rem; height: 1.8rem; margin: -.9rem 0 0 -.9rem; border-radius: 50%; background: var(--cw-primary); opacity: 0; transform: scale(.3); }
.cw-walk__cursor.is-click::before { animation: cw-walk-click .45s ease-out; }
.cw-walk.is-still .cw-walk__cursor { display: none; }
@keyframes cw-walk-click { 0% { opacity: .55; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
.cw-walk__bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .3rem .8rem; margin-top: .9rem; }
.cw-walk__toggle { grid-row: span 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--cw-line); background: var(--cw-surface); cursor: pointer; }
.cw-walk__toggle svg { width: 1.2rem; height: 1.2rem; fill: var(--cw-primary); }
.cw-walk__toggle svg:last-child, .cw-walk.is-paused .cw-walk__toggle svg:first-child { display: none; }
.cw-walk.is-paused .cw-walk__toggle svg:last-child { display: block; }
.md-typeset .cw-walk__caption { margin: 0; font-size: .8rem; color: var(--cw-text); }
.cw-walk__count { margin-right: .4rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cw-primary); }
.md-typeset ol.cw-walk__steps { grid-column: 2; display: flex; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.md-typeset .cw-walk__steps li { flex: 1; margin: 0; }
.cw-walk__steps button { display: block; width: 100%; height: .3rem; padding: 0; border: 0; border-radius: 99px; background: var(--cw-line); cursor: pointer; transition: background .3s; }
.cw-walk__steps button[aria-current] { background: var(--cw-primary); }
.cw-walk__steps button:focus-visible, .cw-walk__toggle:focus-visible { outline: 2px solid var(--cw-primary); outline-offset: 2px; }

/* landing: building with AI */
.cw-ai__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.2rem; }
.cw-ai__card { padding: 1.2rem 1.3rem; border-radius: var(--cw-radius); background: var(--cw-surface); border: 1px solid var(--cw-line); }
.md-typeset .cw-ai__card h3, .md-typeset .cw-ai__cli h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; }
.cw-ai__card h3 svg, .cw-ai__cli h3 svg { width: 1.3rem; height: 1.3rem; fill: var(--cw-primary); }
.md-typeset .cw-ai__card--writes ul { margin: 0; padding-left: 1.1rem; font-size: .8rem; color: var(--cw-text); }
.md-typeset .cw-ai__card--writes li { margin: 0 0 .35rem; }
.md-typeset ul.cw-ai__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.md-typeset ul.cw-ai__chips > li { margin: 0; }
.md-typeset .cw-ai__chips a { display: inline-block; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--cw-line); background: var(--cw-bg); font-size: .7rem; font-weight: 600; color: var(--cw-text); transition: border-color .2s, color .2s; }
.md-typeset .cw-ai__chips a:hover { border-color: var(--cw-primary); color: var(--cw-primary); }
.cw-ai__cli { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: center; margin-top: 1.2rem; padding: 1.2rem 1.3rem; border-radius: var(--cw-radius); background: var(--cw-surface); border: 1px solid var(--cw-line); }
.md-typeset .cw-ai__cli p { margin: 0; font-size: .76rem; color: var(--cw-text-2); }
.cw-ai__cmd { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.cw-ai__cmd .cw-cmd { align-self: stretch; }
.cw-ai__cmd .cw-btn svg { order: 1; }
.md-typeset .cw-btn--primary, .md-typeset .cw-btn--primary:hover { color: var(--cw-surface); }
@media (max-width: 59.9375em) {
  .cw-ai__grid, .cw-ai__cli { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 44.9375em) {
  .cw-kit__app li { font-size: .56rem; }
  .cw-walk__cursor { width: 1.1rem; height: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-walk__frame, .cw-walk__cursor { transition: none; }
}
.cw-release { margin: 1rem 0 0; font-size: .68rem; color: var(--cw-text-2); }
.md-typeset .cw-release a, .cw-release a { color: var(--cw-primary); }
.cw-release a:hover { text-decoration: underline; }
.md-typeset table.cw-timing { display: table; width: auto; max-width: 34rem; margin: 0; border: 1px solid var(--cw-line); border-radius: var(--cw-radius); background: var(--cw-surface); font-size: .78rem; }
.md-typeset .cw-timing td { padding: .55rem 1rem; border-top: 1px solid var(--cw-line); vertical-align: middle; }
.md-typeset .cw-timing tr:first-child td { border-top: 0; }
.md-typeset .cw-timing td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--cw-text); font-variant-numeric: tabular-nums; }
.md-typeset .cw-more span { color: var(--cw-text-2); font-size: .7rem; }
.cw-more-shots { margin: 1.2rem 0 0; font-weight: 600; }
.cw-more-shots a { display: inline-flex; align-items: center; gap: .3rem; }
.cw-more-shots svg { width: 1rem; height: 1rem; fill: currentColor; }
.md-typeset .cw-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem; border-radius: var(--cw-radius); background: var(--cw-surface); border: 1px solid var(--cw-line); color: var(--cw-text-2); font-size: .74rem; line-height: 1.55; transition: transform .25s, box-shadow .25s, border-color .25s; }
.md-typeset .cw-card strong { color: var(--cw-text); font-size: .85rem; }
.md-typeset .cw-card:hover { transform: translateY(-4px); box-shadow: var(--cw-shadow); border-color: var(--cw-primary); color: var(--cw-text-2); }
.cw-card__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .4rem; border-radius: 12px; background: var(--cw-gradient); }
.cw-card__icon svg { width: 1.3rem; height: 1.3rem; fill: var(--cw-on-gradient); }

.cw-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.md-typeset ol.cw-steps { margin: 0; padding: 0; list-style: none; counter-reset: cw; }
.md-typeset .cw-steps li { position: relative; margin: 0 0 1.4rem; padding-left: 3rem; counter-increment: cw; display: flex; flex-direction: column; gap: .3rem; color: var(--cw-text-2); font-size: .76rem; }
.md-typeset .cw-steps li::before { content: counter(cw); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--cw-gradient); color: var(--cw-on-gradient); font-weight: 700; font-size: .85rem; }
.md-typeset .cw-steps li.cw-steps__more::before { content: none; }
.md-typeset .cw-steps strong { color: var(--cw-text); font-size: .9rem; }
.cw-steps__more a, .cw-tour__text a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
.cw-steps__more svg, .cw-tour__text a svg { width: 1rem; height: 1rem; fill: currentColor; transition: transform .2s; }
.cw-steps__more a:hover svg, .cw-tour__text a:hover svg { transform: translateX(3px); }
.cw-cmd { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; padding: .55rem .55rem .55rem .9rem; border-radius: 10px; background: #0f1722; border: 1px solid #26364a; }
.md-typeset .cw-cmd code { flex: 1; min-width: 0; padding: 0; background: none; color: #e3eefb; font-size: .74rem; white-space: pre; overflow-x: auto; }
.md-typeset .cw-cmd code::before { content: "$ "; color: #4dd0e1; }
.cw-copy { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 8px; border: 0; background: #16202e; cursor: pointer; transition: background .2s; }
.cw-copy svg { width: .9rem; height: .9rem; fill: #9fb3c8; }
.cw-copy:hover { background: #1d2a3b; }
.cw-copy.is-done { background: #00838f; }
.cw-copy.is-done svg { fill: #fff; }
.cw-studio { border-radius: var(--cw-radius); overflow: hidden; background: var(--cw-surface); border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow); }
.cw-studio img { display: block; width: 100%; }
.cw-studio__body { padding: 1.2rem 1.4rem 1.4rem; font-size: .76rem; color: var(--cw-text-2); }
.md-typeset .cw-studio__body h3 { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.md-typeset .cw-studio__body h3:not(:first-child) { margin-top: 1.3rem; }
.cw-studio__body h3 svg { width: 1.2rem; height: 1.2rem; fill: var(--cw-secondary); flex: none; }
.md-typeset .cw-studio__body p { margin: 0 0 .5rem; }

.cw-tour { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; margin: 0 0 3.6rem; }
.cw-tour:last-child { margin-bottom: 0; }
.cw-tour--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.cw-tour--flip .cw-tour__shots { order: 2; }
.cw-tour__shots { position: relative; padding: 0 0 12% 0; }
.cw-tour__main, .cw-tour__side { display: block; border-radius: var(--cw-radius); overflow: hidden; border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cw-tour__main { width: 88%; }
.cw-tour__side { position: absolute; right: 0; bottom: 0; width: 48%; }
.cw-tour--flip .cw-tour__main { margin-left: auto; }
.cw-tour--flip .cw-tour__side { right: auto; left: 0; }
.cw-tour__shots img { display: block; width: 100%; }
.cw-tour__main:hover, .cw-tour__side:hover { transform: translateY(-4px) scale(1.01); z-index: 1; }
.cw-tour__text { font-size: .8rem; color: var(--cw-text-2); line-height: 1.65; }

.cw-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.md-typeset .cw-gallery a { display: block; border-radius: var(--cw-radius); overflow: hidden; background: var(--cw-surface); border: 1px solid var(--cw-line); color: var(--cw-text-2); font-size: .7rem; transition: transform .25s, box-shadow .25s; }
.cw-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.cw-gallery span { display: block; padding: .5rem .8rem; }
.md-typeset .cw-gallery a:hover { transform: translateY(-3px); box-shadow: var(--cw-shadow); color: var(--cw-primary); }

.cw-overview.md-content { max-width: none; }
.cw-overview .md-content__inner { margin: 0; padding: 0; }
.cw-overview .md-content__inner::before { display: none; }
.cw-overview h2 { font-size: 1.1rem !important; margin-top: 1.6rem !important; }
.cw-overview h2:first-child { margin-top: 0 !important; }

.cw-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.cw-widget { display: block; min-width: 0; max-width: 100%; font-family: var(--md-text-font-family); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.cw-widget + .cw-widget { transition-delay: .12s; }
.cw-connect.is-waiting .cw-widget { opacity: 0; transform: translateY(18px); }

.cw-lightbox { max-width: min(94vw, 1440px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--cw-radius); background: var(--cw-surface); color: var(--cw-text); overflow: visible; }
.cw-lightbox::backdrop { background: rgba(8, 14, 22, .82); backdrop-filter: blur(3px); }
.cw-lightbox[open] { animation: cw-rise .3s cubic-bezier(.2, .8, .2, 1); }
.cw-lightbox img { display: block; max-width: min(94vw, 1440px); max-height: calc(94vh - 2.6rem); border-radius: var(--cw-radius) var(--cw-radius) 0 0; }
.cw-lightbox p { margin: 0; padding: .6rem 1rem; font-size: .75rem; color: var(--cw-text-2); }
.cw-lightbox button { position: absolute; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--cw-surface); box-shadow: var(--cw-shadow); cursor: pointer; }
.cw-lightbox button svg { width: 1.4rem; height: 1.4rem; fill: var(--cw-text); }
.cw-lightbox__close { top: -.8rem; right: -.8rem; }
.cw-lightbox__prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.cw-lightbox__next { right: .6rem; top: 50%; transform: translateY(-50%); }


@media (max-width: 76.1875em) {
  }
@media (max-width: 59.9375em) {
  .cw-hero__inner, .cw-start, .cw-tour, .cw-connect { grid-template-columns: minmax(0, 1fr); }
  .cw-hero__inner { padding: 2.4rem .8rem 2.8rem; gap: 2rem; }
  .cw-hero__curve { inset: auto 0 0 0; width: 100%; height: 26%; clip-path: ellipse(85% 100% at 50% 100%); }
  .cw-tour--flip .cw-tour__shots { order: 0; }
  .cw-tour { gap: 1.2rem; }
}
@media (max-width: 44.9375em) {
  .cw-hero h1 { font-size: 1.75rem; }
    .cw-section { padding: 2.8rem 0; }
  .cw-search kbd { display: none; }
  .md-typeset .cw-cmd code { white-space: pre-wrap; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-hero__curve, .cw-frame, .cw-lightbox[open] { animation: none; }
  .cw-slides img { animation: none; }
  .cw-slides img:nth-of-type(1), .cw-slides img:nth-of-type(2) { opacity: 1; }
  .cw-gilde path { stroke-dashoffset: 0; opacity: 1; transition: none !important; animation: none !important; }
  .cw-card, .cw-btn, .cw-topics a, .cw-gallery a, .cw-tour__main, .cw-tour__side { transition: none; }
}

/* product logos (AirWorks, WebDataStudio, AspireUI) */
.cw-product-logo { float: right; height: 3rem; max-width: 40%; margin: 0 0 .8rem 1.2rem; object-fit: contain; }

/* landing: integrations */
.cw-features__more { margin-top: 1.6rem; }
.cw-brand-groups { display: grid; gap: 1.4rem; }
.md-typeset .cw-brand-group h3 { margin: 0 0 .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cw-text-2); }
.md-typeset .cw-brands small { display: block; font-size: .62rem; font-weight: 400; color: var(--cw-text-2); }
.md-typeset ul.cw-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.md-typeset .cw-brands li { margin: 0; }
.md-typeset .cw-brands a { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .7rem .8rem; border-radius: var(--cw-radius); background: var(--cw-surface); border: 1px solid var(--cw-line); color: var(--cw-text); font-size: .72rem; font-weight: 600; line-height: 1.25; overflow-wrap: normal; word-break: normal; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cw-brands svg, .cw-brands img { flex: none; width: 1.4rem; height: 1.4rem; object-fit: contain; fill: var(--cw-text-2); transition: fill .2s; }
.md-typeset .cw-brands a:hover { transform: translateY(-2px); box-shadow: var(--cw-shadow); border-color: var(--cw-primary); color: var(--cw-primary); }
.cw-brands a:hover svg { fill: var(--cw-primary); }
.cw-brands img[src$=".svg"] { object-position: left center; object-fit: cover; }
[data-md-color-scheme="default"] .cw-brands img[src$="airworks.png"] { filter: invert(1); }
@media (max-width: 44.9375em) {
  .md-typeset ul.cw-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .md-typeset .cw-brands a { gap: .45rem; padding: .6rem; font-size: .66rem; }
}
[dir] .md-typeset .cw-brands li, [dir] .md-typeset .cw-more li { margin-left: 0; }
.cw-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.md-typeset .cw-shots figure { margin: 0; border-radius: var(--cw-radius); overflow: hidden; background: var(--cw-surface); border: 1px solid var(--cw-line); }
.md-typeset .cw-shots img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.md-typeset .cw-shots figcaption { margin: 0; padding: .45rem .7rem; font-size: .68rem; color: var(--cw-text-2); text-align: left; max-width: none; }
.cw-shots a.cw-zoom { display: block; cursor: zoom-in; }
.cw-shots a.cw-zoom:focus-visible { outline: 2px solid var(--cw-primary); outline-offset: -2px; }
.cw-lightbox button[hidden] { display: none; }

/* starter specs and the mini wizard (getting-started/gallery) */
.cw-starters__bar { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin: 1.2rem 0 1rem; }
.cw-starters__bar input { flex: 0 1 18rem; min-width: 0; padding: .5rem .8rem; border: 1px solid var(--cw-line); border-radius: 10px; background: var(--cw-surface); color: var(--cw-text); font: inherit; font-size: .75rem; }
.cw-starters__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.cw-starters__tags button { padding: .2rem .6rem; border: 1px solid var(--cw-line); border-radius: 999px; background: none; color: var(--cw-text-2); font-size: .68rem; cursor: pointer; }
.cw-starters__tags button[aria-pressed="true"] { background: var(--cw-primary); border-color: transparent; color: var(--cw-surface); }
.cw-starters__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; }
.cw-starters__empty { color: var(--cw-text-2); }
.md-typeset .cw-spec { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem; border: 1px solid var(--cw-line); border-radius: var(--cw-radius); background: var(--cw-surface); }
.md-typeset .cw-spec[hidden] { display: none; }
.md-typeset .cw-spec p { margin: 0; font-size: .72rem; }
.md-typeset .cw-spec h3 { margin: 0; font-size: .85rem; }
.cw-spec__head { display: flex; gap: .7rem; align-items: center; }
.cw-spec__head svg { width: 1.5rem; height: 1.5rem; padding: .4rem; box-sizing: content-box; border-radius: 10px; fill: var(--cw-secondary); background: var(--md-accent-fg-color--transparent); flex: none; }
.md-typeset .cw-spec__tags { color: var(--cw-primary); }
.cw-spec__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.cw-spec__actions .cw-btn { padding: .45rem .8rem; cursor: pointer; font-family: inherit; }
.cw-line { display: flex; align-items: center; gap: .4rem; padding: .3rem .3rem .3rem .6rem; border-radius: 10px; background: var(--md-code-bg-color); }
.md-typeset .cw-line code { flex: 1; min-width: 0; padding: 0; background: none; font-size: .68rem; white-space: normal; overflow-wrap: anywhere; }
.cw-copytext { flex: none; padding: .25rem .55rem; border: 1px solid var(--cw-line); border-radius: 8px; background: var(--cw-surface); color: var(--cw-primary); font-size: .65rem; cursor: pointer; }
.cw-wizard { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.4rem; margin: 1rem 0 1.4rem; padding: 1.2rem; border: 1px solid var(--cw-line); border-radius: var(--cw-radius); background: var(--cw-surface); }
.cw-wizard__fields { display: flex; flex-direction: column; gap: .7rem; font-size: .72rem; }
.cw-wizard__fields > label { display: flex; flex-direction: column; gap: .25rem; color: var(--cw-text-2); }
.cw-wizard__fields input:not([type=checkbox]), .cw-wizard__fields select { padding: .4rem .55rem; border: 1px solid var(--cw-line); border-radius: 8px; background: var(--cw-bg); color: var(--cw-text); font: inherit; }
.cw-wizard__checks { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0; padding: .5rem .7rem .6rem; border: 1px solid var(--cw-line); border-radius: 8px; }
.cw-wizard__checks legend { padding: 0 .3rem; color: var(--cw-text-2); }
.cw-wizard__checks label { display: inline-flex; gap: .3rem; align-items: center; }
.cw-wizard__out { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.md-typeset .cw-wizard__out pre { margin: 0; max-height: 24rem; overflow: auto; }
.md-typeset ul.cw-problems { margin: 0; padding: .45rem .7rem; list-style: none; border-radius: 8px; font-size: .68rem; background: var(--md-accent-fg-color--transparent); }
.md-typeset ul.cw-problems li { margin: 0; list-style: none; }
.md-typeset .cw-problems--bad { background: rgba(198, 40, 40, .1); color: #c62828; }
[data-md-color-scheme="slate"] .md-typeset .cw-problems--bad { color: #ef9a9a; }
.md-typeset .cw-spec__actions a.cw-btn--primary { color: var(--cw-surface); }
.cw-wizard__out .cw-spec__actions { margin-top: 0; }
@media (max-width: 52em) {
  .cw-wizard { grid-template-columns: minmax(0, 1fr); padding: .9rem; }
}

/* landing: a closer look (screenshots that turn over into a card) */
.cw-closer__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 8.5rem; gap: 1rem; grid-template-areas: "a a a a p p" "a a a a p p" "x x k k p p" "m m m i i i" "m m m i i i"; }
.cw-closer__item { min-width: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 90ms); }
.cw-closer.is-waiting .cw-closer__item { opacity: 0; transform: translateY(28px); }
.cw-flip { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--cw-line); border-radius: var(--cw-radius); background: var(--cw-surface); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.md-typeset .cw-flip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cw-flip:hover, .cw-flip:focus-visible { transform: translateY(-3px); box-shadow: var(--cw-shadow); border-color: var(--cw-primary); }
.cw-flip:focus-visible { outline: 2px solid var(--cw-primary); outline-offset: 3px; }
.cw-flip__tag { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; background: var(--cw-surface); color: var(--cw-text); font-size: .64rem; font-weight: 600; box-shadow: 0 2px 8px rgba(8, 30, 60, .18); }

.cw-flipbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; overflow: hidden; perspective: 1800px; }
.cw-flipbox[open] { display: grid; place-items: center; }
.cw-flipbox::backdrop { background: rgba(8, 14, 22, .78); backdrop-filter: blur(3px); }
.cw-flipbox[open]::backdrop { animation: cw-fade .35s ease; }
.cw-flipcard { position: relative; width: min(1180px, 94vw); height: min(540px, 84dvh); transform: rotateY(180deg); transform-style: preserve-3d; }
.cw-flipcard__front, .cw-flipcard__back { position: absolute; inset: 0; overflow: hidden; border-radius: var(--cw-radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cw-flipcard__front { background: var(--cw-surface); }
.md-typeset .cw-flipcard__front img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cw-flipcard__back { transform: rotateY(180deg); display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); grid-template-rows: 100%; background: var(--cw-surface); color: var(--cw-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.md-typeset .cw-flipcard__img { width: 100%; height: 100%; min-height: 0; object-fit: contain; background: var(--cw-drawer); }
.cw-flipcard__text { display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: 2rem 1.8rem; overflow-y: auto; font-size: .8rem; line-height: 1.65; color: var(--cw-text-2); }
.md-typeset .cw-flipcard__text h3 { margin: 0 0 .6rem; font-size: 1.3rem; color: var(--cw-text); }
.md-typeset .cw-flipcard__text p { margin: 0 0 .8rem; }
.md-typeset .cw-flipcard__text .cw-flipcard__feature { margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cw-secondary); }
.cw-flipcard__text a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; }
.cw-flipcard__text a svg { width: 1rem; height: 1rem; fill: currentColor; }
.cw-flipcard__close { position: absolute; top: .7rem; right: .7rem; z-index: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: var(--cw-drawer); cursor: pointer; }
.cw-flipcard__close svg { width: 1.3rem; height: 1.3rem; fill: var(--cw-text); }
.cw-flipcard__close:focus-visible { outline: 2px solid var(--cw-primary); }
@keyframes cw-fade { from { opacity: 0; } }
@media (max-width: 59.9375em) {
  .cw-closer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; grid-template-areas: "a a" "a a" "x p" "k p" "m m" "i i"; }
}
@media (max-width: 44.9375em) {
  .cw-flipcard { width: 100vw; height: 100dvh; }
  .cw-flipcard__front, .cw-flipcard__back { border-radius: 0; }
  .cw-flipcard__back { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 45%) minmax(0, 1fr); }
  .cw-flipcard__text { justify-content: flex-start; padding: 1.2rem 1.2rem 2rem; }
  .cw-flipcard__close { background: var(--cw-surface); box-shadow: var(--cw-shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .cw-closer__item, .cw-flip { transition: none; }
  .cw-flipbox[open] { animation: cw-fade .2s ease; }
}
