:root {
  --ink: #0f1115;
  --ink-2: #3b4150;
  --muted: #6b7280;
  --line: #e7e8ec;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --accent: #ff5b2e;
  --radius: 14px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Thai", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
main { min-height: 60vh; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 15px; }
.logo-mark { width: 26px; height: 26px; color: var(--ink); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--bg-2); }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s; }
.btn:hover { border-color: #cfd2d9; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #262a33; border-color: #262a33; }
.btn.is-soon { background: var(--bg-2); border-color: var(--line); color: var(--ink-2); cursor: default; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.chip-chrome { background: #eaf2ff; color: #1d4fd7; }
.chip-shopify { background: #ebf5e4; color: #3b6b21; }
.chip-workspace { background: #fdf1e3; color: #a2540b; }
.chip-atlassian { background: #efeafd; color: #5b3cc4; }
.chip-woocommerce { background: #f7e9f5; color: #8a2f7d; }

/* hero */
.hero { padding: 96px 0 72px; background: radial-gradient(1200px 400px at 80% -10%, #fff1ec 0%, transparent 60%), radial-gradient(900px 400px at 0% 0%, #f1f4ff 0%, transparent 60%); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; margin: 20px 0 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.block { margin: 64px auto; }
.block h2 { font-size: 26px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.block-head a { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.block-head a:hover { color: var(--ink); }

.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.platform { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.platform:hover { border-color: #cfd2d9; transform: translateY(-1px); }
.platform strong { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; }
.platform span:last-child { color: var(--muted); font-size: 14px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #d5d8de; box-shadow: 0 8px 24px rgba(15,17,21,.06); transform: translateY(-1px); }
.card[hidden] { display: none; }
.card-text { min-width: 0; flex: 1; padding-bottom: 28px; }
.card h3 { font-size: 16px; font-weight: 700; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .chip { position: absolute; left: 92px; bottom: 18px; }
.picon { border-radius: 14px; flex: none; object-fit: contain; }
.picon-fallback { display: inline-grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: 22px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values > div { padding: 28px; background: var(--bg-2); border-radius: var(--radius); }
.values h3 { font-size: 18px; }
.values p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* catalogue */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 24px; }
.filter { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.filter span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter[aria-pressed="true"] span { color: #b8bcc6; }
#catalog { margin-bottom: 80px; }

/* product */
.crumbs { display: flex; gap: 8px; padding-top: 28px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.phero { display: flex; gap: 28px; align-items: flex-start; padding: 32px 0 40px; }
.phero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; }
.phero .lead { margin-top: 12px; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-bottom: 48px; }
.shots img { width: min(720px, 86%); flex: none; border-radius: 12px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--bg-2); }
.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-bottom: 96px; }
.pside { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.side-card h3 { font-size: 16px; }
.side-card p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.side-card .muted { color: var(--muted); font-size: 13px; }
.side-links { display: flex; flex-direction: column; padding: 0 4px; }
.side-links a { padding: 8px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover { color: var(--ink); }

/* prose */
.prose { font-size: 16px; color: var(--ink-2); max-width: 720px; }
.prose h1 { font-size: 36px; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 40px 0 8px; }
.prose h3 { font-size: 17px; color: var(--ink); margin: 32px 0 6px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: #b0b5bf; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: #c5c9d1; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code { font-size: .9em; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.prose small { color: var(--muted); font-size: 13px; }
.legal { padding: 56px 0 96px; }

/* pricing */
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 8px; }
.price-notes > div { padding: 24px; background: var(--bg-2); border-radius: var(--radius); }
.price-notes h3 { font-size: 16px; }
.price-notes p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.price-notes a { color: var(--ink); }
.table-wrap { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 20px; background: var(--bg-2); }
.ptable td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.ptable td:first-child { width: 36%; }
.ptable td:first-child a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.ptable .picon { border-radius: 8px; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 48px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s; }
.contact-card:hover { border-color: #cfd2d9; }
.contact-card h3 { font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-card p { margin: 8px 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.contact-card span { color: var(--muted); font-size: 14px; }
.contact + .prose { margin-bottom: 96px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; margin-top: 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; }
.foot-cols a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
  .grid, .values, .price-notes { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .pbody { grid-template-columns: 1fr; gap: 32px; }
  .pside { position: static; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .grid, .values, .price-notes, .contact { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 48px; }
  .phero { flex-direction: column; gap: 16px; }
  .nav a { padding: 8px 10px; }
  .ptable td:first-child { width: 44%; }
}
.plans { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.plans p { margin: 0 0 6px; }
.plans ul { margin: 0; padding-left: 18px; }
.plans li { margin: 4px 0; }
.plans li::marker { color: #b0b5bf; }
.prose .q { margin-top: 20px; margin-bottom: 2px; }

/* ================= v3: light liquid glass ================= */
:root {
  --glass: rgba(255,255,255,.55);
  --glass-strong: rgba(255,255,255,.72);
  --glass-edge: rgba(255,255,255,.85);
  --spec: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35), inset 1px 0 0 rgba(255,255,255,.5);
  --lift: 0 1px 2px rgba(20,24,40,.04), 0 12px 32px -14px rgba(20,24,40,.18);
  --grad: linear-gradient(100deg,#ff5b2e 0%,#ff8a3d 25%,#c04dff 60%,#4d7cff 100%);
}
body { background: #f7f8fc; }
.top { background: rgba(255,255,255,.6); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(20,24,40,.06); }
.home .top { position: fixed; inset: 0 0 auto 0; background: rgba(255,255,255,.35); border-bottom-color: transparent; transition: background .3s, border-color .3s; }
.home.scrolled .top { background: rgba(255,255,255,.72); border-bottom-color: rgba(20,24,40,.06); }

/* liquid glass primitive */
.glass, .btn-glass, .dock, .platform, .card, .value, .mq, .filter, .side-card, .contact-card, .table-wrap, .price-notes > div {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--spec), var(--lift);
}

/* buttons */
.btn { gap: 8px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s; }
.btn-primary { border: 0; color: #fff; background: linear-gradient(135deg,#ff6a3a,#ff3d6e); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 26px -10px rgba(255,74,80,.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 34px -12px rgba(255,74,80,.75); background: linear-gradient(135deg,#ff6a3a,#ff3d6e); }
.btn-primary svg { transition: transform .25s; } .btn-primary:hover svg { transform: translateX(3px); }
.btn-glass { color: var(--ink); } .btn-glass:hover { transform: translateY(-2px); background: var(--glass-strong); }

/* hero: Stripe-style flowing gradient band + fading grid */
.hero { position: relative; overflow: hidden; padding: 150px 0 0; background: none; border: 0; text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.mesh { position: absolute; left: -10%; right: -10%; top: -38%; height: 92%; transform: skewY(-9deg); transform-origin: 0 0;
  background: linear-gradient(115deg, #ffd9c7, #ff9b73, #ff6fa3, #c38bff, #7fa8ff, #7fe0d6, #ffd9c7);
  background-size: 300% 300%; animation: meshflow 18s ease-in-out infinite alternate; opacity: .9; }
.mesh::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,248,252,0) 55%, #f7f8fc 100%); }
@keyframes meshflow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(20,24,40,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,24,40,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 75%); }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 56px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--spec), var(--lift); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.045em; color: var(--ink); }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.hero .lead { margin-inline: auto; color: var(--ink-2); }
.hero-cta { justify-content: center; }
.hero-in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > :nth-child(2) { animation-delay: .06s; } .hero-in > :nth-child(3) { animation-delay: .12s; } .hero-in > :nth-child(4) { animation-delay: .18s; } .hero-in > :nth-child(5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* liquid glass dock */
.dock { margin-top: 56px; display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; border-radius: 30px; background: rgba(255,255,255,.42); }
.dock-item { position: relative; display: block; width: 64px; height: 64px; border-radius: 18px; transition: transform .3s cubic-bezier(.2,.7,.2,1), margin .3s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 100%; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.dock-item img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 18px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.dock-item:hover { transform: scale(1.32) translateY(-6px); margin: 0 10px; animation-play-state: paused; }
.dock-item:hover + .dock-item, .dock-item:has(+ .dock-item:hover) { transform: scale(1.14) translateY(-3px); margin: 0 4px; }
.dock-tip { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px) scale(.76); white-space: nowrap; padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.85); box-shadow: var(--lift); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.dock-item:hover .dock-tip { opacity: 1; transform: translate(-50%, 0) scale(.76); }
@keyframes bob { 50% { translate: 0 -5px; } }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 6px 0 22px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 100s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; color: var(--ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.mq img { border-radius: 7px; }

/* platform tiles */
.band { padding: 40px 0 8px; }
.platform { position: relative; overflow: hidden; gap: 4px; padding: 22px; border-radius: 22px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.platform::after, .card::after, .value::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; transition: background-position .9s cubic-bezier(.2,.7,.2,1); }
.platform:hover::after, .card:hover::after, .value:hover::after { background-position: -30% 0; }
.platform:hover { transform: translateY(-6px); box-shadow: var(--spec), 0 26px 40px -20px color-mix(in srgb, var(--pb) 55%, transparent); }
.platform .art { margin-bottom: 10px; transition: transform .45s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--pb) 40%, transparent)); }
.platform:hover .art { transform: rotate(-6deg) scale(1.07); }
.platform strong { margin-top: 0; font-size: 36px; background: linear-gradient(120deg, var(--pa), var(--pb)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* section heads */
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.block-head { align-items: flex-end; margin-bottom: 24px; }
.link-arrow::after { content: " \2192"; }

/* cards */
.card { border-radius: 22px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--spec), 0 28px 44px -22px color-mix(in srgb, var(--c, #ff5b2e) 50%, rgba(20,24,40,.35)); }
.card-icon { position: relative; flex: none; border-radius: 16px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.card-icon img { border-radius: 14px; box-shadow: 0 10px 18px -10px color-mix(in srgb, var(--c, #ff5b2e) 70%, transparent); }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); }
.card .chip { left: 88px; }
.card-go { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); box-shadow: var(--lift); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .3s; }
.card:hover .card-go { opacity: 1; transform: none; }

/* values */
.value { position: relative; overflow: hidden; padding: 30px; border-radius: 24px; }
.value .art { margin-bottom: 18px; }
.value h3 { font-size: 19px; } .value p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* cta: same flowing band, light */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; border-radius: 30px; background: linear-gradient(115deg, #ffd9c7, #ff9b73, #ff6fa3, #c38bff, #7fa8ff, #7fe0d6); background-size: 300% 300%; animation: meshflow 14s ease-in-out infinite alternate; }
.cta > * { position: relative; }
.cta > div { padding: 22px 26px; border-radius: 22px; background: rgba(255,255,255,.55); border: 1px solid var(--glass-edge); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--spec); }
.cta p { margin: 8px 0 0; color: var(--ink-2); }

/* inner pages */
.filter { border-radius: 999px; transition: transform .2s; } .filter:hover { transform: translateY(-1px); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--lift); }
.phero .picon { border-radius: 22px; box-shadow: 0 18px 36px -14px rgba(20,24,40,.3); }
.shots img { box-shadow: 0 24px 50px -24px rgba(20,24,40,.3); }
.foot { background: rgba(255,255,255,.6); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .hero { padding-top: 110px; }
  .dock { gap: 6px; padding: 10px; border-radius: 24px; max-width: 100%; overflow-x: auto; }
  .dock-item, .dock-item img { width: 46px; height: 46px; border-radius: 13px; flex: none; }
  .dock-item:hover { transform: none; margin: 0; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: stretch; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* platform tiles: clean, monochrome */
.platform { background: #fff; border: 1px solid rgba(20,24,40,.08); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 2px rgba(20,24,40,.04); border-radius: 18px; padding: 20px; gap: 2px; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s; }
.platform::after { display: none; }
.platform:hover { transform: translateY(-3px); border-color: rgba(20,24,40,.18); box-shadow: 0 10px 24px -14px rgba(20,24,40,.25); }
.pf-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f2f3f7; color: var(--ink); margin-bottom: 14px; transition: background .25s, color .25s; }
.platform:hover .pf-ico { background: var(--ink); color: #fff; }
.platform strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.pf-label { color: var(--muted); font-size: 14px; line-height: 1.35; }
.pf-go { position: absolute; top: 18px; right: 18px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.platform:hover .pf-go { opacity: 1; transform: none; }

/* platform line illustrations */
.ill { display: block; width: 100%; height: auto; max-height: 96px; margin: 2px 0 16px; fill: none; stroke: #1d2230; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .fill { fill: color-mix(in srgb, var(--a) 22%, #fff); }
.ill .soft { fill: color-mix(in srgb, var(--a) 14%, #fff); stroke: none; }
.ill .mv { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.platform:hover .ill .mv { transform: translateY(-4px); }
.platform { padding: 18px 18px 20px; }
.platform { align-items: center; text-align: center; }
.platform .ill { margin-inline: auto; }
.ill-img { display: block; width: auto; height: 104px; max-width: 100%; object-fit: contain; margin: 0 auto 14px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.platform:hover .ill-img { transform: translateY(-4px) scale(1.04); }

/* ---------- art direction: navy line art + pastel accents (matches /assets/ill) ---------- */
:root { --ink-line: #1d2230; }
.ill-sm { height: 96px; margin: 0 0 14px; }
.value { text-align: left; }
.value:hover .ill-img { transform: translateY(-4px) rotate(-2deg); }
.page-head.has-ill { position: relative; padding-right: 220px; min-height: 230px; }
.head-ill { position: absolute; right: 0; top: 36px; width: 190px; height: auto; animation: bob 6s ease-in-out infinite; }
.head-ill + .prose, .head-ill + article { margin-top: 0; }
article.legal { position: relative; }
main > .head-ill { position: relative; display: block; float: right; width: 150px; margin: 48px 0 0 24px; top: 0; }

/* buttons echo the ink outline */
.btn-glass { border: 1.5px solid var(--ink-line); background: #fff; }
.btn-primary { background: var(--ink-line); box-shadow: 0 2px 0 #000, 0 12px 24px -12px rgba(29,34,48,.6); }
.btn-primary:hover { background: #2a3042; box-shadow: 0 2px 0 #000, 0 16px 30px -12px rgba(29,34,48,.65); }

/* cards and tiles: crisp ink hairline like the drawings */
.platform, .card, .value, .side-card, .contact-card, .table-wrap, .price-notes > div { border: 1.5px solid rgba(29,34,48,.12); }
.platform:hover, .card:hover, .value:hover { border-color: var(--ink-line); }
.dock { border: 1.5px solid rgba(29,34,48,.12); }

/* hero: softer pastel band to match the illustration fills */
.mesh { background: linear-gradient(115deg, #fde4d8, #ffd0dc, #e6dcff, #d6e4ff, #d5f5ec, #fff1c9, #fde4d8); background-size: 300% 300%; opacity: 1; }
.cta { background: linear-gradient(115deg, #fde4d8, #ffd0dc, #e6dcff, #d6e4ff, #d5f5ec, #fff1c9); background-size: 300% 300%; border: 1.5px solid rgba(29,34,48,.12); }
.grad { background: linear-gradient(100deg, #5b8cff, #8b5cf6 35%, #ec4899 65%, #f5a524); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; }
.kicker { background: none; color: #8b5cf6; -webkit-background-clip: border-box; background-clip: border-box; }

/* accent sparkle marks next to section titles, same as the drawings */
.block-head h2::after { content: ""; display: inline-block; width: 22px; height: 18px; margin-left: 8px; vertical-align: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cg stroke='%238b5cf6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 16 6 9M10 14l6-7M13 17h7'/%3E%3C/g%3E%3C/svg%3E"); }

@media (max-width: 760px) {
  .page-head.has-ill { padding-right: 0; min-height: 0; }
  .head-ill { position: static; display: block; width: 130px; margin: 0 0 12px; }
  main > .head-ill { float: none; margin: 32px 0 0; }
}
.contact { grid-template-columns: 1fr; max-width: 560px; }
.platforms { grid-template-columns: repeat(var(--n, 5), minmax(0, 260px)); justify-content: center; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .platforms, .grid-2 { grid-template-columns: 1fr; } }
