/* Ashishigi2 — site styles */
:root {
  --bg: #f6f7fb;
  --bg-2: #eef0f8;
  --card: #ffffff;
  --ink: #14152b;
  --muted: #5a5f7a;
  --line: #e3e5f0;
  --teal: #0e9f8e;
  --indigo: #4338ca;
  --violet: #7d6ef2;
  --gold: #ffb300;
  --accent: var(--indigo);
  --shadow: 0 1px 2px rgba(20, 21, 43, .05), 0 12px 32px -12px rgba(20, 21, 43, .16);
  --radius: 20px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0c15;
  --bg-2: #11131f;
  --card: #161827;
  --ink: #eef0fb;
  --muted: #a3a8c3;
  --line: #262a40;
  --accent: #9d93ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 36px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--teal), var(--indigo) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .grad { background-image: linear-gradient(100deg, #37d6c2, #8f86ff 55%, #c1b9ff); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--indigo) 60%, var(--violet));
  color: #fff; font: 800 14px var(--display); letter-spacing: -.04em;
}
.logo sup { font-size: .62em; color: var(--accent); margin-left: 1px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.icon-btn svg { width: 19px; height: 19px; }
#menuBtn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-yt { background: #e62117; color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.btn-play { background: #101223; color: #fff; padding: 9px 18px 9px 14px; text-align: left; box-shadow: var(--shadow); }
:root[data-theme="dark"] .btn-play { background: #fff; color: #101223; }
.btn-play svg { width: 26px; height: 26px; }
.btn-play span { display: grid; line-height: 1.15; }
.btn-play small { font-size: 10.5px; font-weight: 500; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.btn-play b { font-size: 16px; }
.text-link { font-weight: 600; text-decoration: none; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 48px; }
.aurora { position: absolute; inset: -140px 0 auto; height: 700px; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .34; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 460px; height: 460px; right: 4%; top: 120px; background: var(--violet); }
.aurora i:nth-child(2) { width: 400px; height: 400px; right: 30%; top: 280px; background: var(--teal); animation-duration: 23s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 320px; height: 320px; left: -4%; top: 60px; background: var(--indigo); opacity: .16; animation-duration: 27s; animation-delay: -12s; }
.aurora.one i { background: var(--a); }
.aurora.one i:nth-child(2) { background: var(--a2); }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.18); }
  100% { transform: translate(60px, -40px) scale(.92); }
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 20px 0 18px; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.app-pill {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: transform .15s, border-color .15s;
}
.app-pill:hover { transform: translateY(-2px); border-color: var(--accent); }
.app-pill img { width: 34px; height: 34px; border-radius: 9px; }
.app-pill small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 520px;
  transform: perspective(1200px) rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -5deg));
  transition: transform .35s ease-out; will-change: transform;
}
.hero-visual .pop:first-child { z-index: 1; }
.hero-visual .pop:last-child { z-index: 2; }
.hero-visual .pop:first-child .phone { transform: rotate(-5deg) translate(18px, 34px); }
.hero-visual .pop:last-child .phone { transform: rotate(5deg) translate(-18px, 0); }
.hero-visual.single .pop .phone { transform: rotate(3deg); }
.app-pill.more { padding-left: 14px; border-style: dashed; }
.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-delay: -3.5s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- Phone ---------- */
.phone {
  --pw: 250px; width: var(--pw); font-size: calc(var(--pw) / 25); flex: none;
  aspect-ratio: 9 / 19.5; border-radius: 3.4em; padding: .8em; background: #0c0d16;
  box-shadow: 0 0 0 1px #2a2d42, 0 30px 60px -20px rgba(20, 21, 60, .5);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 2.7em; overflow: hidden; background: #f4f5fb; color: #17182c; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.screen img.on { opacity: 1; }

/* Expense Tracker live mock (all sizes in em so it scales with the phone) */
.ex { display: flex; flex-direction: column; height: 100%; font-family: var(--font); line-height: 1.3; }
.ex-top { background: linear-gradient(160deg, #0e9f8e, #283593 75%); color: #fff; padding: 1.6em 1.4em 3.6em; }
.ex-status { display: flex; justify-content: space-between; font-size: .9em; font-weight: 600; opacity: .9; }
.ex-top h4 { margin: 1em 0 0; font: 700 1.7em var(--display); }
.ex-top span { font-size: .95em; opacity: .8; }
.ex-card { margin: -2.6em 1.1em 0; background: #fff; border-radius: 1.4em; padding: 1.1em 1.2em; box-shadow: 0 .6em 1.6em -.6em rgba(20, 21, 60, .3); }
.ex-sum { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.ex-sum small { display: block; font-size: .8em; color: #7b8099; }
.ex-sum b { font-size: 1.15em; }
.ex-bar { height: .6em; border-radius: 1em; background: #e8eaf4; overflow: hidden; margin-top: .9em; }
.ex-bar i { display: block; height: 100%; border-radius: 1em; background: #0e9f8e; transition: width .6s cubic-bezier(.2, .8, .2, 1), background .3s; }
.ex-list { padding: 1em 1.1em 0; display: grid; gap: .7em; }
.ex-row { background: #fff; border-radius: 1.1em; padding: .8em 1em; border-left: .45em solid var(--c); transition: transform .25s; }
.ex-row.bump { transform: scale(1.04); }
.ex-row div { display: flex; justify-content: space-between; align-items: baseline; font-size: 1em; font-weight: 600; }
.ex-row div span { font-weight: 500; font-size: .85em; color: #7b8099; }
.ex-row .ex-bar { margin-top: .5em; height: .5em; }
.ex-row .ex-bar i { background: var(--c); }
.ex-row.over { border-left-color: #e53935; }
.ex-row.over .ex-bar i { background: #e53935; }
.ex-row.over div span { color: #e53935; font-weight: 700; }
.ex-score { margin: auto 1.1em 1.4em; background: #fff; border-radius: 1.1em; padding: .8em 1em; display: flex; align-items: center; gap: .9em; }
.ex-score b { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; font-size: 1.1em; color: #fff; background: #2e9e4f; transition: background .3s; flex: none; }
.ex-score p { font-size: .9em; font-weight: 600; }
.ex-score small { display: block; font-weight: 500; color: #7b8099; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 700 13px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

.strip { padding: 0; }
.strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.strip div { background: var(--card); padding: 22px 20px; }
.strip b { display: block; font: 700 24px var(--display); }
.strip span { font-size: 14px; color: var(--muted); }

/* App showcase */
.app-block {
  --a: var(--indigo); --a2: var(--violet);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: 48px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.app-block + .app-block { margin-top: 28px; }
.app-block::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; right: -120px; top: -160px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--a) 22%, transparent), transparent); pointer-events: none;
}
.app-block.flip::before { right: auto; left: -120px; }
.app-block.flip .app-visual { order: -1; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-id img { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--shadow); }
.app-id small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.app-id .stars { color: var(--gold); letter-spacing: 1px; }
.app-block h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.app-block > div > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.chips li {
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--a) 12%, transparent); color: color-mix(in srgb, var(--a) 70%, var(--ink));
}
.mini-feats { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.mini-feats li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.mini-feats svg { width: 18px; height: 18px; color: var(--a); flex: none; }
:root[data-theme="dark"] .mini-feats svg { color: color-mix(in srgb, var(--a) 60%, #fff); }
.app-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.app-visual .phone { --pw: 270px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.tabs button {
  border: 0; background: none; color: var(--muted); font: 600 13px var(--font); padding: 8px 12px; border-radius: 10px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.try { width: 100%; max-width: 330px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.try h4 { margin: 0 0 4px; font: 700 15px var(--display); }
.try p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.try .opts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.try .opts button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px var(--font);
  padding: 7px 11px; border-radius: 10px; cursor: pointer;
}
.try .opts button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.try .row { display: flex; gap: 8px; }
.try .row .btn { flex: 1; }

/* Feature grid */
.grid { display: grid; gap: 18px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--a, var(--accent)) 14%, transparent); color: var(--a, var(--accent));
}
:root[data-theme="dark"] .card .ico { color: color-mix(in srgb, var(--a, var(--accent)) 55%, #fff); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Video */
.video-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #0c0d16 center / cover no-repeat; cursor: pointer; padding: 0; width: 100%; display: block;
}
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .7)); }
.video .playdot {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; z-index: 1;
  background: #e62117; color: #fff; display: grid; place-items: center; transition: transform .2s;
}
.video:hover .playdot { transform: scale(1.1); }
.video .playdot svg { width: 30px; height: 30px; margin-left: 4px; }
.video .vt { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font: 600 16px var(--display); text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.sub-card {
  border-radius: var(--radius); padding: 32px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: linear-gradient(140deg, #14152b, #2a1f6b 60%, #4634c7);
}
.sub-card h3 { font-size: 26px; }
.sub-card p { opacity: .85; }
.sub-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 500; }
.sub-card li { display: flex; gap: 10px; align-items: center; }
.sub-card li svg { width: 18px; height: 18px; color: #7fe9d9; }
.sub-card .btn { align-self: flex-start; margin-top: 6px; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px var(--font); color: var(--accent); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.faq .tag { font-size: 12px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 2px; }

/* CTA + footer */
.cta-band {
  border-radius: 28px; padding: 56px 32px; text-align: center; color: #fff;
  background: linear-gradient(120deg, #0b7d70, #3730a3 55%, #6d5ce8);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.cta-band p { opacity: .88; max-width: 520px; margin: 0 auto 26px; }
.cta-band .cta-row { justify-content: center; margin: 0; }
.cta-band .btn-play { background: #fff; color: #101223; }
footer { border-top: 1px solid var(--line); padding: 40px 0 32px; margin-top: 72px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }

/* App detail page */
.app-hero { padding: 48px 0 24px; }
.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-hero h1 { font-size: clamp(30px, 4.4vw, 48px); margin: 6px 0 14px; }
.app-hero .lead { color: var(--muted); font-size: 18px; }
.crumb { font-size: 14px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 22px; }
.crumb svg { width: 16px; height: 16px; transform: rotate(180deg); }
.other { display: flex; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.other img { width: 64px; height: 64px; border-radius: 16px; }
.other div { flex: 1; }
.other h3 { font-size: 20px; }

/* ---------- App catalogue ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--line); background: var(--card); color: var(--muted); font: 600 14px var(--font);
  padding: 9px 14px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.filters button:hover { transform: translateY(-2px); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters button i { font-style: normal; opacity: .6; font-weight: 500; margin-left: 2px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--muted); min-width: 220px; }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 17px; height: 17px; flex: none; }
.search input { border: 0; outline: 0; background: none; color: var(--ink); font: 500 14px var(--font); width: 100%; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.app-card {
  display: flex; align-items: center; gap: 16px; padding: 18px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.app-card[hidden] { display: none; }
.app-card img { width: 56px; height: 56px; border-radius: 15px; flex: none; box-shadow: var(--shadow); }
.app-card .body { flex: 1; min-width: 0; display: grid; }
.app-card .body small { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--a) 70%, var(--ink)); }
.app-card .body b { font: 700 17px var(--display); letter-spacing: -.01em; }
.app-card .body span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card .meta { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--bg-2); white-space: nowrap; }
.soon, .app-card .meta.soon { color: #b45309; }
.app-card .meta.soon { background: color-mix(in srgb, var(--gold) 20%, transparent); }
:root[data-theme="dark"] .soon, :root[data-theme="dark"] .app-card .meta.soon { color: var(--gold); }
.soon-btn { cursor: default; opacity: .8; }
.soon-btn:hover { transform: none; }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* Poster phone — used when an app has no screenshots yet */
.screen.poster {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1em; text-align: center; padding: 2em;
  color: #fff; background: linear-gradient(160deg, var(--a), var(--a2));
}
.screen.poster img { position: static; width: 42%; height: auto; opacity: 1; border-radius: 24%; box-shadow: 0 1.2em 2.4em -1em rgba(0, 0, 0, .5); }
.screen.poster b { font: 700 1.9em/1.15 var(--display); }
.screen.poster span { font-size: 1.15em; opacity: .85; line-height: 1.4; }
.screen.poster em { font-style: normal; font-weight: 700; font-size: 1em; padding: .4em 1em; border-radius: 9em; background: rgba(255, 255, 255, .2); }

/* ---------- Motion ---------- */
@view-transition { navigation: auto; }
@keyframes rise { from { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, 26px)) scale(var(--fs, 1)); } }
@keyframes pop { from { opacity: 0; transform: translateY(60px) scale(.9); } }
@keyframes wordUp { from { transform: translateY(115%); } }
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 33, 23, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(230, 33, 23, 0); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes phoneScroll { from { transform: translateY(26px) rotate(-2deg); } to { transform: translateY(-26px) rotate(2deg); } }

.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: rise .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) backwards; }
.rise { animation: rise .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) backwards; }
.pop { animation: pop 1s cubic-bezier(.2, .9, .25, 1.1) var(--d, 0s) backwards; }

/* Headline: words slide up one after another */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; animation: wordUp .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms + .1s) backwards; }
.w > .grad { background-size: 200% 100%; background-image: linear-gradient(100deg, var(--teal), var(--indigo), var(--violet), var(--teal)); animation: wordUp .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 70ms + .1s) backwards, shimmer 7s linear infinite; }
:root[data-theme="dark"] .w > .grad { background-image: linear-gradient(100deg, #37d6c2, #8f86ff, #c1b9ff, #37d6c2); }

/* Scroll progress line under the nav */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--teal), var(--indigo), var(--violet)); }

/* Cards lean towards the cursor and light up under it */
.tilt {
  position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .25s ease-out, box-shadow .25s, border-color .25s;
}
.tilt:hover { --ty: -5px; box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--a, var(--accent)) 45%, var(--line)); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--a, var(--accent)) 18%, transparent), transparent 70%);
}
.tilt:hover::after { opacity: 1; }

/* Light sweep across buttons */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent); transition: left .7s ease;
}
:root[data-theme="dark"] .shine::after, .cta-band .shine::after { background: linear-gradient(90deg, transparent, rgba(125, 110, 242, .3), transparent); }
.shine:hover::after { left: 125%; }
.btn-yt.pulse { animation: pulse 2.2s ease-out infinite; }

/* Ticker of what the apps offer */
.marquee { overflow: hidden; padding: 0 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 9px; margin-right: 12px; padding: 8px 16px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--violet)); }

.faq details[open] p { animation: faqIn .3s ease; }
.nav-links a { transition: color .2s, background .2s; }
.app-id img, .app-pill img { transition: transform .3s cubic-bezier(.2, .8, .2, 1.4); }
.app-block:hover .app-id img, .app-pill:hover img { transform: rotate(-6deg) scale(1.08); }

/* Phones drift gently as their section scrolls past (browsers that support it) */
@supports (animation-timeline: view()) {
  .app-block .phone { animation: phoneScroll linear both; animation-timeline: view(); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .app-hero .wrap, .app-block, .video-grid { grid-template-columns: 1fr; }
  .app-block { padding: 28px 22px; gap: 32px; }
  .app-block.flip .app-visual { order: 0; }
  .grid.c4, .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 36px; }
  .hero-visual { min-height: 0; padding-bottom: 30px; }
  .hero-visual .phone { --pw: 200px; }
}
@media (max-width: 720px) {
  #menuBtn { display: grid; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav .wrap { gap: 10px; }
  .nav .logo { margin-right: auto; }
  .nav .btn-yt span { display: none; }
  .nav .btn-yt { padding: 10px; }
}
@media (max-width: 560px) {
  section { padding: 52px 0; }
  .grid.c4, .grid.c3 { grid-template-columns: 1fr; }
  .hero-visual .phone { --pw: 158px; }
  .hero-visual .pop:first-child .phone { transform: rotate(-4deg) translate(8px, 22px); }
  .hero-visual .pop:last-child .phone { transform: rotate(4deg) translate(-8px, 0); }
  .app-grid { grid-template-columns: 1fr; }
  .search { width: 100%; }
  .app-visual .phone { --pw: 240px; }
  .other { flex-direction: column; text-align: center; }
  .sub-card { padding: 24px; }
  .cta-band { padding: 40px 20px; }
}
