/* ============================================================================
   binwash.pro - bw design system core ("hydro night showroom", 2026-07-19)
   ----------------------------------------------------------------------------
   Shared by every dark marketing page on the apex: landing + /pricing.
   Identity: deep-ocean ink base, bright aqua/cyan primary, fresh spring-mint
   co-accent. Water motifs (droplets, bubbles, spray, caustic shimmer) are
   pure CSS/SVG and gated on prefers-reduced-motion.

   Load order: bw-core.css first (tokens + shared chrome), then the page
   stylesheet (landing.css).
   ============================================================================ */

/* Distinctive display face - self-hosted, swapped by screenshot trial.
   Chosen: Space Grotesk 600 (clean, confident, a touch of hydro-tech
   character; distinct from whips' Clash Display). */
@font-face {
  font-family: 'Binwash Display';
  src: url('/assets/fonts/display-space.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bw-bg:        #05101c;
  --bw-bg-2:      #0a1b2c;
  --bw-ink:       #eef8fb;
  --bw-body:      #9fb6c6;
  --bw-dim:       #607689;
  --bw-aqua:      #24e0e6;
  --bw-aqua-2:    #6ff2ec;
  --bw-aqua-deep: #0aa6bf;
  --bw-mint:      #58f0a6;
  --bw-mint-deep: #1fcf80;
  --bw-line:      rgba(150, 185, 205, .14);
  --bw-line-soft: rgba(150, 185, 205, .08);
  --bw-glass:     rgba(255, 255, 255, .028);
  --bw-glass-2:   rgba(255, 255, 255, .05);
  --bw-max:       1120px;
  --bw-r:         18px;
  --bw-display:   'Binwash Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bw-mono:      ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --bw-grad-text: linear-gradient(96deg, #86f5ec 0%, #24e0e6 32%, #43ecc0 58%, #58f0a6 100%);
  --bw-grad-cta:  linear-gradient(135deg, #63f4ea 0%, #24e0e6 46%, #35e6b4 100%);
  --bw-ease:      cubic-bezier(.22, .61, .2, 1);
}

/* ---------------------------------------------------------------- base ---- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body.bw {
  background: var(--bw-bg);
  color: var(--bw-body);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
.bw ::selection { background: rgba(36, 224, 230, .28); color: #fff; }
.bw a { color: var(--bw-aqua); text-decoration: none; }
.bw a:hover { color: var(--bw-aqua-2); }

.bw-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bw-mint); color: #04241a; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 0;
}
.bw-skip:focus { left: 0; }

/* Ambient backdrop: aqua aurora + a soft caustic wash, fixed behind all. */
.bw-backdrop {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 84% -6%,  rgba(10, 166, 191, .22), transparent 62%),
    radial-gradient(40rem 26rem at -8% 20%,  rgba(31, 207, 128, .10), transparent 60%),
    radial-gradient(44rem 30rem at 110% 64%, rgba(36, 224, 230, .10), transparent 62%),
    radial-gradient(38rem 26rem at 12% 110%, rgba(10, 166, 191, .12), transparent 60%),
    var(--bw-bg);
}
.bw-backdrop::before,
.bw-backdrop::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; will-change: transform;
}
.bw-backdrop::before {
  width: 46rem; height: 46rem; left: -14rem; top: -18rem;
  background: radial-gradient(circle at 40% 40%, rgba(36, 224, 230, .18), transparent 65%);
  animation: bw-drift-a 26s ease-in-out infinite alternate;
}
.bw-backdrop::after {
  width: 40rem; height: 40rem; right: -16rem; top: 20rem;
  background: radial-gradient(circle at 60% 40%, rgba(88, 240, 166, .12), transparent 65%);
  animation: bw-drift-b 32s ease-in-out infinite alternate;
}
@keyframes bw-drift-a { to { transform: translate3d(9rem, 7rem, 0) scale(1.12); } }
@keyframes bw-drift-b { to { transform: translate3d(-8rem, -6rem, 0) scale(.94); } }

.bw-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bw-wrap { max-width: var(--bw-max); margin: 0 auto; padding: 0 22px; }

/* ------------------------------------------------------------ headings ---- */

.bw-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 11.5px/1 var(--bw-mono);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bw-aqua);
  margin: 0 0 16px;
}
.bw-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #bff8f2, var(--bw-aqua) 60%, var(--bw-aqua-deep));
  box-shadow: 0 0 0 3px rgba(36, 224, 230, .16);
}

.bw-h2 {
  font-family: var(--bw-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--bw-ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.bw-h2 em {
  font-style: normal;
  background: var(--bw-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.bw-lede {
  max-width: 62ch; margin: 0;
  font-size: 1.06rem; color: var(--bw-body);
  text-wrap: pretty;
}
.bw-lede a { font-weight: 600; }

/* ------------------------------------------------------------- buttons ---- */

.bw-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; border-radius: 13px;
  font: 700 15px/1 system-ui, -apple-system, sans-serif;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s var(--bw-ease), box-shadow .2s, background .2s, border-color .2s;
  overflow: hidden;
}
.bw .bw-btn--primary {
  background: var(--bw-grad-cta);
  color: #04211f;
  box-shadow: 0 10px 30px -8px rgba(36, 224, 230, .5), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.bw .bw-btn--primary:hover {
  transform: translateY(-2px);
  color: #04211f;
  box-shadow: 0 16px 40px -8px rgba(36, 224, 230, .62), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.bw .bw-btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .6) 50%, transparent 68%);
  transform: translateX(-120%); opacity: 0;
  transition: transform .7s var(--bw-ease), opacity .2s;
}
.bw .bw-btn--primary:hover::after { transform: translateX(120%); opacity: 1; }

.bw .bw-btn--ghost {
  background: var(--bw-glass); color: var(--bw-ink);
  border-color: var(--bw-line); backdrop-filter: blur(6px);
}
.bw .bw-btn--ghost:hover {
  background: var(--bw-glass-2); color: #fff;
  border-color: rgba(150, 185, 205, .3); transform: translateY(-2px);
}

.bw a:focus-visible, .bw button:focus-visible, .bw summary:focus-visible {
  outline: 2px solid var(--bw-aqua); outline-offset: 3px; border-radius: 6px;
}

/* ----------------------------------------------------------------- nav ---- */

.bw-nav { position: sticky; top: 14px; z-index: 60; padding: 0 14px; }
.bw-nav__bar {
  max-width: var(--bw-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 12px 9px 16px;
  border-radius: 999px;
  background: rgba(7, 17, 30, .58);
  border: 1px solid var(--bw-line-soft);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background .3s, border-color .3s, box-shadow .3s;
  position: relative;
}
.bw-nav.is-scrolled .bw-nav__bar {
  background: rgba(6, 14, 26, .84);
  border-color: var(--bw-line);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .8);
}
.bw-nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bw-ink); }
.bw-nav__brand:hover { color: var(--bw-ink); }
.bw-nav__mark { width: 30px; height: 30px; display: block; flex: none; }
.bw-nav__word {
  font: 700 18px/1 var(--bw-display); letter-spacing: -.01em; color: var(--bw-ink);
}
.bw-nav__word b { color: var(--bw-aqua); font-weight: 700; }
.bw-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.bw-nav ul a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  color: #cbdbe6; font-size: 14.5px; font-weight: 600;
  transition: color .15s, background .15s;
}
.bw-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.bw-nav ul a.bw-nav__cta {
  margin-left: 6px; background: var(--bw-grad-cta); color: #04211f; font-weight: 700;
  box-shadow: 0 6px 20px -6px rgba(36, 224, 230, .5);
}
.bw-nav ul a.bw-nav__cta:hover { color: #04211f; box-shadow: 0 10px 26px -6px rgba(36, 224, 230, .62); }

.bw-nav__burger {
  display: none; background: none; border: 0; cursor: pointer;
  color: #e2edf2; padding: 8px; border-radius: 999px;
}
.bw-nav__burger:hover { background: rgba(255, 255, 255, .08); }
.bw-nav__burger svg { display: block; width: 24px; height: 24px; }

@media (max-width: 760px) {
  .bw-nav__burger { display: inline-flex; }
  .bw-nav ul {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(7, 17, 30, .96);
    border: 1px solid var(--bw-line);
    border-radius: 22px; padding: 10px;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
    display: none;
  }
  .bw-nav__bar[data-open="1"] ul { display: flex; }
  .bw-nav ul a { display: block; padding: 13px 16px; font-size: 16px; text-align: center; }
  .bw-nav ul a.bw-nav__cta { margin: 6px 0 0; }
}

/* ------------------------------------------------------------ sections ---- */

.bw-sec { position: relative; padding: clamp(72px, 9vw, 116px) 0 0; }
.bw-sec__foot { margin: 34px 0 0; }

.bw-divider {
  height: 1px; margin: clamp(72px, 9vw, 116px) auto 0;
  max-width: var(--bw-max);
  background: linear-gradient(90deg, transparent, rgba(36, 224, 230, .28) 30%, rgba(88, 240, 166, .28) 70%, transparent);
}

/* reveal choreography */
.bw [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s var(--bw-ease), transform .75s var(--bw-ease);
  transition-delay: var(--d, 0s);
}
.bw [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- pricing ------ */

.bw-pricing {
  display: grid; gap: 16px; margin-top: 38px;
  grid-template-columns: 1fr; align-items: stretch;
}
@media (min-width: 720px)  { .bw-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bw-pricing { grid-template-columns: repeat(4, 1fr); } }

.bw-price {
  position: relative; display: flex; flex-direction: column; gap: 13px;
  padding: 28px 24px 24px; border-radius: 20px;
  background: linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .012));
  border: 1px solid var(--bw-line-soft);
  transition: transform .25s var(--bw-ease), border-color .25s, box-shadow .25s;
}
.bw-price:hover { transform: translateY(-4px); border-color: rgba(150, 185, 205, .28); }
.bw-price h3 {
  font-family: var(--bw-display); font-weight: 650;
  font-size: 1.12rem; letter-spacing: -.012em; color: var(--bw-ink); margin: 0;
}
.bw-price__tag {
  font: 700 10.5px/1.4 var(--bw-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--bw-aqua); margin-top: -6px;
}
.bw-price__amount {
  font-family: var(--bw-display); font-size: 2.5rem; font-weight: 700;
  letter-spacing: -.035em; color: var(--bw-ink); line-height: 1;
}
.bw-price__amount small { font: 600 .82rem/1 var(--bw-mono); color: var(--bw-dim); letter-spacing: 0; margin-left: 2px; }
.bw-price ul { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bw-price li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--bw-body); }
.bw-price li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 6px;
  background: rgba(36, 224, 230, .12); border: 1px solid rgba(36, 224, 230, .3);
}
.bw-price li::after {
  content: ""; position: absolute; left: 4.5px; top: 7.5px;
  width: 7px; height: 4px;
  border-left: 1.7px solid var(--bw-aqua); border-bottom: 1.7px solid var(--bw-aqua);
  transform: rotate(-45deg);
}
.bw-price__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.bw-price__note { font-size: .8rem; color: var(--bw-dim); text-align: center; margin: 0; }

/* featured (Business) card: animated conic border + lift */
@property --bw-spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.bw-price--featured {
  background:
    linear-gradient(rgba(11, 27, 44, .94), rgba(8, 20, 34, .97)) padding-box,
    conic-gradient(from var(--bw-spin), rgba(36, 224, 230, .9), rgba(88, 240, 166, .5), rgba(36, 224, 230, .12), rgba(36, 224, 230, .9)) border-box;
  border: 1.4px solid transparent;
  box-shadow: 0 30px 70px -34px rgba(36, 224, 230, .5), 0 0 50px -26px rgba(88, 240, 166, .4);
  animation: bw-spin 7s linear infinite;
}
@keyframes bw-spin { to { --bw-spin: 360deg; } }
@media (min-width: 1040px) {
  .bw-price--featured { transform: scale(1.045); }
  .bw-price--featured:hover { transform: scale(1.045) translateY(-4px); }
}
.bw-price--featured::after {
  content: "Recommended";
  position: absolute; top: -13px; right: 18px;
  font: 700 10px/1 var(--bw-mono); letter-spacing: .14em; text-transform: uppercase;
  color: #04211f; background: var(--bw-grad-cta);
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(36, 224, 230, .7);
}

/* buttons used inside pricing fragment */
.bw .bw-btn--full { width: 100%; justify-content: center; }
.bw .bw-btn--outline {
  background: transparent; color: var(--bw-aqua);
  border-color: rgba(36, 224, 230, .35);
}
.bw .bw-btn--outline:hover { background: rgba(36, 224, 230, .1); color: var(--bw-aqua-2); border-color: rgba(36, 224, 230, .6); }

/* ----------------------------------------------------------------- faq ---- */

.bw-faq { columns: 2; column-gap: 14px; margin-top: 38px; }
@media (max-width: 860px) { .bw-faq { columns: 1; } }
.bw-faq details {
  break-inside: avoid; margin: 0 0 14px; border-radius: 15px;
  background: linear-gradient(rgba(255, 255, 255, .026), rgba(255, 255, 255, .012));
  border: 1px solid var(--bw-line-soft); padding: 4px 18px;
  transition: border-color .2s, background .2s;
}
.bw-faq details[open] { border-color: rgba(36, 224, 230, .3); background: linear-gradient(rgba(255, 255, 255, .04), rgba(255, 255, 255, .018)); }
.bw-faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 13px 34px 13px 0; font-weight: 650; font-size: .98rem; color: #d6e5ee;
  transition: color .15s;
}
.bw-faq summary:hover { color: #fff; }
.bw-faq summary::-webkit-details-marker { display: none; }
.bw-faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 11px; height: 11px; translate: 0 -50%;
  background:
    linear-gradient(var(--bw-aqua), var(--bw-aqua)) center/11px 1.7px no-repeat,
    linear-gradient(var(--bw-aqua), var(--bw-aqua)) center/1.7px 11px no-repeat;
  transition: transform .3s var(--bw-ease);
}
.bw-faq details[open] summary::after { transform: rotate(135deg); }
.bw-faq details p {
  margin: 0; padding: 2px 0 16px; font-size: .92rem; line-height: 1.62; color: var(--bw-body);
  animation: bw-faq-in .35s var(--bw-ease);
}
@keyframes bw-faq-in { from { opacity: 0; transform: translateY(-5px); } }

/* -------------------------------------------------------------- footer ---- */

.bw-footer {
  border-top: 1px solid var(--bw-line-soft);
  background: rgba(3, 9, 17, .6);
  padding: 52px 22px 40px; margin-top: clamp(72px, 9vw, 116px);
}
.bw-footer__grid {
  max-width: var(--bw-max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px;
}
@media (max-width: 720px) { .bw-footer__grid { grid-template-columns: 1fr; gap: 26px; } }
.bw-footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bw-footer__brand .bw-nav__word { font-size: 17px; }
.bw-footer__blurb { margin: 0; font-size: .88rem; color: var(--bw-dim); max-width: 34ch; }
.bw-footer h4 {
  font: 700 11px/1 var(--bw-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--bw-dim); margin: 4px 0 14px;
}
.bw-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.bw-footer ul a { color: #a7b7c6; font-size: .93rem; }
.bw-footer ul a:hover { color: #fff; }
.bw-footer__legal {
  max-width: var(--bw-max); margin: 38px auto 0; padding-top: 22px;
  border-top: 1px solid var(--bw-line-soft);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .8rem; color: #566579;
}

/* ------------------------------------------------------ reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bw *, .bw *::before, .bw *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bw [data-reveal] { opacity: 1; transform: none; }
  .bw-hero h1 .bw-w, .bw-hero h1 .bw-payoff { opacity: 1; transform: none; }
  .bw-spark i { transform: scaleY(1); }
  .bw-steps::before { transform: scaleX(1); }
  .bw-ticker__track { animation: none; }
  .bw-toast { opacity: 1; transform: none; position: static; }
  .bw-toasts { height: auto; display: flex; flex-direction: column; gap: 8px; }
  .bw-console { transform: none; }
  .bw-bubble, .bw-spray { display: none; }
}
