/* Adapted from Crisp's site/style.css: tokens, type scale, wrap, navigation,
   pill buttons, gradient cards, comparison tables, steps and motion. */
:root {
  color-scheme: light;
  --black:#f7f3ea; --panel:#fffcf7; --panel-2:#f1eadf; --card:#fffdf9;
  --hair:#d8ccbd; --hair-lit:#ac9682;
  --white:#30271f; --grey:#62574b; --grey-dim:#716457;
  --accent:#a63d40; --sage:#6b8f71; --ice:#8b3033;
  --r:18px; --r-sm:12px;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  --head:Futura,"Avenir Next",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --w:1160px;
}
@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    color-scheme:dark;
    --black:#1c1815; --panel:#251f1b; --panel-2:#2d251f; --card:#322923;
    --hair:#56483b; --hair-lit:#917a65;
    --white:#f7f3ea; --grey:#d0c2b3; --grey-dim:#bcaa98; --ice:#efaaa6;
  }
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --black:#1c1815; --panel:#251f1b; --panel-2:#2d251f; --card:#322923;
  --hair:#56483b; --hair-lit:#917a65;
  --white:#f7f3ea; --grey:#d0c2b3; --grey-dim:#bcaa98; --ice:#efaaa6;
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:90px; }
body { margin:0; background:var(--black); color:var(--white); font-family:var(--sans); font-size:17px; line-height:1.7; -webkit-font-smoothing:antialiased; }
body::before { content:""; position:absolute; inset:0 0 auto; height:46rem; z-index:-1; pointer-events:none; background:radial-gradient(60% 55% at 20% 0%,#a63d4015,transparent 70%),radial-gradient(40% 50% at 90% 20%,#6b8f7126,transparent 70%); }
[hidden] { display:none!important; }
button,input { font:inherit; }
button,a,input,summary { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:var(--ice); text-underline-offset:4px; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid var(--ice); outline-offset:4px; }
img { display:block; max-width:100%; height:auto; }
svg { max-width:100%; }
h1,h2,h3 { overflow-wrap:break-word; }
h1 { font-family:var(--head); font-size:clamp(2.1rem,4.6vw,3.2rem); line-height:1.07; letter-spacing:-.025em; font-weight:600; margin:.6rem 0 1.3rem; }
h2 { font-family:var(--head); font-size:clamp(1.45rem,2.7vw,2rem); line-height:1.2; letter-spacing:-.02em; font-weight:600; margin:0 0 1.2rem; }
h3 { font-size:1.12rem; font-weight:640; letter-spacing:-.012em; margin:0 0 .5rem; line-height:1.35; }
p { margin:0 0 1.05rem; }
.wrap { width:min(var(--w),calc(100% - 2.6rem)); margin:0 auto; }
.grad { color:var(--ice); }
@supports (color:color-mix(in srgb,red,white)) { .grad { background:linear-gradient(105deg,var(--ice),color-mix(in srgb,var(--ice) 65%,var(--white))); background-clip:text; -webkit-background-clip:text; color:transparent; } }
.lede { font-size:clamp(1.05rem,1.6vw,1.2rem); line-height:1.55; color:var(--grey); margin:0 0 1.1rem; }
.fine { font-size:.875rem; line-height:1.55; color:var(--grey); }
.eyebrow { font-size:.875rem; color:var(--ice); letter-spacing:.08em; font-weight:650; margin:0 0 .8rem; }
.skip { position:fixed; top:-100px; left:1rem; z-index:100; padding:.8rem 1.1rem; color:var(--white); background:var(--panel); border:1px solid var(--hair); border-radius:var(--r-sm); }
.skip:focus { top:1rem; }
nav { position:sticky; top:0; z-index:80; background:var(--black); background:color-mix(in srgb,var(--black) 90%,transparent); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); border-bottom:1px solid var(--hair); }
.nav-inner { display:flex; align-items:center; gap:1.5rem; min-height:76px; width:min(var(--w),calc(100% - 2.6rem)); margin:0 auto; }
.nav-brand { display:flex; align-items:center; gap:.55rem; color:var(--white); font-weight:640; font-size:1.02rem; letter-spacing:-.015em; text-decoration:none; min-height:44px; }
.nav-brand:hover { text-decoration:none; }
.nav-how { margin-left:auto; color:var(--grey); font-size:.875rem; padding:.7rem 0; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.78rem 1.4rem; border-radius:999px; font-weight:600; font-size:.94rem; line-height:1.35; background:linear-gradient(180deg,#ae4245,#983437); color:#fff; border:1px solid transparent; box-shadow:0 10px 34px -12px #a63d4066; transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .25s; text-decoration:none; text-align:center; }
.btn:hover { transform:translateY(-2px); box-shadow:0 16px 44px -12px #a63d4080; text-decoration:none; }
.btn-ghost { background:transparent; color:var(--white); border-color:var(--hair-lit); box-shadow:none; }
.btn-ghost:hover { background:var(--panel-2); box-shadow:none; }
.btn:disabled { background:var(--panel-2); color:var(--grey); border-color:var(--hair); box-shadow:none; cursor:default; transform:none; }
.theme { padding:.5rem 1rem; font-size:.875rem; }
.hero { padding:4.2rem 0 2.4rem; }
.hero h1 { max-width:800px; }
.hero .lede { max-width:740px; }
.hero-note { color:var(--grey); font-size:.94rem; margin:0; }
.tool { border:1px solid var(--hair); border-radius:var(--r); background:var(--panel); box-shadow:0 24px 70px -40px #5e382b50; overflow:hidden; }
.tool-bar { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.1rem 1.5rem; border-bottom:1px solid var(--hair); background:linear-gradient(110deg,#6b8f7112,transparent); }
.tool-bar h2 { font-size:1.05rem; margin:0; }
.local-label { font-size:.875rem; color:var(--grey); white-space:nowrap; }
.workspace { display:grid; grid-template-columns:210px minmax(0,1fr) 260px; }
.controls { padding:1.4rem 1.1rem; border-right:1px solid var(--hair); min-width:0; }
.drop-zone { position:relative; display:grid; justify-items:center; padding:1.15rem .6rem .9rem; border:1px dashed var(--hair-lit); border-radius:var(--r-sm); text-align:center; transition:background .2s,border-color .2s; }
.drop-zone.dragging,.drop-zone:focus-within { background:var(--panel-2); border-color:var(--ice); }
.drop-zone svg { stroke:var(--ice); stroke-width:2; margin-bottom:.8rem; }
.drop-zone .pick { padding:.65rem 1.1rem; cursor:pointer; width:100%; }
.drop-zone p { font-size:.875rem; color:var(--grey); line-height:1.5; margin:.8rem 0 0; }
.file-input { position:absolute; width:1px; height:1px; opacity:0; bottom:0; }
.drop-zone:has(.file-input:focus-visible) { outline:3px solid var(--ice); outline-offset:4px; }
.source-preview { display:block; margin:1rem auto; max-width:100%; max-height:150px; object-fit:contain; border-radius:8px; }
.control { margin-top:1.5rem; }
.control label { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.2rem .4rem; font-size:.94rem; font-weight:600; }
.control output { color:var(--ice); font-size:.875rem; font-weight:500; }
input[type="range"] { display:block; width:100%; min-height:44px; accent-color:var(--accent); margin:.2rem 0; cursor:pointer; }
.control .fine { margin:0; }
.check { display:flex; align-items:center; gap:.6rem; font-size:.94rem; font-weight:600; min-height:44px; margin-top:1.2rem; cursor:pointer; }
.check input { width:22px; height:22px; accent-color:var(--accent); flex-shrink:0; }
.check + p { margin:.25rem 0 0; }
.chart-column { min-width:0; padding:1.4rem; }
.chart-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:.6rem; }
.chart-heading h3 { margin:0; }
.segmented { display:flex; padding:3px; border:1px solid var(--hair); border-radius:999px; background:var(--panel-2); }
.segmented button { border:0; background:transparent; color:var(--grey); min-height:44px; min-width:64px; padding:.4rem .8rem; border-radius:999px; font-size:.875rem; }
.segmented button[aria-pressed="true"] { background:var(--card); color:var(--white); box-shadow:0 1px 5px #30271f20; }
.segmented button:disabled { cursor:default; }
.status { font-size:.875rem; color:var(--grey); min-height:3.1em; line-height:1.55; margin:.9rem 0 1rem; }
.empty-chart { min-height:340px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border:1px solid var(--hair); border-radius:var(--r-sm); padding:1rem; background:radial-gradient(ellipse at 50% 30%,#6b8f7115,transparent 70%),var(--black); }
.empty-chart h3 { font-size:1.05rem; margin:1rem 0 .3rem; }
.empty-chart p { color:var(--grey); font-size:.94rem; margin:0; }
.stitch-drawing { width:260px; height:auto; }
.cloth-base { fill:var(--panel); stroke:var(--hair); }
.cloth-grid { stroke:var(--hair); stroke-width:.6; }
.cottage-fill { fill:#6b8f711a; }
.madder-stitches { stroke:var(--ice); stroke-width:2.5; stroke-linecap:round; }
.sage-stitches { stroke:var(--sage); stroke-width:2.5; stroke-linecap:round; }
.window-fill { fill:var(--panel); }
.window-stitches { stroke:var(--ice); stroke-width:2; }
.pattern-size { font-size:.875rem; color:var(--grey); margin:0 0 .65rem; }
.chart-scroll { overflow:auto; max-height:500px; border:1px solid var(--hair-lit); border-radius:8px; background:#f7f3ea; }
#pattern { display:block; max-width:100%; height:auto; transition:opacity .14s; }
.chart-scroll.zoomed #pattern { max-width:none; }
.chart-zoom { font-size:.875rem; padding:.5rem 1rem; margin-top:.75rem; }
#pattern.fading { opacity:0; }
.chart-help { margin:.65rem 0 1.2rem; }
.confetti { color:var(--ice); font-size:.94rem; font-weight:600; padding:.9rem 1rem; background:var(--panel-2); border-radius:var(--r-sm); }
.thread-heading { margin-top:1.5rem; }
.thread-table table { min-width:500px; font-size:.875rem; }
.thread-table th,.thread-table td { padding:.65rem .6rem; }
.swatch { display:block; width:24px; height:24px; border-radius:4px; border:1px solid #78695b; }
.next-step { padding:1.5rem 1.1rem; background:radial-gradient(300px 250px at 20% 0%,#a63d4012,transparent 70%),linear-gradient(180deg,var(--panel-2),var(--panel)); border-left:1px solid var(--hair); }
.next-step > img { margin-bottom:1rem; }
.next-step .eyebrow { font-size:.875rem; letter-spacing:0; line-height:1.5; }
.next-step h3 { font-family:var(--head); font-size:1.45rem; line-height:1.2; }
.next-step > p:not(.fine):not(.eyebrow) { color:var(--grey); font-size:.94rem; line-height:1.65; }
.download-actions { display:flex; gap:.7rem; margin:1.2rem 0 .8rem; }
.download-option { flex:1; min-width:0; }
.download-option .btn { width:100%; padding:.65rem .75rem; font-size:.875rem; }
.requirements,.price,.refund { font-size:.875rem; line-height:1.5; color:var(--grey); margin:.6rem 0 0; }
.price { color:var(--white); font-weight:600; margin:.6rem 0 1rem; }
.next-step .download-actions { gap:.5rem; }
.next-step .download-option .btn { padding:.6rem .4rem; }
.local-note { border-top:1px solid var(--hair); padding-top:1rem; margin:1.2rem 0 0; }
.launch-notify { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.2rem; text-align:left; }
.launch-notify label { display:flex; flex-direction:column; gap:.4rem; flex:1 1 180px; font-size:.94rem; font-weight:600; }
.launch-notify input[type="email"] { width:100%; min-height:44px; padding:.6rem .8rem; border:1px solid var(--hair-lit); border-radius:var(--r-sm); background:var(--panel); color:var(--white); }
.launch-notify .btn { align-self:flex-end; }
.launch-notify .fine { flex-basis:100%; margin:0; }
.notify-status { min-height:1.55em; }
.notify-trap { display:none; }
.phone-link { display:none; min-height:44px; font-size:.875rem; line-height:1.5; margin:.7rem 0; padding:.4rem 0; }
.phone .phone-link { display:block; }
.phone .phone-link { padding:.78rem 1.1rem; background:linear-gradient(180deg,#ae4245,#983437); color:#fff; border-radius:999px; text-align:center; font-weight:600; text-decoration:none; }
.phone .next-step .download-actions,.phone .cta .download-actions { display:none; }
@media (max-width:760px),(hover:none) and (pointer:coarse) {
  .phone-link { display:block; padding:.78rem 1.1rem; background:linear-gradient(180deg,#ae4245,#983437); color:#fff; border-radius:999px; text-align:center; font-weight:600; text-decoration:none; }
  .next-step .download-actions,.cta .download-actions { display:none; }
}
.section { margin-top:6rem; }
.section > h2 { max-width:690px; }
.steps { list-style:none; padding:0; margin:1.8rem 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.steps li { min-width:0; padding:1.3rem; border:1px solid var(--hair); border-radius:var(--r); background:var(--panel); transition:border-color .24s,transform .24s; }
.steps li:hover { border-color:var(--hair-lit); transform:translateY(-3px); }
.steps svg { display:block; width:100%; height:auto; margin-bottom:1.4rem; stroke:var(--grey); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.diagram-panel { fill:var(--panel-2); stroke:var(--hair-lit); }
.diagram-accent { fill:var(--panel); stroke:var(--ice); }
.diagram-sage { fill:#6b8f7126; stroke:var(--sage); }
.steps p { color:var(--grey); font-size:.94rem; line-height:1.6; margin:0; }
.cmp-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:1.6rem 0 0; max-width:100%; border:1px solid var(--hair); border-radius:var(--r); background:var(--panel); }
table { border-collapse:collapse; width:100%; font-size:.94rem; margin:0; }
th,td { padding:.9rem 1.1rem; text-align:left; border-bottom:1px solid var(--hair); overflow-wrap:break-word; }
thead th { background:var(--panel-2); font-weight:640; font-size:.875rem; letter-spacing:.02em; color:var(--grey); }
thead th:nth-child(2) { color:var(--ice); }
tbody tr { transition:background .2s; }
tbody tr:hover { background:var(--panel-2); }
tbody tr:last-child td,tbody tr:last-child th { border-bottom:none; }
tbody th[scope="row"] { color:var(--grey); font-weight:500; }
.comparison table { table-layout:fixed; }
.comparison th:first-child { width:27%; }
.faq { max-width:820px; }
.faq details { border-bottom:1px solid var(--hair); }
summary { min-height:56px; cursor:pointer; font-size:1rem; font-weight:600; padding:1.1rem 1.8rem 1.1rem 0; }
summary::marker { color:var(--ice); }
.faq details p { color:var(--grey); font-size:.94rem; max-width:720px; padding:0 1rem .8rem; }
.cta { margin:6rem auto 0; padding:2.8rem; border:1px solid var(--hair); border-radius:var(--r); background:radial-gradient(600px 300px at 20% -20%,#a63d4018,transparent 70%),linear-gradient(180deg,var(--card),var(--panel-2)); text-align:center; transition:border-color .28s,box-shadow .28s; }
.cta:hover { border-color:var(--hair-lit); box-shadow:0 26px 56px -30px #a63d4033; }
.cta > img { margin:0 auto 1.2rem; }
.cta > p { max-width:610px; margin-left:auto; margin-right:auto; color:var(--grey); }
.cta h2 { margin:.6rem 0 1rem; }
.cta > .btn { margin-top:.5rem; }
.cta [data-downloads] { max-width:500px; margin:1.5rem auto 0; }
.cta .fine { margin-top:1rem; margin-bottom:0; }
.box { margin:1rem; padding:1.35rem 1.5rem; border:1px solid var(--hair); border-radius:var(--r-sm); background:var(--panel-2); color:var(--grey); }
footer { border-top:1px solid var(--hair); margin-top:6rem; padding:2.4rem 0 3rem; color:var(--grey-dim); font-size:.875rem; line-height:1.7; }
footer .footer-top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem; }
footer .footer-top p { margin:0; }
footer p { max-width:900px; }
.claims-checked { margin-top:1.4rem; }
.will-reveal { opacity:0; transform:translateY(24px); transition:opacity .6s,transform .6s; }
.will-reveal.revealed { opacity:1; transform:none; }
@media (max-width:1050px) {
  .workspace { grid-template-columns:210px minmax(0,1fr); }
  .next-step { grid-column:1 / -1; display:block; border-left:0; border-top:1px solid var(--hair); padding:1.5rem; }
  .next-step .download-actions { max-width:500px; }
  .next-step > p { max-width:660px; }
}
@media (max-width:650px) {
  .wrap,.nav-inner { width:calc(100% - 1.5rem); }
  .nav-inner { min-height:68px; gap:.5rem; }
  .nav-how { display:none; }
  .theme { margin-left:auto; padding:.5rem .8rem; }
  .hero { padding:2.5rem 0 1.8rem; }
  .hero h1 { font-size:2.25rem; line-height:1.12; }
  .hero-note { font-size:.875rem; }
  .tool-bar { padding:1rem; }
  .tool-bar h2 { max-width:190px; }
  .local-label { white-space:normal; max-width:90px; font-size:.875rem; line-height:1.5; text-align:right; }
  .workspace { grid-template-columns:minmax(0,1fr); }
  .controls { display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; padding:1rem; border-right:0; border-bottom:1px solid var(--hair); }
  .drop-zone,.source-preview,.check,.check + p { grid-column:1 / -1; }
  .drop-zone { padding:1rem; grid-template-columns:54px 1fr; column-gap:1rem; text-align:left; }
  .drop-zone svg { width:54px; grid-row:1 / 3; margin:0; }
  .drop-zone .pick { justify-self:start; width:auto; }
  .drop-zone p { margin:.5rem 0 0; justify-self:start; }
  .control label { display:block; }
  .control output { display:block; }
  .controls .fine { font-size:.875rem; }
  .chart-column { padding:1rem; }
  .empty-chart { min-height:320px; }
  .next-step { padding:1.25rem; }
  .section { margin-top:3.5rem; }
  .steps { grid-template-columns:minmax(0,1fr); }
  .steps li { padding:1.25rem; }
  .steps svg { max-width:240px; margin:0 auto 1rem; }
  th,td { padding:.75rem .55rem; font-size:.875rem; line-height:1.5; }
  .comparison th:first-child { width:28%; }
  .cta { margin-top:3.5rem; padding:1.8rem 1.1rem; }
  footer { margin-top:3.5rem; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; }
  .will-reveal { opacity:1; transform:none; }
}
