/* D4U Store: the window where D4U shows what it can design and build. The products are the proof;
   the message is "we can build yours". The frame is D4U (ink, white, blue, [D4U]); each product keeps
   its own colors, logo and real screens. Light and dark: js/theme.js. */

@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrainsmono-700-d4u.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Product faces, taken from each product's own page. */
@font-face { font-family: "Unbounded"; src: url("../apps/nada/fonts/unbounded-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../apps/kwottalk/fonts/archivo-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #F6F7F9; --bg-2: #FFFFFF; --card: #FFFFFF; --ink: #0B0D10; --muted: #586373; --line: #DCE1E8;
  --blue: #1652F0; --on-blue: #FFFFFF; --pale: #EAF0FF;
  --shadow: 0 1px 2px rgba(11, 13, 16, .06), 0 24px 48px -28px rgba(11, 13, 16, .45);
  --body: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 28px;
}
/* Dark: by the system unless the person chose light, or chosen with the button. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090B0E; --bg-2: #0F1216; --card: #151920; --ink: #F1F3F6; --muted: #9AA3B0; --line: #252A33;
    --blue: #5B87FF; --on-blue: #0B0D10; --pale: rgba(91, 135, 255, .12);
    --shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -24px rgba(0, 0, 0, .9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090B0E; --bg-2: #0F1216; --card: #151920; --ink: #F1F3F6; --muted: #9AA3B0; --line: #252A33;
  --blue: #5B87FF; --on-blue: #0B0D10; --pale: rgba(91, 135, 255, .12);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -24px rgba(0, 0, 0, .9);
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--on-blue); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--card); padding: 8px 12px; border-radius: 10px; }
.skip:focus { left: 16px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.d4u { font: 700 1em/1 var(--mono); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.d4u b { color: var(--blue); font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--ghost { border-color: currentColor; }
.btn .arrow::after { content: "→"; }

/* ───── Header ───── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-size: 21px; }
.brand-word { font-weight: 600; font-size: 17px; }
.top .nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; }
.top .nav a { text-decoration: none; color: var(--muted); }
.top .nav a:hover { color: var(--ink); }
.top .nav .nav-cta { color: var(--blue); font-weight: 700; }
.tools { display: flex; align-items: center; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; min-height: 38px; font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; }
.pill-link:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* ───── Hero: featured products, full viewport, one at a time ───── */
.hero { position: relative; height: calc(100vh - 65px); height: calc(100svh - 65px); min-height: 640px; overflow: hidden; background: var(--bg); }
.slides { height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; pointer-events: none; }
.hero-bar .wrap { display: flex; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--card) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45), inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px; color: var(--ink); font: 600 14px/1 var(--body); text-decoration: none; overflow: hidden; }
.tab img { width: 30px; height: 30px; border-radius: 8px; }
.tab:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.tab[aria-current="true"] { background: var(--ink); color: var(--bg); }
.tab .bar { position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: transparent; }
.tab[aria-current="true"] .bar { background: linear-gradient(90deg, var(--bg) var(--progress, 0%), transparent var(--progress, 0%)); opacity: .7; }
.hero-pause { flex-shrink: 0; display: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; pointer-events: auto; background: color-mix(in srgb, var(--card) 78%, transparent); color: var(--ink); cursor: pointer; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }
.js-carousel .hero-pause { display: grid; }
.hero-pause svg { width: 15px; height: 15px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-all { margin-left: auto; pointer-events: auto; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--card) 78%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent); }

/* ───── Statement: what D4U does, right after the products ───── */
.statement { text-align: center; }
.statement .eyebrow { justify-content: center; margin-bottom: 22px; }
.statement .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; }
.statement h1 { font-size: clamp(38px, 6.6vw, 80px); line-height: .98; font-weight: 700; letter-spacing: -.045em; max-width: 14ch; margin-inline: auto; }
.statement h1 em { font-style: normal; color: var(--blue); }
.statement .lead { margin: 24px auto 0; max-width: 58ch; font-size: clamp(17px, 2.1vw, 20px); color: var(--muted); }
.statement .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.statement .btn--ghost { color: var(--ink); border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --piece-ring: rgba(255, 255, 255, .14); } }
:root[data-theme="dark"] { --piece-ring: rgba(255, 255, 255, .14); }

/* ───── Bands: the page goes in full-width sections that alternate ───── */
.band { padding: 104px 0; }
.band-a { background: var(--bg-2); }
.band-b { background: var(--bg); }
.band + .band { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }

/* A slide: the product's colors from edge to edge, its copy and its real screens */
.slide { position: relative; height: 100%; scroll-snap-align: start; overflow: hidden; background: var(--s-bg); color: var(--s-ink); isolation: isolate; }
.slide-in { height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; padding: 40px 0 104px; }
.s-copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; position: relative; z-index: 1; }
.s-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; background: var(--s-chip); }
.s-badge .d4u { font-size: 13px; }
.s-badge .d4u b { color: inherit; opacity: .7; }
.s-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; max-width: 18ch; }
.s-text { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; opacity: .85; max-width: 44ch; }
.s-did { display: flex; flex-wrap: wrap; gap: 6px; }
.s-did li { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--s-chip); }
.s-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.slide .btn--primary { background: var(--s-accent); color: var(--s-on-accent, #FFFFFF); }
.slide .btn--ghost { color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.s-art { position: relative; height: min(560px, 100%); min-height: 420px; }
/* Devices with the products' real screens */
/* Devices: the same frame as the app shell (.sh-phone / .sh-tablet), sized by --pw / --tw */
.phone { --pw: clamp(150px, 16vw, 230px); position: absolute; width: var(--pw); aspect-ratio: 660 / 1434; padding: calc(var(--pw) * .03); border-radius: calc(var(--pw) * .16); background: #0E1014; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -24px rgba(0, 0, 0, .55); transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.phone::after { content: ""; position: absolute; top: calc(var(--pw) * .06); left: 50%; width: calc(var(--pw) * .045); aspect-ratio: 1; border-radius: 50%; background: #0E1014; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); transform: translateX(-50%); }
.phone img { display: block; width: 100%; height: 100%; border-radius: calc(var(--pw) * .13); object-fit: cover; object-position: top; }
.p-left { left: 6%; top: 96px; transform: rotate(-7deg); }
.p-mid { left: 33%; top: 48px; z-index: 2; }
.p-right { left: 60%; top: 104px; transform: rotate(7deg); }
.slide:hover .p-left { transform: rotate(-9deg) translateY(-6px); }
.slide:hover .p-right { transform: rotate(9deg) translateY(-6px); }
.tablet { --tw: 86%; position: absolute; width: var(--tw); aspect-ratio: 2388 / 1668; padding: 2%; border-radius: 4.5% / 6.4%; background: #0E1014; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -24px rgba(0, 0, 0, .6); transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.tablet img { display: block; width: 100%; height: 100%; border-radius: 2.8% / 4%; object-fit: cover; }
.dd-tablet { right: -4%; top: 60px; }
.dd-p1 { --pw: clamp(118px, 11vw, 160px); left: 2%; top: 230px; z-index: 2; transform: rotate(-6deg); }
.dd-p2 { --pw: clamp(118px, 11vw, 160px); left: 26%; top: 290px; z-index: 3; transform: rotate(4deg); }
.slide:hover .dd-tablet { transform: translateY(-6px); }
.slide:hover .dd-p1 { transform: rotate(-8deg) translateY(-8px); }
.slide:hover .dd-p2 { transform: rotate(6deg) translateY(-8px); }

/* Slide colors: each product's own */
.s-nada { --s-bg: radial-gradient(90% 120% at 85% 40%, #FFFFFF 0%, #F1F2F5 45%, #E3E6EB 100%); --s-ink: #14161A; --s-accent: #FF4A2B; --s-chip: rgba(20, 22, 26, .07); }
.s-nada .logo-nada { font: 800 clamp(44px, 5.2vw, 72px)/.9 "Unbounded", "Arial Black", sans-serif; letter-spacing: -.05em; }
.s-signo { --s-bg: linear-gradient(140deg, #7A3FF2 0%, #B24FC0 55%, #FF5E7E 100%); --s-ink: #FFFFFF; --s-accent: #FFFFFF; --s-on-accent: #5B2DBF; --s-chip: rgba(255, 255, 255, .18); }
.s-duck { --s-bg: #FFF1D6; --s-ink: #1E1B18; --s-accent: #E4572E; --s-chip: rgba(30, 27, 24, .08); }
.s-kwot { --s-bg: linear-gradient(160deg, #1A2E52 0%, #13233F 60%, #0E1A30 100%); --s-ink: #FFFFFF; --s-accent: #F26A1B; --s-on-accent: #13233F; --s-chip: rgba(255, 255, 255, .12); }
.logo-plate { align-self: flex-start; padding: 12px 18px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(23, 23, 43, .45); }
.logo-plate img { width: min(210px, 56vw); }
.logo-duck { width: min(230px, 60vw); }
.wordmark-kwot { font: 800 clamp(44px, 5.4vw, 66px)/1 "Archivo", var(--body); letter-spacing: -.03em; }
.wordmark-kwot span { color: #F26A1B; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .s-nada { --s-bg: radial-gradient(90% 120% at 85% 40%, #2A2E35 0%, #1B1E23 50%, #111316 100%); --s-ink: #F2F3F5; --s-chip: rgba(255, 255, 255, .08); }
  :root:not([data-theme="light"]) .s-duck { --s-bg: #2A2521; --s-ink: #FFF1D6; --s-chip: rgba(255, 241, 214, .1); }
  :root:not([data-theme="light"]) .duck-light { display: none; }
  :root:not([data-theme="light"]) .duck-dark { display: block; }
}
:root[data-theme="dark"] .s-nada { --s-bg: radial-gradient(90% 120% at 85% 40%, #2A2E35 0%, #1B1E23 50%, #111316 100%); --s-ink: #F2F3F5; --s-chip: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .s-duck { --s-bg: #2A2521; --s-ink: #FFF1D6; --s-chip: rgba(255, 241, 214, .1); }
.duck-dark { display: none; }
:root[data-theme="dark"] .duck-light { display: none; }
:root[data-theme="dark"] .duck-dark { display: block; }

/* ───── Sections ───── */
.section { padding: 104px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; max-width: 17ch; }
.section-head p { max-width: 48ch; color: var(--muted); }
.section-head .eyebrow { margin-bottom: 14px; }

/* ───── Products: what D4U made, with each product's own resources ───── */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
/* No drop shadows: side by side they muddy the gaps. A hairline edge keeps light tiles apart from the page. */
.work { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--w-bg); color: var(--w-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); text-decoration: none; isolation: isolate; transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.work:hover { transform: translateY(-3px); }
.w-7 { grid-column: span 7; } .w-5 { grid-column: span 5; }
.w-copy { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 36px); position: relative; z-index: 1; }
.w-head { display: flex; align-items: center; gap: 14px; }
.w-head .icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); flex-shrink: 0; }
.w-head .icon--mono { display: grid; place-items: center; background: #2B3138; }
.w-name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.w-kind { font-size: 13.5px; opacity: .7; }
.w-line { font-size: 16px; line-height: 1.5; opacity: .85; max-width: 46ch; }
.did { display: flex; flex-wrap: wrap; gap: 6px; }
.did li { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--w-chip); }
.did-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.w-go { font-weight: 700; font-size: 15px; color: var(--w-accent); }
.w-go::after { content: " →"; }
.w-art { position: relative; min-height: 260px; }
.w-art .phone { --pw: clamp(120px, 12vw, 160px); }

.w-nada { --w-bg: #F1F2F5; --w-ink: #14161A; --w-accent: #E23A1E; --w-chip: rgba(20, 22, 26, .07); }
.w-nada .w-art .phone { left: 56%; top: 18px; transform: translateX(-50%) rotate(4deg); }
.w-nada .w-art .phone + .phone { left: 30%; top: 46px; transform: translateX(-50%) rotate(-8deg); z-index: -1; }
.w-signo { --w-bg: linear-gradient(150deg, #7A3FF2 0%, #FF5E7E 100%); --w-ink: #FFFFFF; --w-accent: #FFFFFF; --w-chip: rgba(255, 255, 255, .2); }
.w-signo .w-art .phone { left: 50%; top: 16px; transform: translateX(-50%) rotate(5deg); }
.w-duck { --w-bg: #FFF1D6; --w-ink: #1E1B18; --w-accent: #C2431F; --w-chip: rgba(30, 27, 24, .08); }
.suite { position: absolute; left: 0; right: 0; top: 34px; display: flex; justify-content: center; gap: 12px; margin: 0; }
.suite .phone { position: relative; --pw: clamp(92px, 9vw, 120px); }
.suite .phone:nth-child(2) { transform: translateY(-16px); }
.suite figcaption { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.w-kwot { --w-bg: linear-gradient(160deg, #1A2E52 0%, #13233F 70%); --w-ink: #FFFFFF; --w-accent: #FFB27F; --w-chip: rgba(255, 255, 255, .12); }
.w-kwot .w-art { display: grid; place-items: center; padding: 0 28px 28px; min-height: 0; }
.w-kwot .w-art img { border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.w-uf { --w-bg: radial-gradient(70% 90% at 90% 60%, rgba(110, 134, 255, .16), transparent 70%), #0B0B0C; --w-ink: #FAFAF7; --w-accent: #8EA0FF; --w-chip: rgba(250, 250, 247, .1); }
.w-uf .logo-uf { width: min(280px, 80%); }
.w-uf .w-art { min-height: 0; }
.dict { margin: 0 clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px); padding: 20px; border-radius: 16px; background: #151518; border: 1px solid #26272B; }
.dict .cmdline { display: flex; flex-wrap: wrap; gap: 10px; font: 600 26px/1 var(--code); color: #FAFAF7; margin-bottom: 16px; }
.dict .cmdline span { padding: 6px 10px; border-radius: 8px; background: rgba(110, 134, 255, .14); border-bottom: 2px solid #6E86FF; }
.dict dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 14px; color: #A9ABB2; }
.dict dt { font: 600 14px/1.5 var(--code); color: #8EA0FF; }
.dict dd { margin: 0; }
.dict .reading { margin-top: 14px; padding-top: 12px; border-top: 1px solid #26272B; font-size: 14px; color: #FAFAF7; }
.w-unplug { --w-bg: #20252B; --w-ink: #F6F3EC; --w-accent: #F2B544; --w-chip: rgba(246, 243, 236, .1); }
.w-unplug .w-art { display: grid; place-items: center; }
.w-unplug .w-art svg { width: 180px; }
.w-unplug .plug-g { transition: transform 500ms cubic-bezier(.2, .8, .2, 1); }
.w-unplug:hover .plug-g { transform: translateX(10px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .w-nada { --w-bg: #1B1E23; --w-ink: #F2F3F5; --w-accent: #FF6B4F; --w-chip: rgba(255, 255, 255, .08); }
  :root:not([data-theme="light"]) .w-duck { --w-bg: #2A2521; --w-ink: #FFF1D6; --w-accent: #F5B82E; --w-chip: rgba(255, 241, 214, .1); }
}
:root[data-theme="dark"] .w-nada { --w-bg: #1B1E23; --w-ink: #F2F3F5; --w-accent: #FF6B4F; --w-chip: rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .w-duck { --w-bg: #2A2521; --w-ink: #FFF1D6; --w-accent: #F5B82E; --w-chip: rgba(255, 241, 214, .1); }

/* ───── Catalog: every other product, compact cards that scale to many ───── */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: transform 300ms cubic-bezier(.2, .8, .2, 1), box-shadow 300ms ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-accent, var(--blue)) 60%, var(--line)); }
.app-top { position: relative; display: grid; place-items: center; height: 168px; background: var(--c-bg); overflow: hidden; }
.app-top .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.app-top .icon--mono { display: grid; place-items: center; background: #2B3138; }
.app-top .icon--mono svg { width: 70%; }
.app-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.app-name { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.app-kind { font-size: 13px; color: var(--muted); }
.app-line { font-size: 15px; color: var(--muted); line-height: 1.5; }
/* Status above, link below: side by side they get cut on narrow cards. */
.app-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 12px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent, var(--blue)); }
.app-go { font-weight: 700; font-size: 14px; color: var(--c-accent-text, var(--blue)); }
.app-go::after { content: " →"; }
.c-uf { --c-bg: radial-gradient(80% 120% at 80% 0%, rgba(110, 134, 255, .35), transparent 60%), #0B0B0C; --c-accent: #6E86FF; --c-accent-text: var(--blue); }
.c-unplug { --c-bg: radial-gradient(80% 120% at 80% 0%, rgba(242, 181, 68, .25), transparent 60%), #20252B; --c-accent: #F2B544; --c-accent-text: #B07A12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-unplug { --c-accent-text: #F2B544; } }
:root[data-theme="dark"] .c-unplug { --c-accent-text: #F2B544; }
.app-card--next { justify-content: center; align-items: flex-start; gap: 12px; padding: 30px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); border: 0; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.app-card--next:hover { outline-color: var(--blue); box-shadow: none; }
.app-card--next .plus { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--pale); color: var(--blue); font-size: 30px; font-weight: 400; line-height: 1; }
.app-card--next .app-name { font-size: 22px; }

/* ───── Capabilities ───── */
.capabilities { background: var(--bg-2); border-block: 1px solid var(--line); }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.cap > svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 8px; }
.cap h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.cap p { color: var(--muted); font-size: 15.5px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted); }
.proof-label { flex-basis: 100%; margin-bottom: 2px; font-weight: 600; }
.proof a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.proof a:hover { border-color: var(--blue); }
.proof img, .proof .mini { width: 20px; height: 20px; border-radius: 6px; }
.proof .mini { display: grid; place-items: center; background: #20252B; }
/* ───── How we work: a dark band with weight, five steps on one line ───── */
.how { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 100% 0%, rgba(91, 135, 255, .28), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(91, 135, 255, .14), transparent 60%), #0B0D10; color: #F1F3F6; border-top: 0 !important; }
.how .eyebrow { color: #8FB0FF; }
.how .section-head h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1; letter-spacing: -.045em; max-width: 18ch; }
.how .section-head h2 em { font-style: normal; color: #8FB0FF; }
.how .section-head p { color: #B5BECB; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; }
/* The line that ties the steps together, behind the numbers */
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: linear-gradient(90deg, #5B87FF, rgba(91, 135, 255, .15)); }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #5B87FF; box-shadow: 0 0 0 5px rgba(91, 135, 255, .2); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 0 6px; }
.steps .num { font: 700 clamp(56px, 6vw, 84px)/1 var(--body); letter-spacing: -.05em; background-image: linear-gradient(180deg, #FFFFFF 10%, #5B87FF 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps li > svg { width: 32px; height: 32px; color: #8FB0FF; margin-top: 8px; }
.steps h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #FFFFFF; }
.steps p { font-size: 15.5px; color: #B5BECB; }
.steps .get { margin-top: auto; align-self: flex-start; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #FFFFFF; background: rgba(91, 135, 255, .18); box-shadow: inset 0 0 0 1px rgba(143, 176, 255, .35); }

/* ───── Contact: available for your business ───── */
.contact { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(32px, 6vw, 80px); background: radial-gradient(80% 120% at 100% 0%, rgba(91, 135, 255, .35), transparent 60%), #0B0D10; color: #F1F3F6; }
.contact .eyebrow { color: #8FB0FF; margin-bottom: 18px; }
.contact h2 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1; font-weight: 700; letter-spacing: -.045em; max-width: 14ch; }
.contact h2 em { font-style: normal; color: #8FB0FF; }
.contact .lead { margin-top: 20px; max-width: 56ch; font-size: clamp(17px, 2vw, 20px); color: #B5BECB; }
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.path { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; transition: border-color 200ms ease, background-color 200ms ease; }
.path:hover { border-color: #8FB0FF; background: rgba(255, 255, 255, .08); }
.path .domain { font: 700 13px/1 var(--mono); color: #8FB0FF; }
.path h3 { font-size: 19px; letter-spacing: -.01em; }
.path p { font-size: 15px; color: #B5BECB; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 40px; }
.contact .btn--primary { background: #FFFFFF; color: #0B0D10; font-size: 16px; min-height: 54px; padding: 14px 26px; }
.contact .note { font-size: 14.5px; color: #8D97A6; max-width: 46ch; }

/* ───── Footer ───── */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot a { text-decoration: none; }
.powered .d4u { color: var(--ink); font-size: 15px; }

/* ───── Reveal on scroll (js/store.js adds .in); without JS everything is visible ───── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───── Smaller screens ───── */
@media (max-width: 1000px) {
  /* Narrow screens: the menu becomes a row under the logo that scrolls sideways */
  html { scroll-padding-top: 116px; }
  .top-in { flex-wrap: wrap; row-gap: 0; }
  .top .nav { order: 3; flex: 1 0 100%; margin: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; white-space: nowrap; }
  .top .nav::-webkit-scrollbar { display: none; }
  .tools { margin-left: auto; }
  /* The main call to action goes first in the sideways menu, as a button, so it is always on screen;
     the menu fades at the edge to show there is more */
  .top .nav { align-items: center; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .top .nav .nav-cta { order: -1; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--blue); color: #FFFFFF; }
  .hero { height: auto; min-height: calc(100svh - 65px); }
  .slides { height: auto; }
  .slide-in { grid-template-columns: 1fr; height: auto; padding: 44px 0 110px; }
  .s-art { min-height: 440px; height: 440px; }
  .dd-tablet { right: 4%; top: 30px; --tw: 82%; }
  .dd-p1 { top: 170px; } .dd-p2 { top: 210px; left: 30%; }
  .w-7, .w-5 { grid-column: span 12; }
  .caps { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps::before, .steps li::before { display: none; }
  .steps li { padding-top: 0; }
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .band { padding: 72px 0; }
  .s-art { min-height: 340px; height: 340px; }
  .tab { padding: 7px; } .tab .t-name { display: none; } .tab img { width: 34px; height: 34px; }
  .hero-all { display: none; }
  .dd-tablet { --tw: 92%; right: 2%; top: 24px; }
  .phone { --pw: 124px; }
  .dd-p1 { --pw: 96px; left: 4%; top: 150px; } .dd-p2 { --pw: 96px; left: 34%; top: 176px; }
    .p-left { left: 3%; top: 50px; } .p-mid { left: 32%; top: 16px; } .p-right { left: 61%; top: 56px; }
  .caps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dict .cmdline { font-size: 20px; }
  .section { padding: 72px 0; }
  .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work, .phone, .tablet, .btn, .w-unplug .plug-g, .made a, .qr-card { transition: none; }
  .work:hover, .btn:hover { transform: none; }
}

/* 404 page (404.html, es/404.html) */
.top-in > .brand + .tools { margin-left: auto; }
.notfound { min-height: calc(100vh - 160px); min-height: calc(100svh - 160px); display: grid; align-items: center; padding-block: 64px; }
.notfound h1 { margin-top: 16px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; max-width: 16ch; }
.notfound .lead { margin-top: 16px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
