/* Octopuxx Labs: home "pro" (prova, versione compatta su viola di marca).
   Mid-dark brand violet (not black, not white), translucent light panels, three logo colors as soft orbs.
   Compact on purpose: about one and a half screens on desktop. Motion is CSS only (entrance + hover,
   plus a light scroll reveal where animation-timeline exists). Only used by index.html. */

:root {
  color-scheme: dark;
  --bg: #2b2444;
  --bg-deep: #1f1a33;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-hover: rgba(255, 255, 255, 0.11);
  --text: #f7f5fc;
  --muted: #c6bfdc;
  --faint: #9a92b6;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --accent: #c9b8ff;
  --coral: #ff8a73;
  --teal: #3cc3bb;
  --gold: #f4c363;
  --radius: 18px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #38305a 0%, var(--bg) 40%, var(--bg-deep) 100%) fixed;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Ambient orbs, behind everything */
.orbs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.orb-1 { width: 420px; height: 420px; left: -6%; top: -10%; background: var(--coral); opacity: 0.30; animation: drift-a 20s ease-in-out infinite alternate; }
.orb-2 { width: 400px; height: 400px; right: -4%; top: 18%; background: var(--teal); opacity: 0.24; animation: drift-b 24s ease-in-out infinite alternate; }
.orb-3 { width: 340px; height: 340px; left: 36%; bottom: -14%; background: var(--gold); opacity: 0.18; animation: drift-c 22s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(10vw, 8vh) scale(1.2); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-9vw, 10vh) scale(0.92); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(0.9); } to { transform: translate(-8vw, -8vh) scale(1.2); } }

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(43, 36, 68, 0.7); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Playfair Display", Georgia, serif; font-size: 19px; letter-spacing: 0.01em; white-space: nowrap; }
.brand img { width: 26px; height: 26px; border-radius: 8px; transition: transform 500ms var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.header-end { display: flex; align-items: center; gap: 20px; }
.header-link { position: relative; font-size: 14px; color: var(--muted); transition: color 160ms ease; }
.header-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
.header-link:hover { color: var(--text); }
.header-link:hover::after { transform: scaleX(1); }

.lang-switch { position: relative; }
.lang-switch summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; white-space: nowrap; font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; transition: color 160ms ease, background 160ms ease; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--text); background: var(--panel); }
.lang-flag { border-radius: 2px; flex-shrink: 0; }
.lang-caret { width: 8px; height: 8px; transition: transform 160ms ease; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; display: flex; flex-direction: column; min-width: 156px; padding: 6px; background: #342b54; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 48px rgba(10, 6, 24, 0.45); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); transition: background 140ms ease, color 140ms ease; }
.lang-menu a:hover { background: var(--panel-hover); color: var(--text); }

/* Hero */
.hero { padding: clamp(28px, 5vh, 52px) 0 clamp(20px, 3vh, 30px); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 10px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 184, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(201, 184, 255, 0); } }
.hero h1 { margin: 16px auto 0; font-size: clamp(20.4px, 3.24vw, 34.8px); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; }
.hero h1 .w { display: inline-block; }
.hero h1 .grad { background: linear-gradient(100deg, var(--coral), var(--gold) 35%, var(--teal) 70%, var(--coral)); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 9s linear infinite; }
@keyframes sheen { to { background-position: -250% 0; } }
.hero p.lead { margin: 14px auto 0; max-width: 58ch; font-size: clamp(13px, 1.3vw, 14px); color: var(--muted); }

/* Apps */
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 20px; }
.apps-grid { row-gap: 32px; }
.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 10px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 400ms var(--ease), background 300ms ease, border-color 300ms ease, box-shadow 400ms var(--ease);
}
.app-card:hover { transform: translateY(-4px); background: var(--panel-hover); border-color: var(--line-strong); box-shadow: 0 24px 50px -18px rgba(10, 6, 24, 0.6); }
.shot { display: block; overflow: hidden; border-radius: calc(var(--radius) - 8px); }
.shot video { width: 100%; height: auto; aspect-ratio: 16 / 7.4; object-fit: cover; background: #3a3160; transition: transform 700ms var(--ease); }
.app-card:hover .shot video { transform: scale(1.04); }
.app-info { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 0 10px; }
.app-info img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 0 0 1px var(--line), 0 10px 22px rgba(10, 6, 24, 0.35); transition: transform 500ms var(--ease); }
.app-card:hover .app-info img { transform: rotate(-5deg) scale(1.06); }
.app-info h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.app-info .meta { margin: 1px 0 0; font-size: 12px; color: var(--faint); }
.app-info .go { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.app-info .go svg { width: 13px; height: 13px; transition: transform 240ms var(--ease); }
.app-card:hover .go { background: var(--text); color: #2b2444; border-color: transparent; }
.app-card:hover .go svg { transform: translateX(3px); }
.app-card > p { margin: 0; padding: 0 10px; font-size: 14.5px; color: var(--muted); }

/* Craft strip */
.craft { padding: 4px 0 20px; }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr 1.7fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.craft-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; transition: background 300ms ease; }
.craft-item + .craft-item { border-left: 1px solid var(--line); }
.craft-item:hover { background: var(--panel); }
.craft-item .num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 50%; }
.craft-item h3 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.craft-item p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* Contact */
.contact { padding: 4px 0 24px; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 12px 18px; background: linear-gradient(100deg, rgba(255, 138, 115, 0.16), rgba(201, 184, 255, 0.14) 50%, rgba(60, 195, 187, 0.16)); border: 1px solid var(--line); border-radius: var(--radius); }
.contact h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.contact h2 span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.contact-email { font-size: clamp(14px, 1.6vw, 16px); font-weight: 500; letter-spacing: -0.02em; padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px; transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease); }
.contact-email:hover { background: var(--text); color: #2b2444; transform: translateY(-2px); }
.site-header ~ main > .contact { display: none; }

/* Compact contact popup shared with the app pages */
.home-contact-dialog { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; padding: 0; width: min(500px, calc(100vw - 32px)); max-width: calc(100vw - 32px); border: 1px solid #d4c8e17d; border-radius: 18px; background: linear-gradient(135deg, #74617e, #5d5978 60%, #536779); color: #f7f5fc; box-shadow: inset 0 1px 1px #ffffff38, 0 0 0 1px #54456555, 0 22px 60px #16122999; z-index: 90; overflow: hidden; }
.home-contact-dialog::backdrop { background: #17122b55; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.home-contact-dialog .contact-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; max-width: none; margin: 0; padding: 22px; background: none !important; border: 0; border-radius: 0; color: #f7f5fc; animation: none; }
.home-contact-dialog h2 { margin: 0; color: #f7f5fc; font-size: 18px; }
.home-contact-dialog h2 span { display: block; margin-top: 5px; color: #e1dbea; font-size: 13px; font-weight: 400; }
.home-contact-dialog .contact-email { color: #fff; background: #ffffff12; border-color: #ffffff48; }
.home-contact-dialog .contact-email:hover { background: #ffffff24; color: #fff; }

/* Footer */
.site-footer { margin-top: auto; padding: 0 0 22px; font-size: 13px; color: var(--faint); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { transition: color 160ms ease; }
.site-footer a:hover { color: var(--text); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero p.lead { animation: rise 800ms var(--ease) both; }
  .hero .eyebrow { animation-delay: 40ms; }
  .hero h1 .w { animation: rise 800ms var(--ease) both; animation-delay: calc(100ms + var(--i) * 70ms); }
  .hero h1 .grad { animation: rise 800ms var(--ease) 440ms both, sheen 9s linear 1.3s infinite; }
  .hero p.lead { animation-delay: 480ms; }
  .app-card, .craft-grid, .contact-row { animation: rise 800ms var(--ease) both; }
  .app-card:nth-child(1) { animation-delay: 560ms; }
  .app-card:nth-child(2) { animation-delay: 680ms; }
  .craft-grid { animation-delay: 800ms; }
  .contact-row { animation-delay: 880ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .hero h1 .grad, .eyebrow i { animation: none; }
}

@media (max-width: 900px) {
  .apps-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-item + .craft-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .header-inner { height: 52px; }
  .header-link { display: none; }
  .app-info { grid-template-columns: auto 1fr; }
  .app-info .go { grid-column: 1 / -1; justify-content: center; }
  .contact-row { padding: 12px 14px; }
}

/* CJK: no tight tracking */
:lang(zh) h1, :lang(ja) h1, :lang(zh) h3, :lang(ja) h3 { letter-spacing: 0; }
.hero h1, .hero p.lead { text-wrap: balance; }
.app-card > p, .craft-item p { text-wrap: pretty; }

/* ---------- App product pages (Flyngtable first) ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; font-size: 14px; font-weight: 500; border-radius: 999px; border: 1px solid var(--line-strong); white-space: nowrap; transition: transform 200ms var(--ease), background 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #2b2444; background: var(--text); border-color: transparent; box-shadow: 0 8px 26px rgba(201, 184, 255, 0.28); }
.btn-primary:hover { background: #fff; box-shadow: 0 12px 34px rgba(201, 184, 255, 0.45); }
.btn-ghost { color: var(--text); background: var(--panel); }
.btn-ghost:hover { background: var(--panel-hover); }

.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: #2b2444; background: var(--text); border-radius: 999px; transition: transform 200ms var(--ease), background 200ms ease; }
.header-cta svg { width: 13px; height: 13px; }
.header-cta:hover { background: #fff; transform: translateY(-1px); }

.app-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vh, 52px) 0 clamp(18px, 3vh, 28px); }
.app-hero-icon { width: 60px; height: 60px; border-radius: 15px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(10, 6, 24, 0.4); }
.app-hero h1 { margin: 18px 0 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.app-hero h1 .grad { background: linear-gradient(100deg, var(--coral), var(--gold) 35%, var(--teal) 70%, var(--coral)); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 9s linear infinite; }
.app-hero .lead { margin: 14px 0 0; max-width: 44ch; font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); text-wrap: balance; }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 26px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.cta > span { padding-left: 4px; font-size: 12px; color: var(--faint); }
.frame { display: block; padding: 7px; border-radius: calc(var(--radius) + 4px); background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(10, 6, 24, 0.7), 0 0 60px -10px rgba(201, 184, 255, 0.2); }
.frame video { width: 100%; height: auto; aspect-ratio: 1280 / 828; object-fit: cover; border-radius: calc(var(--radius) - 2px); background: #3a3160; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 16px; }
.info-card, .color-panel, .platform-row { padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
.info-card:hover { background: var(--panel-hover); border-color: var(--line-strong); transform: translateY(-3px); }
.info-card h3, .color-panel h3, .platform-row h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.info-card p, .color-panel p, .platform-row p { margin: 6px 0 0; font-size: 14px; color: var(--muted); text-wrap: pretty; }

.color-wrap { padding-bottom: 16px; }
.color-panel { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.thumbs figure { margin: 0; }
.thumbs img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); transition: transform 400ms var(--ease); }
.thumbs figure:hover img { transform: translateY(-3px) scale(1.03); }
.thumbs figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; }

.reasons-wrap { padding-bottom: 16px; }
.reasons-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.reasons-grid article { padding: 16px 20px; transition: background 300ms ease; }
.reasons-grid article + article { border-left: 1px solid var(--line); }
.reasons-grid article:hover { background: var(--panel); }
.reasons-grid h3 { margin: 0; font-size: 14px; font-weight: 600; }
.reasons-grid p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }

.platform-wrap { padding-bottom: 16px; }
.platform-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding: 14px 22px; }
.platform-row p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .app-hero > div > *, .app-hero .frame { animation: rise 800ms var(--ease) both; }
  .app-hero .app-hero-icon { animation-delay: 40ms; }
  .app-hero h1 { animation-delay: 120ms; }
  .app-hero .lead { animation-delay: 200ms; }
  .app-hero .cta-row { animation-delay: 280ms; }
  .app-hero .frame { animation-delay: 240ms; }
  .info-card, .color-panel, .reasons-grid, .platform-row { animation: rise 800ms var(--ease) both; }
  .info-card:nth-child(1) { animation-delay: 420ms; } .info-card:nth-child(2) { animation-delay: 500ms; } .info-card:nth-child(3) { animation-delay: 580ms; }
  .color-panel { animation-delay: 640ms; } .reasons-grid { animation-delay: 700ms; } .platform-row { animation-delay: 760ms; }
}
@media (max-width: 900px) {
  .app-hero { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .color-panel { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .reasons-grid article:nth-child(3) { border-left: 0; }
  .reasons-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reasons-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .header-cta { padding: 6px 12px; }
}

/* Small phones: the header CTA collapses to its icon (text stays for screen readers) */
@media (max-width: 520px) {
  .header-end { gap: 10px; }
  .header-cta { font-size: 0; gap: 0; padding: 8px; }
  .header-cta svg { width: 15px; height: 15px; }
  .brand { font-size: 17px; gap: 9px; }
}

/* ---------- Legal pages (privacy) ---------- */
.legal { width: min(820px, 100% - 2 * var(--gutter)); margin: clamp(20px, 4vh, 40px) auto 24px; padding: clamp(22px, 4vw, 40px); background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.legal h1 { margin: 0; font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
:lang(zh) .legal h1, :lang(ja) .legal h1, :lang(zh) .legal h2, :lang(ja) .legal h2 { letter-spacing: 0; }
.legal-meta { margin: 8px 0 22px; font-size: 13px; color: var(--faint); }
.legal h2 { margin: 28px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: #d8d2ea; }
.legal p { margin: 10px 0 0; }
.legal ul { margin: 10px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal strong { font-weight: 600; color: var(--text); }
.legal code { padding: 1px 6px; font-size: 0.9em; background: rgba(255, 255, 255, 0.09); border-radius: 6px; overflow-wrap: anywhere; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201, 184, 255, 0.4); transition: text-decoration-color 160ms ease; }
.legal a:hover { text-decoration-color: currentColor; }

/* Flynglinkx: second video next to the settings text */
.settings-panel { grid-template-columns: 1.3fr 0.7fr; }
.settings-panel .frame { padding: 5px; }
.settings-panel .frame video { aspect-ratio: 16 / 8.6; }
@media (max-width: 900px) { .settings-panel { grid-template-columns: 1fr; } }

/* ---------- Flyngmemo: download blocks, gallery, support page ---------- */
.get-wrap { padding-bottom: 16px; }
.get { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.get-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.get-card h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.get-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.get-card .get-price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; }
.get-actions > a:not(.store-badge) { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; font-size: 14px; font-weight: 500; color: #2b2444; background: var(--text); border-radius: 999px; box-shadow: 0 8px 26px rgba(201, 184, 255, 0.25); transition: transform 200ms var(--ease), background 200ms ease; }
.get-actions > a:not(.store-badge):hover { background: #fff; transform: translateY(-2px); }
.get-actions svg { width: 15px; height: 15px; flex: none; }
.get-actions .store-badge { display: inline-flex; transition: transform 200ms var(--ease); }
.get-actions .store-badge:hover { transform: translateY(-2px); }
.get-actions .store-badge img { height: 40px; width: auto; }
.store-soon { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; }
.store-soon em { font-style: normal; font-size: 11px; color: var(--accent); }
.get-card .get-small { margin-top: 4px; font-size: 12px; color: var(--faint); }
.get-card .get-small a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.get-clarify { grid-column: 1 / -1; margin: 0; padding: 0 6px; font-size: 12px; color: var(--faint); text-wrap: pretty; }
html[data-device="ios"] .get-ios { order: -1; }

.gallery { display: grid; grid-template-columns: 1.4fr 1.4fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); transition: transform 400ms var(--ease); }
.gallery img:hover { transform: translateY(-3px) scale(1.01); }
.gallery .gallery-phone { width: auto; max-width: 100%; }

.legal h3 { margin: 22px 0 0; font-size: 15px; font-weight: 600; }
.legal .contact-email { display: inline; padding: 0; font-size: inherit; font-weight: 500; letter-spacing: 0; border: 0; border-radius: 0; transform: none; }
.legal .contact-email:hover { background: none; color: var(--text); transform: none; }

@media (max-width: 900px) {
  .get { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .gallery-phone { display: none; }
  .gallery img { height: 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  .get-card { animation: rise 800ms var(--ease) 380ms both; }
  .gallery { animation: rise 800ms var(--ease) 680ms both; }
}

/* Home: three app cards (2 + 1 on mid widths) */
.apps-grid { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.shot img{display:block;width:100%;height:auto;object-fit:contain;background:#3a3160;transition:transform 700ms var(--ease)}.app-card:hover .shot img{transform:none}@media(prefers-reduced-motion:reduce){.shot img{transition:none}}

/* Home header platform pill */
.header-pill{flex-shrink:0;margin-right:auto;white-space:nowrap}.header-inner:has(>.header-pill){gap:18px}@media(max-width:520px){.header-inner:has(>.header-pill){gap:8px}.header-inner:has(>.header-pill) .brand{font-size:14px;gap:6px}.header-inner:has(>.header-pill) .brand img{width:22px;height:22px}.header-pill{font-size:10px;padding:4px 8px;gap:6px;letter-spacing:0}.header-inner:has(>.header-pill) .header-end{gap:8px}.header-inner:has(>.header-pill) .lang-switch summary{font-size:11px;padding:5px 8px;gap:5px}}

/* Soft fade between pages of the site (home <-> app pages <-> languages): cross-document View
   Transitions, CSS only. Browsers without support (Firefox today) simply change page as before. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 600ms; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
}

/* Home contact popup: same soft fade as the app panels (0.6 s, CSS only) */
@media (prefers-reduced-motion: no-preference) {
  .home-contact-dialog { transition: opacity .6s ease, translate .6s ease, display .6s allow-discrete, overlay .6s allow-discrete; }
  .home-contact-dialog:not([open]) { opacity: 0; translate: 0 8px; }
  @starting-style { .home-contact-dialog[open] { opacity: 0; translate: 0 8px; } }
}
