/* Sub-pages (Bytewell, legal). Loaded after styles.css: reuses its palette, navbar, buttons and footer. */
.page { padding: 150px 40px 96px; }
.page-inner { width: min(var(--max), 100%); margin: auto; }
.page-narrow { width: min(760px, 100%); margin: auto; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; color: var(--quiet); font-size: 13px; text-decoration: none; }
.back-link:hover { color: var(--text); }
.back-link svg { width: 15px; height: 15px; }

/* Product hero (shared) */
.dd-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: center; }
.dd-app { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.dd-icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 18px 40px #0007; }
.dd-name { font-size: 15px; font-weight: 600; }
.dd-platform { margin-top: 4px; color: var(--quiet); font-size: 12px; }
.dd-title { font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -.05em; }
.dd-lead { max-width: 620px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.dd-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; color: var(--accent); font: 11px/1.6 ui-monospace, SFMono-Regular, monospace; letter-spacing: .06em; text-transform: uppercase; }
.dd-buy { padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); }
.dd-buy-label { color: var(--accent); font: 11px/1.5 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; text-transform: uppercase; }
.dd-buy-price { margin-top: 10px; font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.dd-buy-note { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dd-buy .btn { width: 100%; min-height: 58px; margin-top: 24px; font-size: 16px; }
.dd-buy-small { margin-top: 14px; color: var(--quiet); font-size: 11.5px; line-height: 1.7; }

/* Sections */
.dd-section { margin-top: 110px; }
.dd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.dd-feature { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line-soft); }
.dd-feature:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.dd-feature h3 { font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.dd-feature p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.dd-agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; padding: 44px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(135deg, #1b2835, #111820); }
.dd-agents ul { display: grid; gap: 14px; list-style: none; }
.dd-agents li { padding-left: 22px; position: relative; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.dd-agents li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dd-code { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: #0b1016; color: var(--text); font: 12.5px/1.7 ui-monospace, SFMono-Regular, monospace; overflow-x: auto; white-space: pre; }
.dd-plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.dd-plan { padding: 34px; }
.dd-plan + .dd-plan { border-left: 1px solid var(--line); background: var(--bg-soft); }
.dd-plan h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.dd-plan-price { margin-top: 6px; color: var(--quiet); font-size: 13px; }
.dd-plan ul { display: grid; gap: 10px; margin-top: 22px; list-style: none; }
.dd-plan li { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.dd-plan li::before { content: "✓"; margin-right: 10px; color: var(--accent); }
.dd-faq { border-top: 1px solid var(--line); }
.dd-faq details { border-bottom: 1px solid var(--line-soft); }
.dd-faq summary { padding: 22px 0; cursor: pointer; font-size: 16px; list-style: none; }
.dd-faq summary::-webkit-details-marker { display: none; }
.dd-faq summary::after { content: "+"; float: right; color: var(--accent); }
.dd-faq details[open] summary::after { content: "–"; }
.dd-faq p { padding: 0 0 22px; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Legal documents */
.legal h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 500; letter-spacing: -.045em; }
.legal .legal-meta { margin-top: 14px; color: var(--quiet); font-size: 12px; }
.legal .legal-scope { margin-top: 26px; padding: 4px 18px 16px; border: 1px solid var(--line, rgba(255,255,255,.14)); border-left: 3px solid var(--text); border-radius: 10px; }
.legal h2 { margin-top: 44px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.legal p, .legal li { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--text); }
.legal strong { color: var(--text); font-weight: 500; }

/* ---------- Bytewell product page ---------- */
.bw { --bw-navy: #0b0f24; --bw-teal: #2ee6c5; --bw-blue: #3d8bff; --bw-violet: #9b6bff; --bw-safe: #34c77b; --bw-review: #f0a24b; }
.bw-page { padding-top: 132px; background: radial-gradient(900px 520px at 78% 8%, #2b3a8f33, transparent 70%), radial-gradient(700px 420px at 8% 0%, #2ee6c51a, transparent 70%); }
.bw code { font: .92em ui-monospace, SFMono-Regular, monospace; color: var(--text); }
.bw-nav-cta { margin-left: 8px; padding: 0 16px !important; min-height: 38px !important; border-radius: 999px; background: linear-gradient(135deg, var(--bw-teal), var(--bw-blue)); color: #07122a !important; font-weight: 600; }

.bw-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.bw-app { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.bw-icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 16px 40px #0009, 0 0 0 1px #ffffff14; }
.bw-name { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.bw-pill { padding: 3px 9px; border-radius: 999px; background: #2ee6c51f; color: var(--bw-teal); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.bw-platform { margin-top: 5px; color: var(--quiet); font-size: 12.5px; }
.bw-title { font-size: clamp(40px, 5vw, 62px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; }
.bw-grad { background: linear-gradient(100deg, var(--bw-teal), var(--bw-blue) 55%, var(--bw-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-lead { max-width: 600px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.bw-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bw-center { justify-content: center; }
.bw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; font-weight: 600; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.bw-btn svg { width: 19px; height: 19px; }
.bw-btn-primary { background: linear-gradient(135deg, var(--bw-teal), var(--bw-blue)); color: #07122a; box-shadow: 0 12px 30px #3d8bff40; }
.bw-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 38px #3d8bff59; }
.bw-btn-ghost { border: 1px solid #ffffff2b; background: #ffffff0a; color: var(--text); }
.bw-btn-ghost:hover { background: #ffffff14; }
.bw-wide { width: 100%; margin-top: 26px; }
.bw-fine { margin-top: 16px; color: var(--quiet); font-size: 12.5px; }
.bw-fine a { color: var(--text); }

.bw-assure { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 22px; }
.bw-notary { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid #34c77b4d; border-radius: 14px; background: linear-gradient(135deg, #34c77b14, #2ee6c50a); }
.bw-notary svg { flex: none; width: 30px; height: 30px; color: #4fdc93; }
.bw-notary b, .bw-assure-item b { display: block; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.bw-notary span, .bw-assure-item span { display: block; margin-top: 2px; color: #9aa5b1; font-size: 12px; }
.bw-assure-item { display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; border: 1px solid #ffffff17; border-radius: 14px; }

.bw-agent-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 14px 8px 8px; border: 1px solid #9b6bff59; border-radius: 999px; background: linear-gradient(135deg, #9b6bff1f, #3d8bff14); color: #dfe4f5; font-size: 14px; text-decoration: none; transition: border-color 160ms ease, background 160ms ease; }
.bw-agent-pill:hover { border-color: #9b6bffa6; background: linear-gradient(135deg, #9b6bff33, #3d8bff1f); }
.bw-agent-pill b { color: #fff; font-weight: 600; }
.bw-agent-spark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: linear-gradient(135deg, var(--bw-violet), var(--bw-blue)); color: #fff; font-size: 13px; }
.bw-agent-arrow { color: #b7a6ff; }
.bw-clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.bw-clients li { padding: 6px 12px; border: 1px solid #ffffff1f; border-radius: 999px; background: #ffffff0a; color: #dfe4f5; font-size: 13px; font-weight: 500; }

/* hero scene: scales like an image (container units), so nothing wraps at any width */
.bw-stage { position: relative; width: 100%; aspect-ratio: 1.42; container-type: inline-size; }
.bw-glow { position: absolute; inset: 8% 4% 6% 10%; border-radius: 50%; background: radial-gradient(circle at 35% 40%, #2ee6c559, transparent 55%), radial-gradient(circle at 70% 60%, #9b6bff52, transparent 55%), radial-gradient(circle at 50% 50%, #3d8bff40, transparent 65%); filter: blur(6cqw); }
.bw-win { position: absolute; left: 4%; top: 7%; width: 92%; border-radius: 2.4cqw; overflow: hidden; background: #121834eb; border: 1px solid #ffffff1f; box-shadow: 0 5cqw 10cqw #000b, inset 0 1px 0 #ffffff14; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bw-tb { display: flex; align-items: center; gap: 1.2cqw; height: 6.6cqw; padding: 0 2.6cqw; border-bottom: 1px solid #ffffff12; color: #c9cfee; font-size: 2.1cqw; font-weight: 600; }
.bw-tb i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #ff5f57; }
.bw-tb i:nth-child(2) { background: #febc2e; } .bw-tb i:nth-child(3) { background: #28c840; margin-right: 2cqw; }
.bw-tb b { margin-left: auto; padding: .8cqw 2cqw; border-radius: 1.4cqw; background: #3d8bff; color: #fff; font-size: 1.8cqw; }
.bw-wb { display: grid; grid-template-columns: 47% 53%; align-items: center; padding: 3cqw 3cqw 3.4cqw 2cqw; }
.bw-mapcol { position: relative; }
.bw-ring { width: 100%; height: auto; animation: bw-spin 60s linear infinite; }
.bw-ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bw-ring-label small { color: #9aa2c8; font-size: 1.7cqw; line-height: 1.4; }
.bw-ring-label strong { color: #fff; font-size: 3.9cqw; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.bw-listcol { padding-left: 2.4cqw; }
.bw-kick { color: #8f97bd; font-size: 1.6cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bw-bars { display: grid; gap: 1.6cqw; margin-top: 2cqw; list-style: none; }
.bw-bars li { display: grid; grid-template-columns: 1.6cqw 1fr 9.5cqw 8.5cqw; align-items: center; gap: 1.2cqw; color: #dfe3f7; font-size: 1.95cqw; white-space: nowrap; }
.bw-bars i { width: 1.4cqw; height: 1.4cqw; border-radius: .5cqw; }
.bw-bars span { overflow: hidden; text-overflow: ellipsis; }
.bw-bars b { height: 1cqw; border-radius: 1cqw; background: #ffffff12; overflow: hidden; }
.bw-bars u { display: block; height: 100%; border-radius: 1cqw; }
.bw-bars em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bw-safebtn { margin-top: 3cqw; padding: 1.6cqw 2.2cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, var(--bw-teal), var(--bw-blue)); color: #07122a; font-size: 2cqw; font-weight: 700; text-align: center; box-shadow: 0 1.6cqw 4cqw #3d8bff55; }
.bw-float { position: absolute; border-radius: 2cqw; box-shadow: 0 3cqw 7cqw #000a; animation: bw-float 6s ease-in-out infinite; }
.bw-float-agent { right: -1%; top: -7%; width: 44%; padding: 2.2cqw 2.4cqw; background: #f7f8fcf2; color: #1d2340; font-size: 1.85cqw; line-height: 1.45; }
.bw-float-agent p { margin-top: 1cqw; }
.bw-float-agent code { color: #1d2340; font-size: .95em; }
.bw-agent-head { display: flex; align-items: center; gap: 1cqw; color: #5b6180; font-size: 1.6cqw; font-weight: 600; }
.bw-agent-head span { display: grid; place-items: center; width: 3.2cqw; height: 3.2cqw; border-radius: 1cqw; background: linear-gradient(135deg, var(--bw-violet), var(--bw-blue)); color: #fff; font-size: 1.8cqw; }
.bw-agent-actions { display: flex; justify-content: flex-end; gap: 1.2cqw; margin-top: 1.6cqw; font-size: 1.65cqw; font-weight: 600; }
.bw-agent-actions span { padding: .8cqw 1.6cqw; border-radius: 1.2cqw; background: #e8ebf4; }
.bw-agent-actions .bw-go { background: #2f6ff0; color: #fff; }
.bw-float-toast { left: 0; bottom: -2%; display: flex; align-items: center; gap: 1.8cqw; width: 52%; padding: 1.8cqw 2.2cqw; background: #1b2350f2; border: 1px solid #ffffff1f; color: #fff; animation-delay: -3s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bw-check { display: grid; place-items: center; flex: none; width: 4cqw; height: 4cqw; border-radius: 50%; background: #34c77b; color: #fff; font-size: 2.2cqw; font-weight: 800; }
.bw-float-toast b { display: block; font-size: 1.95cqw; white-space: nowrap; }
.bw-float-toast small { display: block; margin-top: .3cqw; color: #aeb5da; font-size: 1.65cqw; white-space: nowrap; }
.bw-undo { margin-left: auto; color: var(--bw-teal); font-size: 1.9cqw; font-weight: 700; }
@keyframes bw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2cqw); } }
@keyframes bw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bw-float, .bw-ring { animation: none; } }

/* strip, features, agents, trust, plans */
.bw-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 84px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: #ffffff05; }
.bw-strip li { padding: 22px 24px; }
.bw-strip li + li { border-left: 1px solid var(--line-soft); }
.bw-strip strong { display: block; font-size: 15px; font-weight: 600; }
.bw-strip span { display: block; margin-top: 4px; color: var(--quiet); font-size: 12.5px; }
/* features: bento tiles, each with a small, concrete piece of the app */
.bw-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bw-tile { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 26px 26px 24px; border: 1px solid #ffffff14; border-radius: 18px; background: #151d29; }
.bw-span-4 { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; }
.bw-span-2 { grid-column: span 2; }
.bw-label { color: #8b97a6; font: 500 10.5px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .09em; text-transform: uppercase; }
.bw-tile h3 { margin-top: 12px; color: var(--text); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.bw-tile p { margin-top: 8px; color: #a8b0ba; font-size: 14px; line-height: 1.6; }
.bw-tile p b { color: var(--text); font-weight: 600; }
.bw-tile-text { min-width: 0; }
.bw-screen { margin-top: auto; padding: 6px 14px; border: 1px solid #ffffff12; border-radius: 12px; background: #0e141d; }
.bw-span-4 .bw-screen { margin-top: 0; }
.bw-line { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #ffffff0d; font-size: 13px; white-space: nowrap; }
.bw-line:last-child { border-bottom: 0; }
.bw-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #e3e7ee; }
.bw-line small { color: #7f8a98; font-size: 12px; }
.bw-line em { margin-left: auto; color: #e3e7ee; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.bw-chip { flex: none; padding: 2px 7px; border-radius: 6px; font: 600 11px/1.5 Inter, sans-serif; font-style: normal; }
.bw-chip-safe { background: #34c77b1f; color: #5fd896; } .bw-chip-review { background: #f0a24b21; color: #f3b56b; }
.bw-chip-cmd { background: #3d8bff1f; color: #7fb0ff; font-family: ui-monospace, SFMono-Regular, monospace; font-weight: 500; }
.bw-screen-tight .bw-line { padding: 9px 0; }
.bw-note { padding: 10px 0 8px; color: #f3b56b; font-size: 12px; }
.bw-ring-wrap { display: grid; place-items: center; margin-top: auto; }
.bw-mini-ring { width: min(168px, 66%); height: auto; }
.bw-paths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: auto; list-style: none; font: 12px/1.4 ui-monospace, SFMono-Regular, monospace; }
.bw-paths li { display: flex; min-width: 0; gap: 8px; padding: 7px 10px; border-radius: 8px; background: #0e141d; color: #c6cdd6; white-space: nowrap; }
.bw-paths span { overflow: hidden; text-overflow: ellipsis; }
.bw-paths em { margin-left: auto; color: #7f8a98; font-style: normal; }
.bw-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.bw-pills span { padding: 5px 10px; border: 1px solid #ffffff17; border-radius: 999px; color: #c6cdd6; font-size: 12px; }
code.bw-cmd { display: block; padding: 10px 12px; border-radius: 10px; background: #0e141d; color: #7fb0ff; font: 12px/1.4 ui-monospace, SFMono-Regular, monospace; }
.bw-dupe { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding: 14px 16px; border-radius: 12px; background: #0e141d; }
.bw-dupe b { color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.bw-dupe span { color: #5fd896; font-size: 13px; font-weight: 500; }
.bw-spark { width: 100%; height: 64px; margin-top: auto; }
.bw-menubar { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 12px; border-radius: 10px; background: #0e141d; font-size: 13px; }
.bw-mb-icon { width: 14px; height: 14px; border: 2px solid #c6cdd6; border-radius: 50%; border-right-color: transparent; }
.bw-menubar b { color: var(--text); font-weight: 600; }
.bw-toggle { display: flex; align-items: center; gap: 8px; margin-left: auto; color: #a8b0ba; font-size: 12px; }
.bw-toggle i { position: relative; width: 26px; height: 15px; border-radius: 999px; background: #34c77b; }
.bw-toggle i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }

/* safety promises: numbered, hairline columns */
.bw-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); }
.bw-promises li { padding: 26px 24px 4px; }
.bw-promises li:first-child { padding-left: 0; }
.bw-promises li + li { border-left: 1px solid var(--line-soft); }
.bw-promises span { color: var(--bw-teal); font: 500 12px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .06em; }
.bw-promises h3 { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.bw-promises p { margin-top: 8px; color: #a8b0ba; font-size: 14px; line-height: 1.65; }

.bw-agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 48px; border: 1px solid #3d8bff33; border-radius: 18px; background: radial-gradient(600px 300px at 0% 0%, #2ee6c514, transparent), linear-gradient(135deg, #141c46, #0b0f24); }
.bw-chat { display: grid; gap: 10px; margin-top: 26px; }
.bw-chat p { max-width: 92%; padding: 12px 15px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.bw-you { justify-self: end; background: #3d8bff; color: #fff; border-bottom-right-radius: 4px; }
.bw-ai { background: #ffffff12; color: var(--text); border-bottom-left-radius: 4px; }
.bw-rails { display: grid; gap: 13px; list-style: none; }
.bw-rails li { position: relative; padding-left: 26px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.bw-rails li::before { content: "✓"; position: absolute; left: 0; color: var(--bw-teal); font-weight: 700; }
.bw-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bw-plan { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff05; }
.bw-plan-pro { border-color: #3d8bff80; background: linear-gradient(160deg, #3d8bff1a, #2ee6c50d 60%, transparent); box-shadow: 0 20px 60px #3d8bff1f; }
.bw-plan-badge { position: absolute; top: -12px; right: 24px; padding: 4px 11px; border-radius: 999px; background: linear-gradient(135deg, var(--bw-teal), var(--bw-blue)); color: #07122a; font-size: 11.5px; font-weight: 700; }
.bw-plan h3 { font-size: 22px; font-weight: 600; }
.bw-price { margin-top: 8px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.bw-price span { color: var(--quiet); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.bw-plan ul { display: grid; gap: 10px; margin-top: 22px; list-style: none; }
.bw-plan li { color: var(--muted); font-size: 14px; line-height: 1.55; }
.bw-plan li::before { content: "✓"; margin-right: 10px; color: var(--bw-teal); font-weight: 700; }
.bw-plan-note { margin-top: 14px; color: var(--quiet); font-size: 12px; line-height: 1.6; text-align: center; }
.bw-plan-note a { color: var(--text); }
.bw-final { margin-top: 110px; padding: 56px 24px; border-radius: 22px; text-align: center; background: radial-gradient(500px 240px at 50% 0%, #3d8bff2e, transparent), linear-gradient(160deg, #141c46, #0b0f24); border: 1px solid #3d8bff33; }
.bw-final img { margin: 0 auto 18px; border-radius: 15px; box-shadow: 0 12px 30px #0008; }
.bw-final h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.035em; }

@media (max-width: 1120px) {
  .bw-span-4 { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 900px) {
  .page { padding: 140px 22px 72px; }
  .dd-hero { grid-template-columns: 1fr; gap: 40px; }
  .dd-grid { grid-template-columns: 1fr; }
  .dd-feature, .dd-feature:not(:nth-child(3n + 1)) { padding: 24px 0; border-left: 0; }
  .dd-agents { grid-template-columns: 1fr; gap: 32px; padding: 28px 22px; }
  .dd-plans { grid-template-columns: 1fr; }
  .dd-plan + .dd-plan { border-left: 0; border-top: 1px solid var(--line); }
  .dd-section { margin-top: 80px; }
  .bw-hero { grid-template-columns: 1fr; gap: 44px; }
  .bw-strip { grid-template-columns: 1fr 1fr; }
  .bw-strip li:nth-child(3) { border-left: 0; }
  .bw-strip li:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .bw-bento { grid-template-columns: minmax(0, 1fr); }
  .bw-span-4, .bw-span-2 { grid-column: auto; }
  .bw-span-4 { grid-template-columns: minmax(0, 1fr); }
  .bw-promises { grid-template-columns: 1fr 1fr; }
  .bw-promises li:nth-child(3) { border-left: 0; padding-left: 0; }
  .bw-agents { grid-template-columns: 1fr; gap: 32px; padding: 28px 22px; }
  .bw-plans { grid-template-columns: 1fr; }
  .bw .navbar-links li:not(:last-child) { display: none; }
  .bw .navbar-inner { min-height: 72px; padding-bottom: 12px; }
  .bw .navbar-links { grid-column: 2; grid-row: 1; }
}
@media (max-width: 480px) {
  .bw-btn { width: 100%; }
  .bw-promises { grid-template-columns: 1fr; }
  .bw-promises li, .bw-promises li + li { padding: 22px 0 4px; border-left: 0; }
  .bw-promises li + li { border-top: 1px solid var(--line-soft); }
}

/* --- 1.1.0: MCP exchange, Careful by default, Apps, languages --- */
.bw-mcp { display: grid; gap: 9px; margin-top: 26px; min-height: 340px; align-content: start; }
.bw-mcp-line { max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.bw-mcp-line.on { opacity: 1; transform: none; }
.bw-mcp-tool { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; justify-self: start; padding: 7px 12px; border: 1px dashed #ffffff26; border-radius: 9px; background: transparent; color: #9fb0c8; font-size: 12px; }
.bw-mcp-tool code { color: var(--bw-teal); font: 500 12px/1.4 ui-monospace, SFMono-Regular, monospace; background: none; padding: 0; }
.bw-mcp-tool code::before { content: "⚙ "; color: #ffffff59; }
.bw-mcp-ok { border-color: #34c77b66; }
.bw-mcp-ok span { color: #8fe1a9; }
.bw-replay { justify-self: start; margin-top: 6px; padding: 6px 12px; border: 1px solid #ffffff26; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.bw-replay:hover { color: var(--text); border-color: #ffffff4d; }

.bw-careful { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.bw-roundtrip { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 22px; align-items: center; padding: 30px 28px 64px; border: 1px solid #ffffff14; border-radius: 18px; background: radial-gradient(420px 220px at 100% 0%, #2ee6c512, transparent), #121a26; }
.bw-rt-win { border: 1px solid #ffffff17; border-radius: 12px; background: #0e1520; overflow: hidden; }
.bw-rt-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid #ffffff12; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.bw-rt-btn { padding: 5px 11px; border-radius: 7px; background: #ffffff10; color: var(--muted); font-size: 11.5px; transition: background .25s, color .25s, transform .15s; }
.bw-rt-rows { list-style: none; padding: 6px; }
.bw-rt-rows li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; font-size: 13px; transition: transform .7s cubic-bezier(.5, 0, .3, 1), opacity .6s ease, background .3s; }
.bw-rt-rows span { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.bw-rt-rows em { color: var(--muted); font-style: normal; font-variant-numeric: tabular-nums; }
.bw-rt-rows i { width: 14px; height: 14px; border: 1.5px solid #ffffff40; border-radius: 4px; transition: background .2s, border-color .2s; }
.bw-rt-trash { display: grid; justify-items: center; gap: 4px; color: #c9d3e0; text-align: center; transition: transform .3s; }
.bw-rt-trash svg { width: 58px; height: 58px; }
.bw-rt-count { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bw-rt-trash small { color: var(--quiet); font-size: 11.5px; }
.bw-rt-toast { position: absolute; left: 28px; right: 160px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #ffffff1f; border-radius: 12px; background: #1b2350; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.bw-rt-toast b { display: block; font-size: 12.5px; }
.bw-rt-toast small { color: var(--quiet); font-size: 11px; }
.bw-rt-tick { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #34c77b; color: #fff; font-size: 11px; font-weight: 800; }
.bw-rt-undo { margin-left: auto; padding: 4px 10px; border-radius: 7px; color: var(--bw-teal); font-size: 12px; font-weight: 700; transition: background .2s; }
.bw-roundtrip .bw-replay { position: absolute; right: 20px; bottom: 20px; }
/* steps: 1 ticked · 2 button · 3 in the Trash · 4 toast · 5 Undo (back) */
.bw-roundtrip[data-step="1"] .bw-rt-rows i, .bw-roundtrip[data-step="2"] .bw-rt-rows i { border-color: var(--bw-blue); background: var(--bw-blue); }
.bw-roundtrip[data-step="1"] .bw-rt-rows li:nth-child(2) i { transition-delay: .25s; }
.bw-roundtrip[data-step="1"] .bw-rt-rows li:nth-child(3) i { transition-delay: .5s; }
.bw-roundtrip[data-step="2"] .bw-rt-btn { background: #e5484d; color: #fff; transform: scale(.96); }
.bw-roundtrip[data-step="3"] .bw-rt-rows li, .bw-roundtrip[data-step="4"] .bw-rt-rows li { opacity: 0; transform: translateX(118%) scale(.4); }
.bw-roundtrip[data-step="3"] .bw-rt-rows li:nth-child(2), .bw-roundtrip[data-step="4"] .bw-rt-rows li:nth-child(2) { transition-delay: .08s; }
.bw-roundtrip[data-step="3"] .bw-rt-rows li:nth-child(3), .bw-roundtrip[data-step="4"] .bw-rt-rows li:nth-child(3) { transition-delay: .16s; }
.bw-roundtrip[data-step="3"] .bw-rt-trash { transform: scale(1.06); }
.bw-roundtrip[data-step="4"] .bw-rt-toast { opacity: 1; transform: none; }
.bw-roundtrip[data-step="5"] .bw-rt-undo { background: #2ee6c522; }
.bw-roundtrip[data-step="5"] .bw-rt-toast { opacity: 0; transition-delay: .4s; }
.bw-roundtrip[data-step="5"] .bw-rt-rows li { background: #2ee6c50f; }
.bw-roundtrip.still .bw-rt-rows li { opacity: .35; transform: none; }

.bw-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 56px; list-style: none; border-top: 1px solid var(--line); }
.bw-ledger li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.bw-ledger span { grid-row: span 2; padding-top: 3px; color: var(--bw-teal); font: 500 12px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .06em; }
.bw-ledger h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.bw-ledger p { margin-top: 6px; color: #a8b0ba; font-size: 14px; line-height: 1.6; }

.bw-langs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: auto; }
.bw-langs li { padding: 6px 11px; border: 1px solid #ffffff1c; border-radius: 999px; color: var(--text); font-size: 13px; }

@media (max-width: 900px) {
  .bw-careful { grid-template-columns: 1fr; gap: 30px; }
  .bw-ledger { grid-template-columns: 1fr; }
  .bw-mcp { min-height: 0; }
}
@media (max-width: 480px) {
  .bw-roundtrip { grid-template-columns: 1fr; padding: 22px 18px 70px; }
  .bw-rt-trash { grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 12px; }
  .bw-rt-trash svg { grid-row: span 2; width: 44px; height: 44px; }
  .bw-rt-toast { left: 18px; right: 18px; bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .bw-mcp-line, .bw-rt-rows li, .bw-rt-toast { transition: none; }
}

/* Bar colours and widths as classes: the site's CSP doesn't allow inline style attributes */
.bw-c-blue { background: #3d8bff; } .bw-c-violet { background: #9b6bff; } .bw-c-orange { background: #ff8a5c; }
.bw-c-teal { background: #2ee6c5; } .bw-c-pink { background: #ff6fae; } .bw-c-yellow { background: #f5c04a; }
.bw-w100 { width: 100%; } .bw-w55 { width: 55%; } .bw-w41 { width: 41%; } .bw-w34 { width: 34%; } .bw-w31 { width: 31%; } .bw-w22 { width: 22%; }

/* bytewell.app: product brand in the navbar, maker line in the footer */
.bw-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 19px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.bw-brand img { width: 32px; height: 32px; }
.footer-maker { margin-bottom: 8px; }
.footer-maker a { color: var(--muted); text-decoration: none; }
.footer-maker a:hover { color: var(--text); }
