/* Unleash26 brand site — https://unleash26.com/ */

:root {
    --bg: #05070b;
    --bg-raise: #0d1016;
    --ink: #f2f4f7;
    --ink-2: #c3c8d1;
    --muted: #868c97;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.18);
    --accent: #38d8ff;
    --radius: 20px;
    --radius-sm: 12px;
    --wrap: 1320px;
    --gutter: clamp(18px, 4vw, 48px);
    --header: 68px;
    --rail-pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    --font: "Inter Tight", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }

body.u26 {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "palt" 1;
    overflow-x: hidden;
}

.u26 h1, .u26 h2, .u26 h3, .app-tagline, .panel-line, .hero-line, .guide-title, .point-text, .page-lede {
    word-break: auto-phrase;
    text-wrap: pretty;
}

.u26 img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.u26 h1, .u26 h2, .u26 h3, .u26 p, .u26 dl, .u26 dd, .u26 ol, .u26 ul, .u26 figure { margin: 0; }
.u26 ol, .u26 ul { padding: 0; list-style: none; }
.u26 button { font: inherit; color: inherit; }
.u26 :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.i { width: 1.05em; height: 1.05em; flex: none; }
.i-fill { fill: currentColor; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- Background field ---------- */

.field { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; background: var(--bg); }
.field-veil {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(110% 80% at 50% 45%, transparent 0%, transparent 45%, rgba(5, 7, 11, 0.5) 80%, rgba(5, 7, 11, 0.8) 100%);
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: var(--header);
    background: rgba(5, 7, 11, 0.7);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s, border-color 0.4s;
}
.is-home .site-header:not(.is-solid) {
    background: linear-gradient(180deg, rgba(3, 5, 9, 0.7), rgba(3, 5, 9, 0));
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    width: min(100% - var(--gutter) * 2, var(--wrap));
    margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { width: auto; height: 24px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color 0.2s; }
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- Shared pieces ---------- */

.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translate(2px, -2px); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: #fff; }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-glow {
    height: 56px;
    padding: 0 30px;
    background: var(--glow, var(--accent));
    color: #02131b;
    font-size: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 12px 44px -10px var(--glow, var(--accent));
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 16px 56px -8px var(--glow, var(--accent)); }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; line-height: 1; }
.badge-new { background: #ff3b52; color: #fff; box-shadow: 0 6px 18px -6px #ff3b52; }
.badge-dev { background: var(--glow, var(--accent)); color: #02131b; }

.app-icon { border-radius: 23%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 22px rgba(0, 0, 0, 0.45); }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--glow, var(--accent)); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--glow, var(--accent)); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hud { position: absolute; z-index: 3; width: 22px; height: 22px; border: 0 solid var(--glow, var(--accent)); opacity: 0.9; pointer-events: none; }
.hud-tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud-tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.hud-bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud-br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

main { padding-top: var(--header); }
main.home { padding-top: 0; }

.section { padding-block: clamp(72px, 9vw, 130px) 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 24px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head .kicker { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.section-note { grid-column: 1 / -1; max-width: 42em; color: var(--ink-2); font-size: 15px; }
.section-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); transition: border-color 0.2s; }
.section-link:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    height: clamp(640px, 100svh, 980px);
    overflow: hidden;
    isolation: isolate;
    background: #03060b;
    --glow: #38d8ff;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-art {
    position: absolute;
    inset: -3%;
    width: 106%;
    max-width: none;
    height: 106%;
    object-fit: cover;
    object-position: 50% 62%;
    transform: translate3d(var(--px, 0px), calc(var(--parallax, 0px) + var(--py, 0px)), 0);
    transition: transform 1.2s var(--ease);
    animation: hero-in 1.8s var(--ease) both;
}
@keyframes hero-in { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 6, 11, 0.82) 0%, rgba(3, 6, 11, 0.45) 26%, rgba(3, 6, 11, 0) 48%, rgba(3, 6, 11, 0) 78%, var(--bg) 100%),
        radial-gradient(70% 50% at 50% 30%, rgba(3, 6, 11, 0.45), transparent 70%);
}
.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: calc(var(--header) + clamp(18px, 4.5vh, 56px)) var(--gutter) 0;
    text-align: center;
}
.hero-title .wordmark { width: clamp(300px, 46vw, 660px); filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.65)); animation: rise 1.2s var(--ease) 0.2s both; }
.hero-status {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #e3f4ff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
    animation: rise 1.2s var(--ease) 0.35s both;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; animation: rise 1.2s var(--ease) 0.55s both; }
.hero-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(227, 244, 255, 0.85); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.hero-more:hover { color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hud-label { position: absolute; z-index: 3; left: 44px; bottom: 30px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--glow, var(--accent)); }
.hud-label::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- Device mockups ---------- */

.device {
    --w: 200px;
    --ratio: 2.1667;
    --r: calc(var(--w) * 0.16);
    --rx: 12deg;
    --ry: 30deg;
    --rz: -5deg;
    --frame-a: #eef0f4;
    --frame-b: #8a8f98;
    --frame-c: #2a2c31;
    --depth: calc(var(--w) * 0.0095);
    position: relative;
    width: var(--w);
    height: calc(var(--w) * var(--ratio));
    margin: 0;
    perspective: 1700px;
    flex: none;
}
.device-galaxy {
    --ratio: 2.222;
    --r: calc(var(--w) * 0.1);
    --frame-a: #b5bac3;
    --frame-b: #4a4f57;
    --frame-c: #17191d;
}
.device-tilt {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
    transition: transform 0.8s var(--ease);
}
.device-layer {
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    background: linear-gradient(90deg, var(--frame-c) 0%, var(--frame-b) 14%, var(--frame-a) 22%, var(--frame-c) 52%, var(--frame-b) 82%, var(--frame-c) 100%);
    transform: translateZ(calc(var(--z) * var(--depth) * -1));
}
.device-btn {
    position: absolute;
    width: calc(var(--w) * 0.03);
    border-radius: 3px;
    background: linear-gradient(90deg, var(--frame-c), var(--frame-a) 60%, var(--frame-b));
    transform: translateZ(calc(var(--depth) * -6));
}
.device-iphone .device-btn-1 { left: calc(var(--w) * -0.016); top: 16%; height: 4.2%; }
.device-iphone .device-btn-2 { left: calc(var(--w) * -0.016); top: 23%; height: 8.5%; }
.device-iphone .device-btn-3 { right: calc(var(--w) * -0.016); top: 27%; height: 12%; }
.device-galaxy .device-btn-1 { right: calc(var(--w) * -0.016); top: 20%; height: 12%; }
.device-galaxy .device-btn-2 { right: calc(var(--w) * -0.016); top: 35%; height: 6%; }
.device-galaxy .device-btn-3 { display: none; }
.device-face {
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    padding: calc(var(--w) * 0.017);
    background: linear-gradient(130deg, var(--frame-a) 0%, var(--frame-b) 18%, var(--frame-c) 42%, var(--frame-b) 70%, var(--frame-a) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    transform: translateZ(0.5px);
}
.device-bezel { width: 100%; height: 100%; border-radius: calc(var(--r) - var(--w) * 0.017); background: #020203; padding: calc(var(--w) * 0.028); }
.device-galaxy .device-bezel { padding: calc(var(--w) * 0.02); }
.device-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--r) - var(--w) * 0.045); background: #000; }
.device-galaxy .device-screen { border-radius: calc(var(--r) - var(--w) * 0.037); }
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device-iphone .device-camera { position: absolute; top: calc(var(--w) * 0.028); left: 50%; width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.086); transform: translateX(-50%); border-radius: 999px; background: #000; }
.device-galaxy .device-camera { position: absolute; top: calc(var(--w) * 0.032); left: 50%; width: calc(var(--w) * 0.048); height: calc(var(--w) * 0.048); transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 38% 38%, #2a3346 0%, #05070a 55%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.device-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 26%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.06) 100%);
}
.device-shadow {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -5%;
    height: 7%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    filter: blur(6px);
    transform: translateX(calc(var(--w) * -0.12));
    transition: transform 0.8s var(--ease);
}

/* ---------- App rail and panels ---------- */

.apps-rail { position: relative; padding-top: clamp(56px, 7vw, 96px); }
.rail-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.rail-head h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.rail-count { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); padding-bottom: 4px; }
.rail-head .section-link { margin-left: auto; margin-bottom: 4px; }
.rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rail-pad);
    user-select: none;
    -webkit-user-select: none;
    padding: 72px var(--rail-pad) 48px;
    scrollbar-width: none;
    cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail .panel { cursor: grab; -webkit-user-drag: none; }
.rail img { -webkit-user-drag: none; pointer-events: none; }
.rail.is-dragging .panel { pointer-events: none; }

.panel {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: clamp(228px, 18.6vw, 262px);
    scroll-snap-align: start;
    border-radius: var(--radius);
    background: #08090c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
    transition: box-shadow 0.4s var(--ease);
}
.panel:hover, .panel:focus-visible { box-shadow: inset 0 0 0 1.5px var(--glow), 0 0 44px -8px color-mix(in srgb, var(--glow) 70%, transparent); }
.panel-badges { position: absolute; top: -12px; right: 14px; z-index: 4; }
.panel-stage { position: relative; z-index: 1; height: clamp(250px, 21vw, 290px); display: flex; justify-content: center; }
.device-panel { --w: clamp(124px, 10.4vw, 146px); margin-top: -52px; }
.panel-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius) var(--radius) 0 0; }
.panel-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 0 18px 20px; margin-top: -30px; }
.panel-icon { width: 56px; height: 56px; margin-bottom: 4px; }
.panel-wordmark { position: absolute; left: 50%; top: 18px; width: min(52%, 280px); height: auto; transform: translateX(-50%); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.7)); }
.panel-name { font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.panel-line { min-height: 3.2em; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.panel-meta { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--muted); }
.panel.is-hidden { display: none; }

.panel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 72px 16px; padding-top: 56px; }
.panel-grid .panel { width: auto; }
.panel-grid .panel-dev { grid-column: span 2; }
.panel-dev .panel-body { margin-top: 0; padding-top: 18px; }
.panel-dev .panel-stage { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.panel-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Guides frame ---------- */

.frame {
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    border-radius: 6px;
    background: rgba(6, 9, 14, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.frame .hud-tl, .frame .hud-tr { top: -1px; }
.frame .hud-bl, .frame .hud-br { bottom: -1px; }
.frame .hud-tl, .frame .hud-bl { left: -1px; }
.frame .hud-tr, .frame .hud-br { right: -1px; }
.frame-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.frame-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -0.02em; }
.frame-head .section-note { max-width: none; }

.guides { border-top: 1px solid var(--line-2); }
.guide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 8px;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s, padding 0.3s var(--ease);
}
.guide::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--glow); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s var(--ease); }
.guide:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--glow) 10%, transparent), transparent 70%); padding-left: 18px; }
.guide:hover::before { transform: scaleY(1); }
.guide-title { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; line-height: 1.5; }
.guide-go { color: var(--muted); transition: color 0.25s, transform 0.25s var(--ease); }
.guide:hover .guide-go { color: var(--glow); transform: translate(2px, -2px); }

.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 28px; }
.sites a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: border-color 0.25s, background 0.25s; }
.sites img { border-radius: 7px; }
.sites strong { display: block; font-size: 14px; line-height: 1.4; }
.sites small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.4; }
.sites .i { color: var(--muted); }
.sites a:hover { border-color: color-mix(in srgb, var(--glow) 60%, transparent); background: color-mix(in srgb, var(--glow) 8%, transparent); }

/* ---------- Home info ---------- */

.home-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
    padding: clamp(24px, 4vw, 48px);
    border-block: 1px solid var(--line-2);
    background: rgba(8, 10, 14, 0.96);
}
.home-info-grid .section-head { margin-bottom: 0; }
.home-info-body { display: flex; flex-direction: column; gap: 28px; min-width: 0; font-size: clamp(16px, 1.3vw, 17px); color: var(--ink-2); }
.home-info-body > p { line-height: 1.95; }
.home-info .kicker, .home-info .link-row-code { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); font-size: 15px; }
.facts div { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { color: var(--ink); font-weight: 600; }
.facts a { border-bottom: 1px solid var(--line-2); }

/* ---------- Footer ---------- */

.site-footer { margin-top: clamp(96px, 12vw, 160px); padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(5, 7, 11, 0.86); backdrop-filter: blur(10px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px !important; }
.footer-col ul { display: grid; gap: 8px; font-size: 14px; }
.footer-col-apps ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col .i { width: 0.9em; height: 0.9em; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Inner pages ---------- */

.crumbs { padding-top: 28px; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); }
.page-head { display: grid; gap: 14px; padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(42px, 7vw, 96px); font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.page-lede { max-width: 40em; font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-2); }
.page-narrow .wrap { max-width: 920px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 0; border: 1px solid var(--line-2); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); background: rgba(5, 7, 11, 0.6); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); color: #02131b; border-color: var(--accent); }
.chip[aria-pressed="true"] span { color: rgba(2, 19, 27, 0.65); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(8, 10, 14, 0.84); backdrop-filter: blur(10px); }
.apps-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.apps-table th, .apps-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.apps-table thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.apps-table tbody tr:last-child > * { border-bottom: 0; }
.apps-table tbody tr { transition: background 0.2s; }
.apps-table tbody tr:hover { background: color-mix(in srgb, var(--glow) 8%, transparent); }
.apps-table th[scope="row"] a { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.apps-table th[scope="row"] img { border-radius: 8px; }
.apps-table td a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.apps-table td a:hover { color: var(--ink); }
.table-dot { width: 32px; height: 32px; border-radius: 8px; background: radial-gradient(circle, var(--glow), var(--tint)); }
.muted { color: var(--muted); }

.page-app { --readable-accent: color-mix(in srgb, var(--glow) 70%, #fff); }
.page-app .kicker, .page-app .section-link { color: var(--readable-accent); }
.page-app .section-head { position: relative; isolation: isolate; }
.page-app .section-head::before { content: ""; position: absolute; inset: -12px -16px; z-index: -1; border-radius: var(--radius-sm); background: rgba(8, 10, 14, 0.94); pointer-events: none; }
.page-app .guides { padding-inline: 16px; border-bottom: 1px solid var(--line-2); background: rgba(8, 10, 14, 0.96); }
.page-app .guides li:last-child .guide { border-bottom: 0; }
.page-app .guide-go { color: var(--ink-2); }
.app-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; padding-top: clamp(24px, 3vw, 44px); }
.app-hero-copy { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.app-hero-copy::before { content: ""; position: absolute; inset: -24px; z-index: -1; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8, 10, 14, 0.96); pointer-events: none; }
.app-id { display: flex; align-items: center; gap: 20px; }
.app-id > div { min-width: 0; }
.app-icon-lg { width: 88px; height: 88px; }
.app-id .kicker { gap: 12px; }
.app-id h1 { font-size: clamp(40px, 5.4vw, 74px); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.app-wordmark { width: clamp(220px, 30vw, 400px); height: auto; }
.app-tagline { font-size: clamp(20px, 2.1vw, 27px); font-weight: 800; line-height: 1.45; }
.app-desc { color: var(--ink-2); max-width: 36em; }
.app-feature-list { display: grid; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.7; }
.app-feature-list li { display: grid; grid-template-columns: 6px minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
.app-feature-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--readable-accent); transform: translateY(-2px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--ink); color: var(--bg); transition: transform 0.25s var(--ease), background 0.25s; }
.store .i { width: 24px; height: 24px; }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; line-height: 1.05; }
.store small { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.7; }
.store:hover { background: #fff; transform: translateY(-2px); }
.app-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.app-meta div { padding: 14px 12px 0 0; }
.app-meta dt { font-size: 12px; color: var(--ink-2); }
.app-meta dd { font-weight: 700; font-size: 15px; }

.app-hero-visual {
    position: relative;
    min-height: clamp(460px, 46vw, 640px);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: #080a0e;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 40px 120px -50px color-mix(in srgb, var(--glow) 70%, transparent);
}
.app-hero-art { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: 60% 50%; }
.stage { position: absolute; inset: 0; }
.device-hero { --w: clamp(150px, 14vw, 214px); position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 3; }
.stage-2 .device-1 { left: 40%; }
.stage-2 .device-2 { left: 66%; top: 54%; scale: 0.86; z-index: 2; --ry: 30deg; }
.stage-3 .device-2 { left: 23%; top: 53%; scale: 0.82; z-index: 1; --ry: 30deg; --rz: -6deg; }
.stage-3 .device-3 { left: 77%; top: 53%; scale: 0.82; z-index: 1; --ry: 16deg; --rz: -2deg; }
.app-hero-visual:hover .device-1 { --ry: 12deg; --rx: 5deg; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shot { overflow: hidden; border-radius: var(--radius-sm); background: #05080d; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); aspect-ratio: 1440 / 617; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.shot:hover img { transform: scale(1.04); }

.page-missing { padding: 120px 0 40px; display: grid; gap: 18px; justify-items: start; }
.page-missing h1 { font-size: clamp(28px, 4vw, 48px); }

.info { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(8, 10, 14, 0.84); backdrop-filter: blur(10px); }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-2); font-size: 15px; }
.info-table th, .info-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 32%; padding-right: 16px; font-weight: 500; color: var(--muted); }
.info-table a, .info-note a { border-bottom: 1px solid var(--line-2); }
.info-note { margin-top: 24px !important; color: var(--ink-2); font-size: 14px; }

.mail { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, transparent), rgba(8, 10, 14, 0.85) 60%); transition: border-color 0.25s; }
.mail-label { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.mail-address { font-size: clamp(24px, 4.4vw, 50px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; word-break: break-all; }
.mail-go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 0; background: var(--accent); color: #02131b; transition: transform 0.3s var(--ease); }
.mail:hover { border-color: var(--accent); }
.mail:hover .mail-go { transform: translate(3px, -3px); }
.topics { display: grid; gap: 12px; }
.topics li { padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(8, 10, 14, 0.84); }
.topics h3 { font-size: 18px; margin-bottom: 6px; }
.topics p { color: var(--ink-2); font-size: 15px; }
.facts-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-info-body .facts { grid-template-columns: 1fr; }
.home-info-body .facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; }
.home-info-body .facts dt { color: var(--ink-2); font-size: 13px; }
.home-info-body .facts dd { overflow-wrap: anywhere; }

/* ---------- Motion ---------- */

html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Plates (actions) ---------- */

.plate {
    --cut: 12px;
    --edge: linear-gradient(90deg, #19f0ff 0%, #2a6bff 38%, #8a3cff 62%, #ff2bd6 100%);
    --fill: rgba(6, 12, 20, 0.86);
    --text: var(--ink);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: stretch;
    height: 54px;
    padding: 1px;
    background: var(--edge);
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: filter 0.3s;
}
.plate::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    background: var(--fill);
    clip-path: polygon(calc(var(--cut) - 0.5px) 0, 100% 0, 100% calc(100% - var(--cut) + 0.5px), calc(100% - var(--cut) + 0.5px) 100%, 0 100%, 0 calc(var(--cut) - 0.5px));
    transition: background 0.3s;
}
.plate::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease);
    pointer-events: none;
}
.plate:hover::after, .plate:focus-visible::after { transform: translateX(120%); }
.plate-label { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px 0 24px; }
.plate-icon {
    display: grid;
    place-items: center;
    width: 50px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.plate-icon .i { transition: transform 0.3s var(--ease); }
.plate:hover .plate-icon .i { transform: translate(2px, -2px); }
.plate:hover { filter: drop-shadow(0 0 18px rgba(56, 216, 255, 0.35)); }

.plate-neon { height: 58px; font-size: 16px; }
.plate-neon::before { background: linear-gradient(90deg, rgba(6, 22, 34, 0.9), rgba(16, 10, 34, 0.9)); }
.plate-neon:hover::before { background: linear-gradient(90deg, rgba(10, 40, 58, 0.92), rgba(34, 14, 58, 0.92)); }

.plate-solid { --edge: var(--ink); --fill: var(--ink); --text: var(--bg); }
.plate-solid .plate-icon { border-left-color: rgba(5, 7, 11, 0.18); }
.plate-solid:hover { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.25)); }
.plate-solid::after { background: linear-gradient(105deg, transparent 30%, rgba(5, 7, 11, 0.1) 48%, transparent 66%); }

.plate-line { --edge: rgba(255, 255, 255, 0.28); }
.plate-line:hover { --edge: var(--glow, var(--accent)); }

.plate-store { height: 58px; letter-spacing: 0; }
.plate-store .plate-label { padding: 0 18px 0 18px; }
.plate-store .plate-label > .i { width: 24px; height: 24px; }
.plate-store .plate-label > span { display: flex; flex-direction: column; font-size: 17px; font-weight: 800; line-height: 1.05; }
.plate-store small { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.7; }

/* ---------- Link rows ---------- */

.link-rows { display: grid; border-top: 1px solid var(--line-2); }
.link-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line-2);
    overflow: hidden;
}
.link-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 85%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.link-row:hover::before, .link-row:focus-visible::before { transform: scaleX(1); }
.link-row-code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.link-row-label { color: var(--ink); font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -0.01em; transition: transform 0.4s var(--ease); }
.link-row:hover .link-row-label { transform: translateX(8px); }
.link-row-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.link-row-icon .i { width: 20px; height: 20px; }
.link-row:hover .link-row-icon { background: var(--accent); border-color: var(--accent); color: #02131b; }

/* ---------- Animated wordmark ---------- */

.wordmark { position: relative; display: block; aspect-ratio: 1400 / 312; }
.wordmark-static, .wordmark-motion { position: absolute; inset: 0; width: 100%; height: 100%; }
.wordmark-motion { visibility: hidden; }
.wordmark-motion svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wordmark.is-ready .wordmark-motion { visibility: visible; }
.wordmark.is-ready .wordmark-static { visibility: hidden; }

/* ---------- Panel backdrop ---------- */

.panel-backdrop {
    position: absolute;
    inset: 0 0 auto;
    height: calc(clamp(250px, 21vw, 290px) + 76px);
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    pointer-events: none;
}
.panel-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: blur(6px) saturate(1.35) brightness(0.48);
    transform: scale(1.08);
}
.panel-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 30%, transparent, rgba(4, 5, 8, 0.45));
}
.app-hero-visual .app-hero-backdrop {
    inset: 0;
    height: auto;
    border-radius: inherit;
    -webkit-mask-image: none;
    mask-image: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .pulse::after, .hero-art, .hero-title .wordmark, .hero-status, .hero-actions { animation: none; }
    .device-tilt, .panel, .hero-art { transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .panel-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .home-info-grid, .app-hero { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col-apps { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    :root { --header: 58px; }
    .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
    .nav-toggle .i { width: 24px; height: 24px; }
    .nav-toggle-close { display: none; }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: block; }
    .nav-open .site-header { background: rgba(5, 7, 11, 0.96) !important; }
    .site-nav {
        position: fixed;
        inset: var(--header) 0 auto;
        flex-direction: column;
        gap: 0;
        padding: 12px var(--gutter) 28px;
        background: rgba(5, 7, 11, 0.97);
        border-bottom: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    }
    .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
    .site-nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 800; color: var(--ink); }
    .site-nav a::after { display: none; }

    .hero { height: min(100svh, 760px); }
    .hero-art { object-position: 50% 70%; }
    .hero-title .wordmark { width: 82vw; }
    .hero-status { font-size: 14px; }
    .hud-label { left: 28px; bottom: 22px; }

    .rail-head h2 { font-size: 34px; }
    .rail { gap: 12px; padding-top: 64px; }
    .panel { width: 66vw; }
    .device-panel { --w: 36vw; }
    .panel-stage { height: 76vw; }
    .panel-backdrop { height: calc(76vw + 76px); }

    .panel-grid { grid-template-columns: 1fr 1fr; gap: 56px 12px; }
    .panel-grid .panel-dev { grid-column: 1 / -1; }
    .panel-grid .device-panel { --w: 26vw; }
    .panel-grid .panel-stage { height: 52vw; }
    .panel-grid .panel-backdrop { height: calc(52vw + 64px); }
    .panel-grid .panel-body { padding: 0 12px 16px; }
    .panel-grid .panel-name { font-size: 17px; }
    .panel-grid .panel-line { font-size: 12px; }
    .panel-grid-4 { grid-template-columns: 1fr 1fr; }

    .section-head { grid-template-columns: 1fr; }
    .section-link { justify-self: start; }
    .guide { padding: 16px 4px; }
    .guide:hover { padding-left: 12px; }

    .facts, .facts-wide { grid-template-columns: 1fr; }
    .home-info-body .facts div { grid-template-columns: 1fr; gap: 4px; }
    .app-hero-copy::before { inset: -16px -12px; }
    .page-app .section-head::before { inset-inline: -12px; }
    .page-app .guides { padding-inline: 12px; }
    .app-id { gap: 14px; }
    .app-icon-lg { width: 64px; height: 64px; }
    .app-hero-visual { min-height: 112vw; }
    .device-hero { --w: 38vw; }
    .stage-3 .device-2 { left: 20%; }
    .stage-3 .device-3 { left: 80%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col-apps ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: column; }
    .info-table th { width: 38%; }
    .link-row { grid-template-columns: 1fr auto; row-gap: 2px; padding: 18px 2px; }
    .link-row-code { grid-column: 1; grid-row: 1; }
    .link-row-label { grid-column: 1; grid-row: 2; font-size: 24px; white-space: nowrap; }
    .link-row-icon { grid-column: 2; grid-row: 1 / 3; }
}
