/* ClearShot website. Light, calm layout with solid colors, soft blurred light, smooth (squircle)
   corners where the browser supports them, and spring-like motion. Everything is self-hosted, so
   visiting the site makes no third-party requests. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #f5f5f7;
  --paper: #fbfbfd;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #e3e1e8;
  --accent: #5b3cc4;
  --accent-ink: #ffffff;
  --accent-soft: #ece6ff;
  --night: #0e0a14;
  --night-card: #17111f;
  --night-line: #2a2137;
  --night-ink: #f2ecf8;
  --night-soft: #b6aac4;
  --lavender: #d9bfff;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 34px;

  /* Smooth, Apple-like motion: a long ease-out, and a spring with a little overshoot. */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);

  interpolate-size: allow-keywords;
}

/* Squircle corners: the curve eases into the straight edge like iOS icons. A squircle looks
   smaller than a circle arc of the same radius, so radii grow to keep the same visual size. */
@supports (corner-shape: squircle) {
  :root { --r-sm: 20px; --r: 38px; --r-lg: 54px; }
  .sq, .card-like, .tool, .tool i, .icon-chip, .model-card, .model-points > div, .model-points i,
  .compare, .demo-copy, .plan, .plat-card, .plat-card i, .fact-big, .fact-big .over, .fact-num,
  .fact-list > div, .fact-list i, .download, .faq details, .brand-mark, .legal .box, .inline-spark,
  .hero-photo, .sq-photo, .trio > div {
    corner-shape: squircle;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { fill: currentColor; }
::selection { background: var(--accent-soft); color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(29, 20, 50, .16); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--line), 0 10px 28px rgba(29, 20, 50, .12); }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease); }
.topbar.scrolled, .topbar.menu-open {
  background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.topbar.on-dark:not(.menu-open) { background: rgba(14, 10, 20, .72); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); color: var(--night-ink); }
.topbar.on-dark:not(.menu-open) .links a { color: #d6cde2; }
.topbar.on-dark:not(.menu-open) .links a:hover, .topbar.on-dark:not(.menu-open) .links a.active { background: rgba(255, 255, 255, .1); color: #fff; }
.topbar.on-dark:not(.menu-open) .get { background: #fff; color: var(--ink); }
.topbar.on-dark:not(.menu-open) .menu-btn:hover { background: rgba(255, 255, 255, .1); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.2px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: #1e1629; display: grid; place-items: center; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-mark svg { width: 20px; height: 20px; fill: var(--lavender); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #3a3a3f; text-decoration: none; transition: background-color .25s ease, color .25s ease; }
.links a:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.links a.active { color: var(--ink); background: rgba(91, 60, 196, .1); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; transition: background-color .2s ease; }
.menu-btn:hover { background: rgba(0, 0, 0, .06); }
.menu-btn svg { width: 24px; height: 24px; transition: transform .5s var(--spring); }
.menu-open .menu-btn svg { animation: pop .5s var(--spring); }
@keyframes pop { from { transform: rotate(-90deg) scale(.6); } }
.sheet { display: grid; gap: 4px; padding: 8px 24px 22px; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .45s var(--spring); }
/* The menu only exists on small screens, and only while open. */
.sheet[hidden] { display: none; }
.sheet.open { opacity: 1; transform: none; }
@media (min-width: 981px) { .sheet { display: none !important; } }
.sheet a:not(.btn) { padding: 14px 6px; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: 140px 0 0; border-radius: 0 0 48px 48px; text-align: center; }
.light { position: absolute; top: -140px; right: 4%; width: 440px; height: 780px; pointer-events: none; filter: blur(52px); opacity: .7; animation: drift 14s ease-in-out infinite alternate; }
.light span { position: absolute; top: 0; height: 100%; border-radius: 40px; background: #6d5cff; }
.light span:nth-child(1) { left: 0; width: 70px; opacity: .3; }
.light span:nth-child(2) { left: 110px; width: 50px; opacity: .5; }
.light span:nth-child(3) { left: 200px; width: 90px; opacity: .75; }
.light span:nth-child(4) { left: 320px; width: 60px; opacity: .4; }
@keyframes drift { to { transform: translateX(-60px) rotate(4deg); } }

.eyebrow { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.hero h1 {
  position: relative; font-size: clamp(40px, 6.6vw, 82px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
  margin: 24px auto 22px; max-width: 1000px;
}

/* The photo inside the headline: an old, blurry print that restores itself on hover or tap. */
.hero-photo {
  position: relative; display: inline-block; width: 1.12em; height: .98em; border-radius: .26em; overflow: hidden;
  vertical-align: -.13em; margin: 0 .04em; box-shadow: 0 .08em .26em rgba(40, 20, 80, .22);
  transition: width .8s var(--spring), transform .6s var(--spring), box-shadow .5s var(--ease);
  cursor: pointer;
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo .old {
  filter: sepia(.9) blur(.045em) contrast(.82) brightness(1.06) saturate(.8);
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s var(--ease) .1s;
}
.hero-photo .seam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; opacity: 0; transition: left .9s var(--ease) .1s, opacity .3s ease; }
.hero-photo:hover, .hero-photo:focus-visible, .hero-photo.on { width: 2.25em; transform: rotate(-2deg); box-shadow: 0 .12em .4em rgba(40, 20, 80, .28); }
.hero-photo:hover .old, .hero-photo:focus-visible .old, .hero-photo.on .old { clip-path: inset(0 0 0 100%); }
.hero-photo:hover .seam, .hero-photo:focus-visible .seam, .hero-photo.on .seam { left: 100%; opacity: 1; }

/* "Old" and "Blurry" start the way they read, then restore once the page loads. Hover replays it. */
.aged, .blurry { display: inline-block; transition: color 1.4s var(--ease), filter 1.4s var(--ease), opacity 1.4s var(--ease); }
html.js .hero h1 .aged { color: #a3855e; }
html.js .hero h1 .blurry { filter: blur(.075em); opacity: .65; transition-delay: .25s; }
html.js .hero h1.restored .aged { color: var(--ink); }
html.js .hero h1.restored .blurry { filter: blur(0); opacity: 1; }
.hero h1.restored .aged:hover { animation: age 1.6s var(--ease); }
.hero h1.restored .blurry:hover { animation: reblur 1.6s var(--ease); }
@keyframes age { 30% { color: #a3855e; } }
@keyframes reblur { 30% { filter: blur(.075em); opacity: .65; } }

.inline-spark { display: inline-grid; place-items: center; width: .88em; height: .88em; border-radius: .26em; background: #fff; box-shadow: inset 0 0 0 1px var(--line); vertical-align: -.08em; transition: transform .7s var(--spring); }
.inline-spark svg { width: .55em; height: .55em; fill: var(--accent); animation: twinkle 3.2s ease-in-out infinite; }
.inline-spark:hover { transform: rotate(90deg) scale(1.08); }
@keyframes twinkle { 50% { transform: scale(.86) rotate(12deg); } }

.lead { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.cta.left { justify-content: flex-start; margin-top: 0; }
.meta { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; list-style: none; margin-top: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.meta li { display: flex; align-items: center; gap: 8px; }
.meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* Entrance: each hero line rises out of a soft blur. */
html.js .rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }

/* ---------- Shaped photo strip (Material 3 Expressive shapes, all smooth) ---------- */
.strip { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; align-items: center; padding: 64px 0 78px; }
.shape { position: relative; aspect-ratio: 1; overflow: hidden; background: #e4e0ea; animation: float 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1.3s); transition: rotate .9s var(--spring), scale .9s var(--spring); }
.shape img { width: 100%; height: 100%; object-fit: cover; transition: rotate .9s var(--spring), scale .9s var(--ease), filter .6s ease; }
.shape:hover { rotate: 14deg; scale: 1.06; }
.shape:hover img { rotate: -14deg; scale: 1.16; filter: saturate(1.15); }
.sq-photo { border-radius: 32%; }
.cookie { clip-path: url(#shape-cookie); }
.clover { clip-path: url(#shape-clover); }
.sunny { clip-path: url(#shape-sunny); }
.flower { clip-path: url(#shape-flower); }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section.tight { padding: 40px 0 120px; }
.section.alt { background: var(--card); }
.section.dark { background: var(--night); color: var(--night-ink); }
.head { max-width: 780px; margin-bottom: 56px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.032em; font-weight: 700; }
.head p { color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); margin-top: 18px; }
.dark .head p { color: var(--night-soft); }
.tag { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.tag-dark { background: var(--night-line); color: var(--lavender); }
.fine { color: var(--ink-soft); font-size: 13px; margin-top: 22px; }
.fine.center { text-align: center; }
.dark .fine { color: var(--night-soft); }
.fine a { color: inherit; }

/* Scroll reveal: content glides up into place as it enters the screen. */
html.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .reveal.in { opacity: 1; translate: 0 0; }
/* Jumping to a section from the menu shows it at once instead of making you wait. */
html.js .reveal.now { transition-duration: .35s; transition-delay: 0s; }

/* ---------- Segmented controls with a gliding lens (like the app's tab bar) ---------- */
.seg, .billing { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.seg button, .billing button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .35s ease; white-space: nowrap; }
.seg button svg { width: 18px; height: 18px; }
.seg button[aria-selected="true"], .billing button[aria-checked="true"] { color: #fff; }
.seg button:not([aria-selected="true"]):hover, .billing button:not([aria-checked="true"]):hover { color: var(--ink); }
.seg-lens { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .6s var(--spring), width .6s var(--spring); }
.seg-lens.stretch { animation: stretch .6s var(--ease); }
@keyframes stretch { 40% { scale: 1.08 .86; } }
.billing { display: flex; width: max-content; margin: -16px auto 44px; }
.billing em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* ---------- Before / after ---------- */
.compare {
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: #dcd8e3;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  transition: opacity .35s var(--ease), scale .5s var(--ease);
}
.compare.swapping { opacity: 0; scale: .985; }
.compare .after, .compare .before { position: absolute; inset: 0; }
.compare img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .9); pointer-events: none; }
.compare .after.checker { background-color: #eceaf0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='12' height='12' fill='%23dcd8e3'/%3E%3Crect x='12' y='12' width='12' height='12' fill='%23dcd8e3'/%3E%3C/svg%3E"); }
.compare .after.checker img { object-fit: contain; }
.handle {
  position: absolute; z-index: 2; top: 50%; left: calc(var(--pos) * 1%); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; cursor: grab;
  background: rgba(255, 255, 255, .28); backdrop-filter: blur(12px) saturate(170%); -webkit-backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 10px 30px rgba(0, 0, 0, .22);
  transition: scale .5s var(--spring), background-color .3s ease;
}
.handle svg { width: 26px; height: 26px; }
.compare:hover .handle { scale: 1.06; }
.compare.dragging .handle { scale: 1.18; background: rgba(255, 255, 255, .36); cursor: grabbing; }
.label { position: absolute; z-index: 1; top: 18px; padding: 6px 13px; border-radius: 999px; background: rgba(20, 14, 30, .42); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; }
.label.l { left: 18px; } .label.r { right: 18px; }

/* ---------- Live demo ---------- */
.demo { display: grid; gap: 28px; justify-items: center; }
.demo-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; width: 100%; }
.demo .compare { aspect-ratio: 4 / 5; width: 100%; max-height: 680px; }
.demo-copy { display: grid; gap: 16px; align-content: center; transition: opacity .35s var(--ease), translate .5s var(--ease); }
.demo-copy.swapping { opacity: 0; translate: 0 10px; }
.demo-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.025em; }
.demo-copy p { color: var(--ink-soft); font-size: 17px; }
.icon-chip { width: 58px; height: 58px; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.icon-chip svg { width: 28px; height: 28px; }
.specs { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-soft); font-weight: 500; }
.specs dd { font-weight: 600; }

/* ---------- Tools ---------- */
.tool-groups { display: grid; gap: 40px; }
.tool-group { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
.tool-group h3 { font-size: 15px; font-weight: 700; color: var(--ink-soft); padding-top: 20px; letter-spacing: .02em; text-transform: uppercase; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--bg);
  transition: transform .6s var(--spring), background-color .3s ease, box-shadow .5s var(--ease);
}
.tool i { flex: none; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: background-color .3s ease, color .3s ease, transform .7s var(--spring); }
.tool i svg { width: 23px; height: 23px; }
.tool b { display: block; font-size: 16px; margin-bottom: 2px; }
.tool span { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.tool:hover { transform: translateY(-4px); background: var(--card); box-shadow: 0 14px 40px rgba(29, 20, 50, .1), inset 0 0 0 1px var(--line); }
.tool:hover i { background: var(--accent); color: #fff; transform: rotate(-10deg) scale(1.08); }

/* ---------- Models (dark) ---------- */
.model-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.model-points > div { padding: 24px; border-radius: var(--r); background: var(--night-card); display: grid; align-content: start; gap: 6px; transition: transform .6s var(--spring), background-color .3s ease; }
.model-points > div:hover { transform: translateY(-4px); background: #1d1627; }
.model-points i { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--night-line); color: var(--lavender); display: grid; place-items: center; margin-bottom: 8px; }
.model-points i svg { width: 22px; height: 22px; }
.model-points b { font-size: 17px; }
.model-points span { color: var(--night-soft); font-size: 14px; }
.model-cols { display: grid; grid-template-columns: 1fr 1.7fr; gap: 16px; }
.model-card { padding: 30px; border-radius: var(--r-lg); background: var(--night-card); box-shadow: inset 0 0 0 1px var(--night-line); }
.model-card h3 { font-size: 24px; letter-spacing: -.02em; }
.model-card .sub { color: var(--night-soft); font-size: 14px; margin: 2px 0 18px; }
.models { list-style: none; display: grid; }
.model-card.wide .models { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.models li {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name size" "task tier"; gap: 2px 12px;
  padding: 13px 12px; margin: 0 -12px; border-radius: 14px; border-bottom: 1px solid var(--night-line);
  transition: background-color .25s ease, translate .5s var(--spring);
}
.models li:hover { background: #211a2c; translate: 4px 0; }
.models b { grid-area: name; font-size: 15px; }
.models span { grid-area: task; color: var(--night-soft); font-size: 13px; }
.models em { grid-area: size; font-style: normal; font-weight: 700; font-size: 14px; color: var(--lavender); text-align: right; }
.models small { grid-area: tier; justify-self: end; font-size: 11.5px; font-weight: 600; color: var(--night-soft); padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--night-line); }

/* ---------- Effects ---------- */
.fx { display: grid; gap: 22px; }
.wide-compare { aspect-ratio: 16 / 9; max-height: 640px; width: 100%; }
.fx-img { transition: filter .7s var(--ease); }
.fx-img[data-look="golden"] { filter: sepia(.35) saturate(1.35) hue-rotate(-12deg) brightness(1.06) contrast(1.05); }
.fx-img[data-look="noir"] { filter: grayscale(1) contrast(1.45) brightness(.92); }
.fx-img[data-look="rose"] { filter: sepia(.65) hue-rotate(290deg) saturate(1.5) contrast(1.05); }
.fx-img[data-look="pastel"] { filter: saturate(.62) brightness(1.13) contrast(.86) hue-rotate(-8deg); }
.fx-img[data-look="film"] { filter: sepia(.24) contrast(1.14) saturate(.9) brightness(.97); }
.fx-img[data-look="frost"] { filter: hue-rotate(185deg) saturate(.7) brightness(1.1) contrast(.95); }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chips button { padding: 10px 18px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; transition: transform .5s var(--spring), background-color .3s ease, color .3s ease; }
.chips button:hover { transform: translateY(-2px); }
.chips button[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.trio > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.trio b { display: block; font-size: 18px; margin-bottom: 6px; }
.trio span { color: var(--ink-soft); font-size: 15px; }

/* ---------- Platforms ---------- */
.plat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plat-card { padding: 40px; border-radius: var(--r-lg); background: var(--bg); transition: transform .6s var(--spring), box-shadow .5s var(--ease); }
.plat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(29, 20, 50, .1); }
.plat-card i { width: 56px; height: 56px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; transition: transform .7s var(--spring); }
.plat-card:hover i { transform: rotate(-8deg) scale(1.06); }
.plat-card i svg { width: 28px; height: 28px; }
.plat-card h3 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 14px; }
.plat-card ul { list-style: none; display: grid; gap: 10px; color: #3a3a3f; }
.plat-card li { display: flex; gap: 12px; }
.plat-card li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------- Privacy ---------- */
.facts { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.fact-big { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; }
.fact-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.fact-big:hover img { scale: 1.05; }
.fact-big .over { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 22px 24px; border-radius: var(--r); background: rgba(18, 12, 28, .45); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); color: #fff; }
.fact-big .over small { display: block; opacity: .75; font-weight: 600; margin-bottom: 6px; }
.fact-big .over b { display: block; font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.fact-num { border-radius: var(--r-lg); background: var(--accent); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .6s var(--spring); }
.fact-num:hover { transform: translateY(-4px) rotate(-1deg); }
.fact-num small { opacity: .82; font-weight: 600; }
.fact-num strong { font-size: 96px; line-height: 1; letter-spacing: -3px; }
.fact-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.fact-list > div { background: var(--card); border-radius: var(--r); padding: 24px; transition: transform .6s var(--spring), box-shadow .5s var(--ease); }
.fact-list > div:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(29, 20, 50, .08); }
.fact-list i { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.fact-list i svg { width: 21px; height: 21px; }
.fact-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.fact-list span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--bg); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .6s var(--spring), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(29, 20, 50, .1); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-top h3 { font-size: 38px; letter-spacing: -1.2px; transition: opacity .25s ease, translate .45s var(--spring); }
.plan-top h3 small { font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.plan-top span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--card); white-space: nowrap; }
.plan p { color: var(--ink-soft); font-size: 14px; transition: opacity .25s ease; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan.pro { background: var(--night); color: var(--night-ink); box-shadow: inset 0 0 0 1.5px #3b2c58; }
.plan.pro .plan-top h3 small, .plan.pro p { color: var(--night-soft); }
.plan.pro .plan-top span { background: var(--night-line); color: var(--lavender); }
.plan.pro li::before { color: var(--lavender); }
.plan.pro .btn-dark { background: #fff; color: var(--ink); }
.plan.flip .plan-top h3, .plan.flip p { opacity: 0; translate: 0 -8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: var(--r); padding: 0 26px; transition: box-shadow .4s var(--ease); }
.faq details:hover { box-shadow: 0 10px 30px rgba(29, 20, 50, .07); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 22px; font-weight: 400; transition: rotate .5s var(--spring), background-color .3s ease, color .3s ease; }
.faq details[open] summary::after { rotate: 45deg; background: var(--ink); color: #fff; }
.faq p { color: var(--ink-soft); padding: 0 0 24px; max-width: 680px; }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ---------- Download ---------- */
.download { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px; border-radius: var(--r-lg); background: var(--night); color: #fff; flex-wrap: wrap; }
.download h2 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; }
.download p { opacity: .72; margin-top: 6px; }

/* ---------- Footer ---------- */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; transition: color .2s ease; }
.foot a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.pills { display: flex; gap: 8px; list-style: none; overflow-x: auto; }
.pills a { display: inline-block; padding: 9px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .5s var(--spring), background-color .2s ease; }
.pills a:hover { transform: translateY(-2px); background: var(--accent-soft); }
.legal { max-width: 780px; margin: 0 auto; padding: 40px 0 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -.03em; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #3b3446; font-size: 16px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal .box { background: var(--card); border-radius: var(--r); padding: 22px; margin: 18px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .links, .topbar .get { display: none; }
  .menu-btn { display: grid; margin-left: auto; }
  .demo-body, .facts, .model-cols, .plat { grid-template-columns: 1fr; }
  .demo .compare { max-height: 560px; }
  .model-points, .fact-list, .plans, .trio { grid-template-columns: 1fr 1fr; }
  .tool-group { grid-template-columns: 1fr; gap: 12px; }
  .tool-group h3 { padding-top: 0; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip .shape:nth-child(n + 4) { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 92px 0; }
  .hero { padding-top: 112px; border-radius: 0 0 32px 32px; }
  .model-points, .fact-list, .plans, .trio, .model-card.wide .models { grid-template-columns: 1fr; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { padding: 10px 14px; font-size: 14px; }
  .wide-compare { aspect-ratio: 4 / 3; }
  .specs div { grid-template-columns: 90px 1fr; }
  .download { padding: 32px; }
  .hero h1 { letter-spacing: -.03em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal, html.js .rise { opacity: 1; translate: none; }
}
