/* Self-hosted fonts: no request leaves the visitor's browser for type. */
@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Epilogue-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin.woff2') format('woff2');
}

/* Motion Mania — tasteskill 2.5 design system
   Palette: brand (red on near-black), dealt via start.mjs brand.
   Type: Epilogue + JetBrains Mono. Kind: software.
   One section per screen at 1440x900, equal edges, hero entrance, two type moments. */

:root {
  /* dealt brand tokens */
  --p-bg: #0b0b0d;
  --p-surface: #141418;
  --p-ink: #f4f2ef;
  --p-muted: #9c9aa4;
  --p-accent: #ff2d55;
  --p-accent-ink: #0b0b0d;
  --p-action: #ff2d55;
  --p-action-ink: #ffffff;
  --p-inv-bg: #f4f2ef;
  --p-inv-surface: #e1dfdd;
  --p-inv-ink: #0b0b0d;
  --p-inv-muted: #585758;

  --font-display: "Epilogue", system-ui, -apple-system, sans-serif;
  --font-text: "Epilogue", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.04em;
  --display-tracking-xl: -0.05em;

  /* scale */
  --t-display: clamp(2.5rem, 4.4vw, 3.9rem);   /* 62 */
  --t-h2: clamp(1.8rem, 3vw, 2.6rem);          /* 42 */
  --t-h3: 1.125rem;
  --t-lead: 1.25rem;                              /* 20 */
  --t-body: 1rem;                                 /* 16 */
  --t-small: 0.8125rem;                           /* 13 */
  --t-label: 0.6875rem;                           /* 11 */
  --lh-display: 1.02;
  --lh-h2: 1.06;
  --lh-body: 1.55;

  /* space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --wrap: 1200px;
  --gutter: 32px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  background: var(--p-bg);
}

body {
  margin: 0;
  background: var(--p-bg);
  color: var(--p-ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--p-accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.08;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--display-tracking-xl); }
h2 { font-size: var(--t-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.01em; font-weight: 500; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
li { margin: .4em 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* one section per screen; a phone grows with its content */
.section { padding: clamp(68px, 8vw, 112px) 0; }
.screen { height: calc(var(--h, 1) * 100svh); min-height: 0; display: flex; align-items: center; padding: 92px 0 40px; }
.screen > .wrap { width: 100%; display: flex; flex-direction: column; justify-content: center; }
.section--line { border-top: 1px solid rgb(255 255 255 / .07); }
.anchor { scroll-margin-top: 84px; }
.center { text-align: center; }
.muted { color: var(--p-muted); }
.small { font-size: var(--t-small); }
.tiny { font-size: .75rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--p-muted);
  margin-bottom: var(--s-5);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--p-accent);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--p-accent); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; top: 0; }

/* ---------------- nav ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: color-mix(in oklab, var(--p-bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / .07);
}
.nav {
  display: flex; align-items: center; gap: var(--s-6);
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.02em; font-size: 1rem;
  flex: none;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.nav-links a {
  position: relative;
  font-size: var(--t-small);
  color: var(--p-muted);
  padding: 6px 0;
  transition: color .18s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--p-ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--p-ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--p-ink); }
.nav-cta { display: flex; align-items: center; gap: var(--s-3); margin-left: var(--s-3); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: var(--t-small); font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: transform .16s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--p-action); color: #0b0b0d; box-shadow: 0 12px 30px -14px rgb(255 45 85 / .75); }
.btn--primary:hover { background: #ff4668; color: #0b0b0d; transform: translateY(-1px); box-shadow: 0 18px 38px -14px rgb(255 45 85 / .85); }
.btn--ghost, .btn--secondary {
  border-color: rgb(255 255 255 / .16);
  color: var(--p-ink);
  background: transparent;
}
.btn--ghost:hover, .btn--secondary:hover {
  border-color: rgb(255 255 255 / .32);
  background: rgb(255 255 255 / .04);
  transform: translateY(-1px);
}
.btn--light { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .8rem; }
.btn:focus-visible, .nav-links a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; border-radius: 999px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0 var(--s-4); }

/* ---------------- hero ---------------- */
.hero::before {
  content: "";
  position: absolute; inset: -10% -5% auto -5%; height: 78%;
  background:
    radial-gradient(52% 62% at 22% 8%, rgb(255 45 85 / .16), transparent 70%),
    radial-gradient(50% 60% at 78% 0%, rgb(96 92 255 / .10), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex; align-items: center;
  padding: 68px 0 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
  align-items: center;
}
.hero__text { grid-column: 1 / span 5; }
.hero__text h1 { max-width: 100%; margin-bottom: var(--s-5); }
.hero__lead { font-size: var(--t-lead); line-height: 1.45; color: var(--p-muted); max-width: 40ch; margin: 0; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: var(--s-5);
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: .04em; text-transform: uppercase; color: #9a98a2;
}
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #4c4a52; }

.hero__art {
  grid-column: 7 / span 6;
  position: relative;
  aspect-ratio: 628 / 716;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, #1c1c22 0%, transparent 62%),
    radial-gradient(90% 70% at 0% 100%, #17171c 0%, transparent 60%),
    #0e0e11;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06), 0 40px 90px -50px rgb(0 0 0 / .9);
}

/* app window inside the art, cut by the frame's right and bottom */
.win {
  position: absolute;
  left: 56px; top: 56px;
  width: calc(100% - 56px + 8px);
  height: calc(100% - 56px + 8px);
  background: #101014;
  border: 1px solid rgb(255 255 255 / .09);
  border-radius: 12px 0 0 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: 34px minmax(0, 1fr);
  align-content: start;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0;
}
.win__bar {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 12px;
  border-bottom: 1px solid rgb(255 255 255 / .07);
  color: #8a8892; font-family: var(--font-mono); font-size: 10px;
}
.win__dots { display: flex; gap: 5px; }
.win__dots i { width: 7px; height: 7px; border-radius: 50%; background: #2b2b31; }
.win__side {
  align-self: start;
  border-right: 1px solid rgb(255 255 255 / .06);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
  color: #85838d;
}
.win__side span {
  display: flex; align-items: center; gap: 8px;
  height: 26px; padding: 0 8px; border-radius: 6px;
}
.win__side span i { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; opacity: .7; }
.win__side .is-on { background: rgb(255 255 255 / .06); color: #e9e7ec; }
.win__main { align-self: start; padding: 14px 56px 0 16px; min-width: 0; }
.win__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.win__head b { font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: #f1eff3; }
.win__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9px; color: #c9c7cf; text-transform: uppercase; letter-spacing: .08em; }
.win__live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--p-accent); }
.win__tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.win__tabs span { padding: 4px 8px; border-radius: 999px; font-size: 10px; color: #85838d; }
.win__tabs .is-on { background: rgb(255 255 255 / .07); color: #e9e7ec; }
.cliprow {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px; align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgb(255 255 255 / .05);
}
.cliprow:first-of-type { border-top: 0; }
.cliprow__thumb {
  width: 34px; height: 48px; border-radius: 4px;
  background: linear-gradient(160deg, #3a2430, #231a22 60%, #17141a);
  border: 1px solid rgb(255 255 255 / .07);
  position: relative;
}
.cliprow__thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 38%, rgb(255 45 85 / .28), transparent 70%); }
.cliprow__meta { min-width: 0; }
.cliprow__meta b { display: block; font-weight: 500; font-size: 11px; color: #e7e5ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cliprow__meta small { display: block; font-family: var(--font-mono); font-size: 9px; color: #76747e; margin-top: 2px; }
.cliprow__score {
  font-family: var(--font-mono); font-size: 10px; font-variant-numeric: tabular-nums;
  color: #0b0b0d; background: #d7ffb8; border-radius: 4px; padding: 2px 5px;
}
.cliprow__score.low { background: #2a2a30; color: #a7a5ae; }

.win__note {
  position: absolute;
  left: 56px; bottom: 56px;
  width: 300px;
  background: #16161b;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / .9);
  z-index: 2;
}
.win__note .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em;
  color: #d7ffb8;
}
.win__note .tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7ee787; }
.win__note b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 13px; margin: 6px 0 3px; color: #f1eff3; }
.win__note small { color: #8a8892; font-size: 10px; }
.win__note .bar { margin-top: 10px; height: 3px; border-radius: 2px; background: #26262d; overflow: hidden; }
.win__note .bar i { display: block; height: 100%; width: 100%; background: var(--p-accent); transform-origin: left; animation: fillbar 2.6s var(--ease) .6s both; }
@keyframes fillbar { from { transform: scaleX(.1); } to { transform: scaleX(1); } }

/* ---------------- hero entrance ---------------- */
[data-enter] .enter { opacity: 0; transform: translateY(14px); animation: enter .9s var(--ease) both; }
[data-enter] .enter:nth-child(1) { animation-delay: .05s; }
[data-enter] .enter:nth-child(2) { animation-delay: .14s; }
[data-enter] .enter:nth-child(3) { animation-delay: .23s; }
[data-enter] .enter:nth-child(4) { animation-delay: .32s; }
[data-enter] .enter--art { animation-delay: .18s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------------- section heads ---------------- */
.sechead { max-width: 620px; }
.sechead h2 { margin-bottom: var(--s-3); }
.sechead p { color: var(--p-muted); max-width: 560px; margin: 0; }

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
.step { border-top: 1px solid rgb(255 255 255 / .12); padding-top: var(--s-4); }
.step__n { font-family: var(--font-mono); font-size: var(--t-label); color: var(--p-accent); letter-spacing: .1em; }
.step h3 { margin: var(--s-3) 0 var(--s-2); }
.step p { color: var(--p-muted); font-size: var(--t-small); margin: 0; max-width: 32ch; }

/* ---------------- fact row ---------------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); border-top: 1px solid rgb(255 255 255 / .1); padding-top: var(--s-5); }
.fact__n { font-family: var(--font-display); font-size: clamp(1.8rem, 2.4vw, 2.35rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact__n em { font-style: normal; font-size: .45em; color: var(--p-muted); letter-spacing: 0; margin-left: 4px; }
.fact p { color: var(--p-muted); font-size: var(--t-small); margin: var(--s-2) 0 0; max-width: 28ch; }

/* ---------------- split ---------------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6); align-items: start; }
.split__text { grid-column: 1 / span 5; }
.split__media { grid-column: 7 / span 6; }
.split--rev .split__text { grid-column: 7 / span 5; }
.split--rev .split__media { grid-column: 1 / span 6; }
.shot {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .09);
  background: var(--p-surface);
}
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.02); }

.checklist { list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.checklist li {
  color: var(--p-muted); font-size: var(--t-small);
  margin: 0; padding: 11px 0;
  border-top: 1px solid rgb(255 255 255 / .09);
}
.checklist li:last-child { border-bottom: 1px solid rgb(255 255 255 / .09); }
.checklist li strong { color: var(--p-ink); font-weight: 500; }
.checklist strong { color: var(--p-ink); font-weight: 500; }

/* ---------------- statement moments ---------------- */
.statement { height: 100svh; min-height: 0; display: flex; align-items: center; padding: var(--s-7) 0; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.1vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 13ch;
  margin: 0;
  color: #3a3a42;
}
.statement .w { transition: color .35s var(--ease); }
.statement .w.on { color: var(--p-ink); }
.statement .w.accent.on { color: var(--p-accent); }

/* ---------------- callout ---------------- */
.callout {
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  background:
    radial-gradient(80% 120% at 100% 0%, rgb(255 45 85 / .08), transparent 60%),
    var(--p-surface);
}
.callout h2 { max-width: 20ch; }
.callout p { color: var(--p-muted); max-width: 62ch; }
.callout .btn-row { margin-bottom: 0; }

/* ---------------- pricing ---------------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.plan {
  background: var(--p-surface);
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / .18); box-shadow: 0 26px 60px -34px rgb(0 0 0 / .9); }
.plan--featured { border-color: rgb(255 45 85 / .45); }
.plan h3 { margin-bottom: 2px; }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; letter-spacing: -0.04em; margin: var(--s-4) 0 2px; }
.plan .price span { font-size: .8rem; letter-spacing: 0; color: var(--p-muted); }
.plan .plan-note { color: var(--p-muted); font-size: var(--t-small); min-height: 2.6em; margin: var(--s-2) 0 0; }
.plan ul { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); }
.plan li { position: relative; padding-left: 18px; font-size: var(--t-small); color: var(--p-muted); margin: .3em 0; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 1px; background: var(--p-accent); }
.plan li.off { color: #8f8d97; }
.plan li.off::before { background: #3a3941; }
.plan .btn { margin-top: auto; }
.badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
  background: rgb(255 45 85 / .14); color: #ff8aa0; border: 1px solid rgb(255 45 85 / .3);
}

/* ---------------- table ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid rgb(255 255 255 / .09); border-radius: var(--r-md); background: var(--p-surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 560px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgb(255 255 255 / .06); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #7d7b85; font-weight: 400; background: #101014; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .16s var(--ease); }
tbody tr:hover { background: rgb(255 255 255 / .025); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
td.yes { color: #9fe6c0; }
td.no { color: #5f5d66; }

/* ---------------- faq ---------------- */
.faq { border-top: 1px solid rgb(255 255 255 / .1); }
.faq details { border-bottom: 1px solid rgb(255 255 255 / .08); padding: 12px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-5);
  font-weight: 500; font-size: var(--t-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--p-muted); font-weight: 400; font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--p-muted); margin: var(--s-3) 0 0; max-width: 72ch; font-size: var(--t-small); }

/* ---------------- prose (legal / guides) ---------------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.prose h2 { margin-top: 2.1em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #c8c6cf; }
.prose p a, .prose li a { color: #ff8aa0; text-decoration: underline; text-underline-offset: 3px; }
.prose p a:hover, .prose li a:hover { color: #fff; }
.prose ul { padding-left: 1.2em; }
.prose hr { border: 0; border-top: 1px solid rgb(255 255 255 / .09); margin: 2.4em 0; }
.prose blockquote {
  margin: 1.5em 0; padding: var(--s-4) var(--s-5);
  border-left: 1px solid var(--p-accent); background: var(--p-surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--p-muted);
}
.updated { font-family: var(--font-mono); font-size: .75rem; color: #6f6d77; }

/* ---------------- cards / grids (features, guides) ---------------- */
.grid { display: grid; gap: var(--s-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--p-surface);
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: var(--r-md);
  padding: var(--s-5);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
a.card:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / .18); }
.card h3 { margin-bottom: var(--s-2); }
.card p { color: var(--p-muted); font-size: var(--t-small); margin: 0; }
.icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; margin-bottom: var(--s-4);
  background: rgb(255 255 255 / .04);
  border: 1px solid rgb(255 255 255 / .1);
  color: #ff8aa0;
}
.icon svg { width: 17px; height: 17px; }

/* ---------------- closing ---------------- */
.close { height: 100svh; min-height: 0; display: flex; align-items: center; padding: var(--s-8) 0; border-top: 1px solid rgb(255 255 255 / .08); }
.close h2 { font-size: var(--t-h2); max-width: 20ch; }
.close p { color: var(--p-muted); max-width: 46ch; }

/* ---------------- footer ---------------- */
.site-footer { border-top: 1px solid rgb(255 255 255 / .08); padding: var(--s-7) 0 var(--s-6); background: #09090b; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr .8fr; gap: var(--s-6); }
.footer-grid h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9a98a2; font-weight: 400; margin-bottom: var(--s-3); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .45em 0; }
.footer-grid li a { color: var(--p-muted); font-size: var(--t-small); transition: color .16s var(--ease); }
.footer-grid li a:hover { color: var(--p-ink); }
.footer-note {
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid rgb(255 255 255 / .07);
  color: #9a98a2; font-size: .75rem;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.disclaimer { margin-top: var(--s-3); color: #8a8892; font-size: .7rem; max-width: 92ch; }

/* ---------------- misc ---------------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14); font-size: .72rem; color: var(--p-muted); }
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: #7ee787; }
.note { border-left: 1px solid #d9a441; background: rgb(217 164 65 / .06); padding: var(--s-3) var(--s-4); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: #d9d2c1; font-size: var(--t-small); }
.kbd { font-family: var(--font-mono); font-size: .85em; background: #1a1a20; border: 1px solid rgb(255 255 255 / .12); border-radius: 4px; padding: 1px 5px; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--p-muted); font-size: var(--t-small); }
.platforms strong { color: var(--p-ink); font-weight: 500; }
.platforms .dot { width: 3px; height: 3px; border-radius: 50%; background: #4c4a52; }

/* focus */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #f4f2ef;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .hero__text { grid-column: 1 / -1; }
  .hero__art { grid-column: 1 / -1; margin-top: var(--s-6); aspect-ratio: 16 / 10; }
  .win { left: 32px; top: 32px; width: calc(100% - 32px + 20px); height: calc(100% - 32px + 20px); grid-template-columns: 112px minmax(0,1fr); }
  .win__note { left: 32px; bottom: 32px; width: 260px; }
  .split__text, .split--rev .split__text { grid-column: 1 / -1; }
  .split__media, .split--rev .split__media { grid-column: 1 / -1; }
  .steps, .facts, .plans, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--s-8) 0; }
  .hero, .screen, .close { align-items: flex-start; }
  .statement { align-items: center; }
  .screen > .wrap { justify-content: flex-start; }
  .hero { height: auto; min-height: 100svh; padding: 148px 0 var(--s-7); }
  .screen { height: auto; min-height: 100svh; padding: 148px 0 var(--s-7); }
  .statement { height: auto; min-height: 100svh; padding: 148px 0 var(--s-7); }
  .close { height: auto; min-height: 80svh; padding: 148px 0 var(--s-7); }
}
@media (max-width: 820px) {
  .nav { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 8px 14px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn--ghost { display: none; }
  .hero { padding-top: 148px; }
  .section { padding-top: 132px; }
  .hero__text h1 { max-width: 15ch; }
  .win__side { display: none; }
  .win { grid-template-columns: 1fr; }
  .win__note { display: none; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .callout { padding: var(--s-5); }
  .hero__art { aspect-ratio: 4 / 5; }
  .win { left: 16px; top: 16px; width: calc(100% - 16px + 12px); height: calc(100% - 16px + 12px); }
  .step p, .fact p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  [data-enter] .enter { opacity: 1; transform: none; }
  .statement .w { color: var(--p-ink) !important; }
  .statement .w.accent { color: var(--p-accent) !important; }
}

/* ---------------- compatibility with the pre-existing inner pages ---------------- */
.lede { font-size: var(--t-lead); line-height: 1.45; color: var(--p-muted); max-width: 54ch; }
.section--tight { padding: var(--s-6) 0; }
.split > :first-child:not(.split__text):not(.split__media) { grid-column: 1 / span 5; }
.split > .split-media { grid-column: 7 / span 6; }
.split--rev > :first-child:not(.split__text):not(.split__media) { grid-column: 7 / span 5; }
.split--rev > .split-media { grid-column: 1 / span 6; }
.split-media img { border-radius: var(--r-md); border: 1px solid rgb(255 255 255 / .09); }
@media (max-width: 1024px) {
  .split > :first-child:not(.split__text):not(.split__media),
  .split--rev > :first-child:not(.split__text):not(.split__media),
  .split > .split-media,
  .split--rev > .split-media { grid-column: 1 / -1; }
}

/* two-column editorial blocks with a visual on the right */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split2--text-first > .split2__media { order: 2; }
.split2__media .shot { width: 100%; }
.diagram { width: 100%; height: auto; display: block; }
.diagram text { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; fill: #8a8892; text-transform: uppercase; }
.diagram .line { stroke: #2a2a31; stroke-width: 1; fill: none; }
.diagram .accent { stroke: var(--p-accent); stroke-width: 1.2; fill: none; }
.diagram .node { fill: #16161b; stroke: #33333c; }
.diagram .pulse { fill: var(--p-accent); }
.qa { padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.qa h3 { font-size: .98rem; margin: 0 0 3px; font-weight: 500; letter-spacing: -.01em; }
.qa p { margin: 0; color: var(--p-muted); font-size: 13px; line-height: 1.5; }
.clipframes { display: flex; gap: 12px; align-items: flex-end; }
.clipframes svg { width: 84px; height: auto; border-radius: 6px; }
@media (max-width: 1024px) {
  .split2 { grid-template-columns: 1fr; }
  .split2--text-first > .split2__media { order: 0; }
}
.pricehead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); margin-bottom: var(--s-5); }
.pricehead .sechead { margin-bottom: 0; max-width: none; }
.brandmark svg { width: 88px; height: 88px; border-radius: 18px; margin-bottom: var(--s-4); }
@media (max-width: 820px) { .pricehead { flex-direction: column; align-items: flex-start; } .clipframes { display: none; } }

.band { border-top: 1px solid rgb(255 255 255 / .12); border-bottom: 1px solid rgb(255 255 255 / .12); padding: var(--s-6) 0; }
.band h2 { max-width: 20ch; }
.band p { color: var(--p-muted); max-width: 62ch; }
.band .btn-row { margin-bottom: 0; }
.close__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: center; }
.close__art { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.close__art .clipframes svg { width: 96px; }
@media (max-width: 900px) { .close__grid { grid-template-columns: 1fr; } }

/* ================= richer product storytelling ================= */

/* hero badge */
.hero__badge { display:inline-flex; align-items:center; gap:8px; margin-bottom:18px; padding:5px 11px 5px 7px; border:1px solid rgb(255 255 255 / .14); border-radius:999px; font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#c9c7cf; }
.hero__badge b { background:var(--p-accent); color:#0b0b0d; border-radius:999px; padding:2px 7px; font-weight:600; letter-spacing:.06em; }

/* clip wall */
.clipwall { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:var(--s-6); }
.clipcard { position:relative; height:560px; border-radius:16px; overflow:hidden; border:1px solid rgb(255 255 255 / .12); background:#101014; transition:transform .25s var(--ease), border-color .25s var(--ease); }
.clipcard:hover { transform:translateY(-4px); border-color:rgb(255 255 255 / .24); }
.clipcard img { width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.clipcard:hover img { transform:scale(1.05); }
.clipcard::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgb(0 0 0 / .05) 0%, rgb(0 0 0 / .12) 45%, rgb(0 0 0 / .88) 100%); pointer-events:none; }
.clipcard__score { position:absolute; top:12px; right:12px; z-index:2; font-family:var(--font-mono); font-size:11px; background:#d7ffb8; color:#0b0b0d; padding:3px 7px; border-radius:5px; }
.clipcard__cap { position:absolute; left:14px; right:14px; bottom:28px; z-index:2; font-family:var(--font-display); font-weight:600; font-size:clamp(1rem,1.45vw,1.28rem); line-height:1.04; text-transform:uppercase; letter-spacing:-.02em; color:#fff; text-shadow:0 2px 14px rgb(0 0 0 / .6); }
.clipcard__meta { position:absolute; left:14px; bottom:10px; z-index:2; font-family:var(--font-mono); font-size:9px; letter-spacing:.08em; color:rgb(255 255 255 / .62); text-transform:uppercase; }
.clipcard__play { position:absolute; inset:0; z-index:2; display:grid; place-items:center; opacity:0; transition:opacity .2s var(--ease); }
.clipcard:hover .clipcard__play { opacity:1; }
.clipcard__play span { width:46px; height:46px; border-radius:50%; background:rgb(255 255 255 / .94); display:grid; place-items:center; }
.clipcard__play svg { width:15px; height:15px; fill:#0b0b0d; margin-left:2px; }

/* 9:16 output preview */
.preview916 { width:min(100%, 320px); aspect-ratio:9/16; border-radius:18px; overflow:hidden; position:relative; border:1px solid rgb(255 255 255 / .12); box-shadow:0 44px 90px -46px #000; margin-inline:auto; background:#101014; }
.preview916 img { width:100%; height:100%; object-fit:cover; }
.preview916::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgb(0 0 0 / .18) 0%, transparent 35%, rgb(0 0 0 / .7) 100%); }
.preview916__cap { position:absolute; left:0; right:0; top:36%; z-index:2; text-align:center; font-family:var(--font-display); font-weight:700; font-size:clamp(1.5rem,2.4vw,2rem); line-height:.98; text-transform:uppercase; color:#fff; letter-spacing:-.03em; text-shadow:0 4px 26px rgb(0 0 0 / .65); padding:0 14px; }
.preview916__cap em { color:#ffe600; font-style:normal; }
.preview916__score { position:absolute; top:14px; right:14px; z-index:2; font-family:var(--font-mono); font-size:11px; background:#d7ffb8; color:#0b0b0d; padding:3px 8px; border-radius:5px; }
.preview916__tag { position:absolute; top:14px; left:14px; z-index:2; font-family:var(--font-mono); font-size:9px; letter-spacing:.1em; text-transform:uppercase; color:#fff; background:rgb(0 0 0 / .45); border:1px solid rgb(255 255 255 / .18); padding:4px 8px; border-radius:5px; }

/* phone + desktop */
.devices { position:relative; display:flex; justify-content:center; align-items:center; min-height:600px; }
.phone { position:relative; width:min(270px, 66%); aspect-ratio:390/844; border-radius:44px; background:#09090b; border:1px solid #3c3c46; padding:9px; z-index:2; box-shadow:0 60px 110px -50px #000, inset 0 0 0 1px rgb(255 255 255 / .06); }
.phone__screen { height:100%; border-radius:36px; overflow:hidden; background:#101014; display:flex; flex-direction:column; position:relative; }
.phone__notch { position:absolute; top:10px; left:50%; transform:translateX(-50%); width:86px; height:20px; border-radius:12px; background:#050506; z-index:3; }
.phone__bar { padding:30px 16px 8px; display:flex; align-items:center; justify-content:space-between; }
.phone__bar b { font-family:var(--font-display); font-size:13px; font-weight:600; color:#f1eff3; }
.phone__bar span { font-family:var(--font-mono); font-size:8px; letter-spacing:.08em; text-transform:uppercase; color:#9a98a2; }
.phone__clip { margin:6px 12px; border-radius:12px; overflow:hidden; position:relative; aspect-ratio:9/16; flex:1; min-height:0; }
.phone__clip img { width:100%; height:100%; object-fit:cover; }
.phone__clip .score { position:absolute; top:8px; right:8px; font-family:var(--font-mono); font-size:9px; background:#d7ffb8; color:#0b0b0d; padding:2px 6px; border-radius:4px; }
.phone__clip .cap { position:absolute; left:9px; right:9px; bottom:10px; font-family:var(--font-display); font-size:15px; font-weight:700; line-height:1; text-transform:uppercase; color:#fff; letter-spacing:-.02em; text-shadow:0 2px 14px rgb(0 0 0 / .7); }
.phone__actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 12px 16px; }
.phone__actions span { display:flex; align-items:center; justify-content:center; height:38px; border-radius:10px; font-size:11px; font-weight:600; }
.phone__actions .ok { background:var(--p-accent); color:#0b0b0d; }
.phone__actions .no { border:1px solid #35353f; color:#9a98a2; }
.miniwin { position:absolute; left:0; top:5%; width:58%; aspect-ratio:16/10; border-radius:12px; border:1px solid #2c2c35; background:#0f0f13; overflow:hidden; box-shadow:0 44px 90px -44px #000; }
.miniwin__bar { height:26px; border-bottom:1px solid #22222a; display:flex; align-items:center; gap:5px; padding:0 9px; }
.miniwin__bar i { width:5px; height:5px; border-radius:50%; background:#2b2b31; }
.miniwin__bar span { margin-left:auto; font-family:var(--font-mono); font-size:8px; color:#6f6d77; }
.miniwin__body { padding:10px; display:grid; gap:6px; }
.miniwin__row { height:28px; border-radius:5px; background:#17171d; display:flex; align-items:center; gap:7px; padding:0 7px; }
.miniwin__row i { width:17px; height:22px; border-radius:3px; background:linear-gradient(160deg,#3a2430,#1a141b); flex:none; }
.miniwin__row b { height:5px; width:40%; border-radius:3px; background:#2a2a31; }
.miniwin__row em { height:5px; width:14%; border-radius:3px; background:#3a3941; margin-left:auto; }
.miniwin__row.hot em { background:#d7ffb8; opacity:.7; }

/* full-bleed photo band */
.photo-band { position:relative; height:100svh; min-height:620px; display:flex; align-items:flex-end; overflow:hidden; }
.photo-band > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 55%; }
.photo-band::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgb(11 11 13 / .45) 0%, rgb(11 11 13 / .08) 26%, rgb(11 11 13 / .7) 58%, rgb(11 11 13 / .97) 90%); }
.photo-band .wrap { position:relative; z-index:1; padding-bottom:clamp(48px, 9vh, 104px); }
.photo-band h2 { font-size:clamp(2rem, 4.6vw, 4.3rem); max-width:17ch; margin-bottom:var(--s-4); }
.photo-band p { color:#dedcd8; max-width:54ch; font-size:var(--t-lead); line-height:1.45; }
.photo-band .eyebrow { color:#ffc9d4; }
.photo-band .btn-row { margin-bottom:0; }

/* free vs pro */
.pricebanner { display:flex; align-items:center; gap:14px; border:1px solid rgb(255 255 255 / .12); background:rgb(255 255 255 / .03); border-radius:12px; padding:14px 20px; margin:var(--s-4) 0 var(--s-5); }
.pricebanner b { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#d7ffb8; color:#0b0b0d; font-size:12px; flex:none; }
.pricebanner span { font-size:var(--t-small); color:var(--p-muted); }
.pricebanner strong { color:var(--p-ink); font-weight:600; }
.whygrid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-bottom:var(--s-5); }
.why { border-top:1px solid rgb(255 255 255 / .13); padding-top:14px; }
.why b { display:block; font-family:var(--font-display); font-size:1.02rem; font-weight:500; margin-bottom:4px; letter-spacing:-.01em; }
.why p { color:var(--p-muted); font-size:13px; margin:0; line-height:1.45; }
.plans--two { grid-template-columns:1fr 1fr; max-width:920px; }
.plan--pro { border-color:rgb(255 45 85 / .55); background:linear-gradient(180deg, rgb(255 45 85 / .1), var(--p-surface) 42%); box-shadow:0 0 0 1px rgb(255 45 85 / .12) inset; }
.plan .price small { display:block; font-family:var(--font-mono); font-size:10px; letter-spacing:.06em; color:var(--p-muted); margin-top:6px; }
.plan .btn { margin-top:var(--s-4); }

/* close with photograph */
.close--photo { position:relative; height:100svh; min-height:620px; display:flex; align-items:center; overflow:hidden; border-top:1px solid rgb(255 255 255 / .08); }
.close--photo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; opacity:.65; }
.close--photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgb(11 11 13 / .94) 0%, rgb(11 11 13 / .68) 48%, rgb(11 11 13 / .15) 100%); }
.close--photo .wrap { position:relative; z-index:1; }

/* photo credit line */
.photocredit { margin-top:10px; color:#6f6d77; font-size:.7rem; }
.photocredit a { color:#9a98a2; text-decoration:underline; text-underline-offset:2px; }

@media (max-width: 1024px) {
  .clipcard { height:auto; aspect-ratio:9/16; }
  .clipwall { grid-template-columns:repeat(3, 78vw); overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; scrollbar-width:none; }
  .clipwall::-webkit-scrollbar { display:none; }
  .clipcard { scroll-snap-align:start; }
  .whygrid, .plans--two { grid-template-columns:1fr; }
  .photo-band { height:auto; min-height:100svh; padding-top:120px; }
  .photo-band::after { background:linear-gradient(180deg, rgb(11 11 13 / .15) 0%, rgb(11 11 13 / .5) 34%, rgb(11 11 13 / .93) 68%, #0b0b0d 100%); }
  .photo-band .eyebrow { color:#ffd7df; text-shadow:0 1px 8px rgb(0 0 0 / .7); }
  .photo-band .wrap { padding-bottom:var(--s-7); }
  .close--photo { height:auto; min-height:100svh; padding:148px 0 var(--s-8); }
  .devices { min-height:0; margin-top:var(--s-6); }
  .miniwin { display:none; }
  .phone { width:min(300px, 84%); }
  .preview916 { width:min(100%, 300px); }
}

/* Homepage additions */
.source-demo{margin-top:var(--s-5);border:1px solid rgb(255 255 255 / .08);border-radius:14px;overflow:hidden;background:#0e0e11}
.source-demo__tabs{display:flex;gap:4px;padding:8px;border-bottom:1px solid rgb(255 255 255 / .06)}
.source-demo__tabs span{font:500 10px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--p-muted);padding:8px 11px;border-radius:6px}
.source-demo__tabs .is-on{background:#202027;color:#fff}
.source-demo__row{display:flex;align-items:center;gap:10px;padding:12px}
.source-demo__url{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px/1.4 var(--font-mono);color:#cbc8c4;background:#17171c;border:1px solid #34343d;border-radius:8px;padding:9px 11px}
.source-demo__time{font:10px/1 var(--font-mono);color:#f5cf8a;white-space:nowrap}
.source-demo__go{font-size:11px;font-weight:700;color:#0b0b0d;background:#ff2d55;border-radius:7px;padding:9px 12px;white-space:nowrap}
.sense-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:var(--s-4)}
.sense{display:flex;flex-direction:column;gap:5px;border:1px solid rgb(255 255 255 / .07);border-radius:12px;background:#101014;padding:14px}
.sense__icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#1d1d24;color:#ff7a8f;margin-bottom:3px}
.sense__icon svg{width:18px;height:18px}
.sense b{font-size:13px;color:#fff}
.sense>span:last-child{font-size:11px;line-height:1.4;color:var(--p-muted)}
.notify-pill{display:flex;align-items:center;gap:9px;margin:18px 0 16px;padding:10px 12px;border:1px solid rgb(255 255 255 / .1);border-radius:10px;background:#101014;font-size:11px;color:#cbc8c4}
.notify-pill__dot{width:7px;height:7px;border-radius:50%;background:#ff2d55;box-shadow:0 0 0 4px rgb(255 45 85 / .12)}
.notify-pill b{color:#fff}.notify-pill em{margin-left:auto;font-style:normal;color:#0b0b0d;background:#ff2d55;border-radius:5px;padding:4px 8px;font-weight:700}
.look-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:var(--s-6)}
.look-card{min-width:0}
.look-card__media{position:relative;aspect-ratio:4/5;border-radius:12px;overflow:hidden;border:1px solid rgb(255 255 255 / .1);background:#101014}
.look-card__media>img{width:100%;height:100%;object-fit:cover}
.look-card b{display:block;margin-top:7px;font-size:12px;color:#fff}
.look-card>span{display:block;font-size:10px;color:var(--p-muted)}
.look-card__line{position:absolute;inset-inline:0;top:42%;height:1px;background:rgb(255 255 255 / .7)}
.look-card__label{position:absolute;left:6px;top:6px;font:700 7px/1 var(--font-mono);letter-spacing:.1em;color:rgb(255 255 255 / .75)}
.look-card__label--game{top:auto;bottom:6px;left:auto;right:6px}
.look-card__fit-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(10px);transform:scale(1.15);opacity:.55}
.look-card__fit-fg{position:relative;width:100%;height:100%;object-fit:contain}
.look-card__captions{display:flex;align-items:center;justify-content:center}
.look-card__captions span{position:absolute;inset-inline:8px;text-align:center;font-family:var(--font-display);font-weight:800;font-size:17px;line-height:.95;letter-spacing:-.03em;text-transform:uppercase;color:#fff;text-shadow:-1.5px -1.5px 0 #000,1.5px -1.5px 0 #000,-1.5px 1.5px 0 #000,1.5px 1.5px 0 #000,0 2px 8px rgb(0 0 0 / .7)}
.look-card__captions em{color:#ffe600;font-style:normal}
.look-card__effects{display:grid;grid-template-columns:1fr 1fr;place-items:center;background:radial-gradient(circle at 50% 45%,#241017,#0e0e11 70%);color:#ff7a8f}
.look-card__effects svg{width:26px;height:26px}
.section-head{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:28px}
.section-head h2{margin:4px 0 0}
.advantage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.advantage{border:1px solid rgb(255 255 255 / .07);border-radius:12px;background:#101014;padding:17px}
.advantage__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#1d1d24;color:#ff7a8f;margin-bottom:12px}
.advantage__icon svg{width:19px;height:19px}
.advantage h3{font-size:15px;margin-bottom:5px;color:#fff}
.advantage p{font-size:12px;line-height:1.5;color:var(--p-muted);margin:0}
@media (max-width:900px){
  .section-head{display:block}.section-head p{margin-top:12px}
  .advantage-grid{grid-template-columns:1fr 1fr}
  .look-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .source-demo__row{flex-wrap:wrap}.source-demo__url{flex-basis:100%}
  .sense-grid{grid-template-columns:1fr}
  .advantage-grid,.look-grid{grid-template-columns:1fr}
}

/* Keep the new icon tiles compact and responsive. */
.icon,
.sense__icon,
.advantage__icon {
  width: clamp(24px, 2.2vw, 30px);
  height: clamp(24px, 2.2vw, 30px);
  border-radius: 7px;
  flex: 0 0 auto;
}
.icon svg,
.sense__icon svg,
.advantage__icon svg {
  width: 56%;
  height: 56%;
  max-width: 16px;
  max-height: 16px;
}
.look-card__effects svg {
  width: clamp(18px, 1.6vw, 22px);
  height: clamp(18px, 1.6vw, 22px);
}
@media (max-width: 600px) {
  .icon,
  .sense__icon,
  .advantage__icon { width: 24px; height: 24px; }
  .icon svg,
  .sense__icon svg,
  .advantage__icon svg { max-width: 14px; max-height: 14px; }
  .look-card__effects svg { width: 18px; height: 18px; }
}

/* ---------------- Black Friday deal (pricing + home Pro card) ---------------- */
.deal { margin: var(--s-3) 0 2px; }
.deal-tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: rgb(74 222 128 / .12); color: #6ee7a0; border: 1px solid rgb(74 222 128 / .35); }
.deal .price { margin-top: var(--s-3); }
.deal .price s { color: var(--p-muted); text-decoration-thickness: 3px; font-size: .75em; margin-right: 4px; }
.deal .price ins { text-decoration: none; color: #4ade80; }
.deal-note { font-size: var(--t-small); color: var(--p-muted); margin: 8px 0 0; }
.deal-note strong { color: var(--p-ink); font-weight: 600; }
.deal-timer { font-family: var(--font-mono); font-size: 12px; color: var(--p-muted); margin: 8px 0 0; }
.deal-timer b { color: var(--p-ink); font-weight: 600; }
.deal-after { display: none; }
.deal-over .deal { display: none; }
.deal-over .deal-after { display: block; }

/* ---------------- reviews ---------------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.review { position: relative; margin: 0; padding: 26px 26px 22px; border: 1px solid rgb(255 255 255 / .09); border-radius: 18px; background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .008)); }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 20px; font-family: var(--font-display); font-size: 58px; line-height: 1; color: rgb(255 255 255 / .07); }
.review__stars { color: #ffc94a; letter-spacing: .16em; font-size: 14px; line-height: 1; }
.review__text { margin: 14px 0 16px; font-size: var(--t-body); line-height: 1.55; color: var(--p-ink); }
.review__text p { margin: 0; }
.review__who { font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--p-muted); }
.review__who a { color: var(--p-muted); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .2); }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------------- split FAQ (pricing) ---------------- */
.faq-split { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } }
.faq-card {
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 22px;
  padding: 6px 26px 10px;
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .008));
  box-shadow: 0 34px 80px -60px #000;
}
.faq-card .faq { border-top: 0; }
.faq-card .faq details:last-child { border-bottom: 0; }

/* ---------------- 3D clip ring ---------------- */
.ring { position: relative; height: clamp(380px, 52vw, 500px); margin-top: 40px; perspective: 1500px; overflow: hidden; }
.ring::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--p-bg)); pointer-events: none; }
.ring__stage {
  position: absolute; left: 50%; top: 50%; width: 210px; height: 360px; margin: -180px 0 0 -105px;
  transform-style: preserve-3d;
  transform: rotateY(var(--spin, -18deg)) rotateX(4deg);
}
.ring__card {
  position: absolute; inset: 0; margin: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 40px 80px -34px rgb(0 0 0 / .95);
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(var(--radius, 330px));
  backface-visibility: hidden;
}
.ring__card img { width: 100%; height: 100%; object-fit: cover; }
.ring__card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: #f4f2ef; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .8));
}
@media (prefers-reduced-motion: reduce) { .ring__stage { transform: none; } }

/* ---------------- live deal countdown ---------------- */
.pc-timer, .deal-timer { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.pc-timer::before, .deal-timer::before {
  content: ""; display: inline-block; vertical-align: middle; width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgb(74 222 128 / .6); animation: mm-pulse 2s ease-out infinite; flex: none; margin-right: 7px;
}
.pc-timer b, .deal-timer b { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@keyframes mm-pulse {
  0% { box-shadow: 0 0 0 0 rgb(74 222 128 / .55); }
  70% { box-shadow: 0 0 0 6px rgb(74 222 128 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(74 222 128 / 0); }
}
@media (prefers-reduced-motion: reduce) { .pc-timer::before, .deal-timer::before { animation: none; } }

/* ---------------- homepage upgrade (2026-11-20) ---------------- */
/* Black Friday bar: one line on top, gone when the deal ends (.deal-over). */
.promo.deal { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  padding: 9px 16px; background: linear-gradient(90deg, rgb(255 45 85 / .16), rgb(74 222 128 / .10)); border-bottom: 1px solid rgb(255 255 255 / .07);
  color: var(--p-ink); font-size: 13px; text-decoration: none; }
.promo.deal:hover { background: linear-gradient(90deg, rgb(255 45 85 / .22), rgb(74 222 128 / .14)); }
.promo__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--p-accent); color: #fff; }
.promo s { color: var(--p-muted); }
.promo b { color: #4ade80; font-weight: 600; }
.promo__timer { font-family: var(--font-mono); font-size: 12px; color: var(--p-muted); }
.promo__timer b { color: var(--p-ink); }

/* Stats line above the headline (mono, quiet). */
.hero__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--p-muted); }
.hero__stats b { color: var(--p-accent); font-weight: 600; }

/* A real screenshot in a window frame. */
.appshot { border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); background: #0e0e11;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 45 85 / .06); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.appshot:hover { transform: none; }
.appshot__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgb(255 255 255 / .07); font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--p-muted); }
.appshot img { display: block; width: 100%; height: auto; }
@media (max-width: 820px), (prefers-reduced-motion: reduce) { .appshot { transform: none; } }

/* Clip from → Post to. */
.flowstrip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 44px; padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / .07); border-radius: 999px; color: var(--p-ink); font-size: var(--t-small); }
.flowstrip__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.flowstrip__arrow { color: var(--p-accent); }
@media (max-width: 560px) { .flowstrip { border-radius: 16px; } }

/* Real app screens, three across. */
.appgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.appcard { margin: 0; border: 1px solid rgb(255 255 255 / .08); border-radius: var(--r-md); overflow: hidden; background: var(--p-surface); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.appcard:hover { transform: translateY(-3px); border-color: rgb(255 45 85 / .35); }
.appcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.appcard figcaption { display: grid; gap: 4px; padding: 14px 16px 16px; }
.appcard figcaption b { color: var(--p-ink); font-weight: 600; }
.appcard figcaption span { color: var(--p-muted); font-size: var(--t-small); }
@media (max-width: 900px) { .appgrid { grid-template-columns: 1fr; } }
/* The promo bar lives inside the fixed header: push the hero down while it shows. */
html:not(.deal-over) .hero { padding-top: 106px; }
@media (max-width: 1024px) { html:not(.deal-over) .hero { padding-top: 186px; } }
/* The hero now holds a real screenshot: size to it, not to the old drawn mock-up. */
.hero__art:has(.appshot) { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; align-self: center; }
@media (max-width: 560px) {
  .promo.deal { flex-wrap: nowrap; gap: 8px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
  .promo s, .promo__long { display: none; }
  .promo__tag { font-size: 9px; padding: 2px 6px; }
  .promo__timer { font-size: 11px; }
}
