/* Jacket home page: hero, the scroll-driven 3D build, the try-it editor with twelve looks, tiles. */

body.home { background: #fbfbfd; color: #1d1d1f; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif; }
body.home .site-header { background: rgba(251, 251, 253, .8); border-bottom-color: rgba(0, 0, 0, .08); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
body.home .site-header .logo, body.home .header-cta .btn.ghost { color: #1d1d1f; }
body.home .site-nav a { color: #6e6e73; }
body.home .site-nav a:hover { color: #1d1d1f; }
body.home .btn.primary { background: #0071e3; border-color: #0071e3; color: #fff; border-radius: 980px; }
body.home .btn.primary:hover { background: #0077ed; border-color: #0077ed; }
body.home .site-footer { margin-top: 0; background: #f5f5f7; color: #6e6e73; border-top: 0; }
body.home .site-footer .logo { color: #1d1d1f; }
body.home .site-footer a { color: #424245; }
body.home section { padding: 0; }
.wrap.wide { max-width: 1280px; }
.btn.big { padding: 14px 26px; font-size: 17px; }

/* Shared headline styles */
.h-big { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0 0 .35em; }
.h-lede { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; color: #6e6e73; max-width: 760px; margin: 0 0 1.5em; font-weight: 500; }
.h-lede b { color: inherit; }
.h-link { color: #0066cc; font-size: 18px; text-decoration: none; }
.h-link:hover { text-decoration: underline; color: #0066cc; }
.h-link::after { content: " ›"; }
.pre { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.pre.in { opacity: 1; transform: none; }

/* Hero */
.h-hero { text-align: center; padding: clamp(72px, 12vh, 140px) 0 clamp(24px, 6vh, 64px) !important; background: #fbfbfd; }
.h-eyebrow { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: #0071e3; margin: 0 0 12px; }
.h-hero h1 { font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin: 0 auto .3em; max-width: 20ch; color: #1d1d1f; text-wrap: balance; }
.h-sub { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; color: #6e6e73; max-width: 720px; margin: 0 auto 1.4em; font-weight: 500; }
.h-ctas { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.price-end .h-ctas { justify-content: flex-start; }
.h-ctas.center { justify-content: center; }
.h-fine { font-size: 14px; color: #6e6e73; }

/* The 3D build */
.s3d { height: 640vh; position: relative; background: linear-gradient(180deg, #fbfbfd, #eef1f6 40%, #eef1f6 70%, #f5f5f7); }
.s3d-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.s3d-stage { position: absolute; inset: 0; perspective: 2000px; perspective-origin: 50% 35%; }
.s3d-scaler { position: absolute; left: 50%; top: 56%; transform-style: preserve-3d; will-change: transform; }
.s3d-plane { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform;
  background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 50px 100px rgba(30, 50, 90, .18); }
.s3d-grid { position: absolute; background-image: linear-gradient(90deg, rgba(0, 0, 0, .07) 1px, transparent 1px), linear-gradient(0deg, rgba(0, 0, 0, .035) 1px, transparent 1px); }
.s3d-we { position: absolute; top: 0; bottom: 0; background: rgba(0, 0, 0, .035); }
.s3d-day { position: absolute; top: 18px; height: 24px; text-align: center; font-size: 10px; line-height: 1.1; color: #6e6e73; }
.s3d-day span { display: block; font-size: 8px; color: #a1a1a6; }
.s3d-month { position: absolute; top: 4px; font-size: 10px; font-weight: 600; color: #1d1d1f; }
.s3d-label { position: absolute; left: 0; padding-left: 18px; font-size: 12px; line-height: 34px; color: #3a3a3c; white-space: nowrap; overflow: hidden; }
.s3d-label.h { font-weight: 700; color: #1d1d1f; padding-left: 10px; }
.s3d-block { position: absolute; transform-style: preserve-3d; will-change: transform; }
.s3d-block > div { position: absolute; transition: background-color .5s; }
.s3d-block .f-top { inset: 0; border-radius: 1.5px; display: grid; place-items: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c) 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 .5px rgba(0, 0, 0, .12); }
/* The four sides hang from the top face's edges down to the calendar (height --h). */
.s3d-block .f-front { left: 0; top: 100%; width: 100%; height: var(--h); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #000), color-mix(in srgb, var(--c) 62%, #000)); }
.s3d-block .f-back { left: 0; top: 0; width: 100%; height: var(--h); transform-origin: 50% 0; transform: rotateX(-90deg); background: color-mix(in srgb, var(--c) 70%, #000); }
.s3d-block .f-left { left: 0; top: 0; height: 100%; width: var(--h); transform-origin: 0 50%; transform: rotateY(90deg);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 72%, #000), color-mix(in srgb, var(--c) 88%, #000)); }
.s3d-block .f-right { left: 100%; top: 0; height: 100%; width: var(--h); transform-origin: 0 50%; transform: rotateY(90deg);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 66%, #000), color-mix(in srgb, var(--c) 52%, #000)); }
.s3d-block .f-shadow { inset: -2px -2px -6px 2px; transform: translateZ(calc(var(--h) * -1 + .5px)); background: rgba(20, 30, 60, .16); border-radius: 4px; filter: blur(4px); }
.s3d-block .f-txt { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 1px rgba(0, 0, 0, .2); }
.s3d-block { --c: #2f7cf6; }
.s3d-block.g1 { --c: #34c759; } .s3d-block.g2 { --c: #8e6cf0; } .s3d-block.g3 { --c: #ff9f0a; }
.s3d-block.k-h { --c: #48484a; }
.s3d-block.crit { --c: #ff3b30; }
.s3d-links { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.s3d-links path { fill: none; stroke: rgba(0, 0, 0, .45); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.s3d-links path.crit { stroke: #ff3b30; }
.s3d-flag { position: absolute; width: 0; border-left: 2px dashed #ff453a; transform: translateZ(1px); }
.s3d-captions { position: absolute; left: 0; right: 0; top: clamp(70px, 12vh, 120px); text-align: center; z-index: 2; pointer-events: none; padding: 0 16px; }
.s3d-captions p { position: absolute; left: 0; right: 0; margin: 0 auto; max-width: 820px; font-size: clamp(20px, 2.8vw, 32px); line-height: 1.25; color: #6e6e73; font-weight: 600; letter-spacing: -.015em;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; padding: 0 16px; }
.s3d-captions p b { color: #1d1d1f; font-weight: 700; }
.s3d-captions p.on { opacity: 1; transform: none; }
.s3d-finish { position: absolute; left: 50%; bottom: clamp(24px, 7vh, 64px); transform: translateX(-50%); font-size: clamp(17px, 2vw, 22px); color: #6e6e73; padding: 10px 20px;
  border-radius: 980px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); white-space: nowrap; }
.s3d-finish:empty { display: none; }
.s3d-finish b { color: #1d1d1f; }
.s3d-finish.late b { color: #e0352b; }
/* Reduced motion: one still picture, all the captions as a list. */
.s3d.still { height: auto; }
.s3d.still .s3d-sticky { position: relative; height: auto; display: flex; flex-direction: column; padding: 48px 0; }
.s3d.still .s3d-captions { position: relative; top: 0; display: grid; gap: 10px; }
.s3d.still .s3d-captions p { position: relative; opacity: 1; transform: none; font-size: 19px; }
.s3d.still .s3d-stage { position: relative; height: 70vh; }
.s3d.still .s3d-finish { position: relative; left: auto; bottom: auto; transform: none; align-self: center; }

/* Try it */
.try { background: #f5f5f7; color: #1d1d1f; padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 9vh, 110px) !important; }
.try .h-lede, .pick .h-lede { color: #6e6e73; }
.ed-frame { border-radius: 22px; padding: 10px; background: linear-gradient(180deg, #fff, #e8e8ed); box-shadow: 0 30px 80px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .04); }
.looks { text-align: center; margin-top: 34px; }
.looks-name { font-size: 22px; font-weight: 650; margin: 0 0 14px; }
.looks-says { color: #6e6e73; font-size: 15px; margin: 14px 0 0; min-height: 1.5em; }
.looks-dots { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* The editor. Each look sets these tokens; the layout never changes between looks. */
.ed {
  --e-bg: #ffffff; --e-panel: #fafafa; --e-ink: #242424; --e-dim: #616161; --e-line: #edebe9; --e-we: #f5f5f5; --e-head: #424242;
  --e-sel: rgba(15, 108, 189, .08); --e-link: #8a8886; --crit: #d13438; --e-font: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --c0: #0f6cbd; --c1: #107c10; --c2: #7160e8; --c3: #da3b01; --c4: #038387; --e-txt: #fff; --r: 4px; --e-bshadow: none; --e-border: 0;
  --e-btn: #fff; --e-btn-ink: #242424; --e-btn-line: #d1d1d1; --e-accent: #0f6cbd; --e-accent-ink: #fff;
  --lw: 210px; --rh: 36px; --dc: 72px; --dd: 46px;
  position: relative; background: var(--e-bg); color: var(--e-ink); font-family: var(--e-font); border-radius: 14px; overflow: hidden; font-size: 14px;
  transition: background-color .35s, color .35s;
}
.ed-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; background: var(--e-panel); border-bottom: 1px solid var(--e-line); }
.ed-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 15px; margin-right: auto; }
.ed-mark { width: 20px; height: 20px; border-radius: 6px; background: var(--e-accent); position: relative; }
.ed-mark::before, .ed-mark::after { content: ""; position: absolute; height: 3px; border-radius: 2px; background: var(--e-accent-ink); left: 4px; width: 9px; top: 6px; }
.ed-mark::after { left: 7px; top: 11px; }
.ed-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-tools button { font: inherit; font-size: 13px; padding: 5px 11px; border-radius: var(--r); border: 1px solid var(--e-btn-line); background: var(--e-btn); color: var(--e-btn-ink); cursor: pointer; }
.ed-tools button:hover { filter: brightness(.96); }
.ed-tools button[data-act="task"], .ed-tools button[aria-pressed="true"] { background: var(--e-accent); color: var(--e-accent-ink); border-color: var(--e-accent); }
.ed-tools button[data-act="crit"][aria-pressed="true"] { background: var(--crit); border-color: var(--crit); color: #fff; }
.ed-body { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); position: relative; }
.ed-names { border-right: 1px solid var(--e-line); background: var(--e-bg); z-index: 2; }
.ed-namehead { height: 40px; display: grid; grid-template-columns: 18px minmax(0, 1fr) var(--dc, 0px) var(--dc, 0px) var(--dd, 0px); align-items: center; font-size: 12px; font-weight: 600; color: var(--e-dim); border-bottom: 1px solid var(--e-line); background: var(--e-panel); }
.ed-namehead .ed-hn { grid-column: 2; padding-left: 8px; }
.ed-namehead .ed-c { padding: 0 6px; }
.ed-name { display: grid; grid-template-columns: 18px minmax(0, 1fr) var(--dc, 0px) var(--dc, 0px) var(--dd, 0px); align-items: center; border-bottom: 1px solid transparent; position: relative; }
.ed-name input { width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 13.5px; padding: 4px 8px; border-radius: 0; outline: none; height: 100%; }
.ed-name input:focus { background: var(--e-sel); box-shadow: inset 0 -2px var(--e-accent); }
.ed-name .ed-c { font-size: 12.5px; padding: 4px 6px; color: var(--e-ink); border-left: 1px solid var(--e-line); font-variant-numeric: tabular-nums; }
.ed-name .ed-c.d { text-align: right; padding-right: 10px; }
.ed-name .ed-c::placeholder { color: var(--e-dim); }
.ed-name .ed-c[readonly] { color: var(--e-dim); cursor: default; }
.ed-name .ed-c:not([readonly]):hover { background: var(--e-sel); }
.ed-name.k-h .ed-n { font-weight: 700; }
.ed-name.sel { background: var(--e-sel); box-shadow: inset 3px 0 var(--e-accent); }
.ed-name.lifting { opacity: .35; }
.ed-name.ghost { display: flex; color: var(--e-dim); font-size: 12px; padding-left: 26px; font-style: italic; }
.ed-grip { grid-column: 1; align-self: stretch; cursor: grab; touch-action: none; position: relative; opacity: .35; }
.ed-grip::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 12px; margin-top: -6px;
  background: radial-gradient(circle, var(--e-ink) 1.1px, transparent 1.4px) 0 0 / 3px 4px; }
.ed-name:hover .ed-grip, .ed-name.sel .ed-grip { opacity: .8; }
.ed-dropline { position: absolute; right: 0; height: 2px; background: var(--e-accent); z-index: 6; pointer-events: none; max-width: calc(var(--lw) - 26px); }
.ed-dropline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--e-accent); }
.ed-rowghost { position: absolute; z-index: 7; pointer-events: none; padding: 7px 12px; border-radius: 8px; background: var(--e-bg); color: var(--e-ink); font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18), 0 0 0 1px var(--e-line); white-space: nowrap; transform: rotate(-1deg); }
.ed-ghint { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--e-dim); font-style: italic; pointer-events: none; white-space: nowrap; }
.ed-ghost.own { opacity: 1; background: repeating-linear-gradient(90deg, transparent 0 6px, color-mix(in srgb, var(--e-accent) 10%, transparent) 6px 7px); }
.ed-hbar.sub { height: 6px; opacity: .7; }
.ed-scroll { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }
.ed-chart { position: relative; }
.ed-head { height: 40px; position: relative; border-bottom: 1px solid var(--e-line); background: var(--e-panel); }
.ed-day { position: absolute; top: 15px; text-align: center; font-size: 11px; line-height: 1.05; color: var(--e-dim); }
.ed-day span { display: block; font-size: 9px; opacity: .7; }
.ed-day.we { opacity: .55; }
.ed-month { position: absolute; top: 2px; font-size: 11px; font-weight: 650; color: var(--e-head); }
.ed-lanes { position: relative; background-image: linear-gradient(90deg, var(--e-line) 1px, transparent 1px); }
.ed-we { position: absolute; top: 0; bottom: 0; background: var(--e-we); }
.ed-links { position: absolute; left: 0; pointer-events: none; overflow: visible; z-index: 1; }
.ed-links .ln { fill: none; stroke: var(--e-link); stroke-width: 1.3; }
.ed-links .ln.crit, .ed-links .ah.crit { stroke: var(--crit); }
.ed-links .ah { fill: none; stroke: var(--e-link); stroke-width: 1.3; }
.ed-links .hit { fill: none; stroke: transparent; stroke-width: 10; pointer-events: stroke; cursor: pointer; }
.ed-links .hit:hover { stroke: color-mix(in srgb, var(--crit) 35%, transparent); }
.ed-links .rubber { stroke: var(--e-accent); stroke-dasharray: 4 3; stroke-width: 1.6; }
.ed-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ed-layer > * { pointer-events: auto; }
.ed-ghost { position: absolute; left: 0; cursor: crosshair; background: repeating-linear-gradient(90deg, transparent 0 6px, color-mix(in srgb, var(--e-dim) 10%, transparent) 6px 7px); opacity: .7; touch-action: none; }
.ed-hbar { position: absolute; height: 8px; background: var(--e-head); border-radius: 1px; clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 6px) 50%, 6px 50%, 0 100%); }
.ed-block { position: absolute; background: var(--bc, var(--c0)); border-radius: var(--r); color: var(--e-txt); box-shadow: var(--e-bshadow); border: var(--e-border);
  display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; user-select: none; transition: background-color .2s, left .12s ease-out, width .12s ease-out; }
.ed-block:active { cursor: grabbing; }
.ed-block.g0 { --bc: var(--c0); } .ed-block.g1 { --bc: var(--c1); } .ed-block.g2 { --bc: var(--c2); } .ed-block.g3 { --bc: var(--c3); } .ed-block.g4 { --bc: var(--c4); }
.ed-block.crit { --bc: var(--crit); }
.ed-block.sel { outline: 2px solid var(--e-ink); outline-offset: 2px; }
.ed-btxt { font-size: 11px; font-weight: 650; pointer-events: none; }
.ed-block.k-e { width: 18px; height: 18px; border-radius: 3px; transform: rotate(45deg) scale(.8); background: var(--e-ink); }
.ed-block.k-e.crit { background: var(--crit); }
.ed-elabel { position: absolute; left: 22px; top: -2px; transform: rotate(-45deg) translate(6px, 6px); transform-origin: left; font-size: 11px; color: var(--e-dim); white-space: nowrap; pointer-events: none; }
.ed-h { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; z-index: 2; }
.ed-h.l { left: -3px; } .ed-h.r { right: -3px; }
.ed-dot { position: absolute; right: -19px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--e-bg); border: 2px solid var(--e-accent); cursor: crosshair; opacity: 0; transition: opacity .15s; }
.ed-block.k-e .ed-dot { transform: rotate(-45deg); right: -16px; }
.ed-block:hover .ed-dot, .ed-block.sel .ed-dot { opacity: 1; }
.ed-dot::before { content: ""; position: absolute; inset: -6px; }
.ed-preview { opacity: .55; pointer-events: none; }
.ed-status { padding: 10px 14px; border-top: 1px solid var(--e-line); font-size: 13.5px; color: var(--e-dim); background: var(--e-panel); }
.ed-status b { color: var(--e-ink); }
.ed-status .c { color: var(--crit); font-weight: 600; }
.ed-toast { position: absolute; left: 50%; bottom: 52px; transform: translate(-50%, 10px); background: var(--e-ink); color: var(--e-bg); padding: 8px 14px; border-radius: 10px; font-size: 13px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 5; max-width: 90%; }
.ed-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .ed-dot { opacity: 1; } }

/* ---- Twelve looks ---- */
.dot { --e-bg: #fff; --c0: #0f6cbd; --crit: #d13438; }
:is(.ed, .dot).look-fluent3d { --e-bg: #f3f6fb; --e-panel: rgba(255, 255, 255, .7); --r: 8px; --e-bshadow: 0 3px 8px rgba(15, 60, 120, .22), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12);
  background: radial-gradient(600px 300px at 10% 0%, #dbe8fb, transparent), radial-gradient(500px 300px at 100% 100%, #e9e2fb, transparent), #f3f6fb; }
:is(.ed, .dot).look-fluent3d .ed-block:not(.k-e) { background: linear-gradient(180deg, color-mix(in srgb, var(--bc) 78%, #fff), var(--bc)); }
:is(.ed, .dot).look-vivid { --e-bg: #f5f2fc; --e-panel: rgba(255, 255, 255, .55); --e-line: rgba(120, 90, 180, .12); --e-we: rgba(140, 110, 220, .06); --r: 10px;
  --c0: #8a5cf6; --c1: #e85bb0; --c2: #3b8cff; --c3: #f08a3c; --c4: #2bb59a; --e-accent: #8a5cf6; --e-head: #5b3f9e;
  background: radial-gradient(500px 260px at 0% 0%, rgba(255, 158, 210, .55), transparent), radial-gradient(500px 300px at 100% 20%, rgba(148, 204, 255, .6), transparent), radial-gradient(600px 300px at 50% 120%, rgba(200, 240, 150, .5), transparent), #f5f2fc; }
:is(.ed, .dot).look-vivid .ed-block:not(.k-e) { background: linear-gradient(120deg, var(--bc), color-mix(in srgb, var(--bc) 55%, #ff9ed2)); box-shadow: 0 4px 14px color-mix(in srgb, var(--bc) 35%, transparent); }
:is(.ed, .dot).look-glass { --e-bg: #dfe9f5; --e-panel: rgba(255, 255, 255, .45); --e-line: rgba(255, 255, 255, .7); --e-we: rgba(255, 255, 255, .28); --r: 999px; --e-ink: #1d1d1f; --e-dim: #6e6e73;
  --c0: #007aff; --c1: #34c759; --c2: #af52de; --c3: #ff9500; --c4: #5ac8fa; --crit: #ff3b30; --e-accent: #007aff; --e-btn: rgba(255, 255, 255, .6); --e-btn-line: rgba(255, 255, 255, .9);
  --e-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; --e-bshadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 12px rgba(0, 40, 100, .18);
  background: radial-gradient(400px 260px at 15% 20%, #b7d4ff, transparent), radial-gradient(400px 260px at 85% 80%, #ffd1e8, transparent), #dfe9f5; }
:is(.ed, .dot).look-glass .ed-names, :is(.ed, .dot).look-glass .ed-head { background: rgba(255, 255, 255, .35); backdrop-filter: blur(16px); }
:is(.ed, .dot).look-blueprint { --e-bg: #1d4f91; --e-panel: #1a477f; --e-ink: #fff; --e-dim: rgba(220, 238, 255, .75); --e-line: rgba(190, 225, 255, .16); --e-we: rgba(190, 225, 255, .07); --e-head: #fff;
  --c0: rgba(255, 255, 255, .14); --c1: rgba(159, 227, 255, .2); --c2: rgba(255, 255, 255, .1); --c3: rgba(159, 227, 255, .14); --c4: rgba(255, 255, 255, .18); --crit: #ff8a7a; --e-link: rgba(255, 255, 255, .7);
  --e-border: 1.5px solid #fff; --r: 0; --e-sel: rgba(255, 255, 255, .1); --e-accent: #9fe3ff; --e-accent-ink: #0f2f5c; --e-btn: transparent; --e-btn-ink: #fff; --e-btn-line: rgba(255, 255, 255, .6);
  --e-font: "Bahnschrift", "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  background: linear-gradient(90deg, rgba(190, 225, 255, .05) 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(0deg, rgba(190, 225, 255, .05) 1px, transparent 1px) 0 0 / 12px 12px, #1d4f91; }
:is(.ed, .dot).look-blueprint .ed-block.crit { background: rgba(255, 138, 122, .25); border-color: #ff8a7a; }
:is(.ed, .dot).look-blueprint .ed-block.k-e { background: transparent; border: 1.5px solid #fff; }
:is(.ed, .dot).look-bold { --e-bg: #fff4e0; --e-panel: #ffe9b8; --e-ink: #111; --e-dim: #3d3d3d; --e-line: rgba(17, 17, 17, .14); --e-we: rgba(17, 17, 17, .05); --e-head: #111;
  --c0: #5ac8fa; --c1: #ffd23f; --c2: #ff7aa8; --c3: #7ee081; --c4: #b39ddb; --crit: #ff4b3e; --e-txt: #111; --e-border: 2px solid #111; --e-bshadow: 3px 3px 0 #111; --r: 6px;
  --e-accent: #ff7aa8; --e-accent-ink: #111; --e-btn-line: #111; --e-link: #111; }
:is(.ed, .dot).look-bold .ed-tools button { border-width: 2px; font-weight: 700; box-shadow: 2px 2px 0 #111; }
:is(.ed, .dot).look-paper { --e-bg: #fbf7ec; --e-panel: #f4eedc; --e-ink: #1f3a6b; --e-dim: #5d5a52; --e-line: rgba(70, 120, 190, .16); --e-we: rgba(70, 120, 190, .05); --e-head: #1f3a6b;
  --c0: rgba(31, 58, 107, .12); --c1: rgba(46, 125, 80, .16); --c2: rgba(120, 60, 160, .13); --c3: rgba(200, 110, 30, .16); --c4: rgba(30, 120, 140, .14); --crit: rgba(214, 64, 64, .3); --e-txt: #1f3a6b;
  --e-border: 1.5px solid #1f3a6b; --r: 3px 6px 4px 7px; --e-accent: #1f3a6b; --e-btn: transparent; --e-btn-line: rgba(31, 58, 107, .4); --e-btn-ink: #1f3a6b; --e-link: #1f3a6b;
  --e-font: "Segoe Print", "Bradley Hand", "Comic Neue", "Patrick Hand", "Marker Felt", cursive;
  background: linear-gradient(90deg, rgba(214, 64, 64, .45) 1px, transparent 1px) 40px 0 / 100% 100% no-repeat, linear-gradient(0deg, rgba(70, 120, 190, .14) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(70, 120, 190, .14) 1px, transparent 1px) 0 0 / 14px 14px, #fbf7ec; }
:is(.ed, .dot).look-paper .ed-names, :is(.ed, .dot).look-paper .ed-head, :is(.ed, .dot).look-paper .ed-bar, :is(.ed, .dot).look-paper .ed-status { background: transparent; }
:is(.ed, .dot).look-paper .ed-block.crit { border-color: #c03030; color: #a01e1e; }
:is(.ed, .dot).look-paper .ed-block:not(.k-e) { background-image: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(31, 58, 107, .14) 4px 5px); }
:is(.ed, .dot).look-terminal { --e-bg: #0a0f0a; --e-panel: #0d150d; --e-ink: #5dff8a; --e-dim: #2fa857; --e-line: rgba(93, 255, 138, .12); --e-we: rgba(93, 255, 138, .05); --e-head: #5dff8a;
  --c0: rgba(93, 255, 138, .16); --c1: rgba(93, 255, 138, .26); --c2: rgba(93, 255, 138, .12); --c3: rgba(93, 255, 138, .2); --c4: rgba(93, 255, 138, .3); --crit: #ffcc33; --e-txt: #5dff8a;
  --e-border: 1px solid #5dff8a; --r: 0; --e-bshadow: 0 0 8px rgba(93, 255, 138, .45); --e-accent: #5dff8a; --e-accent-ink: #0a0f0a; --e-btn: transparent; --e-btn-ink: #5dff8a; --e-btn-line: rgba(93, 255, 138, .5);
  --e-link: rgba(93, 255, 138, .7); --e-sel: rgba(93, 255, 138, .1); --e-font: "Cascadia Mono", "Consolas", "SF Mono", Menlo, "DejaVu Sans Mono", monospace; text-shadow: 0 0 6px rgba(93, 255, 138, .5); }
:is(.ed, .dot).look-terminal .ed-block.crit { color: #0a0f0a; text-shadow: none; box-shadow: 0 0 10px rgba(255, 204, 51, .6); border-color: #ffcc33; }
:is(.ed, .dot).look-synthwave { --e-bg: #14082b; --e-panel: #1a0b33; --e-ink: #ffe6fb; --e-dim: #c79bd9; --e-line: rgba(255, 63, 180, .2); --e-we: rgba(45, 226, 255, .05); --e-head: #2de2ff;
  --c0: #ff3fb4; --c1: #2de2ff; --c2: #b44dff; --c3: #ff8a3d; --c4: #3dffb4; --crit: #fff3a8; --r: 3px; --e-accent: #ff3fb4; --e-btn: transparent; --e-btn-ink: #ffe6fb; --e-btn-line: rgba(255, 63, 180, .6);
  --e-link: rgba(45, 226, 255, .7); --e-sel: rgba(255, 63, 180, .12);
  background: linear-gradient(0deg, rgba(255, 63, 180, .14) 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(180deg, #14082b 0%, #2a0c4a 100%); }
:is(.ed, .dot).look-synthwave .ed-block:not(.k-e) { background: linear-gradient(90deg, var(--bc), color-mix(in srgb, var(--bc) 50%, #2de2ff)); box-shadow: 0 0 12px color-mix(in srgb, var(--bc) 70%, transparent); }
:is(.ed, .dot).look-synthwave .ed-block.crit { color: #3a0a4a; }
:is(.ed, .dot).look-chalk { --e-bg: #26352d; --e-panel: #2c3d34; --e-ink: #f1efe6; --e-dim: #b9c4b8; --e-line: rgba(241, 239, 230, .1); --e-we: rgba(241, 239, 230, .04); --e-head: #f1efe6;
  --c0: rgba(241, 239, 230, .78); --c1: rgba(159, 211, 255, .8); --c2: rgba(247, 226, 107, .8); --c3: rgba(245, 163, 181, .8); --c4: rgba(181, 232, 165, .8); --crit: #ff7b7b; --e-txt: #26352d; --r: 2px;
  --e-accent: #f7e26b; --e-accent-ink: #26352d; --e-btn: transparent; --e-btn-ink: #f1efe6; --e-btn-line: rgba(241, 239, 230, .4); --e-link: rgba(241, 239, 230, .7);
  --e-font: "Segoe Print", "Chalkboard SE", "Chalkduster", "Bradley Hand", "Comic Neue", cursive; box-shadow: inset 0 0 0 8px #7a5232; }
:is(.ed, .dot).look-chalk .ed-block:not(.k-e) { background-image: repeating-linear-gradient(100deg, rgba(38, 53, 45, .18) 0 2px, transparent 2px 5px); }
:is(.ed, .dot).look-nordic { --e-bg: #f4f1ec; --e-panel: #ece7de; --e-ink: #2f3437; --e-dim: #7d8285; --e-line: #e3ddd3; --e-we: #ece7de; --e-head: #5f7d6b;
  --c0: #5f7d6b; --c1: #8fa6b8; --c2: #c9a77c; --c3: #b07d74; --c4: #9a8fb0; --crit: #c0584a; --r: 999px; --e-accent: #5f7d6b; --e-link: #b9b2a6;
  --e-font: "Segoe UI Variable Text", Inter, "Helvetica Neue", system-ui, sans-serif; }
:is(.ed, .dot).look-nordic .ed-block:not(.k-e) { transform: scaleY(.62); }
:is(.ed, .dot).look-nordic .ed-btxt { transform: scaleY(1.6); }
:is(.ed, .dot).look-contrast { --e-bg: #000; --e-panel: #000; --e-ink: #fff; --e-dim: #fff; --e-line: #555; --e-we: #1a1a1a; --e-head: #fff;
  --c0: #ffe500; --c1: #fff; --c2: #6fd3ff; --c3: #ffe500; --c4: #fff; --crit: #ff4d4d; --e-txt: #000; --e-border: 2px solid #fff; --r: 0; --e-accent: #ffe500; --e-accent-ink: #000;
  --e-btn: #000; --e-btn-ink: #fff; --e-btn-line: #fff; --e-link: #fff; --e-sel: #333; }
:is(.ed, .dot).look-contrast .ed-block { font-weight: 800; }

/* Twelve looks, as cards */
.pick { background: #fff; color: #1d1d1f; padding: clamp(80px, 12vh, 140px) 0 !important; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.pick-card { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; border-radius: 18px; }
.pick-card .mini { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.pick-card .mini .ed-block { height: 10%; cursor: pointer; transition: none; }
.pick-card:hover .mini { transform: translateY(-4px) scale(1.015); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 40px rgba(0, 0, 0, .14); }
.pick-card.on .mini { box-shadow: 0 0 0 3px #0071e3, 0 20px 40px rgba(0, 0, 0, .14); }
.pick-card:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
.pick-name { display: block; margin: 12px 4px 0; font-weight: 600; font-size: 16px; }

/* Tiles */
.tiles { background: #f5f5f7; color: #1d1d1f; padding: clamp(80px, 12vh, 140px) 0 !important; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { background: #fff; border-radius: 26px; padding: clamp(26px, 3vw, 40px); min-height: 260px; display: flex; flex-direction: column; }
.tile.t-wide { grid-column: span 2; }
.tile.t-full { grid-column: 1 / -1; min-height: 200px; }
.tile .t-k { font-size: 15px; font-weight: 600; color: #6e6e73; margin: 0 0 10px; }
.tile h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
.tile .t-num { font-size: clamp(48px, 6vw, 76px); background: linear-gradient(90deg, #0071e3, #af52de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile p:last-child { color: #6e6e73; font-size: 17px; margin: auto 0 0; }
.tile code { background: #f0f0f3; padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.tile.t-dark { background: linear-gradient(135deg, #eaf3ff, #f3eeff); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile.t-wide, .tile.t-full { grid-column: auto; } .tile { min-height: 0; } }

/* Price */
.price-end { background: #fff; color: #1d1d1f; padding: clamp(90px, 14vh, 160px) 0 !important; text-align: center; }
.price-end .h-lede { margin-left: auto; margin-right: auto; color: #6e6e73; }
.price-end .h-big { background: linear-gradient(90deg, #0071e3, #7d4cdb); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 640px) {
  .ed { --dc: 0px; --dd: 0px; }
  .ed-tools button { padding: 5px 9px; font-size: 12.5px; }
  .ed-frame { padding: 6px; border-radius: 16px; margin: 0 -8px; }
  .s3d { height: 560vh; }
}
@media (prefers-reduced-motion: reduce) {
  .pre { opacity: 1; transform: none; transition: none; }
  .ed-block, .pick-card .mini { transition: none; }
}

/* Style dots (after the looks so their own background and ring win) */
.looks-dots .dot { width: 38px; height: 38px; padding: 3px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); text-shadow: none; }
.looks-dots .dot[aria-checked="true"] { box-shadow: 0 0 0 2px #0071e3; }
.looks-dots .dot:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.looks-dots .dot i { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--e-bg) 0 50%, var(--c0) 50% 75%, var(--crit) 75%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* The engine tile's network diagram */
.tile.t-engine { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 28px 40px; align-items: center; }
.t-engine-text p:last-child { margin: 0; }
.cpm { margin: 0; position: relative; }
.cpm-phases { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cpm-phases span { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: #86868b; border: 1px solid rgba(0, 0, 0, .06); transition: background .3s, color .3s; }
.cpm-phases span.on[data-ph="fw"] { background: #0071e3; color: #fff; }
.cpm-phases span.on[data-ph="bw"] { background: #7d4cdb; color: #fff; }
.cpm-phases span.on[data-ph="cp"] { background: #ff3b30; color: #fff; }
.cpm-svg { width: 100%; height: auto; display: block; overflow: visible; font-family: inherit; }
.cpm-e { fill: none; stroke: rgba(60, 60, 67, .22); stroke-width: 1.6; transition: stroke .4s; }
.cpm-e.cp { stroke: #ff3b30; stroke-width: 2.4; }
.cpm-ah { fill: none; stroke: rgba(60, 60, 67, .35); stroke-width: 1.6; }
.cpm-ah.cp { stroke: #ff3b30; }
.cpm-run, .cpm-back { fill: none; stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; opacity: 0; }
.cpm-run { stroke: #0071e3; }
.cpm-back { stroke: #7d4cdb; stroke-dashoffset: -1; }
.cpm-run.on, .cpm-back.on { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .42s ease-out, opacity .2s; }
.done .cpm-run, .done .cpm-back { opacity: 0; transition: opacity .4s; }
.cpm-box { fill: #fff; stroke: rgba(60, 60, 67, .18); stroke-width: 1.2; transition: stroke .35s, fill .35s; filter: drop-shadow(0 4px 10px rgba(30, 50, 90, .08)); }
.cpm-grid { fill: none; stroke: rgba(60, 60, 67, .12); stroke-width: 1; }
.cpm-name { font-size: 12.5px; font-weight: 700; fill: #1d1d1f; text-anchor: middle; }
.cpm-v { font-size: 12px; font-weight: 600; text-anchor: middle; fill: #1d1d1f; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s; }
.cpm-v.dur { opacity: 1; fill: #86868b; font-weight: 500; }
.cpm-n.fw .cpm-v.fw { opacity: 1; fill: #0071e3; }
.cpm-n.bw .cpm-v.bw { opacity: 1; fill: #7d4cdb; }
.cpm-n.fw .cpm-box { stroke: rgba(0, 113, 227, .55); }
.cpm-n.bw .cpm-box { stroke: rgba(125, 76, 219, .55); }
.cpm-n.cp .cpm-v.tf, .cpm-n.slack .cpm-v.tf { opacity: 1; }
.cpm-n.cp .cpm-box { stroke: #ff3b30; stroke-width: 2; fill: #fff5f4; }
.cpm-n.cp .cpm-v.tf { fill: #ff3b30; }
.cpm-n.slack .cpm-v.tf { fill: #1d8a4a; }
.cpm-legend { font-size: 12.5px !important; color: #86868b !important; margin: 10px 0 0 !important; }
.cpm-legend span { font-weight: 700; color: #3a3a3c; }
@media (max-width: 860px) { .tile.t-engine { grid-template-columns: 1fr; } }
