/* JL Apps – one stylesheet for the home page and all app pages.
   Night look with glass cards; every app page tints itself with --accent (its icon color). */

:root {
  --bg: #0b0a16;
  --bg-2: #120f24;
  --text: #f4f2ff;
  --muted: #b7b2d6;
  --faint: #8580a8;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.10);
  --radius: 28px;
  --max: 1180px;
  --accent: #8b5cf6;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(91, 70, 220, 0.25), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* A few stars in the sky */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 47% 22%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 78% 30%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 91% 6%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 6% 40%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 36% 44%, rgba(255,255,255,.3), transparent);
  opacity: .8;
  z-index: -1;
}

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0.7em 0; }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */

/* A floating glass capsule, like on yarnspace.app. */
.topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 24px));
  height: 58px;
  margin: 10px auto 0;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 19, 44, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.topbar nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.topbar nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.topbar nav .lang {
  margin-left: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--line);
}
.topbar nav .lang:hover { background: rgba(255, 255, 255, 0.12); }

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

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, white), var(--accent));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 40%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.button.ghost { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .2s, opacity .2s; }
.store-badge:hover { transform: translateY(-2px); opacity: .9; }
.store-badge img { height: 54px; width: auto; }

.kicker { color: color-mix(in srgb, var(--accent) 55%, white); font-weight: 650; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.lead.strong { color: var(--text); font-weight: 600; }
.fine { color: var(--faint); font-size: 0.9rem; }

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

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 56px;
}
.hero-text p:not(.kicker):not(.lead):not(.fine) { color: var(--muted); max-width: 38rem; }
.hero-icon {
  border-radius: 26px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3), 0 0 0 1px var(--line);
  margin-bottom: 22px;
}

.phone img, .showcase img, .gallery img {
  border-radius: 34px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22), 0 0 0 1px var(--line);
  height: auto;
}
.phone { display: flex; justify-content: center; position: relative; }
.phone::before {
  /* The app's color glowing behind its screenshot. */
  content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent);
  filter: blur(30px);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 0.85rem; font-weight: 650; color: var(--muted);
  padding: 6px 12px; border-radius: 999px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.phone img { width: min(340px, 80vw); }
/* Three screenshots fanned out: the first one big in front, two tilted behind it. */
.phone.fan { height: 650px; }
.phone.fan img { position: absolute; top: 0; left: 50%; }
.phone.fan .middle { width: 300px; margin-left: -150px; z-index: 2; box-shadow: 0 10px 24px rgba(0,0,0,.3), 0 0 0 1px var(--line); }
.phone.fan .left, .phone.fan .right { width: 215px; top: 70px; opacity: .9; }
.phone.fan .left { margin-left: -235px; transform: rotate(-7deg); }
.phone.fan .right { margin-left: 20px; transform: rotate(7deg); }

.showcase { position: relative; height: 560px; }
.showcase img { position: absolute; width: 250px; }
.showcase img:nth-child(1) { left: 2%; top: 70px; transform: rotate(-8deg); opacity: .92; }
.showcase img:nth-child(2) { left: 50%; top: 0; z-index: 2; width: 290px; transform: translateX(-50%); box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px var(--line), 0 0 80px rgba(139,92,246,.4); }
.showcase img:nth-child(3) { right: 2%; top: 80px; transform: rotate(8deg); opacity: .92; }

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

.apps { padding-bottom: 24px; }
.group { padding: 28px 0; }
.group h2 { margin-bottom: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
@media (min-width: 1100px) {
  /* Three per row; a last row with two cards shares the full width instead of leaving a hole. */
  .grid { grid-template-columns: repeat(6, 1fr); }
  .grid > * { grid-column: span 2; }
  .grid > :nth-child(3n+1):nth-last-child(2), .grid > :nth-child(3n+1):nth-last-child(2) + * { grid-column: span 3; }
  .grid > :nth-child(3n+1):last-child { grid-column: 2 / span 4; }
}

.app-card {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  text-decoration: none;
  background:
    radial-gradient(400px 160px at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background-color: var(--glass-strong); }
.app-icon { flex: none; border-radius: 20px; box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.app-card h3 { margin: 2px 0 2px; }
.app-card .genre { font-size: 0.8rem; font-weight: 650; color: color-mix(in srgb, var(--accent) 60%, white); text-transform: uppercase; letter-spacing: 0.06em; }
.app-card .subtitle { margin: 0; color: var(--text); font-weight: 550; font-size: 0.98rem; text-wrap: pretty; }
h1, h2, h3, .lead { text-wrap: balance; }
.app-card .blurb {
  margin: 8px 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5;
  /* Three lines each, so the cards of a row end alike. */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.app-card > div { display: flex; flex-direction: column; min-height: 100%; }
.app-card .more-link {
  margin-top: auto; padding-top: 12px;
  font-size: 0.88rem; font-weight: 650;
  color: color-mix(in srgb, var(--accent) 55%, white);
  opacity: 0.75; transition: opacity .18s ease, transform .18s ease;
}
.app-card:hover .more-link { opacity: 1; transform: translateX(3px); }
.app-card { align-items: stretch; }
.app-card .app-icon { align-self: flex-start; }
.app-card::after {
  /* The app's color as a thin line along the top. */
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .55;
}

.facts { margin-top: 22px; color: var(--faint); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- app page ---------- */

/* Gallery: a strip inside the page width that fades out at the edges where there's more,
   with round arrow buttons above it. */
.gallery-section { position: relative; margin-top: 8px; }
.gallery-arrows { display: none; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.gallery-section.scrollable .gallery-arrows { display: flex; }
.gallery-arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-family: inherit; font-size: 26px; font-weight: 500; line-height: 1; padding-bottom: 3px; color: var(--text);
  background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, opacity .2s;
}
.gallery-arrows button:hover { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.gallery-section.at-start .prev, .gallery-section.at-end .next { opacity: .35; pointer-events: none; }
.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0 34px;
  scrollbar-width: none;
  --fade-l: 24px; --fade-r: 24px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
          mask: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-section.at-start .gallery { --fade-l: 0px; }
.gallery-section.at-end .gallery, .gallery-section:not(.scrollable) .gallery { --fade-r: 0px; }
.gallery img { flex: none; width: 270px; scroll-snap-align: start; border-radius: 30px; }

.features { padding: 56px 0 24px; }
.features h2 { margin-bottom: 8px; }

/* Tiles, row by row; the ones with many points span two columns. */
.features { counter-reset: feature; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* Features with an app screen: two per row, the phone rising out of the bottom edge. */
.feature-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.feature.shot {
  display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0;
  background:
    radial-gradient(360px 260px at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(420px 160px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--glass);
}
.feature.shot .rise { margin-top: auto; padding-top: 24px; height: 354px; display: flex; justify-content: center; overflow: hidden; }
.feature.shot .device {
  width: 44%; align-self: flex-start; padding: 7px 7px 0; border-radius: 42px 42px 0 0;
  background: linear-gradient(160deg, #3a3550, #16141f);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.feature.shot .device img { display: block; width: 100%; height: auto; border-radius: 35px 35px 0 0; }
.feature.span-2 { grid-column: span 2; }
.feature.span-3 { grid-column: span 3; }
.feature {
  counter-increment: feature;
  position: relative;
  padding: 26px 26px 20px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px 160px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--glass);
  border: 1px solid var(--line);
  transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); }
.feature h3 {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 0.92rem; font-weight: 780; letter-spacing: 0.06em; line-height: 1.3;
  color: var(--text);
}
.feature h3::before {
  /* The tile's number on the app's color. */
  content: counter(feature);
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 75%, white), var(--accent));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 40%, transparent);
}
.feature-body p { color: var(--muted); font-size: 0.98rem; margin: 0 0 0.7em; }
.feature-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.feature:is(.span-2, .span-3) .feature-body ul { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 7px 28px; }
.feature-body li { position: relative; padding-left: 18px; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.feature-body li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* The Pro offer: its own card with a strong accent glow, the perks as a 2×2 checklist,
   plans and trial in a footer strip at the bottom. */
.pro-card {
  margin-top: 40px;
  padding: 44px 48px 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background:
    radial-gradient(700px 380px at 15% 0%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, #120f24), #141126);
}
.pro-card > :last-child:not(.pro-foot) { margin-bottom: 40px; }
.pro-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pro-badge {
  font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; color: #fff;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, white), var(--accent));
}
.pro-card h3 { font-size: 1.5rem; letter-spacing: 0.04em; font-weight: 780; }
.pro-card p { color: var(--muted); max-width: 46rem; margin: 0 0 12px; }
.pro-card ul.checks { list-style: none; padding: 0; margin: 18px 0 30px; display: grid; gap: 14px; }
/* Two columns: intro left, perks in a dark panel right, plans in the footer strip across both. */
.pro-card.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0 40px; align-items: center; }
.pro-card.split .pro-main { padding-bottom: 40px; }
.pro-card.split .pro-main > p { font-size: 1.1rem; color: var(--text); }
.pro-card.split .pro-perks { margin-bottom: 40px; }
.pro-card.split ul.checks { margin: 0; padding: 24px 28px; border-radius: 22px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.pro-card.split .pro-foot { grid-column: 1 / -1; }
.pro-card ul.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 1.05rem; font-weight: 550; line-height: 1.45; }
.pro-card ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0.1em;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 900; color: #fff; background: var(--accent);
}
.pro-foot { margin: 0 -48px; padding: 16px 48px; background: rgba(0,0,0,.28); border-top: 1px solid var(--line); }
.pro-foot p { color: var(--text); margin: 0; max-width: none; }
.pro-foot p + p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }
.pro-card .store-badge { margin-top: 6px; }

.cta {
  margin: 56px 0 24px;
  padding: 48px 28px 40px;
  text-align: center;
  border-radius: 36px;
  background:
    radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 75%),
    var(--glass);
  border: 1px solid var(--line);
}
.cta > img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 0 1px var(--line); }
.cta .fine { margin: 12px auto 0; }
.cta h2 { margin-top: 14px; }
.cta p { color: var(--muted); max-width: 40rem; margin: 10px auto 24px; }

.more { padding-top: 40px; }

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

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  margin: 40px 0 24px;
  padding: 40px;
  border-radius: 36px;
  background: var(--glass);
  border: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.contact-text p { color: var(--muted); }
.contact .mail a { color: color-mix(in srgb, var(--accent) 50%, white); font-weight: 600; }
.contact .sent { color: #7ee2a8; font-weight: 600; }
.contact form { display: grid; gap: 16px; }
.contact label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.contact input, .contact textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  outline: none;
  resize: vertical;
}
.contact input:focus, .contact textarea:focus { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.contact .button { justify-self: start; }
.honey { position: absolute; left: -9999px; }

/* ---------- FAQ and guides ---------- */

picture { display: contents; }

.faq { padding: 40px 0 8px; }
.faq h2 { margin-bottom: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq details {
  border-radius: 20px; background: var(--glass); border: 1px solid var(--line);
  transition: border-color .18s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 650; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: color-mix(in srgb, var(--accent) 60%, white); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.guides-block { padding: 40px 0 8px; }
.guides-block h2 { margin-bottom: 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.guide-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); text-decoration: none;
  background: radial-gradient(400px 160px at 0% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), var(--glass);
  border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.guide-card .genre {
  display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 60%, white);
}
.guide-card .genre img { border-radius: 6px; }
.guide-card h3 { font-size: 1.1rem; line-height: 1.3; }
.guide-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.guide-card .more-link { margin-top: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 650; color: color-mix(in srgb, var(--accent) 55%, white); }
.text-link { color: color-mix(in srgb, var(--accent) 55%, white); font-weight: 650; text-decoration: none; }
.home-guides > p { margin-top: 16px; }

.guide { max-width: 1120px; margin: 0 auto; padding-top: 40px; }
/* The article with the app riding along on the right. */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; }
.guide-side {
  position: sticky; top: 100px; display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: 26px 20px; border-radius: 26px;
  background: radial-gradient(300px 200px at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--glass-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.guide-side > img { border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.guide-side .name { font-weight: 750; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.guide-side p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.guide-side .store-badge { margin-top: 6px; }
.guide-side .fine { color: var(--faint); font-size: 0.8rem; }
.guide-app-inline {
  display: flex; align-items: center; gap: 16px; margin: 26px 0 8px; padding: 16px 18px; border-radius: 22px;
  background: radial-gradient(400px 160px at 0% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--glass);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.guide-app-inline > img { flex: none; border-radius: 14px; }
.guide-app-inline > div { flex: 1; min-width: 0; }
.guide-app-inline .kicker { margin: 0; font-size: 0.8rem; }
.guide-app-inline .name { font-weight: 700; color: var(--text); text-decoration: none; }
.guide-app-inline p:not(.kicker) { margin: 0; color: var(--muted); font-size: 0.9rem; }
.guide-app-inline .store-badge img { height: 44px; }
.guide-strip {
  display: flex; align-items: center; gap: 12px; margin-top: 38px; padding: 12px 18px; border-radius: 16px; text-decoration: none;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.guide-strip img { border-radius: 8px; }
.guide-strip span { flex: 1; color: var(--text); font-weight: 600; }
.guide-strip b { color: color-mix(in srgb, var(--accent) 55%, white); font-size: 0.9rem; }
.app-mention { color: color-mix(in srgb, var(--accent) 55%, white); font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.guide-bar { display: none; }
.crumbs { font-size: 0.9rem; color: var(--faint); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.guide h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; margin-bottom: 22px; }
.guide-intro p { font-size: 1.15rem; color: var(--text); }
.guide article section { margin-top: 38px; }
.guide article h2 { font-size: 1.5rem; margin-bottom: 12px; }
.guide article p, .guide article li { color: var(--muted); }
.guide article ul { padding-left: 20px; }
.guide article li { margin: 6px 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border-radius: 18px; border: 1px solid var(--line); }
.guide table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.guide th, .guide td { text-align: left; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.guide th { color: var(--text); background: var(--glass-strong); font-weight: 700; }
.guide td { color: var(--muted); }
.guide td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.guide tr:last-child td { border-bottom: 0; }
.guide pre {
  margin: 16px 0; padding: 18px 20px; overflow-x: auto; border-radius: 16px;
  background: #0d0b19; border: 1px solid var(--line); font-size: 0.88rem; line-height: 1.55;
}
.guide code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; color: #e9e4ff; }
.guide td code { white-space: nowrap; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.07); }
.guide-app {
  display: flex; gap: 22px; align-items: flex-start; margin: 48px 0 8px; padding: 28px; border-radius: 28px;
  background: radial-gradient(500px 220px at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--glass-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.guide-app > img { flex: none; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.guide-app h2 { font-size: 1.35rem; margin: 2px 0 6px; }
.guide-app h2 a { color: var(--text); text-decoration: none; }
.guide-app p:not(.kicker) { color: var(--muted); margin: 0 0 16px; }
.guide-app .kicker { margin: 0; }
.guide-app .store-badge { margin-right: 18px; vertical-align: middle; }
.guides-head { padding-bottom: 8px; }

/* ---------- legal ---------- */

.legal { max-width: 760px; padding: 64px 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; margin-top: 28px; }
.legal p { color: var(--muted); }
.legal a:not(.button) { color: color-mix(in srgb, var(--accent) 50%, white); }

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

.footer {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 28px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--faint);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.footer > div { display: flex; align-items: center; gap: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-side { display: none; }
  /* On phones the app sits in a bar at the bottom instead. */
  .guide-bar {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 20; padding: 10px 10px 10px 12px; border-radius: 20px; text-decoration: none;
    background: rgba(20, 17, 38, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 12px 40px rgba(0,0,0,.5);
  }
  .guide-bar img { border-radius: 10px; }
  .guide-bar span { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
  .guide-bar b, .guide-bar small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .guide-bar b { color: var(--text); }
  .guide-bar small { color: var(--muted); font-size: 0.78rem; }
  .guide-bar em { font-style: normal; font-weight: 700; color: #fff; padding: 9px 18px; border-radius: 999px; background: var(--accent); }
  .guide-page .footer { padding-bottom: 110px; }
  .guide-app-inline { flex-wrap: wrap; }
  .guide-app-inline > div { flex-basis: calc(100% - 72px); }
  .guide-app-inline .store-badge { margin-left: 72px; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-showcase { grid-template-columns: 1fr; }
  .feature.shot .device { width: min(62%, 240px); }
  .feature.shot .rise { height: 300px; }
  .feature.span-2, .feature.span-3 { grid-column: auto; }
  .pro-card { padding: 28px 24px 0; }
  .pro-card.split { grid-template-columns: 1fr; }
  .pro-card.split .pro-main { padding-bottom: 18px; }
  .pro-card.split .pro-perks { margin-bottom: 28px; }
  .pro-card.split ul.checks { padding: 18px 20px; }
  .pro-foot { margin: 0 -24px; padding: 14px 24px; }
  .showcase img:nth-child(2) { width: 220px; }
  .showcase { height: 430px; }
  .showcase img { width: 190px; }
  .contact { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 560px) {
  .guide-app { flex-direction: column; padding: 22px; }
  .guide td:first-child { white-space: normal; }
  body { font-size: 16px; }
  main { padding: 0 18px; }
  .topbar nav a:not(.lang) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .app-icon { width: 68px; height: 68px; border-radius: 16px; }
  .showcase { height: 360px; }
  .showcase img { width: 150px; border-radius: 22px; }
  .showcase img:nth-child(2) { width: 180px; }
  .gallery img { width: 210px; border-radius: 26px; }
  /* On phones the strip runs to the screen edges and isn't faded (the fade read as a dark shadow). */
  .gallery-section { margin: 8px -18px 0; }
  .gallery { padding: 8px 18px 28px; scroll-padding-left: 18px; -webkit-mask: none; mask: none; }
  .gallery-arrows { display: none !important; }
  .phone.fan { height: 440px; }
  .phone.fan .middle { width: 200px; margin-left: -100px; border-radius: 24px; }
  .phone.fan .left, .phone.fan .right { width: 138px; top: 46px; border-radius: 20px; }
  .phone.fan .left { margin-left: -152px; }
  .phone.fan .right { margin-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .app-card { transition: none; }
}
