/* Predixa Studio — public site. Self-hosted font, no external requests. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a0f1f;
  --text: #2a3147;
  --muted: #5f6880;
  --faint: #8a93a8;
  --line: #e6e8f0;
  --line-2: #d6dae6;
  --bg: #ffffff;
  --soft: #f5f6fa;
  --brand: #4a3aff;
  --brand-600: #3a2be0;
  --brand-50: #f0eeff;
  --cyan: #14c2f5;
  --coral: #ff6a55;
  --dark: #0a0f1f;
  --grad: linear-gradient(120deg, #6c47ff 0%, #3b5bff 55%, #14c2f5 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, 0.06);
  --sh-2: 0 12px 32px -14px rgba(16, 24, 40, 0.22);
  --sh-3: 0 40px 80px -30px rgba(38, 30, 120, 0.45);
  --wrap: 1200px;
  --gutter: 24px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.15rem; font-weight: 700; }
:focus-visible { outline: 3px solid rgba(74, 58, 255, 0.45); outline-offset: 3px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 650 0.98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(74, 58, 255, 0.7); }
.btn-primary:hover { background: var(--brand-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222a44; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }

/* ---------------------------------------------------------------- header */

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 36px; height: 36px; }
.logo-word { font-size: 1.2rem; letter-spacing: -0.03em; }
.logo-word b { font-weight: 800; }
.logo-word span { font-weight: 500; color: var(--muted); }
.logo-img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.97rem; padding: 10px 14px; border-radius: 999px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav .nav-cta { display: none; }

.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 0.85rem; color: var(--ink); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.lang .i { width: 16px; height: 16px; color: var(--muted); }
.lang:hover { border-color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 860px) {
  .hdr-in { height: 68px; gap: 12px; }
  .menu-btn { display: grid; }
  .hdr-cta { display: none; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 22px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(16, 24, 40, 0.25); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 10px; background: var(--ink); color: #fff; }
}

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-bg, .app-hero .hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; width: 900px; height: 700px; right: -220px; top: -240px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(108, 71, 255, 0.22), transparent 70%), radial-gradient(closest-side at 70% 80%, rgba(20, 194, 245, 0.2), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 16px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 650; color: var(--ink); box-shadow: var(--sh-1);
}
.eyebrow span { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); position: relative; }
.eyebrow span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { max-width: 640px; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.hero-proof p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.hero-proof strong { color: var(--ink); }
.icon-stack { display: flex; }
.icon-stack img { width: 40px; height: 40px; border-radius: 11px; border: 3px solid #fff; box-shadow: var(--sh-2); }
.icon-stack img + img { margin-left: -10px; }

.hero-visual { position: relative; height: 600px; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit-1 { width: 520px; height: 520px; }
.orbit-2 { width: 380px; height: 380px; border-style: solid; border-color: var(--line); }
.device {
  position: relative; width: 270px; padding: 10px; border-radius: 44px; background: var(--ink);
  box-shadow: var(--sh-3), inset 0 0 0 2px #2b3350;
}
.device img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 34px; background: #111; }
.hero-mark { width: 240px; height: 240px; filter: drop-shadow(0 30px 40px rgba(74, 58, 255, 0.3)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.float-card img { width: 48px; height: 48px; border-radius: 13px; }
.float-card b { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.2; }
.float-card small { display: block; color: var(--muted); font-size: 0.8rem; }
.fc-1 { left: 0; top: 18%; }
.fc-2 { right: 0; bottom: 20%; }
.fc-3 { left: 6%; bottom: 8%; }
.fc-4 { right: 4%; top: 6%; }

@media (max-width: 980px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { height: 520px; }
  .orbit-1 { width: 440px; height: 440px; }
  .orbit-2 { width: 320px; height: 320px; }
}
@media (max-width: 560px) {
  .hero-visual { height: 440px; }
  .device { width: 210px; border-radius: 36px; padding: 8px; }
  .device img { border-radius: 28px; }
  .orbit-1 { width: 340px; height: 340px; }
  .orbit-2 { width: 260px; height: 260px; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card img { width: 38px; height: 38px; }
  .float-card small { display: none; }
  .fc-1 { left: 0; top: 10%; }
  .fc-2 { right: 0; bottom: 14%; }
}

/* ---------------------------------------------------------------- stats */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 36px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 550; font-size: 0.95rem; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

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

.sec { padding: 112px 0; position: relative; }
.sec-tight { padding: 56px 0; }
.sec-soft { background: var(--soft); }
.sec-dark { background: var(--dark); color: #c3c9da; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-head-row .sec-head { margin-bottom: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-dark .kicker { color: #9d93ff; }
.lead { font-size: 1.15rem; color: var(--muted); }
.sec-dark .lead { color: #aab1c5; }
@media (max-width: 860px) {
  .sec { padding: 72px 0; }
  .sec-head, .sec-head-row { margin-bottom: 36px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------------- app cards */

.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card {
  position: relative; display: grid; grid-template-columns: 1fr 190px; gap: 8px; overflow: hidden;
  min-height: 360px; border-radius: var(--r-xl); background: var(--soft); border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sec-soft .app-card { background: #fff; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.app-card-body { display: flex; flex-direction: column; padding: 32px 0 32px 32px; }
.app-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-icon { width: 64px; height: 64px; border-radius: 17px; flex: none; box-shadow: 0 8px 20px -8px rgba(16, 24, 40, 0.4); }
.app-icon-empty { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.6rem; }
.app-cat { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 0.82rem; font-weight: 650; color: var(--muted); }
.app-card h3 { font-size: 1.4rem; margin: 0; }
.app-card h3 a { text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.app-tagline { font-weight: 650; color: var(--ink); margin-bottom: 8px; }
.app-summary { color: var(--muted); font-size: 0.97rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.app-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); font-size: 0.95rem; }
.link-arrow .i { width: 18px; height: 18px; transition: transform 0.15s; }
.app-card:hover .link-arrow .i { transform: translateX(4px); }
.app-card-shot { position: relative; }
.app-card-shot img {
  position: absolute; left: 22px; top: 40px; width: 200px; height: auto; border-radius: 26px;
  border: 7px solid var(--ink); box-shadow: var(--sh-2); transform: rotate(4deg); transform-origin: top left;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 0.8rem; font-weight: 650; color: var(--text); padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.badge { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.02em; }
.badge-soon { background: #fff1ec; color: #d24a32; }

@media (max-width: 1040px) { .app-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .app-card { grid-template-columns: 1fr; min-height: 0; }
  .app-card-body { padding: 24px; }
  .app-card-shot { display: none; }
}

/* ---------------------------------------------------------------- tiles / steps */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .tiles, .tiles-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles, .tiles-4 { grid-template-columns: 1fr; } }
.tile { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow 0.2s, transform 0.2s; }
.tile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.tile-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; background: var(--brand-50); color: var(--brand); }
.tile-ic .i { width: 22px; height: 22px; }
.sec-dark .tile { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.09); }
.sec-dark .tile p { color: #aab1c5; }
.sec-dark .tile-ic { background: rgba(157, 147, 255, 0.14); color: #b3abff; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 0 0; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--grad); }
.step-n { display: block; font-size: 0.9rem; font-weight: 800; color: var(--brand); margin-bottom: 14px; letter-spacing: 0.04em; }
.steps p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- CTA band */

.cta-band { padding: 0 0 112px; }
.sec-soft + .cta-band, .sec-dark + .cta-band { padding-top: 112px; }
.cta-in {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 64px; border-radius: var(--r-xl); background: var(--grad); color: #fff;
}
.cta-in::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.08); }
.cta-in h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta-in p { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 560px; }
.cta-in .btn { position: relative; z-index: 1; flex: none; }
@media (max-width: 860px) {
  .cta-band, .sec-soft + .cta-band, .sec-dark + .cta-band { padding: 56px 0 72px; }
  .cta-in { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

/* ---------------------------------------------------------------- page hero / filters */

.page-hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 860px; }
.page-hero .lead { max-width: 680px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters a { text-decoration: none; font-weight: 650; font-size: 0.92rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { color: var(--muted); }

/* ---------------------------------------------------------------- app detail */

.app-hero { position: relative; overflow: hidden; padding: 32px 0 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--faint); margin-bottom: 40px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.app-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.app-title { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.app-title .app-icon { width: 96px; height: 96px; border-radius: 24px; }
.app-title h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0; }
.app-hero-tagline { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.015em; }
.app-hero .lead { max-width: 620px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 22px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; transition: transform 0.15s, background 0.15s; }
.store:hover { transform: translateY(-1px); background: #222a44; }
.store .i { width: 24px; height: 24px; }
.store small { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; line-height: 1.3; }
.store strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.store.is-soon { background: var(--soft); color: var(--ink); border: 1px dashed var(--line-2); }
.store.is-soon:hover { transform: none; }
.store.is-soon .i { color: var(--coral); }
.app-hero-shot { display: grid; place-items: center; position: relative; }
.app-hero-shot::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 71, 255, 0.16), transparent); }
.app-hero-shot .device { width: 280px; }
@media (max-width: 920px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-hero-shot .device { width: 230px; }
}
@media (max-width: 520px) { .app-title { gap: 16px; } .app-title .app-icon { width: 72px; height: 72px; border-radius: 19px; } }

.notice { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: #fff8eb; border: 1px solid #f6d79a; }
.notice .i { color: #c47f00; width: 24px; height: 24px; margin-top: 2px; }
.notice p { margin: 0; color: #5d4511; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px 28px; }
.feature { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.feature-ic .i { width: 18px; height: 18px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.gallery-block + .gallery-block { margin-top: 40px; }
.gallery-block h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 22px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.shot { flex: none; scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; }
.shot img { width: 240px; height: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); transition: transform 0.2s, box-shadow 0.2s; }
.shot:hover img { transform: translateY(-3px); box-shadow: var(--sh-2); }
.gallery-tv .shot img, .gallery-tablet .shot img { width: min(620px, 80vw); border-radius: 16px; }
@media (max-width: 520px) { .shot img { width: 62vw; } }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 15, 31, 0.86); backdrop-filter: blur(4px); }
.lightbox img { max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 18px; }
.lightbox-close { position: fixed; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }

.app-about { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.info-card { position: sticky; top: 100px; padding: 28px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.info-card h2 { font-size: 1.2rem; margin-bottom: 16px; letter-spacing: -0.01em; }
.info-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 26px 0 10px; }
.info-card dl { margin: 0; }
.info-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; text-align: right; font-weight: 650; color: var(--ink); word-break: break-word; }
.info-card dd a { color: var(--brand); text-decoration: none; }
.doc-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doc-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.doc-links a:hover { border-color: var(--ink); }
.doc-links .i { width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 920px) { .app-about { grid-template-columns: 1fr; gap: 32px; } .info-card { position: static; } }

/* ---------------------------------------------------------------- prose / about */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--brand); text-underline-offset: 3px; }
.prose-lg p { font-size: 1.15rem; line-height: 1.75; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.mv { display: grid; gap: 16px; }
.mv-card { padding: 28px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.mv-card h2 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -0.015em; }
.mv-card p { margin: 0; color: var(--muted); }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.card { padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 650; font-size: 0.92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(74, 58, 255, 0.14); }
.field.has-error input, .field.has-error textarea { border-color: #e5484d; }
.field-error { margin: 0; color: #d1343a; font-size: 0.88rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; color: var(--muted); font-size: 0.88rem; }
.form-note a { color: var(--brand); }
.form .btn { justify-self: start; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; }
.alert .i { margin-top: 2px; }
.alert-ok { background: #ebfbf1; color: #146c3b; border: 1px solid #b6ecca; }
.alert-err { background: #fff0f0; color: #b42328; border: 1px solid #f6c4c6; }
.contact-side { display: grid; gap: 16px; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.contact-card p { color: var(--muted); font-size: 0.95rem; margin: 10px 0 0; }
.contact-mail { font-weight: 750; font-size: 1.1rem; color: var(--brand); text-decoration: none; word-break: break-all; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* ---------------------------------------------------------------- 404 */

.not-found { padding: 120px 0; text-align: center; }
.nf-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .hero-actions { justify-content: center; margin-top: 28px; }

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

.ftr { background: var(--dark); color: #a3abc0; padding: 80px 0 36px; }
.ftr .logo { color: #fff; }
.ftr .logo-word span { color: #8a93a8; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.ftr-brand p { margin: 18px 0 22px; max-width: 340px; font-size: 0.95rem; }
.ftr h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin: 6px 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: #a3abc0; text-decoration: none; font-size: 0.95rem; }
.ftr a:hover { color: #fff; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.ftr-contact .i { width: 18px; height: 18px; margin-top: 3px; color: #7f88a0; }
.social { display: flex !important; gap: 8px !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); }
.social a:hover { border-color: rgba(255, 255, 255, 0.4); }
.social .i { width: 18px; height: 18px; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.86rem; color: #7f88a0; }
.ftr-bottom p { margin: 0; }
@media (max-width: 920px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
