/* CGode Apps by CGode Dev — design system (v3). Space Grotesk, navy ink, CGode blue. */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin.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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf3ff;
  --ink: #0b1220;
  --ink-2: #344055;
  --muted: #5e6a7c;
  --line: rgba(11, 18, 32, .08);
  --line-2: rgba(11, 18, 32, .14);
  --accent: #0a72db;
  --accent-hover: #075fb8;
  --accent-bright: #1a8cff;
  --navy: #0b1220;
  --ok: #17915a;

  /* names used by guide.css */
  --brand-50: #eef6ff; --brand-100: #d6eaff; --brand-400: #4da6ff; --brand-500: #1a8cff; --brand-600: #0860bf;
  --surface: #f4f7fb; --surface-2: #e9eef5; --accent-soft: #eaf3ff; --accent-deep: #075fb8;
  --border: #e3e9f1; --grad: #1a8cff;
  --shadow-card: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -18px rgba(11, 40, 90, .18);
  --shadow-azure: 0 12px 28px -14px rgba(10, 114, 219, .55);
  --shadow-lift: 0 40px 80px -40px rgba(11, 40, 90, .35), 0 12px 24px -12px rgba(11, 40, 90, .12);

  --font: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i .solid { fill: currentColor; stroke: none; }
kbd { display: inline-block; min-width: 1.6em; padding: .05em .45em; border-radius: 6px; background: var(--surface-2); color: var(--ink); font: 600 .88em/1.5 var(--font); text-align: center; }
code { font: 500 .9em/1.4 Consolas, 'Cascadia Mono', monospace; background: var(--bg-soft); padding: .1em .35em; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 136px); }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.soft { background: var(--bg-soft); }
.h2 { font-size: clamp(32px, 4vw, 52px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* section header */
.head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.head .h2 { margin: 16px 0 16px; }
.head .lead { margin-inline: auto; }
.head.left { margin-left: 0; text-align: left; }
.head.left .lead { margin-left: 0; }

/* small pill tag above headings */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.tag img { width: 20px; height: 20px; border-radius: 50%; }
.tag .i { width: 15px; height: 15px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-azure); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--bg); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1c2740; }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
/* button with the arrow in its own circle */
.btn .orb { width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); transition: transform .45s var(--ease); }
.btn-ghost .orb, .btn-white .orb { background: var(--bg-soft); }
.btn:hover .orb { transform: translate(3px, -1px) scale(1.06); }
.btn .orb .i { width: 16px; height: 16px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link .i { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link:hover .i { transform: translateX(4px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* the download button */
.dl-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 30px 10px 22px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; text-align: left; cursor: pointer; box-shadow: var(--shadow-azure); transition: background .35s var(--ease), transform .35s var(--ease); }
.dl-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.dl-btn:active { transform: scale(.98); }
.dl-btn .i { width: 26px; height: 26px; }
.dl-btn b { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }
.dl-btn small { display: block; font-size: 13px; opacity: .9; }
.dl-btn.light { background: #fff; color: var(--ink); box-shadow: none; }
.dl-btn.light:hover { background: var(--bg-tint); }
.dl-btn[aria-disabled="true"] { background: var(--surface-2); color: var(--ink-2); box-shadow: none; transform: none; cursor: not-allowed; }
.dl-btn[aria-disabled="true"] small::after { content: " · tick the box first"; }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 4px 0; font-size: 14px; color: var(--muted); }
.dl-meta span + span::before { content: '·'; margin: 0 10px; opacity: .6; }
.dl-other { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dl-other .i { width: 16px; height: 16px; }
.soon { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.on-dark .dl-meta, .on-dark .dl-other { color: #b8c3d4; }
.on-dark .soon { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- floating pill navbar ---------- */
.site-header { position: sticky; top: 14px; z-index: 50; padding-inline: var(--gutter); margin-top: 14px; }
.header-row { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; height: 64px; padding: 0 8px 0 18px; display: flex; align-items: center; gap: 18px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px rgba(11, 40, 90, .35); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1.05; }
.brand-name b { color: var(--accent); }
.brand-by { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease); }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav + .header-actions { margin-left: 8px; }
.to-dev { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 600; transition: background .3s var(--ease), color .3s var(--ease); }
.to-dev img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.to-dev .i { width: 14px; height: 14px; }
.to-dev:hover { background: var(--ink); color: #fff; }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bg-soft); cursor: pointer; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: -1; padding: 104px var(--gutter) 32px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 14px 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; border-radius: 14px; animation: navIn .55s var(--ease) both; }
.mobile-nav a:nth-child(2) { animation-delay: .04s; } .mobile-nav a:nth-child(3) { animation-delay: .08s; } .mobile-nav a:nth-child(4) { animation-delay: .12s; } .mobile-nav a:nth-child(5) { animation-delay: .16s; } .mobile-nav a:nth-child(6) { animation-delay: .2s; } .mobile-nav a:nth-child(7) { animation-delay: .24s; } .mobile-nav a:nth-child(8) { animation-delay: .28s; }
.mobile-nav a:hover { background: var(--bg-soft); }
.mobile-nav .btn { margin-top: 14px; font-size: 17px; }
@keyframes navIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- framed screenshots (double bezel) ---------- */
.frame { padding: 8px; border-radius: var(--r-xl); background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
.frame-in { border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.frame-in img, .frame-in video { width: 100%; display: block; }
.win-top { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f1f4f8; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.win-top i { width: 10px; height: 10px; border-radius: 50%; background: #d6dde7; }
.win-top i:first-child { background: #ff6159; } .win-top i:nth-child(2) { background: #ffbd2e; } .win-top i:nth-child(3) { background: #28c941; }
.win-top span { margin-left: 8px; display: inline-flex; align-items: center; gap: 6px; }
.win-top span img { width: 16px; height: 16px; border-radius: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(56px, 8vw, 104px) 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: -240px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(26, 140, 255, .14), transparent 70%); pointer-events: none; z-index: -1; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -.045em; line-height: 1; max-width: 14ch; margin: 22px auto 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 0 auto; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .i { width: 16px; height: 16px; color: var(--ok); }
.hero-note .apple .i { color: var(--muted); }
.hero-visual { position: relative; max-width: 1080px; margin: clamp(48px, 6vw, 80px) auto 0; }
.hero-visual .frame { position: relative; z-index: 1; }
.hero-ring { position: absolute; z-index: 2; width: 26%; right: -4%; bottom: -8%; filter: drop-shadow(0 30px 40px rgba(11, 40, 90, .3)); animation: float 7s var(--ease) infinite; }
.hero-chip { position: absolute; z-index: 2; left: -3%; top: 22%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); text-align: left; font-size: 14px; animation: float 8s var(--ease) -3s infinite; }
.hero-chip img { width: 38px; height: 38px; border-radius: 10px; }
.hero-chip b { display: block; font-size: 15px; }
.hero-chip span { color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-fade { height: 120px; margin-top: -120px; position: relative; z-index: 3; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); background: var(--bg); }
.trust li { list-style: none; display: flex; gap: 14px; align-items: flex-start; padding: 24px; }
.trust li + li { box-shadow: -1px 0 0 var(--line); }
.trust .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg-tint); color: var(--accent); }
.trust b { display: block; font-size: 16px; }
.trust p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
ul.trust { margin: 0; padding: 0; }

/* ---------- app cards ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-card { padding: 8px; border-radius: var(--r-xl); background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-lift); }
.app-card-in { height: 100%; border-radius: calc(var(--r-xl) - 8px); background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; }
.app-card .shot { aspect-ratio: 16 / 10; background: var(--bg-tint); overflow: hidden; }
.app-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.app-card:hover .shot img { transform: scale(1.03); }
.app-card .shot.ring { display: grid; place-items: center; }
.app-card .shot.ring img { width: 66%; height: auto; object-fit: contain; }
.app-card .body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.app-title { display: flex; align-items: center; gap: 14px; }
.app-title img { width: 52px; height: 52px; border-radius: 14px; }
.app-title h3 { font-size: 26px; }
.app-title span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 3px; }
.app-card .body > p { color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.app-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* ---------- feature rows ---------- */
.rows { display: grid; gap: clamp(72px, 9vw, 120px); }
.row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row.flip { grid-template-columns: 7fr 5fr; }
.row.flip .row-text { order: 2; }
.row-text h3 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 14px; }
.row-text p { color: var(--ink-2); font-size: 18px; }
.row-text .checks { margin-top: 20px; }
.row-text .link { margin-top: 22px; }
.row .frame.pad-stage .frame-in { background: var(--bg-tint); display: grid; place-items: center; padding: 6%; }
.row .frame.pad-stage .frame-in img { width: 72%; }

/* ---------- video ---------- */
.video-sec { background: var(--navy); color: #fff; border-radius: clamp(0px, 3vw, 40px); margin-inline: clamp(0px, 1.5vw, 20px); }
.video-sec .h2 { color: #fff; }
.video-sec .lead { color: #c3cddc; }
.video-sec .tag { background: rgba(255, 255, 255, .1); color: #fff; }
.vtabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin-bottom: 28px; }
.vtabs button { border: 0; background: transparent; color: #c3cddc; padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .3s var(--ease), color .3s var(--ease); }
.vtabs button:hover { color: #fff; }
.vtabs button img { width: 22px; height: 22px; border-radius: 6px; }
.vtabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.player { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(20px, 3vw, 36px); align-items: start; text-align: left; }
.player-box { border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.player-box video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.chapters button { width: 100%; text-align: left; display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 12px 14px; border: 0; border-radius: 12px; background: transparent; color: #c3cddc; cursor: pointer; font-size: 15px; transition: background .3s var(--ease), color .3s var(--ease); }
.chapters button:hover, .chapters button.on { background: rgba(255, 255, 255, .08); color: #fff; }
.chapters time { color: var(--brand-400); font-variant-numeric: tabular-nums; font-weight: 600; }
.video-note { margin-top: 16px; font-size: 14px; color: #93a0b4; }
.video-note a { color: #8cc5ff; }

/* ---------- CGode Dev band ---------- */
.maker { padding: 8px; border-radius: 36px; background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line); }
.maker-in { border-radius: 28px; background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.maker-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.maker-logo img { width: 56px; height: 56px; border-radius: 16px; background: #fff; }
.maker-logo b { display: block; font-size: 22px; }
.maker-logo span { color: #9fb0c6; font-size: 14px; }
.maker h2 { font-size: clamp(30px, 3.4vw, 46px); color: #fff; }
.maker p { color: #c3cddc; font-size: 18px; margin-top: 16px; max-width: 52ch; }
.maker .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.maker .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.maker .btn-ghost:hover { border-color: #fff; }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.services li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); font-weight: 500; }
.services .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(26, 140, 255, .18); color: #8cc5ff; }

/* ---------- help + idea cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--r-xl); background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .5s var(--ease); }
.duo-card:hover { transform: translateY(-4px); background: var(--bg-tint); }
.duo-card .i.big { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--accent); color: #fff; }
.duo-card h3 { font-size: 28px; }
.duo-card p { color: var(--ink-2); }
.duo-card .link { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--bg-soft); transition: transform .45s var(--ease), background .3s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }
.faq details p a { color: var(--accent); font-weight: 600; }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final .h2 { max-width: 16ch; margin: 0 auto 16px; }
.final .hero-cta { margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); margin-top: clamp(40px, 5vw, 80px); padding-block: clamp(56px, 6vw, 80px) 28px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 30ch; }
.foot h4 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 15px; color: var(--ink-2); transition: color .25s; }
.foot ul a:hover { color: var(--accent); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.socials a .i { width: 20px; height: 20px; }
.socials a:hover { transform: translateY(-2px); color: #fff; }
.socials a[aria-label*="Instagram"]:hover { background: #e1306c; }
.socials a[aria-label*="TikTok"]:hover { background: #000; }
.socials a[aria-label*="Facebook"]:hover { background: #1877f2; }
.socials a[aria-label*="WhatsApp"]:hover { background: #25d366; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; box-shadow: 0 -1px 0 var(--line); font-size: 14px; color: var(--muted); }
.foot-bottom a { color: var(--ink); font-weight: 600; }
.foot-bottom a:hover { color: var(--accent); }

/* WhatsApp button */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 28px -12px rgba(11, 18, 32, .5); transition: transform .45s var(--ease), opacity .3s; }
.fab .i { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.07); }
.fab.totop { display: none; }
body.at-foot .fab.whatsapp { opacity: 0; pointer-events: none; transform: translateY(12px); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* gentle entrance: movement only, content is never hidden */
.js-motion .rise { transform: translateY(18px); transition: transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion .rise.in { transform: none; }
.reveal { transition: transform .9s var(--ease); }

/* ===================== inner pages ===================== */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -.04em; max-width: 18ch; }
.page-hero .lead { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--accent); }

/* product page hero */
.p-hero { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.p-hero h1 { font-size: clamp(40px, 4.8vw, 64px); letter-spacing: -.04em; margin: 18px 0 18px; }
.p-hero .lead { margin-bottom: 30px; }
.p-hero .dl { display: grid; gap: 12px; justify-items: start; }
.p-hero .app-title { margin-bottom: 4px; }

/* feature grid */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feat:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-card); }
.feat .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bg-tint); color: var(--accent); margin-bottom: 16px; }
.feat h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; }
.feat p { font-size: 15.5px; color: var(--ink-2); }
.feat kbd { font-size: 12px; }

/* steps */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps3 li { counter-increment: s; padding: 8px; border-radius: var(--r-xl); background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line); }
.steps3 .in { height: 100%; border-radius: calc(var(--r-xl) - 8px); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.steps3 img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: top left; background: var(--bg-tint); }
.steps3 .txt { padding: 22px; }
.steps3 .txt::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.steps3 h3 { font-size: 20px; margin-bottom: 6px; }
.steps3 p { font-size: 15.5px; color: var(--ink-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery figure { margin: 0; grid-column: span 2; }
.gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: span 3; }
.gallery .frame { padding: 6px; border-radius: 22px; }
.gallery .frame-in { border-radius: 16px; }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; cursor: zoom-in; }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.specs div { padding: 20px; border-radius: var(--r-md); background: var(--bg-soft); }
.specs b { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.specs span { font-size: 17px; font-weight: 600; }

.formats { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.formats th, .formats td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.formats th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.formats tr:last-child td { border-bottom: 0; }
.formats td:first-child { font-weight: 600; white-space: nowrap; }

.cta-band { padding: 8px; border-radius: 36px; background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line); }
.cta-band-in { border-radius: 28px; background: var(--accent); color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band-in .h2 { color: #fff; max-width: 18ch; margin: 0 auto 14px; }
.cta-band-in p { color: #e3f0ff; font-size: 18px; }
.cta-band-in .hero-cta { margin-top: 30px; }

/* ---------- Shift live demo ---------- */
.live { display: grid; grid-template-columns: 62fr 38fr; padding: 8px; gap: 8px; border-radius: var(--r-xl); background: rgba(11, 18, 32, .035); box-shadow: 0 0 0 1px var(--line); }
.live-main { position: relative; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.live-side { border-radius: calc(var(--r-xl) - 8px); background: #fff; box-shadow: 0 0 0 1px var(--line); padding: 20px 22px; display: flex; flex-direction: column; }
.live-side h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; font-size: 15px; }
.ctl + .ctl { box-shadow: 0 -1px 0 var(--line); }
.ctl > span, .ctl > label { font-weight: 500; }
.seg { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 99px; background: #c5d0dd; position: relative; cursor: pointer; transition: background .3s var(--ease); flex: none; margin: 0; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.live-log { margin-top: auto; padding-top: 16px; font-size: 15px; color: var(--ink-2); min-height: 5em; }
.demo-under { margin-top: 18px; color: var(--muted); font-size: 15px; text-align: center; }
.shift-demo { position: relative; height: 100%; min-height: 540px; background: #fff; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.shift-demo .explorer-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #f7f9fc; font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: 0 1px 0 var(--line); }
.shift-demo .explorer-bar .i { width: 18px; height: 18px; color: #e6a400; }
.shift-demo .files { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; padding: 18px; }
.shift-demo .file { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; cursor: grab; font-size: 14px; font-weight: 500; line-height: 1.25; transition: background .25s; }
.shift-demo .file:hover { background: var(--bg-tint); }
.shift-demo .file small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.shift-demo .file.result { background: #e8f7ee; }
.shift-demo .file.pick { background: var(--bg-tint); box-shadow: inset 0 0 0 2px var(--accent); }
.shift-demo .ft { width: 38px; height: 46px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.shift-demo .ghost { position: absolute; z-index: 5; pointer-events: none; background: #fff; box-shadow: 0 12px 30px -10px rgba(11, 18, 32, .4); opacity: .95; width: 180px; }
.shift-demo .shift-key { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.shift-demo .shift-key button { min-width: 112px; height: 50px; border-radius: 12px; border: 0; background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line-2), 0 3px 0 #cfd8e4; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .15s, background .2s; }
.shift-demo .shift-key button.down { background: var(--accent); color: #fff; transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-hover); }
.radial { position: absolute; width: 300px; height: 300px; margin: -150px 0 0 -150px; z-index: 4; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s var(--ease); pointer-events: none; filter: drop-shadow(0 18px 30px rgba(11, 30, 60, .28)); }
.radial.show { opacity: 1; transform: scale(1); }
.radial svg { width: 100%; height: 100%; overflow: visible; }
.radial .seg { all: unset; }
.radial .seg path { fill: #eef5fd; stroke: #b8d3ee; stroke-width: 1; transition: fill .12s; }
.radial .seg text { fill: #12385f; font: 600 12px var(--font); text-anchor: middle; dominant-baseline: middle; }
.radial .seg.hot path { fill: #0094ff; stroke: #0077d6; }
.radial .seg.hot text { fill: #fff; }
.radial .hub { fill: #0094ff; stroke: #fff; stroke-width: 4; }
.radial .hub-t { fill: #fff; font: 600 11px var(--font); text-anchor: middle; dominant-baseline: middle; }
.demo-status { position: absolute; right: 18px; bottom: 18px; max-width: 58%; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.demo-status.show { opacity: 1; transform: none; }
.live.dark .live-main, .live.dark .shift-demo { background: #101822; color: #e7eef7; }
.live.dark .shift-demo .explorer-bar { background: #172231; color: #c8d4e3; }
.live.dark .shift-demo .file:hover, .live.dark .shift-demo .file.pick { background: #16304d; }
.live.dark .shift-demo .file.result { background: #123524; }
.live.dark .shift-demo .file small { color: #93a3b8; }
.live.dark .shift-demo .ghost { background: #172231; }
.live.dark .shift-demo .shift-key button { background: #223146; color: #e7eef7; box-shadow: 0 3px 0 #0b1320; }
.live.dark .shift-demo .shift-key button.down { background: var(--accent); }
.live.dark .radial .seg path { fill: #1b2a3d; stroke: #2f4864; }
.live.dark .radial .seg text { fill: #d8e6f5; }
.live.dark .radial .seg.hot path { fill: #0094ff; }
.live.dark .radial .seg.hot text { fill: #fff; }

/* ---------- download page ---------- */
.dlp { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(80px, 10vw, 136px); }
.pick-app { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.pick-app button { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-lg); border: 0; background: var(--bg); box-shadow: 0 0 0 1px var(--line); cursor: pointer; text-align: left; transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.pick-app button:hover { box-shadow: 0 0 0 1px var(--line-2); }
.pick-app button[aria-pressed="true"] { background: var(--bg-tint); box-shadow: 0 0 0 2px var(--accent); }
.pick-app img { width: 48px; height: 48px; border-radius: 12px; }
.pick-app b { display: block; font-size: 18px; }
.pick-app small { color: var(--muted); font-size: 14px; }
.terms-box { border-radius: var(--r-lg); background: var(--bg-soft); padding: 24px 26px; }
.terms-box h2 { font-size: 22px; letter-spacing: -.015em; margin-bottom: 12px; }
.terms-box ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }
.dl-card { position: sticky; top: 104px; padding: 28px; border-radius: var(--r-xl); background: var(--navy); color: #fff; box-shadow: var(--shadow-lift); }
.dl-card h2 { font-size: 26px; display: flex; gap: 12px; align-items: center; }
.dl-card h2 img { width: 44px; height: 44px; border-radius: 12px; }
.dl-card .dl-meta { margin-top: 12px; color: #b8c3d4; }
.dl-card .dl-btn { width: 100%; justify-content: center; margin-top: 22px; }
.dl-card .dl-btn[aria-disabled="true"] { background: #22314a; color: #d5deea; }
.dl-card .hint { margin-top: 12px; font-size: 14px; color: #f5c66b; min-height: 1.4em; }
.dl-card .mac { margin-top: 18px; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #c3cddc; font-size: 15px; }
.dl-card .mac .i { width: 26px; height: 26px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; padding: 0; accent-color: var(--accent); flex: none; cursor: pointer; }
.agree > span { min-width: 0; flex: 1; }
.agree a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.on-dark .agree a, .dl-card .agree a { color: #8cc5ff; }
.after[hidden] { display: none; }
.after .h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 40px; }
.steps-install { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.steps-install li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--bg-soft); border-radius: var(--r-md); color: var(--ink-2); }
.steps-install li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.steps-install b { display: block; color: var(--ink); }
.sha { display: flex; gap: 10px; align-items: center; background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.sha code { background: none; padding: 0; font-size: 13px; word-break: break-all; color: var(--ink-2); }
.get-shots { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.get-shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 12px; background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line); cursor: zoom-in; }
.zoombox { position: fixed; inset: 0; z-index: 80; background: rgba(6, 11, 20, .9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.zoombox[hidden] { display: none; }
.zoombox img { max-width: 100%; max-height: 100%; border-radius: 10px; }

/* ---------- contact page ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-split { grid-template-columns: 7fr 4fr; padding-bottom: clamp(80px, 10vw, 136px); }
.ctabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-soft); margin-bottom: 28px; flex-wrap: wrap; }
.ctabs button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease); }
.ctabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px rgba(11, 18, 32, .2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form[hidden] { display: none; }
.form .full { grid-column: 1 / -1; }
.field label, .field .lbl { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 8px; }
.field label small, .field .lbl small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d2dbe7; border-radius: 12px; background: #fff; padding: 13px 14px; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--bg-tint); }
.field .help { font-size: 14px; color: var(--muted); margin-top: 6px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #d93636; }
.field label.agree { display: flex; font-weight: 400; margin: 0; }
.field .agree input { width: 22px; height: 22px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; margin: 0; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; background: var(--bg-soft); font-size: 15.5px; cursor: pointer; transition: background .25s, color .25s; }
.chips input:checked + span { background: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-size: 15px; }
.form-msg.ok { color: var(--ok); font-weight: 600; }
.form-msg.err { color: #c62828; font-weight: 600; }
.side-info { position: sticky; top: 104px; display: grid; gap: 22px; padding: 26px; border-radius: var(--r-xl); background: var(--bg-soft); }
.side-info h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.side-info p { font-size: 15px; color: var(--ink-2); }
.side-info a { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.side-info a:hover { color: var(--accent); }
.side-info .i { width: 18px; height: 18px; color: var(--accent); }
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--r-md); padding: 16px 18px; background: var(--bg-soft); font-size: 15.5px; }
.notice .i { color: var(--accent); margin-top: 2px; }

/* ---------- legal ---------- */
.legal-doc { max-width: 780px; padding-bottom: clamp(80px, 10vw, 136px); }
.legal-doc h2 { font-size: 26px; letter-spacing: -.02em; margin: 48px 0 14px; }
.legal-doc h3 { font-size: 19px; margin: 26px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; display: grid; gap: 8px; }
.legal-doc a { color: var(--accent); }
.legal-doc .strong { font-weight: 600; color: var(--ink); }
.summary { border-radius: var(--r-lg); background: var(--bg-tint); padding: 24px 26px; }
.summary h2 { margin: 0 0 12px; font-size: 22px; }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.legal-nav .btn { background: var(--bg-soft); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.lic { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.lic th, .lic td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lic th { color: var(--muted); font-weight: 500; font-size: 14px; }

/* ---------- guides hub (app rows) ---------- */
.app-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.app-row + .app-row { margin-top: clamp(64px, 8vw, 110px); }
.app-row.flip { grid-template-columns: 7fr 5fr; }
.app-row.flip .app-copy { order: 2; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-id img { width: 56px; height: 56px; border-radius: 14px; }
.app-id h2, .app-id h3 { font-size: 28px; }
.app-id span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.app-copy .lead { margin-bottom: 24px; }
.app-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.frag { display: block; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-soft); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); transition: transform .5s var(--ease); }
.frag:hover { transform: translateY(-4px); }
.frag.crop { aspect-ratio: 16 / 11; }
.frag.crop img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frag.stage { background: var(--bg-tint); display: grid; place-items: center; padding: 6%; }
.frag.stage img { max-width: 440px; width: 100%; }

/* guide pages (older markup) */
.window { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow-card); background: #fff; }
.win-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f1f4f8; font-size: 12px; font-weight: 600; color: var(--muted); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dde7; }
.win-bar span { margin-left: 8px; }

/* ===================== responsive ===================== */
@media (max-width: 1100px) {
  .nav a { padding: 9px 10px; font-size: 14.5px; }
  .to-dev span { display: none; }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .header-actions .to-dev, .header-actions .btn { display: none; }
  .menu-btn { display: block; }
  .header-row { justify-content: space-between; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .trust li:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .apps, .duo { grid-template-columns: 1fr; }
  .row, .row.flip, .p-hero, .split, .contact-split, .dlp, .app-row, .app-row.flip, .maker-in, .player { grid-template-columns: 1fr; }
  .row.flip .row-text, .app-row.flip .app-copy { order: 0; }
  .feats { grid-template-columns: 1fr 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .live { grid-template-columns: 1fr; }
  .dl-card, .side-info { position: static; }
  .hero-chip { display: none; }
  .hero-ring { width: 30%; right: -2%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 58px; padding-left: 14px; }
  .brand-by { display: none; }
  .hero h1 { font-size: 11vw; }
  .hero-cta .dl-btn, .hero-cta .btn { width: 100%; justify-content: center; }
  .trust { grid-template-columns: 1fr; }
  .trust li + li, .trust li:nth-child(n) { box-shadow: 0 -1px 0 var(--line); }
  .trust li:first-child { box-shadow: none; }
  .feats, .specs, .pick-app, .form { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:nth-child(n) { grid-column: auto; }
  .foot { grid-template-columns: 1fr 1fr; }
  .app-card .body, .duo-card { padding: 22px; }
  .shift-demo { min-height: 470px; }
  .shift-demo .files { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .get-shots { grid-template-columns: 1fr 1fr; }
  .get-shots img:first-child { grid-column: span 2; }
  .fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .formats td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js-motion .rise { transform: none; }
}
.hero { overflow: visible; overflow-x: clip; }
.site-footer { margin-top: 0; }
#videos { margin-bottom: clamp(80px, 10vw, 136px); }
@media (max-width: 640px) {
  .fab { opacity: 0; pointer-events: none; }
  body.scrolled:not(.at-foot) .fab { opacity: 1; pointer-events: auto; }
}
@media (min-width: 961px) { .p-hero { grid-template-columns: 6fr 6fr; } }
.p-hero h1 { font-size: clamp(38px, 4.2vw, 58px); }
.p-hero .app-title span { white-space: nowrap; }
.terms-box ul { align-content: start; }

/* hero background photo (Unsplash, Rayi Christian Wicaksono) under a light wash */
.hero { isolation: isolate; margin-top: -92px; padding-top: calc(92px + clamp(56px, 8vw, 104px)); background: linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .86) 45%, rgba(255, 255, 255, .97) 80%, #fff 100%), url(assets/photos/hero-desk.webp) center 72% / cover no-repeat; }
.hero .lead { color: var(--ink); }
.hero-note { color: var(--ink-2); }
@media (max-width: 640px) { .hero { margin-top: -86px; padding-top: calc(86px + 48px); background-position: center, 60% 20%; } }

/* ===== phone and tablet: keep the desktop look ===== */
@media (max-width: 960px) {
  /* navbar: brand + download stay in the bar, the page links sit in a scrollable pill row under it */
  .site-header { top: 10px; margin-top: 10px; }
  .header-row { height: auto; min-height: 60px; flex-wrap: wrap; row-gap: 0; padding: 8px 8px 8px 14px; border-radius: 26px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: inline-flex; }
  .header-actions .to-dev { display: inline-flex; padding: 5px; }
  .header-actions .to-dev span, .header-actions .to-dev .i { display: none; }
  .menu-btn { display: none; }
  .nav { display: flex; order: 3; width: 100%; margin: 6px 0 0; padding: 6px 0 2px; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; box-shadow: 0 -1px 0 var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 8px 14px; font-size: 14.5px; }
  .hero { margin-top: -120px; padding-top: calc(120px + 48px); }
  .hero-chip { display: flex; left: -2%; top: auto; bottom: 14%; padding: 8px 14px 8px 8px; font-size: 12.5px; }
  .hero-chip img { width: 30px; height: 30px; }
  .hero-chip b { font-size: 13px; }
  .hero-ring { width: 32%; right: -3%; bottom: -10%; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-row { padding: 6px 6px 6px 12px; }
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: 16.5px; }
  .brand-by { display: block; font-size: 10.5px; }
  .header-actions .btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; gap: 7px; }
  .header-actions .to-dev img { width: 26px; height: 26px; }
  .hero { margin-top: -116px; padding-top: calc(116px + 40px); }
  .hero h1 { font-size: 10.6vw; }
  .hero .lead { font-size: 16.5px; }
  /* the two hero buttons stay side by side, like on desktop */
  .hero-cta { flex-wrap: nowrap; gap: 8px; margin-top: 28px; }
  .hero-cta .dl-btn, .hero-cta .btn { width: auto; }
  .hero-cta .dl-btn { flex: 1 1 auto; min-height: 56px; padding: 8px 16px 8px 14px; gap: 10px; justify-content: flex-start; }
  .hero-cta .dl-btn .i { width: 22px; height: 22px; }
  .hero-cta .dl-btn b { font-size: 15px; }
  .hero-cta .dl-btn small { font-size: 11.5px; }
  .hero-cta .btn { flex: 0 0 auto; min-height: 56px; padding: 0 14px 0 16px; font-size: 15px; }
  .hero-cta .btn .orb { width: 26px; height: 26px; margin-right: -6px; }
  .final .hero-cta .dl-btn, .cta-band-in .hero-cta .dl-btn { flex: 0 1 auto; }
  .hero-note { font-size: 13px; gap: 4px 12px; }
  .hero-visual { margin-top: 40px; }
  .frame { padding: 5px; border-radius: 20px; }
  .frame-in { border-radius: 15px; }
  .win-top { height: 26px; font-size: 11px; padding: 0 10px; }
  .win-top i { width: 8px; height: 8px; }
  /* trust: 2 by 2 like the desktop strip */
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .trust li:nth-child(n) { box-shadow: none; }
  .trust li:nth-child(2), .trust li:nth-child(4) { box-shadow: -1px 0 0 var(--line); }
  .trust li:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .trust li:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .trust .i { width: 36px; height: 36px; padding: 8px; }
  .trust b { font-size: 15px; }
  .trust p { font-size: 13px; }
  /* feature rows: picture first, then text, as a compact card */
  .row, .row.flip { gap: 22px; }
  .row .frame, .row.flip .frame { order: -1; }
  .row-text h3 { font-size: 26px; }
  .row-text p { font-size: 16px; }
  .head { margin-bottom: 32px; }
  /* app cards keep the side-by-side buttons */
  .app-card .actions { flex-wrap: nowrap; }
  .app-card .actions .btn { flex: 1; padding: 0 14px; }
  .maker-in { padding: 26px 22px; }
  .maker .actions { flex-wrap: nowrap; }
  .maker .actions .btn { flex: 1; padding: 0 14px; font-size: 15px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(1) { grid-column: 1 / -1; }
  .feats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 18px; }
  .feat .i { width: 38px; height: 38px; padding: 8px; margin-bottom: 12px; }
  .feat h3 { font-size: 16.5px; }
  .feat p { font-size: 14px; }
  .p-hero .dl { justify-items: stretch; }
}
@media (max-width: 360px) {
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .dl-btn, .hero-cta .btn { width: 100%; justify-content: center; }
  .header-actions .to-dev { display: none; }
}
.apps, .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .apps, .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .app-card .actions .btn, .maker .actions .btn { min-width: 0; font-size: 14.5px; gap: 6px; }
  .app-card .actions .btn .orb { display: none; }
  .nav a { padding: 7px 10px; font-size: 13.5px; }
  .hero-cta .dl-btn { white-space: nowrap; }
  .hero-cta .btn .more { display: none; }
}
@media (max-width: 960px) { .nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* ===== phone: "Our apps" and "See how it works" keep the desktop side-by-side layout ===== */
@media (max-width: 960px) {
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .row, .row.flip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 32px); }
  .row .frame, .row.flip .frame { order: 0; }
  .row.flip .row-text { order: 2; }
}
@media (max-width: 640px) {
  .apps { gap: 8px; }
  .app-card { padding: 4px; border-radius: 18px; }
  .app-card-in { border-radius: 14px; }
  .app-card .body { padding: 12px 11px 13px; gap: 9px; }
  .app-title { gap: 8px; align-items: flex-start; }
  .app-title img { width: 34px; height: 34px; border-radius: 9px; }
  .app-title h3 { font-size: 16px; letter-spacing: -.02em; }
  .app-title span { font-size: 11px; margin-top: 1px; }
  .app-card .body > p { font-size: 12.5px; line-height: 1.45; }
  .checks { gap: 5px; }
  .checks li { font-size: 12px; line-height: 1.4; gap: 6px; }
  .checks .i { width: 13px; height: 13px; margin-top: 2px; }
  .app-card .actions { flex-direction: column; flex-wrap: nowrap; gap: 6px; padding-top: 2px; }
  .app-card .actions .btn { width: 100%; min-height: 36px; padding: 0 10px; font-size: 12.5px; gap: 6px; box-shadow: none; }
  .app-card .actions .btn .i { width: 14px; height: 14px; }

  .rows { gap: 44px; }
  .row-text .tag { font-size: 11px; padding: 4px 9px; gap: 5px; }
  .row-text .tag img { width: 15px; height: 15px; }
  .row-text h3 { font-size: 17px; margin: 9px 0 7px; letter-spacing: -.02em; }
  .row-text p { font-size: 12.5px; line-height: 1.5; }
  .row-text .checks { margin-top: 9px; }
  .row-text .link { margin-top: 10px; font-size: 12.5px; }
  .row-text .link .i { width: 13px; height: 13px; }
  .row .frame { padding: 4px; border-radius: 14px; }
  .row .frame-in { border-radius: 10px; }
  .row .frame.pad-stage .frame-in img { width: 86%; }
}

/* ===== phone navbar: logo, Download and a menu button; links open in a dropdown section ===== */
@media (max-width: 960px) {
  .header-row { flex-wrap: nowrap; padding: 6px 6px 6px 14px; border-radius: 999px; }
  .nav { display: none; }
  .menu-btn { display: block; flex: none; }
  .mobile-nav { position: absolute; inset: auto var(--gutter) auto var(--gutter); top: calc(100% + 8px); z-index: 1; max-height: calc(100dvh - 110px); padding: 10px; border-radius: 24px; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); gap: 2px; }
  .mobile-nav a { font-size: 17px; padding: 13px 14px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; }
  .mobile-nav a:not(.btn)::after { content: '›'; color: var(--muted); font-size: 22px; line-height: 1; }
  .mobile-nav a.on { background: var(--bg-tint); color: var(--accent); }
  .mobile-nav .btn { margin-top: 8px; justify-content: center; }
}
/* "Our apps": one card per row again on phones */
@media (max-width: 960px) { .apps { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
@media (max-width: 640px) {
  .app-card { padding: 6px; border-radius: 22px; }
  .app-card-in { border-radius: 17px; }
  .app-card .body { padding: 22px; gap: 14px; }
  .app-title { gap: 12px; align-items: center; }
  .app-title img { width: 46px; height: 46px; border-radius: 12px; }
  .app-title h3 { font-size: 22px; }
  .app-title span { font-size: 13px; }
  .app-card .body > p { font-size: 15.5px; line-height: 1.55; }
  .app-card .checks { gap: 8px; }
  .app-card .checks li { font-size: 15px; gap: 10px; }
  .app-card .checks .i { width: 17px; height: 17px; margin-top: 3px; }
  .app-card .actions { flex-direction: row; gap: 10px; }
  .app-card .actions .btn { flex: 1; min-height: 46px; font-size: 15px; }
  .app-card .actions .btn .i { width: 17px; height: 17px; }
}
@media (max-width: 960px) { .mobile-nav a[target]::after { content: none; } }
@media (max-width: 1100px) and (min-width: 641px) { .foot { grid-template-columns: repeat(4, 1fr); } .foot-brand { grid-column: 1 / -1; } }
/* smoother touch: no grey tap flash, no "stuck" hover lifts on phones */
a, button { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .app-card:hover, .feat:hover, .duo-card:hover, .frag:hover, .dl-btn:hover, .btn:hover { transform: none; }
  .app-card:hover .shot img { transform: none; }
}
@media (max-width: 640px) { .header-actions .to-dev { display: none; } }
img, video { content-visibility: auto; }
.tag { color: var(--accent-hover); }
@media (max-width: 640px) {
  .row-text p, .row-text .link, .checks li { font-size: 13px; }
  .row-text .tag, .hero-chip, .hero-note { font-size: 13px; }
  .app-title span { font-size: 13px; }
  .win-top { font-size: 12px; }
  .hero-cta .dl-btn small { font-size: 12px; }
}
