/* Free-website offer: a liquid-glass panel floating on a drifting navy/amber mesh, with the brand's
   open loop behind it and a little browser that builds a site on repeat. Opens once per visit.
   Markup is injected by web-offer.js so every page shares one copy. */
.wo-dialog { --wo-amber: #e08a1e; --wo-amber-hi: #f5b04a; --wo-navy: #13202e;
  --wo-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wo-sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wo-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  width: min(880px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px;
  background: #0c1520; color: #e8eef5; overflow: hidden auto; box-shadow: 0 40px 120px rgba(3, 8, 16, 0.6);
  font-family: var(--wo-sans); }
.wo-dialog::backdrop { background: rgba(8, 14, 22, 0.58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wo-dialog[open] { animation: wo-in .6s cubic-bezier(.2, 1.15, .35, 1); }
.wo-dialog[open]::backdrop { animation: wo-fade .35s ease-out; }
.wo-dialog.wo-closing { animation: wo-out .22s ease-in forwards; }
@keyframes wo-in { from { transform: translateY(28px) scale(.94); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes wo-out { to { transform: translateY(12px) scale(.97); opacity: 0; } }
@keyframes wo-fade { from { opacity: 0; } }

.wo-stage { position: relative; padding: clamp(12px, 2.6vw, 26px); perspective: 1400px; isolation: isolate; }

/* Mesh: brand navy ground, amber + slate + teal light, a dot grid, and the open loop with the V breaking out */
.wo-mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: radial-gradient(120% 90% at 0% 0%, #1c2b3a 0%, #13202e 55%, #0c1520 100%); }
.wo-mesh i { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .85; animation: wo-drift 14s ease-in-out infinite alternate; }
.wo-mesh i:nth-child(1) { width: 380px; height: 380px; left: -110px; top: -150px; background: #d97706; }
.wo-mesh i:nth-child(2) { width: 300px; height: 300px; left: 38%; top: 30%; background: #e08a1e; opacity: .55; animation-duration: 18s; animation-delay: -6s; }
.wo-mesh i:nth-child(3) { width: 420px; height: 420px; right: -160px; top: -120px; background: #2a5b84; animation-duration: 20s; animation-delay: -3s; }
.wo-mesh i:nth-child(4) { width: 320px; height: 320px; left: 8%; bottom: -200px; background: #0f9b8e; opacity: .6; animation-duration: 22s; animation-delay: -10s; }
.wo-mesh i:nth-child(5) { width: 240px; height: 240px; right: 12%; bottom: -110px; background: #b45309; animation-duration: 16s; animation-delay: -8s; }
.wo-mesh::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
@keyframes wo-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(46px, 28px) scale(1.12); } 100% { transform: translate(-34px, 54px) scale(.94); } }
.wo-loop { position: absolute; width: clamp(300px, 46vw, 420px); right: -50px; bottom: -70px; opacity: .95; }
.wo-loop .arc { stroke-dasharray: 260; stroke-dashoffset: 260; animation: wo-draw 1.4s .35s cubic-bezier(.6, 0, .2, 1) forwards; }
.wo-loop .vee { stroke-dasharray: 180; stroke-dashoffset: 180; animation: wo-draw .9s 1.15s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes wo-draw { to { stroke-dashoffset: 0; } }

/* Liquid glass panel */
.wo-glass { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 3.4vw, 36px); align-items: center;
  padding: clamp(22px, 4vw, 42px); border-radius: 22px; overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(20px) saturate(175%) brightness(1.04); -webkit-backdrop-filter: blur(20px) saturate(175%) brightness(1.04);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.1), inset 0 0 36px rgba(255, 255, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.38);
  transform: rotateX(var(--wo-rx, 0deg)) rotateY(var(--wo-ry, 0deg)); transition: transform .5s cubic-bezier(.2, .9, .3, 1); transform-style: preserve-3d; }
html.wo-refract .wo-glass { backdrop-filter: url(#woRefract) blur(14px) saturate(175%) brightness(1.04); }
/* specular highlight that follows the pointer */
.wo-glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(520px circle at var(--wo-mx, 22%) var(--wo-my, 0%), rgba(255, 255, 255, 0.22), transparent 42%); mix-blend-mode: screen; }
/* bright bevelled rim */
.wo-glass::after { content: ""; position: absolute; inset: 0; padding: 1.2px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.06) 32%, rgba(245, 176, 74, 0.65) 68%, rgba(255, 255, 255, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

.wo-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; cursor: pointer;
  color: #ffffff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: background-color .15s, transform .2s; }
.wo-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
.wo-close svg { width: 16px; height: 16px; }

/* Copy */
.wo-copy { position: relative; display: grid; gap: 14px; min-width: 0; }
.wo-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 500 11.5px/16px var(--wo-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--wo-amber-hi);
  background: rgba(12, 21, 32, 0.55); border: 1px solid rgba(245, 176, 74, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.wo-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--wo-amber-hi); box-shadow: 0 0 0 0 rgba(245, 176, 74, 0.7); animation: wo-pulse 1.8s infinite; }
@keyframes wo-pulse { 70% { box-shadow: 0 0 0 9px rgba(245, 176, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 176, 74, 0); } }
.wo-q { margin: 0; font: 700 clamp(19px, 2.3vw, 23px)/1.3 var(--wo-display); color: #dfe8f1; text-wrap: balance; max-width: 30ch; }
.wo-big { margin: 2px 0 0; font: 800 clamp(36px, 5.6vw, 56px)/1.02 var(--wo-display); letter-spacing: -0.01em; color: #ffffff; text-wrap: balance; }
.wo-free { position: relative; display: inline-block; color: transparent; background: linear-gradient(100deg, #f5b04a 10%, #ffd89a 45%, #e08a1e 80%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; animation: wo-shine 4.5s ease-in-out infinite; }
.wo-free svg { position: absolute; left: -2%; bottom: -0.2em; width: 104%; height: .34em; overflow: visible; }
.wo-free path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: wo-draw .8s 1.5s ease-out forwards; }
@keyframes wo-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.wo-sub { margin: 0; font-size: 16px; line-height: 26px; color: #c9d6e3; max-width: 44ch; }
.wo-sub a { color: #ffffff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(245, 176, 74, 0.7); text-underline-offset: 4px; }

.wo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.wo-cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 12px; overflow: hidden; text-decoration: none;
  font: 700 15px/20px var(--wo-sans); color: #13202e; background: linear-gradient(180deg, #f5b04a, #d97706);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(146, 64, 14, 0.35), 0 10px 28px rgba(217, 119, 6, 0.4); transition: transform .2s cubic-bezier(.2, 1.4, .4, 1), box-shadow .2s; }
.wo-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent); transform: skewX(-20deg); animation: wo-sweep 3.6s 2s ease-in-out infinite; }
@keyframes wo-sweep { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.wo-cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(146, 64, 14, 0.35), 0 14px 34px rgba(217, 119, 6, 0.55); }
.wo-cta svg { width: 18px; height: 18px; flex: none; }
.wo-copybtn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; cursor: pointer; font: 600 14px/20px var(--wo-sans); color: #ffffff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.26); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: background-color .15s, border-color .15s; }
.wo-copybtn:hover { background: rgba(255, 255, 255, 0.16); }
.wo-copybtn.done { border-color: #4ade80; color: #bbf7d0; }
.wo-copybtn svg { width: 16px; height: 16px; }
.wo-fine { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 12.5px/18px var(--wo-mono); color: #9fb3c8; }
.wo-fine button { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: #c9d6e3; text-decoration: underline; text-underline-offset: 3px; }
.wo-fine button:hover { color: #ffffff; }
.wo-dialog :focus-visible { outline: 2px solid var(--wo-amber-hi); outline-offset: 3px; }

/* Browser that builds itself */
.wo-mock { position: relative; border-radius: 16px; background: rgba(9, 16, 25, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35); transform: translateZ(40px) rotate(1.5deg); }
.wo-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.wo-dots { display: flex; gap: 5px; }
.wo-dots b { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.wo-dots b:first-child { background: #f87171; } .wo-dots b:nth-child(2) { background: #fbbf24; } .wo-dots b:last-child { background: #4ade80; }
.wo-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font: 500 12px/16px var(--wo-mono); color: #e8eef5; white-space: nowrap; overflow: hidden; }
.wo-url svg { width: 11px; height: 11px; flex: none; color: #4ade80; }
.wo-caret { display: inline-block; width: 1.5px; height: 13px; background: var(--wo-amber-hi); margin-left: 1px; animation: wo-blink 1s steps(1) infinite; }
@keyframes wo-blink { 50% { opacity: 0; } }
.wo-page { display: grid; gap: 10px; padding: 16px 14px 18px; }
.wo-page > * { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s, transform .55s cubic-bezier(.2, 1.3, .4, 1); }
.wo-mock.built .wo-page > * { opacity: 1; transform: none; }
.wo-mock.built .wo-page > :nth-child(2) { transition-delay: .12s; } .wo-mock.built .wo-page > :nth-child(3) { transition-delay: .24s; } .wo-mock.built .wo-page > :nth-child(4) { transition-delay: .36s; }
.wo-nav { display: flex; justify-content: space-between; align-items: center; }
.wo-nav span { width: 46px; height: 10px; border-radius: 3px; background: var(--wo-amber); }
.wo-nav em { display: flex; gap: 6px; } .wo-nav em i { width: 20px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.wo-hero { display: grid; gap: 7px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, rgba(42, 91, 132, 0.55), rgba(28, 43, 58, 0.6)); }
.wo-hero i { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.wo-hero i:nth-child(1) { width: 82%; } .wo-hero i:nth-child(2) { width: 58%; background: rgba(255, 255, 255, 0.45); height: 6px; }
.wo-hero b { width: 64px; height: 18px; margin-top: 4px; border-radius: 6px; background: linear-gradient(180deg, #f5b04a, #d97706); }
.wo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wo-cards i { height: 44px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.wo-lines { display: grid; gap: 5px; } .wo-lines i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); } .wo-lines i:last-child { width: 70%; }
.wo-live { position: absolute; left: -14px; bottom: -14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  font: 600 12px/16px var(--wo-sans); color: #0c1520; background: #ffffff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: scale(.6); transition: opacity .3s .5s, transform .5s .5s cubic-bezier(.2, 1.6, .4, 1); }
.wo-live i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25); }
.wo-mock.built .wo-live { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .wo-glass { grid-template-columns: 1fr; padding-top: 56px; }
  .wo-mock { order: -1; transform: none; max-width: 340px; width: 100%; justify-self: center; }
  .wo-cards, .wo-lines { display: none; }
  .wo-loop { right: -120px; bottom: auto; top: -90px; }
}
@media (max-width: 420px) { .wo-mock { display: none; } .wo-glass { padding-top: 60px; } .wo-actions > * { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .wo-dialog[open], .wo-dialog[open]::backdrop, .wo-dialog.wo-closing, .wo-mesh i, .wo-free, .wo-cta::after, .wo-pulse, .wo-caret { animation: none; }
  .wo-loop .arc, .wo-loop .vee, .wo-free path { animation: none; stroke-dashoffset: 0; }
  .wo-glass { transition: none; transform: none; }
}

/* Email chooser for mailto: links (mail-picker.js) */
.mp { position: fixed; z-index: 2147483000; min-width: 230px; padding: 8px; border-radius: 14px; display: grid; gap: 2px;
  font: 500 14px/20px "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: #e8eef5;
  background: rgba(19, 32, 46, 0.86); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 44px rgba(3, 8, 16, 0.5); animation: mp-in .18s ease-out; }
@keyframes mp-in { from { opacity: 0; transform: translateY(-4px); } }
.mp-to { margin: 2px 8px 6px; font: 500 11.5px/16px "IBM Plex Mono", ui-monospace, Menlo, monospace; color: #9fb3c8; }
.mp-to b { color: #f5b04a; font-weight: 500; }
.mp a, .mp button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: #ffffff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.mp a:hover, .mp button:hover, .mp a:focus-visible, .mp button:focus-visible { background: rgba(255, 255, 255, 0.12); outline: none; }
.mp-ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; color: #ffffff; font: 700 12px/1 "Archivo", Arial, sans-serif; }
@media (prefers-reduced-motion: reduce) { .mp { animation: none; } }
