/* Inter variable 400–800 (SIL OFL 1.1), self-hosted from assets/fonts.
   Same subsets and unicode ranges Google Fonts serves, so a page only
   downloads what its text needs. Paths are relative to dist/theme.css. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-var-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * SmartCleanup — the product site of an on-device photo and storage cleaner.
 *
 * 0.2.0 redesign. One accent (the app's orange, #F2711C, or the site's
 * primaryColor) for everything pressable and for the part of the storage bar the
 * app can free. Three more colours carry the app's confidence labels and nothing
 * else: green "pre-selected", amber "suggested", grey "info only". Red is the
 * delete button and the critical notice, nowhere else.
 *
 * Bands alternate paper / tint / ink. Type is Inter, self-hosted; labels and
 * figures use the system mono face with tabular figures.
 */

/* -------------------------------------------------------------------------
 * Colour modes — three blocks, and the order is the mechanism.
 *
 *   1. `:root`                      — LIGHT, the base.
 *   2. `prefers-color-scheme: dark` — the OS, unless the visitor chose light.
 *   3. `[data-theme="dark"]`        — an explicit choice, which beats the OS.
 *
 * The dark tokens are written twice, in 2 and 3. build.mjs refuses to build when
 * the two lists drift.
 * ---------------------------------------------------------------------- */

:root {
  --sc-accent: #f2711c;
  --sc-shade: #3a1606;
  --sc-fill-amt: 66%;
  --sc-on-accent: #ffffff;

  --sc-sans: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --sc-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --sc-radius-sm: 10px;
  --sc-radius: 14px;
  --sc-radius-lg: 24px;
  --sc-pill: 999px;

  --sc-header-h: 64px;
  --sc-band: clamp(56px, 7vw, 112px);
  --sc-gutter: 20px;

  --sc-bg: #ffffff;
  --sc-surface: #ffffff;
  --sc-panel: #ffffff;
  --sc-panel-2: #f4efea;
  --sc-tint: #f8f4f0;
  --sc-fill: #efe7e0;
  --sc-bar: #dccfc4;
  --sc-line: #ece4dc;
  --sc-ink: #1a120d;
  --sc-muted: #6b5d53;
  --sc-band-bg: #1a110c;
  --sc-band-line: rgba(255, 255, 255, 0.12);
  --sc-badge: #140d09;
  --sc-badge-line: rgba(255, 255, 255, 0);
  --sc-shadow: 0 24px 60px -24px rgba(40, 20, 8, 0.28);
  --sc-shadow-sm: 0 8px 22px -10px rgba(40, 20, 8, 0.2);
  --sc-high: #16a34a;
  --sc-medium: #d99a06;
  --sc-info: #8a94a3;
  --sc-danger: #dc2f26;
  --sc-warn-bg: #fff6e0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sc-shade: #ffffff;
    --sc-fill-amt: 100%;
    --sc-on-accent: #1f0c02;
    --sc-bg: #0f0b09;
    --sc-surface: #181210;
    --sc-panel: #181210;
    --sc-panel-2: #221a16;
    --sc-tint: #141009;
    --sc-fill: #271f1a;
    --sc-bar: #473a31;
    --sc-line: #30271f;
    --sc-ink: #f3ece6;
    --sc-muted: #ab9d92;
    --sc-band-bg: #080504;
    --sc-band-line: rgba(255, 255, 255, 0.1);
    --sc-badge: #000000;
    --sc-badge-line: rgba(255, 255, 255, 0.22);
    --sc-shadow: 0 28px 72px -24px rgba(0, 0, 0, 0.75);
    --sc-shadow-sm: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
    --sc-high: #4ade80;
    --sc-medium: #f4c14d;
    --sc-info: #9aa4b2;
    --sc-danger: #ff6b63;
    --sc-warn-bg: #2a2110;
  }
}

:root[data-theme="dark"] {
  --sc-shade: #ffffff;
  --sc-fill-amt: 100%;
  --sc-on-accent: #1f0c02;
  --sc-bg: #0f0b09;
  --sc-surface: #181210;
  --sc-panel: #181210;
  --sc-panel-2: #221a16;
  --sc-tint: #141009;
  --sc-fill: #271f1a;
  --sc-bar: #473a31;
  --sc-line: #30271f;
  --sc-ink: #f3ece6;
  --sc-muted: #ab9d92;
  --sc-band-bg: #080504;
  --sc-band-line: rgba(255, 255, 255, 0.1);
  --sc-badge: #000000;
  --sc-badge-line: rgba(255, 255, 255, 0.22);
  --sc-shadow: 0 28px 72px -24px rgba(0, 0, 0, 0.75);
  --sc-shadow-sm: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
  --sc-high: #4ade80;
  --sc-medium: #f4c14d;
  --sc-info: #9aa4b2;
  --sc-danger: #ff6b63;
  --sc-warn-bg: #2a2110;
}

/* -------------------------------------------------------------------------
 * Base
 *
 * The derived accent tokens live on `.sc`, not `:root`: the site's primaryColor
 * arrives as an inline `--sc-accent` on `.sc`, and a token computed on `:root`
 * would have mixed the default orange instead.
 * ---------------------------------------------------------------------- */

.sc {
  --sc-accent-text: color-mix(in srgb, var(--sc-accent) 68%, var(--sc-shade));
  --sc-accent-fill: color-mix(in srgb, var(--sc-accent) var(--sc-fill-amt), var(--sc-shade));
  --sc-accent-soft: color-mix(in srgb, var(--sc-accent) 12%, transparent);
  --sc-band-accent: color-mix(in srgb, var(--sc-accent) 62%, #ffffff);
  background: var(--sc-bg);
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03";
}

.sc *,
.sc *::before,
.sc *::after {
  box-sizing: border-box;
}

/* Zero-weight resets, so one-class component rules below win. */
:where(.sc) h1,
:where(.sc) h2,
:where(.sc) h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:where(.sc) p {
  margin: 0;
}

:where(.sc) ul,
:where(.sc) ol {
  margin: 0;
  padding: 0;
}

:where(.sc) a {
  color: inherit;
}

.sc img {
  max-width: 100%;
  height: auto;
}

.sc :focus-visible {
  outline: 2.5px solid var(--sc-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.sc__container {
  width: min(1180px, 100% - 2 * var(--sc-gutter));
  margin-inline: auto;
}

.sc__measure {
  max-width: 760px;
}

.sc__section {
  padding-block: var(--sc-band);
}

.sc__section--tint {
  background: var(--sc-tint);
}

.sc [id] {
  scroll-margin-top: calc(var(--sc-header-h) + 16px);
}

.sc__skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  padding: 12px 18px;
  background: var(--sc-accent-fill);
  color: var(--sc-on-accent);
  border-radius: 0 0 var(--sc-radius-sm) 0;
  text-decoration: none;
  font-weight: 600;
}

.sc__skip:focus {
  left: 0;
}

/* -------------------------------------------------------------------------
 * Type
 * ---------------------------------------------------------------------- */

.sc__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--sc-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sc-accent-text);
}

.sc__eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.sc__eyebrow--center {
  justify-content: center;
}

.sc__lead {
  max-width: 58ch;
  color: var(--sc-muted);
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.6;
}

.sc__accent {
  color: var(--sc-accent-text);
}

.sc__note {
  margin-top: 28px;
  color: var(--sc-muted);
  font-size: 14.5px;
}

.sc__section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.sc__section-head h2 {
  max-width: 20ch;
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.sc__section-head .sc__lead {
  margin-top: 18px;
}

.sc__section-head--center {
  text-align: center;
}

.sc__section-head--center .sc__eyebrow {
  justify-content: center;
}

.sc__section-head--center h2,
.sc__section-head--center .sc__lead {
  margin-inline: auto;
}

/* ---- Buttons ---- */

.sc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sc__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--sc-pill);
  background: var(--sc-accent-fill);
  color: var(--sc-on-accent);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.sc__button:hover {
  filter: brightness(1.08);
}

.sc__button--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.sc__button--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__button--ghost:hover {
  filter: none;
  box-shadow: inset 0 0 0 1px var(--sc-ink);
}

.sc__text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sc-accent-text);
  font-weight: 600;
  text-decoration: none;
}

.sc__text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The secondary action next to a button is a button too: an outlined pill. */
.sc__actions .sc__text-link {
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  color: inherit;
  font-size: 15px;
}

.sc__actions .sc__text-link:hover {
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--sc-ink);
}

/* ---- Store badges ---- */

.sc__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sc__store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  border-radius: 12px;
  background: var(--sc-badge);
  box-shadow: inset 0 0 0 1px var(--sc-badge-line);
  color: #ffffff;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.15s ease;
}

a.sc__store:hover {
  transform: translateY(-1px);
}

.sc__store svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

.sc__store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
}

.sc__store strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

/* Not published yet: the same badge, quieter, and not pressable. */
.sc__store--soon {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--sc-line);
  color: var(--sc-ink);
  cursor: default;
}

.sc__store--soon small {
  opacity: 1;
  color: var(--sc-muted);
}

/* ---- Icons ---- */

.sc__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Confidence chip ---- */

.sc__level {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  background: var(--sc-panel);
  color: var(--sc-ink);
  font-family: var(--sc-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.sc__level::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--sc-info);
}

.sc__level--high::before {
  background: var(--sc-high);
}

.sc__level--medium::before {
  background: var(--sc-medium);
}

.sc__level--info::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--sc-info);
}

/* -------------------------------------------------------------------------
 * Header
 *
 * The mobile menu is a `:target` drawer (the theme ships no client script): the
 * hamburger links to #sc-menu, the × links to #main, and CSS shows one of the
 * two. Following any in-page link moves the target and closes the drawer.
 * ---------------------------------------------------------------------- */

.sc__header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-line);
}

.sc__header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--sc-header-h);
}

.sc__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.sc__brand img,
.sc__brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
}

.sc__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sc-accent-fill);
  color: var(--sc-on-accent);
}

.sc__brand-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.sc__brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.sc__brand-text strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc__brand-text small {
  margin-top: 3px;
  color: var(--sc-muted);
  font-size: 13px;
}

.sc__menu-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  color: inherit;
  text-decoration: none;
}

.sc__menu-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.sc__menu-bars::before,
.sc__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.sc__menu-bars::before {
  top: -6px;
}

.sc__menu-bars::after {
  top: 6px;
}

.sc__menu-bars--x {
  background: transparent;
}

.sc__menu-bars--x::before {
  top: 0;
  transform: rotate(45deg);
}

.sc__menu-bars--x::after {
  top: 0;
  transform: rotate(-45deg);
}

.sc__menu-button--close {
  display: none;
}

.sc__header-inner:has(#sc-menu:target) .sc__menu-button--open {
  display: none;
}

.sc__header-inner:has(#sc-menu:target) .sc__menu-button--close {
  display: inline-flex;
  box-shadow: inset 0 0 0 1px var(--sc-accent);
  color: var(--sc-accent-text);
}

.sc__header-panel {
  display: none;
  position: fixed;
  top: var(--sc-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  flex-direction: column;
  gap: 8px;
  padding: 12px var(--sc-gutter) 24px;
  background: var(--sc-bg);
  border-top: 1px solid var(--sc-line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sc__header-panel:target {
  display: flex;
}

.sc__nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.sc__nav a {
  display: block;
  padding: 16px 2px;
  border-bottom: 1px solid var(--sc-line);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.sc__nav a:hover {
  color: var(--sc-accent-text);
}

.sc__header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.sc__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.sc__icon-btn:hover {
  box-shadow: inset 0 0 0 1px var(--sc-ink);
}

.sc__icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ---- Language switcher ---- */

.sc__lang {
  position: relative;
}

.sc__lang summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 13px;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  font-family: var(--sc-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
}

.sc__lang summary::-webkit-details-marker {
  display: none;
}

.sc__lang summary i {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sc__flag {
  width: 19px;
  height: 13px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.4);
}

.sc__lang ul {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  min-width: 180px;
  padding: 6px;
  list-style: none;
  background: var(--sc-panel);
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
}

.sc__lang a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
}

.sc__lang a:hover,
.sc__lang a[aria-current="page"] {
  background: var(--sc-panel-2);
}

/* -------------------------------------------------------------------------
 * Hero — centred, with the storage bar
 * ---------------------------------------------------------------------- */

.sc__hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--sc-accent) 9%, transparent), transparent 70%),
    var(--sc-bg);
}

.sc__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sc__hero-title {
  max-width: 15ch;
  font-size: clamp(42px, 6.7vw, 96px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.sc__hero-title--long {
  max-width: 21ch;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.sc__hero-copy {
  margin-top: clamp(18px, 2vw, 26px);
  margin-inline: auto;
}

.sc__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.sc__hero-actions .sc__stores,
.sc__hero-actions .sc__actions {
  justify-content: center;
}

.sc__hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 22px;
  list-style: none;
  color: var(--sc-muted);
  font-size: 14px;
}

.sc__hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sc__hero-notes svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--sc-accent-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__hero-phones {
  width: min(660px, 100%);
  margin-top: clamp(40px, 5vw, 64px);
}

/* ---- Real screenshots in a phone frame (0.2.1) ---- */

.sc__device {
  position: relative;
  padding: clamp(5px, 0.55vw, 8px);
  border-radius: clamp(22px, 2.4vw, 34px);
  background: #0a0d12;
  box-shadow:
    0 0 0 1px var(--sc-line),
    var(--sc-shadow);
}

.sc__device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1392;
  object-fit: cover;
  border-radius: clamp(17px, 1.9vw, 27px);
  background: #15121f;
}

/* ---- Hero, split: text left, the real Dashboard right ---- */

.sc__hero--split {
  background:
    radial-gradient(42% 60% at 78% 45%, color-mix(in srgb, var(--sc-accent) 14%, transparent), transparent 70%),
    var(--sc-bg);
}

.sc__hero-split {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.sc__hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.sc__hero--split .sc__hero-title {
  max-width: 13ch;
  font-size: clamp(42px, 5.6vw, 84px);
}

.sc__hero--split .sc__hero-copy {
  max-width: 34rem;
  margin-inline: 0;
}

.sc__hero--split .sc__hero-actions,
.sc__hero--split .sc__hero-actions .sc__stores,
.sc__hero--split .sc__hero-actions .sc__actions,
.sc__hero--split .sc__hero-notes {
  justify-content: flex-start;
}

.sc__hero-shot {
  justify-self: center;
  width: min(260px, 66vw);
}

@media (min-width: 900px) {
  .sc__hero-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .sc__hero-shot {
    width: min(340px, 100%);
    transform: rotate(2deg);
  }
}

/* ---- Showcase: real screens, large ---- */

.sc__showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--sc-line);
}

.sc__showcase-head > div {
  flex: 1 1 auto;
}

.sc__showcase-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.sc__showcase-lead {
  max-width: 19rem;
  color: var(--sc-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
}

.sc__showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(14px, 2.4vw, 32px);
  margin-top: clamp(32px, 4vw, 56px);
  list-style: none;
}

.sc__showcase-item h3 {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sc__showcase-item p {
  margin-top: 6px;
  color: var(--sc-muted);
  font-size: 14.5px;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .sc__showcase-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 960px;
    margin-inline: auto;
  }

  .sc__showcase-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc__showcase-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .sc__showcase-item:nth-child(even) {
    margin-top: 40px;
  }
}

@media (max-width: 639px) {
  .sc__showcase-item h3 {
    margin-top: 12px;
  }

  .sc__showcase-item p {
    font-size: 13.5px;
  }
}

/* ---- Levels, short version (home) ---- */

.sc__levels--compact .sc__levels-item p {
  font-size: 15px;
}

@media (max-width: 639px) {
  .sc__levels--compact .sc__levels-grid {
    gap: 0;
  }

  .sc__levels--compact .sc__levels-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .sc__levels--compact .sc__levels-shot {
    grid-row: span 2;
    width: 64px;
    height: 48px;
    margin-bottom: 0;
  }

  .sc__levels--compact .sc__levels-item h3 {
    margin-top: 0;
    font-size: 22px;
  }

  .sc__levels--compact .sc__levels-item p {
    margin-top: 6px;
    font-size: 14px;
  }
}

/* ---- The storage bar ---- */

.sc__storage {
  width: 100%;
  max-width: 1100px;
  margin: clamp(36px, 5vw, 64px) 0 0;
  text-align: left;
}

.sc__storage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 10px;
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sc__storage-used {
  color: var(--sc-ink);
  font-variant-numeric: tabular-nums;
}

.sc__storage-frame {
  position: relative;
  padding-top: 44px;
}

/* The figure the hero is about, pinned over the hatched section it names. */
.sc__storage-pin {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: var(--sc-pill);
  background: var(--sc-accent-fill);
  color: var(--sc-on-accent);
  font-family: var(--sc-mono);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sc__storage-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 10px;
  margin-left: -1px;
  background: var(--sc-accent-fill);
}

.sc__storage-track {
  display: flex;
  gap: 3px;
  height: clamp(44px, 4.6vw, 60px);
  border-radius: 16px;
  overflow: hidden;
}

.sc__storage-seg {
  flex-basis: 0;
  min-width: 6px;
  background: color-mix(in srgb, var(--sc-ink) 90%, var(--sc-bg));
}

.sc__storage-seg--videos,
.sc__storage-key--videos::before {
  background: color-mix(in srgb, var(--sc-ink) 58%, var(--sc-bg));
}

.sc__storage-seg--apps,
.sc__storage-key--apps::before {
  background: var(--sc-bar);
}

.sc__storage-seg--clean,
.sc__storage-key--clean::before {
  background:
    repeating-linear-gradient(135deg, transparent 0 6px, rgba(255, 255, 255, 0.34) 6px 9px),
    var(--sc-accent);
}

.sc__storage-seg--free,
.sc__storage-key--free::before {
  background: var(--sc-fill);
}

.sc__storage-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 18px;
  list-style: none;
  font-size: 14px;
}

.sc__storage-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-muted);
}

.sc__storage-key::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 3px;
  background: var(--sc-ink);
}

.sc__storage-key b {
  color: var(--sc-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sc__storage-key--clean span,
.sc__storage-key--clean b {
  color: var(--sc-accent-text);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
 * The bento: one category opened
 * ---------------------------------------------------------------------- */

.sc__hero + .sc__groups {
  padding-top: clamp(24px, 3vw, 48px);
}

.sc__bento {
  display: grid;
  gap: 16px;
}

.sc__mosaic {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: 28px;
  background: var(--sc-tint);
}

.sc__mosaic-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sc__mosaic-head h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.035em;
}

.sc__mosaic-desc {
  max-width: 54ch;
  margin-top: -8px;
  color: var(--sc-muted);
  font-size: 15px;
}

.sc__mosaic-groups {
  display: grid;
  gap: 14px;
}

.sc__mosaic-group {
  display: grid;
  gap: 8px;
}

.sc__mosaic-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.sc__mosaic-meta b {
  font-weight: 600;
}

.sc__mosaic-meta span {
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.sc__mosaic-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sc__shot {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}

.sc__shot--picked {
  box-shadow: inset 0 0 0 3px var(--sc-accent);
}

.sc__shot--picked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 30, 0.18);
}

.sc__shot-tick,
.sc__shot-ring {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.sc__shot-tick {
  display: grid;
  place-items: center;
  background: var(--sc-accent);
  box-shadow: 0 0 0 2px #ffffff;
}

.sc__shot-tick svg,
.sc__mosaic-key-tick svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__shot-ring {
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.16);
}

.sc__shot-keep,
.sc__mosaic-key-keep {
  font-style: normal;
  font-family: var(--sc-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #1f8f4a;
  color: #ffffff;
}

.sc__shot-keep {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
}

.sc__mosaic-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}

.sc__mosaic-key {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--sc-muted);
  font-size: 13.5px;
}

.sc__mosaic-key-tick {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sc-accent);
}

.sc__mosaic-key-tick svg {
  width: 12px;
  height: 12px;
}

.sc__mosaic-key-keep {
  margin-left: 10px;
}

/* The app's one red control, as the app draws it. */
.sc__mosaic-delete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--sc-pill);
  background: #d32f2f;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sc__mosaic-delete svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.sc__side-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__side-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sc-tint);
  color: var(--sc-accent-text);
}

.sc__side-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__side-label {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.sc__side-label span {
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sc__side-label b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.sc__side-size {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sc__side-card--total {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto auto;
  row-gap: 16px;
  background: var(--sc-accent-fill);
  box-shadow: none;
  color: var(--sc-on-accent);
}

.sc__side-card--total .sc__side-label span {
  color: inherit;
  opacity: 0.8;
}

.sc__side-card--total .sc__side-size {
  font-size: clamp(36px, 4vw, 54px);
}

.sc__side-stack {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 3;
  gap: 3px;
  height: 12px;
  border-radius: var(--sc-pill);
  overflow: hidden;
}

.sc__side-stack span {
  flex-basis: 0;
  background: currentColor;
}

.sc__side-stack span:nth-child(2) {
  opacity: 0.72;
}

.sc__side-stack span:nth-child(3) {
  opacity: 0.5;
}

.sc__side-stack span:nth-child(4) {
  opacity: 0.32;
}

.sc__side-legend {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 4;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px 14px;
  list-style: none;
  font-family: var(--sc-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.sc__side-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sc__side-legend li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 2px;
  background: currentColor;
}

.sc__side-legend li:nth-child(2)::before {
  opacity: 0.72;
}

.sc__side-legend li:nth-child(3)::before {
  opacity: 0.5;
}

.sc__side-legend li:nth-child(4)::before {
  opacity: 0.32;
}

.sc__groups-note {
  margin-top: 18px;
  font-size: 13px;
}

/* -------------------------------------------------------------------------
 * Ink bands: the three labels, the closing band
 * ---------------------------------------------------------------------- */

.sc__levels,
.sc__cta {
  --sc-ink: #eef2f7;
  --sc-muted: rgba(238, 242, 247, 0.68);
  --sc-line: var(--sc-band-line);
  --sc-accent-text: var(--sc-band-accent);
  padding-block: var(--sc-band);
  background: var(--sc-band-bg);
  border-block: 1px solid var(--sc-band-line);
  color: var(--sc-ink);
}

.sc__levels-grid {
  display: grid;
  gap: 36px;
  list-style: none;
}

.sc__levels-item {
  --lv: #9aa4b2;
  padding-top: 28px;
  border-top: 1px solid var(--sc-band-line);
}

.sc__levels-item--high {
  --lv: #4ade80;
}

.sc__levels-item--medium {
  --lv: #f4c14d;
}

.sc__levels-shot {
  position: relative;
  display: block;
  width: 88px;
  height: 66px;
  margin-bottom: 26px;
}

.sc__levels-photo {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #8ecdf5 0 46%, #2f7fc1 46% 70%, #f1d7a8 70%);
}

.sc__levels-item--high .sc__levels-photo {
  box-shadow: inset 0 0 0 3px var(--sc-accent);
}

.sc__levels-item--medium .sc__levels-photo {
  background:
    radial-gradient(circle at 50% 62%, #ffd27a 0 12%, transparent 13%),
    linear-gradient(180deg, #f59e8b 0%, #f7b267 55%, #3d3a5c 55%);
}

.sc__levels-item--info .sc__levels-photo {
  background:
    radial-gradient(circle at 35% 40%, #9be07c 0 22%, transparent 23%),
    radial-gradient(circle at 70% 55%, #4caf50 0 26%, transparent 27%),
    linear-gradient(180deg, #d9f2d0, #2e7d32);
  opacity: 0.85;
}

.sc__levels-info {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f1722;
  font-family: var(--sc-mono);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.sc__levels-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.sc__levels-dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--lv);
}

.sc__levels-item--info .sc__levels-dot {
  background: transparent;
  box-shadow: inset 0 0 0 2.5px var(--lv);
}

.sc__levels-item p {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--sc-muted);
  font-size: 15.5px;
}

.sc__levels-item .sc__levels-eg {
  margin-top: 16px;
  color: var(--sc-ink);
  font-family: var(--sc-mono);
  font-size: 12.5px;
  line-height: 1.6;
  opacity: 0.82;
}

/* ---- Closing band ---- */

.sc__cta {
  text-align: center;
  background:
    radial-gradient(50% 70% at 50% 0%, color-mix(in srgb, var(--sc-accent) 22%, transparent), transparent 70%),
    var(--sc-band-bg);
}

.sc__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sc__cta h2 {
  max-width: 18ch;
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.sc__cta .sc__lead {
  margin-top: 20px;
  margin-inline: auto;
}

.sc__cta .sc__stores {
  justify-content: center;
  margin-top: 36px;
}

.sc__cta .sc__actions {
  justify-content: center;
  margin-top: 16px;
}

.sc__cta .sc__store {
  --sc-badge-line: rgba(255, 255, 255, 0.22);
  background: #000000;
}

.sc__cta .sc__store--soon {
  background: transparent;
  color: var(--sc-ink);
}

/* -------------------------------------------------------------------------
 * The flow
 * ---------------------------------------------------------------------- */

.sc__flow {
  display: grid;
  gap: 16px;
  list-style: none;
}

.sc__flow-step {
  position: relative;
  padding: 16px 16px 24px;
  border-radius: var(--sc-radius-lg);
  background: var(--sc-panel);
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__flow-n {
  display: block;
  margin: 0 6px 8px;
  color: var(--sc-accent-text);
  font-family: var(--sc-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sc__flow-n::before {
  content: "0";
}

.sc__flow-step h3,
.sc__flow-step p {
  margin-inline: 6px;
}

.sc__flow-step h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.sc__flow-step p {
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 15px;
}

.sc__flow + .sc__note {
  text-align: center;
}

/* -------------------------------------------------------------------------
 * Features
 * ---------------------------------------------------------------------- */

.sc__features {
  display: grid;
  gap: 16px;
}

.sc__feature {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 22px;
  background: var(--sc-tint);
}

.sc__feature-mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--sc-accent-soft);
  color: var(--sc-accent-text);
}

.sc__feature h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.sc__feature p {
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 15px;
}

/* -------------------------------------------------------------------------
 * Numbers
 * ---------------------------------------------------------------------- */

.sc__stats-band {
  padding-block: var(--sc-band);
}

.sc__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
}

.sc__stat {
  padding-top: 22px;
  border-top: 2px solid var(--sc-ink);
}

.sc__stat dt {
  color: var(--sc-accent-text);
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.sc__stat dd {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--sc-muted);
  font-size: 15px;
}

.sc__stats-band .sc__note {
  text-align: center;
}

/* -------------------------------------------------------------------------
 * What the app looks for — the category map
 * ---------------------------------------------------------------------- */

.sc__section:has(> .sc__container > .sc__cats) {
  background: var(--sc-tint);
}

.sc__legend {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--sc-panel);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  list-style: none;
}

.sc__legend li {
  display: grid;
  justify-items: start;
  gap: 8px;
  color: var(--sc-muted);
  font-size: 14.5px;
}

.sc__cats {
  display: grid;
  gap: 14px;
}

/* One row per group: the group on the left, its items as equal cells on the
   right — rows line up instead of a masonry of uneven cards. */
.sc__cat {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  background: var(--sc-panel);
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sc__cat-head .sc__feature-mark {
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 10px;
}

.sc__cat-head .sc__icon {
  width: 20px;
  height: 20px;
}

.sc__cat-head h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.sc__cat ul {
  display: grid;
  list-style: none;
}

/* Each item is one ruled row: name · what it is · label. Rows are the same
   shape whatever the group size, so nothing leaves holes. */
.sc__cat li {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--sc-line);
}

.sc__cat li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sc__cat-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.sc__cat-line b {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.sc__cat li p {
  color: var(--sc-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* -------------------------------------------------------------------------
 * The data list (privacy page)
 * ---------------------------------------------------------------------- */

.sc__data {
  display: grid;
  list-style: none;
  border-top: 2px solid var(--sc-ink);
}

.sc__data-item {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--sc-line);
}

.sc__data-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.sc__data-head h3 {
  margin-right: auto;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.sc__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--sc-pill);
  font-family: var(--sc-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sc__chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.sc__chip--stays {
  background: var(--sc-accent-soft);
  color: var(--sc-accent-text);
}

.sc__chip--leaves {
  background: var(--sc-warn-bg);
  color: var(--sc-ink);
}

.sc__chip--leaves::before {
  background: var(--sc-medium);
}

.sc__data-when {
  flex-basis: 100%;
  color: var(--sc-muted);
  font-size: 13.5px;
  text-align: right;
}

.sc__data-where {
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 15px;
}

/* -------------------------------------------------------------------------
 * Notices
 * ---------------------------------------------------------------------- */

.sc__notice {
  --nt: var(--sc-accent);
  padding-block: clamp(24px, 3vw, 40px);
}

.sc__notice--warn {
  --nt: var(--sc-medium);
}

.sc__notice--critical {
  --nt: var(--sc-danger);
}

.sc__notice-inner {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 26px;
  background: var(--sc-panel);
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__notice-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--nt) 16%, transparent);
  color: var(--sc-ink);
}

.sc__notice-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__notice h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.035em;
}

.sc__notice p {
  margin-top: 10px;
  color: var(--sc-muted);
}

.sc__notice-list {
  display: grid;
  gap: 18px 32px;
  margin-top: 20px;
  list-style: none;
}

.sc__notice-list li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--sc-line);
}

.sc__notice-list b {
  font-size: 16px;
  font-weight: 600;
}

.sc__notice-list span {
  color: var(--sc-muted);
  font-size: 15px;
}

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */

.sc__section:has(> .sc__faq-layout) {
  background: var(--sc-tint);
}

.sc__faq-layout {
  display: grid;
  gap: 8px;
}

.sc__faq {
  border-top: 1px solid var(--sc-line);
}

.sc__faq-item {
  border-bottom: 1px solid var(--sc-line);
}

.sc__faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.sc__faq-item summary::-webkit-details-marker {
  display: none;
}

.sc__faq-item summary i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__faq-item summary i::before,
.sc__faq-item summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  margin: -0.9px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.sc__faq-item summary i::after {
  transform: rotate(90deg);
}

.sc__faq-item[open] summary i::after {
  transform: rotate(0deg);
}

.sc__faq-item[open] summary i {
  background: var(--sc-accent-fill);
  box-shadow: none;
  color: var(--sc-on-accent);
}

.sc__faq-item p {
  max-width: 64ch;
  padding-bottom: 22px;
  color: var(--sc-muted);
  font-size: 15.5px;
}

/* -------------------------------------------------------------------------
 * Pages, documents and prose
 * ---------------------------------------------------------------------- */

.sc__page-head {
  padding-block: clamp(48px, 6vw, 96px) 0;
}

/* A marketing page (no section numbers): air between the title and the first band. */
.sc__page--doc:not(.sc__doc) > .sc__page-head {
  padding-bottom: clamp(36px, 4.5vw, 64px);
}

.sc__page-head h1 {
  max-width: 18ch;
  font-size: clamp(40px, 5.8vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.sc__page-head .sc__lead {
  margin-top: 20px;
}

.sc__doc-updated {
  margin-top: 18px;
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc__doc-lead {
  max-width: none;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--sc-tint);
  color: var(--sc-ink);
  font-size: 17px;
}

.sc__page--doc .sc__container {
  width: min(880px, 100% - 2 * var(--sc-gutter));
}

.sc__page--doc .sc__measure {
  max-width: none;
}

.sc__doc .sc__section {
  padding-block: 0;
}

.sc__doc .sc__section + .sc__section {
  padding-top: 40px;
}

.sc__doc .sc__page-head {
  padding-bottom: 48px;
}

.sc__doc {
  padding-bottom: var(--sc-band);
}

.sc__doc .sc__section-head {
  margin-bottom: 20px;
}

.sc__doc .sc__section-head h2 {
  max-width: none;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.035em;
}

.sc__toc {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--sc-line);
}

.sc__toc b {
  display: block;
  margin-bottom: 12px;
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sc__toc ul {
  display: grid;
  gap: 8px 28px;
  list-style: none;
}

.sc__toc a {
  color: var(--sc-ink);
  font-size: 15px;
  text-decoration: none;
}

.sc__toc a:hover {
  color: var(--sc-accent-text);
}

.sc__prose {
  font-size: 17px;
  line-height: 1.7;
}

.sc__prose h2 {
  margin-top: 44px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.035em;
}

.sc__prose h3 {
  margin-top: 28px;
  font-size: 19px;
}

.sc__prose h2:first-child,
.sc__prose h3:first-child {
  margin-top: 0;
}

.sc__prose p,
.sc__prose ul,
.sc__prose ol {
  margin-top: 14px;
}

.sc__prose ul,
.sc__prose ol {
  padding-left: 22px;
}

.sc__prose ul {
  list-style: disc;
}

.sc__prose ol {
  list-style: decimal;
}

.sc__prose li {
  margin-top: 7px;
}

.sc__prose li::marker {
  color: var(--sc-accent-text);
}

.sc__prose a {
  color: var(--sc-accent-text);
  text-underline-offset: 3px;
}

.sc__prose strong {
  font-weight: 650;
}

.sc__prose table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.sc__prose th,
.sc__prose td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--sc-line);
  text-align: left;
  vertical-align: top;
}

.sc__prose th {
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-muted);
}

.sc__prose blockquote {
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--sc-accent);
  color: var(--sc-muted);
}

.sc__figure {
  margin: 0;
}

.sc__figure img {
  border-radius: 20px;
}

.sc__figure figcaption {
  margin-top: 10px;
  color: var(--sc-muted);
  font-size: 14px;
}

/* -------------------------------------------------------------------------
 * Posts
 * ---------------------------------------------------------------------- */

.sc__post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 20px;
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sc__post-grid {
  display: grid;
  gap: 16px;
}

.sc__post-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: var(--sc-tint);
}

.sc__post-card-date {
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc__post-card h3 {
  margin-top: 10px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.sc__post-card h3 a {
  text-decoration: none;
}

.sc__post-card h3 a:hover {
  color: var(--sc-accent-text);
}

.sc__post-card p {
  margin-top: 8px;
  color: var(--sc-muted);
  font-size: 15px;
}

.sc__empty {
  color: var(--sc-muted);
}

.sc__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.sc__pager a {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border-radius: var(--sc-pill);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.sc__pager a[aria-current="page"] {
  background: var(--sc-accent-fill);
  box-shadow: none;
  color: var(--sc-on-accent);
}

/* -------------------------------------------------------------------------
 * 404 / 500
 * ---------------------------------------------------------------------- */

.sc__state {
  padding-block: clamp(64px, 10vw, 160px);
  text-align: center;
}

.sc__state .sc__measure {
  margin-inline: auto;
}

.sc__state-mark {
  color: var(--sc-accent-text);
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.sc__state h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 750;
  letter-spacing: -0.045em;
}

.sc__state p:not(.sc__state-mark) {
  max-width: 52ch;
  margin: 16px auto 0;
  color: var(--sc-muted);
}

.sc__state .sc__actions {
  justify-content: center;
  margin-top: 30px;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.sc__footer {
  padding-block: clamp(48px, 5vw, 72px) 28px;
  background: var(--sc-tint);
  color: var(--sc-ink);
  font-size: 15px;
}

.sc__footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}

.sc__footer-about,
.sc__footer-contact {
  grid-column: 1 / -1;
}

.sc__footer-about p {
  max-width: 44ch;
  margin-top: 16px;
  color: var(--sc-muted);
}

.sc__footer-about .sc__footer-build {
  margin-top: 12px;
  font-family: var(--sc-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.sc__footer-col h2 {
  margin-bottom: 14px;
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sc__footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.sc__footer-col a {
  text-decoration: none;
}

.sc__footer-col a:hover {
  color: var(--sc-accent-text);
}

.sc__footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.sc__footer-contact h2 {
  margin-bottom: 0;
}

.sc__footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--sc-line);
  color: var(--sc-muted);
  font-size: 13.5px;
  text-align: center;
}

.sc__footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.sc__footer-bottom a {
  text-decoration: none;
}

.sc__footer-bottom a:hover {
  color: var(--sc-ink);
}

.sc__builtwith {
  margin-left: 10px;
}

/* -------------------------------------------------------------------------
 * Widths — phone first
 * ---------------------------------------------------------------------- */

@media (max-width: 639px) {
  .sc__eyebrow--center {
    text-align: center;
  }

  .sc__eyebrow--center::before {
    display: none;
  }

  /* A flow card is picture-left, words-right on a phone: the scene full width
     was a 200px-tall picture above every four lines of text. */
  .sc__flow-step {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 14px;
  }

  .sc__flow-step .sc__scene {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .sc__flow-step .sc__flow-n,
  .sc__flow-step h3,
  .sc__flow-step p {
    margin-inline: 0;
  }

  .sc__flow-step .sc__flow-n {
    margin-bottom: 4px;
  }

  .sc__flow-step h3 {
    font-size: 17px;
  }

  .sc__flow-step p {
    margin-top: 4px;
    font-size: 14.5px;
  }

  .sc__storage-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px 16px;
  }

  .sc__storage-key--clean {
    grid-column: 1 / -1;
    order: -1;
  }

  .sc__storage-track {
    border-radius: 12px;
  }

  .sc__hero-actions .sc__stores {
    width: 100%;
  }

  .sc__hero-actions .sc__store {
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 12px;
  }

  .sc__side-card {
    padding: 18px;
  }

  .sc__mosaic-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .sc__mosaic-delete {
    justify-content: center;
  }

  .sc__shot-tick,
  .sc__shot-ring {
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
  }

  .sc__shot-tick svg {
    width: 12px;
    height: 12px;
  }

  .sc__shot-keep {
    left: 5px;
    bottom: 5px;
    padding: 2px 5px;
    font-size: 9px;
  }

  .sc__data-when {
    text-align: left;
  }
}

@media (min-width: 640px) {
  .sc__flow,
  .sc__features,
  .sc__post-grid,
  .sc__notice-list,
  .sc__toc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sc__cat li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    column-gap: 24px;
    align-items: baseline;
  }


  .sc__legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .sc__mosaic-group {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
  }

  .sc__mosaic-meta {
    flex-direction: column;
    gap: 2px;
  }
}

@media (min-width: 900px) {
  :root {
    --sc-header-h: 72px;
    --sc-gutter: 32px;
  }

  .sc__header {
    background: color-mix(in srgb, var(--sc-bg) 86%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
  }

  .sc__menu-button,
  .sc__header-inner:has(#sc-menu:target) .sc__menu-button--close {
    display: none;
  }

  .sc__header-panel,
  .sc__header-panel:target {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border-top: 0;
    overflow: visible;
  }

  .sc__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 26px;
  }

  .sc__nav a {
    padding: 8px 0;
    border-bottom: 0;
    color: var(--sc-muted);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  .sc__nav a:hover {
    color: var(--sc-ink);
  }

  .sc__header-actions {
    margin-top: 0;
    gap: 8px;
  }

  .sc__lang ul {
    top: calc(100% + 8px);
    bottom: auto;
    left: auto;
    right: 0;
  }

  .sc__bento {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }

  .sc__side {
    grid-template-rows: auto auto 1fr;
  }

  .sc__levels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.4vw, 56px);
  }

  .sc__flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc__features,
  .sc__post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sc__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sc__cat {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }



  .sc__notice-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px;
  }

  .sc__faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }

  .sc__faq-layout .sc__section-head {
    position: sticky;
    top: calc(var(--sc-header-h) + 32px);
  }

  .sc__footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  }

  .sc__footer-about,
  .sc__footer-contact {
    grid-column: auto;
  }

  .sc__footer-bottom {
    justify-content: space-between;
    text-align: left;
  }
}

/* Japanese display type: the tight Latin tracking crowds kana together. */
:lang(ja) .sc__hero-title,
:lang(ja) .sc__section-head h2,
:lang(ja) .sc__cta h2,
:lang(ja) .sc__page-head h1,
:lang(ja) .sc__levels-item h3 {
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .sc *,
  .sc *::before,
  .sc *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* -------------------------------------------------------------------------
 * The drawn phones and scenes (hero `visual: phones`, the flow cards)
 *
 * Kept from 0.1.x: the hero can still show the two app screens instead of the
 * storage bar, and the flow cards still carry their drawn scenes.
 * ---------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
 * The phones
 *
 * Redrawn from the app's own screenshots, and drawn rather than screenshotted for
 * the usual three reasons: it is sharp at every density, it translates with the
 * page, and it does not go stale the day the app's type changes.
 *
 * The whole mockup scales off ONE number. `--sc-ph` is the screen width, and
 * every size inside is a fraction of it, so the pair shrinks to fit a 390px
 * viewport without a single extra media query — and without the 11px text that
 * a fixed-pixel mockup ends up with when it is squeezed.
 * ---------------------------------------------------------------------- */

.sc__phones {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.6vw, 20px);
  justify-content: center;
  justify-self: center;
  width: 100%;
}

/*
 * The phones FILL their column rather than sitting at a fixed width inside it.
 *
 * They used to be `width: 252px` each, centred — which left the pair 17px short
 * of the container on both sides, so the hero looked misaligned against the
 * cards below it even though every container on the page has the same edges.
 * Flexing to the column fixes the alignment and buys the mockup its width back
 * in the same change.
 *
 * `--sc-ph` is the screen width that every size inside the mockup is a fraction
 * of. With a flexed phone we no longer know that number up front, so the phone
 * becomes a container and the screen reads its OWN rendered width with `cqw`.
 * The px value on the line above is the fallback: where container queries are
 * missing the mockup is drawn slightly small rather than not at all, because a
 * `--sc-ph` that fails to parse would take every calc() in this file with it.
 */
.sc__phone {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
}

.sc__phone-screen {
  flex: 1;
}

/*
 * Below 620px the second phone goes, rather than stacking.
 *
 * Two full app screens stacked on a 390px viewport push the headline, the store
 * buttons and the whole rest of the page about a screen and a half down — and
 * the reader who most needs those buttons is the one holding a phone. One
 * screen still shows what the app looks like; two is a luxury of width.
 */
@media (max-width: 619px) {
  .sc__phone--second {
    display: none;
  }
}


/*
 * The screen is drawn the way the app draws itself since the Liquid Glass
 * redesign: an aurora of four soft blobs over a warm base, glass cards on top.
 * The blob colours, alphas and positions are the app's own (ios Shared/
 * Glass.swift, android ui/theme/Glass.kt) — change them there first.
 *
 * The screen follows the SITE's colour mode, not a fixed one: a reader in dark
 * mode sees the app as they would see it on their own phone at night.
 */
.sc__phone-screen {
  --sc-ph: 264px;
  --sc-ph: 100cqw;
  --ap-base: #f7f2ef;
  --ap-blob-1: rgba(251, 146, 60, 0.38);
  --ap-blob-2: rgba(244, 114, 182, 0.26);
  --ap-blob-3: rgba(167, 139, 250, 0.22);
  --ap-blob-4: rgba(125, 211, 252, 0.22);
  --ap-ink: #16110f;
  --ap-muted: rgba(60, 50, 50, 0.55);
  --ap-glass-top: rgba(255, 255, 255, 0.55);
  --ap-glass-bottom: rgba(255, 255, 255, 0.25);
  --ap-glass-line: rgba(255, 255, 255, 0.9);
  --ap-glass-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  --ap-inset: rgba(234, 88, 12, 0.07);
  --ap-inset-line: rgba(255, 255, 255, 0.7);
  --ap-accent: #c2410c;
  --ap-track: rgba(60, 40, 30, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--sc-ph) * 0.13);
  background:
    radial-gradient(circle calc(var(--sc-ph) * 1.6) at -10% 5%, var(--ap-blob-1), transparent),
    radial-gradient(circle calc(var(--sc-ph) * 1.5) at 110% 20%, var(--ap-blob-2), transparent),
    radial-gradient(circle calc(var(--sc-ph) * 1.5) at 0% 60%, var(--ap-blob-3), transparent),
    radial-gradient(circle calc(var(--sc-ph) * 1.6) at 100% 95%, var(--ap-blob-4), transparent),
    var(--ap-base);
  border: calc(var(--sc-ph) * 0.022) solid #1b1b1f;
  box-shadow: var(--sc-shadow);
  font-size: calc(var(--sc-ph) * 0.045);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sc__phone-screen {
    --ap-base: #0d0b10;
    --ap-blob-1: rgba(234, 88, 12, 0.3);
    --ap-blob-2: rgba(219, 39, 119, 0.22);
    --ap-blob-3: rgba(124, 58, 237, 0.24);
    --ap-blob-4: rgba(2, 132, 199, 0.2);
    --ap-ink: #f5f3f7;
    --ap-muted: rgba(235, 230, 240, 0.55);
    --ap-glass-top: rgba(255, 255, 255, 0.08);
    --ap-glass-bottom: rgba(255, 255, 255, 0.03);
    --ap-glass-line: rgba(255, 255, 255, 0.16);
    --ap-glass-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    --ap-inset: rgba(0, 0, 0, 0.18);
    --ap-inset-line: rgba(255, 255, 255, 0.14);
    --ap-accent: #ff8a4c;
    --ap-track: rgba(255, 255, 255, 0.14);
  }
}

:root[data-theme="dark"] .sc__phone-screen {
  --ap-base: #0d0b10;
  --ap-blob-1: rgba(234, 88, 12, 0.3);
  --ap-blob-2: rgba(219, 39, 119, 0.22);
  --ap-blob-3: rgba(124, 58, 237, 0.24);
  --ap-blob-4: rgba(2, 132, 199, 0.2);
  --ap-ink: #f5f3f7;
  --ap-muted: rgba(235, 230, 240, 0.55);
  --ap-glass-top: rgba(255, 255, 255, 0.08);
  --ap-glass-bottom: rgba(255, 255, 255, 0.03);
  --ap-glass-line: rgba(255, 255, 255, 0.16);
  --ap-glass-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  --ap-inset: rgba(0, 0, 0, 0.18);
  --ap-inset-line: rgba(255, 255, 255, 0.14);
  --ap-accent: #ff8a4c;
  --ap-track: rgba(255, 255, 255, 0.14);
}

/* The home indicator. Two pixels of hardware that make the frame read as a
   phone rather than as a floating card. */
.sc__phone-bar {
  display: block;
  width: 36%;
  height: 4px;
  margin: 8px auto 0;
  border-radius: var(--sc-pill);
  background: var(--sc-line);
}

/* The screen is a fixed-size window onto a longer page, as a screenshot is:
   whatever does not fit runs out under the tab bar, the way it does in the
   app, instead of the frame growing to fit the content. */
.sc__app {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: calc(var(--sc-ph) * 0.035);
  padding: 0 calc(var(--sc-ph) * 0.04);
  color: var(--ap-ink);
  line-height: 1.3;
}

.sc__app b,
.sc__app small {
  display: block;
}

.sc__app small {
  color: var(--ap-muted);
}

.sc__app em,
.sc__app i {
  font-style: normal;
}

.sc__app svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Glass ---- */

.sc__glass {
  border-radius: calc(var(--sc-ph) * 0.06);
  background: linear-gradient(180deg, var(--ap-glass-top), var(--ap-glass-bottom));
  border: 1px solid var(--ap-glass-line);
  box-shadow: var(--ap-glass-shadow);
}

/* ---- Status bar ---- */

.sc__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--sc-ph) * 0.035) calc(var(--sc-ph) * 0.05) 0;
  font-size: calc(var(--sc-ph) * 0.045);
  font-weight: 700;
}

.sc__status-icons {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.017);
}

.sc__app .sc__status-icons svg {
  height: calc(var(--sc-ph) * 0.04);
  width: auto;
  fill: currentColor;
  stroke: none;
}

/* ---- Dashboard ---- */

.sc__app-large {
  margin-top: calc(var(--sc-ph) * 0.015);
  font-size: calc(var(--sc-ph) * 0.1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sc__app-hero {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sc-ph) * 0.028);
  padding: calc(var(--sc-ph) * 0.04);
}

.sc__app-usage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--sc-ph) * 0.03);
}

.sc__app-usage small {
  font-size: calc(var(--sc-ph) * 0.04);
}

.sc__app-used {
  font-size: calc(var(--sc-ph) * 0.068);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sc__app-used em {
  font-size: 0.62em;
  font-weight: 700;
}

/* The storage ring: a conic gradient masked to a band, the share in the middle. */
.sc__app-ring {
  --ap-share: 77%;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--sc-ph) * 0.24);
  aspect-ratio: 1;
  border-radius: 50%;
}

.sc__app-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#f97316 0, #ef4444 var(--ap-share), var(--ap-track) var(--ap-share));
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%);
  mask: radial-gradient(circle, transparent 60%, #000 61%);
}

.sc__app-ring b {
  font-size: calc(var(--sc-ph) * 0.052);
  font-weight: 700;
}

.sc__app-reclaim {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sc-ph) * 0.015);
  padding: calc(var(--sc-ph) * 0.035) calc(var(--sc-ph) * 0.04);
  border-radius: calc(var(--sc-ph) * 0.05);
  background: var(--ap-inset);
  border: 1px solid var(--ap-inset-line);
}

.sc__app-reclaim > small:first-child {
  color: var(--ap-ink);
  font-size: calc(var(--sc-ph) * 0.042);
}

.sc__app-big {
  font-size: calc(var(--sc-ph) * 0.1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.sc__app-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.sc__app-row small {
  font-size: calc(var(--sc-ph) * 0.032);
  white-space: nowrap;
}

.sc__app-row small:first-child {
  color: var(--ap-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc__app-track {
  display: flex;
  height: calc(var(--sc-ph) * 0.01);
  border-radius: var(--sc-pill);
  background: var(--ap-track);
  overflow: hidden;
}

.sc__app-scan {
  width: 26%;
  border-radius: inherit;
  background: #f97316;
}

/* The stacked bar, one colour per section — the app's section colours
   (Formatters.swift). They appear nowhere else on the site: a section colour
   anywhere else would start to read as a confidence label, which it is not. */
.sc__app-stack {
  display: flex;
  gap: calc(var(--sc-ph) * 0.012);
  height: calc(var(--sc-ph) * 0.03);
}

.sc__app-seg {
  flex-basis: 0;
  border-radius: var(--sc-pill);
}

.sc__app-seg--duplicates,
.sc__app-key--duplicates::before {
  background: #8c5cf5;
}

.sc__app-seg--photos,
.sc__app-key--photos::before {
  background: #3385f5;
}

.sc__app-seg--screenshots,
.sc__app-key--screenshots::before {
  background: #fa9421;
}

.sc__app-seg--videos,
.sc__app-key--videos::before {
  background: #ed4782;
}

.sc__app-legend {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--sc-ph) * 0.01) calc(var(--sc-ph) * 0.03);
}

.sc__app-key {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.014);
  font-size: calc(var(--sc-ph) * 0.034);
  white-space: nowrap;
}

.sc__app-key::before {
  content: "";
  width: calc(var(--sc-ph) * 0.024);
  height: calc(var(--sc-ph) * 0.024);
  border-radius: 50%;
}

.sc__app .sc__app-cleaned {
  color: var(--ap-accent);
  font-size: calc(var(--sc-ph) * 0.038);
}

.sc__app-section {
  display: flex;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.025);
  margin-top: calc(var(--sc-ph) * 0.01);
}

.sc__app-section b {
  flex: 1;
  font-size: calc(var(--sc-ph) * 0.056);
  font-weight: 700;
  text-transform: uppercase;
}

.sc__app-section small {
  font-size: calc(var(--sc-ph) * 0.045);
}

.sc__app-section-mark {
  display: inline-grid;
  place-items: center;
  width: calc(var(--sc-ph) * 0.085);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
}

.sc__app-section-mark svg {
  width: 60%;
  height: 60%;
}

.sc__app-section-mark--gray {
  background: #8e8e93;
}

.sc__app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--sc-ph) * 0.03);
}

.sc__app-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sc__app-cover {
  position: relative;
  aspect-ratio: 2.6 / 1;
}

.sc__app .sc__app-play {
  position: absolute;
  left: 7%;
  bottom: 10%;
  width: 18%;
  padding: 2%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  fill: #fff;
  stroke: none;
}

.sc__app-tile-body {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sc-ph) * 0.006);
  padding: calc(var(--sc-ph) * 0.022) calc(var(--sc-ph) * 0.035) calc(var(--sc-ph) * 0.03);
}

.sc__app-tile-body b {
  font-size: calc(var(--sc-ph) * 0.045);
  font-weight: 600;
}

.sc__app-tile-body small {
  font-size: calc(var(--sc-ph) * 0.038);
}

.sc__app-tile-body em {
  font-size: calc(var(--sc-ph) * 0.06);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sc__app-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc__app-tile-icon {
  width: calc(var(--sc-ph) * 0.07);
  height: calc(var(--sc-ph) * 0.07);
}

.sc__app-tile-icon--video {
  color: #ed4782;
}

.sc__app-tile-icon--photo {
  color: #3385f5;
}

.sc__app-chev {
  width: calc(var(--sc-ph) * 0.05);
  height: calc(var(--sc-ph) * 0.05);
  color: var(--ap-muted);
}

/* ---- The floating tab bar ---- */

.sc__app-tabs {
  position: absolute;
  left: calc(var(--sc-ph) * 0.035);
  right: calc(var(--sc-ph) * 0.035);
  bottom: calc(var(--sc-ph) * 0.035);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: calc(var(--sc-ph) * 0.025) calc(var(--sc-ph) * 0.01);
  border-radius: var(--sc-pill);
  background: linear-gradient(180deg, var(--ap-glass-top), var(--ap-glass-bottom));
  border: 1px solid var(--ap-glass-line);
  box-shadow: var(--ap-glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.sc__app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.008);
  min-width: 0;
  color: var(--ap-muted);
  font-size: calc(var(--sc-ph) * 0.03);
  white-space: nowrap;
}

.sc__app-tab svg {
  width: calc(var(--sc-ph) * 0.062);
  height: calc(var(--sc-ph) * 0.062);
}

.sc__app-tab--on {
  color: var(--ap-accent);
  font-weight: 700;
}

/* The raised Clean-up button: an orange sphere that breaks out of the bar. */
.sc__app-fab {
  display: grid;
  place-items: center;
  width: calc(var(--sc-ph) * 0.15);
  aspect-ratio: 1;
  margin-top: calc(var(--sc-ph) * -0.1);
  border-radius: 50%;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  border: calc(var(--sc-ph) * 0.008) solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 calc(var(--sc-ph) * 0.015) calc(var(--sc-ph) * 0.04) rgba(234, 88, 12, 0.5);
}

.sc__app .sc__app-fab svg {
  width: 55%;
  height: 55%;
  fill: #fff;
  stroke: none;
}

/* ---- Category screen ---- */

.sc__app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--sc-ph) * 0.02);
  margin-top: calc(var(--sc-ph) * 0.02);
}

.sc__app-nav b {
  min-width: 0;
  font-size: calc(var(--sc-ph) * 0.05);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc__app-round {
  display: grid;
  flex: none;
  place-items: center;
  width: calc(var(--sc-ph) * 0.1);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--ap-glass-top), var(--ap-glass-bottom));
  border: 1px solid var(--ap-glass-line);
  box-shadow: var(--ap-glass-shadow);
}

.sc__app-round svg {
  width: 55%;
  height: 55%;
  stroke-width: 2.2;
}

.sc__app-intro {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--sc-ph) * 0.025);
}

.sc__app-intro small {
  font-size: calc(var(--sc-ph) * 0.036);
  line-height: 1.35;
}

/* The confidence label, as a pill with its dot — "Safe" here. */
.sc__app-conf {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.012);
  padding: calc(var(--sc-ph) * 0.01) calc(var(--sc-ph) * 0.025);
  border-radius: var(--sc-pill);
  background: color-mix(in srgb, #22c55e 18%, transparent);
  font-size: calc(var(--sc-ph) * 0.034);
  font-weight: 600;
  white-space: nowrap;
}

.sc__app-conf::before {
  content: "";
  width: calc(var(--sc-ph) * 0.02);
  height: calc(var(--sc-ph) * 0.02);
  border-radius: 50%;
  background: #22c55e;
}

.sc__app-chips {
  display: flex;
  gap: calc(var(--sc-ph) * 0.022);
}

.sc__app-chip {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--sc-ph) * 0.012);
  min-width: 0;
  padding: calc(var(--sc-ph) * 0.018) calc(var(--sc-ph) * 0.035);
  border-radius: var(--sc-pill);
  background: linear-gradient(180deg, var(--ap-glass-top), var(--ap-glass-bottom));
  border: 1px solid var(--ap-glass-line);
  color: var(--ap-muted);
  font-size: calc(var(--sc-ph) * 0.036);
  font-weight: 600;
  white-space: nowrap;
}

.sc__app-chip svg {
  width: calc(var(--sc-ph) * 0.045);
  height: calc(var(--sc-ph) * 0.045);
}

.sc__app-chip--on {
  color: var(--ap-accent);
}

.sc__app-group {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sc-ph) * 0.025);
  padding: calc(var(--sc-ph) * 0.04);
}

.sc__app-group-head {
  display: flex;
  align-items: baseline;
  gap: calc(var(--sc-ph) * 0.02);
  white-space: nowrap;
}

.sc__app-group-head b {
  flex: 1;
  font-size: calc(var(--sc-ph) * 0.045);
  font-weight: 700;
}

.sc__app-group-head small {
  font-size: calc(var(--sc-ph) * 0.036);
}

.sc__app-group-head em {
  color: var(--ap-accent);
  font-size: calc(var(--sc-ph) * 0.036);
  font-weight: 600;
}

/* Thumbnails in a group scroll sideways in the app; three fit, the fourth is
   cut by the card's edge, which is how the reader knows there is more. */
.sc__thumbs {
  display: flex;
  gap: calc(var(--sc-ph) * 0.02);
  margin-right: calc(var(--sc-ph) * -0.04);
  overflow: hidden;
}

/*
 * A photo, as a gradient. Each group shares a family of tones with a small
 * shift between them, because that is what a group of repeated shots IS — the
 * same picture four times, slightly different — and the eye reads the row as
 * one group before reading any label.
 */
.sc__thumb {
  position: relative;
  flex: 0 0 31%;
  aspect-ratio: 1;
  border-radius: calc(var(--sc-ph) * 0.045);
  overflow: hidden;
}

.sc__thumb--sea {
  background: linear-gradient(180deg, #8ecdf5 0 46%, #2f7fc1 46% 70%, #f1d7a8 70%);
}
.sc__thumb--sea2 {
  background: linear-gradient(180deg, #92d0f6 0 44%, #327fbf 44% 69%, #efd4a3 69%);
}
.sc__thumb--sea3 {
  background: linear-gradient(180deg, #88c7ee 0 48%, #2b78b8 48% 72%, #ecd0a0 72%);
}
.sc__thumb--sea4 {
  background: linear-gradient(180deg, #9ad3f5 0 45%, #3584c4 45% 71%, #f3dbad 71%);
  filter: blur(0.6px);
}
.sc__thumb--dusk {
  background: radial-gradient(circle at 50% 62%, #ffd27a 0 12%, transparent 13%),
    linear-gradient(180deg, #f59e8b 0%, #f7b267 55%, #3d3a5c 55%);
}
.sc__thumb--dusk2 {
  background: radial-gradient(circle at 52% 64%, #ffd27a 0 11%, transparent 12%),
    linear-gradient(180deg, #f39a88 0%, #f5ad62 57%, #3a3758 57%);
}
.sc__thumb--dusk3 {
  background: radial-gradient(circle at 48% 60%, #ffd9887a 0 13%, transparent 14%),
    linear-gradient(180deg, #e98f80 0%, #eea55f 53%, #36334f 53%);
}
.sc__thumb--leaf {
  background: radial-gradient(circle at 35% 40%, #9be07c 0 22%, transparent 23%),
    radial-gradient(circle at 70% 55%, #4caf50 0 26%, transparent 27%),
    linear-gradient(180deg, #d9f2d0, #2e7d32);
}
.sc__thumb--leaf2 {
  background: radial-gradient(circle at 37% 42%, #97dc78 0 21%, transparent 22%),
    radial-gradient(circle at 68% 56%, #48aa4c 0 25%, transparent 26%),
    linear-gradient(180deg, #d4efca, #2b7a30);
}
.sc__thumb--leaf3 {
  background: radial-gradient(circle at 33% 38%, #a1e384 0 23%, transparent 24%),
    radial-gradient(circle at 72% 53%, #51b455 0 27%, transparent 28%),
    linear-gradient(180deg, #ddf4d4, #317f35);
  filter: brightness(0.7);
}

/* Ticked for deletion: dimmed, with the tick where the app puts it. */
.sc__thumb--picked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.sc__thumb-tick,
.sc__thumb-ring {
  position: absolute;
  top: 7%;
  right: 7%;
  z-index: 1;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.sc__thumb-tick {
  display: grid;
  place-items: center;
  background: var(--ap-accent);
  border: 1.5px solid #fff;
}

.sc__app .sc__thumb-tick svg {
  width: 70%;
  height: 70%;
  stroke: #fff;
  stroke-width: 3.2;
}

.sc__thumb-ring {
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.15);
}

/* The keeper's label: never ticked, and labelled so that is visible. */
.sc__thumb-badge {
  position: absolute;
  top: 36%;
  left: 7%;
  padding: calc(var(--sc-ph) * 0.006) calc(var(--sc-ph) * 0.018);
  border-radius: var(--sc-pill);
  background: #34a853;
  color: #fff;
  font-size: calc(var(--sc-ph) * 0.03);
  font-weight: 700;
}

.sc__thumb-size {
  position: absolute;
  left: 7%;
  bottom: 7%;
  z-index: 1;
  padding: calc(var(--sc-ph) * 0.004) calc(var(--sc-ph) * 0.016);
  border-radius: var(--sc-pill);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: calc(var(--sc-ph) * 0.028);
  white-space: nowrap;
}

/* The delete button, floating over the list just above the tab bar. */
.sc__app-delete {
  position: absolute;
  left: calc(var(--sc-ph) * 0.035);
  right: calc(var(--sc-ph) * 0.035);
  bottom: calc(var(--sc-ph) * 0.25);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--sc-ph) * 0.02);
  padding: calc(var(--sc-ph) * 0.035);
  border-radius: var(--sc-pill);
  background: linear-gradient(180deg, #ef5350, #d32f2f);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 calc(var(--sc-ph) * 0.02) calc(var(--sc-ph) * 0.05) rgba(211, 47, 47, 0.4);
  color: #fff;
  font-size: calc(var(--sc-ph) * 0.045);
  font-weight: 700;
  white-space: nowrap;
}

.sc__app-delete svg {
  width: calc(var(--sc-ph) * 0.055);
  height: calc(var(--sc-ph) * 0.055);
}

/* -------------------------------------------------------------------------
 * Scenes
 * ---------------------------------------------------------------------- */

.sc__scene {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border-radius: var(--sc-radius-sm);
}

.sc__scene-plate {
  fill: var(--sc-tint);
}

/* Photos in a scene: three muted tones, so a row reads as pictures without
   being any particular picture. */
.sc__scene-photo--0 {
  fill: color-mix(in srgb, var(--sc-accent) 38%, var(--sc-surface));
}

.sc__scene-photo--1 {
  fill: color-mix(in srgb, #7c5cff 30%, var(--sc-surface));
}

.sc__scene-photo--2 {
  fill: color-mix(in srgb, #14b8a6 32%, var(--sc-surface));
}

.sc__scene-dim {
  opacity: 0.45;
}

.sc__scene-found {
  stroke: var(--sc-accent);
  stroke-width: 3;
}

.sc__scene-beam {
  fill: var(--sc-accent);
}

.sc__scene-tick {
  fill: var(--sc-accent);
  stroke: var(--sc-surface);
  stroke-width: 1.5;
}

.sc__scene-tick-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__scene-ring {
  fill: none;
  stroke: var(--sc-surface);
  stroke-width: 1.5;
}

.sc__scene-keep {
  fill: var(--sc-high);
}

.sc__scene-card {
  fill: var(--sc-surface);
  stroke: var(--sc-line);
}

.sc__scene-bar {
  fill: var(--sc-muted);
  opacity: 0.55;
}

.sc__scene-bar--dim {
  opacity: 0.3;
}

.sc__scene-track {
  fill: var(--sc-line);
}

.sc__scene-fill {
  fill: var(--sc-high);
}

.sc__scene-fill--low {
  fill: var(--sc-medium);
}

.sc__scene-arrow,
.sc__scene-undo {
  fill: none;
  stroke: var(--sc-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__scene-undo {
  stroke: var(--sc-high);
  stroke-dasharray: 5 5;
}

.sc__scene-bin {
  fill: none;
  stroke: var(--sc-muted);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc__scene-code {
  fill: color-mix(in srgb, var(--sc-accent) 18%, var(--sc-surface));
  stroke: var(--sc-accent);
  stroke-width: 1.5;
}

.sc__scene-qr {
  fill: var(--sc-panel-2);
}

.sc__scene-qr-mark {
  fill: var(--sc-ink);
  opacity: 0.7;
}

.sc__scene-shield {
  fill: var(--sc-high);
}

.sc__scene-play {
  fill: #fff;
  opacity: 0.9;
}

.sc__scene-wave {
  fill: none;
  stroke: var(--sc-muted);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.45;
}

.sc__scene-slash {
  fill: none;
  stroke: var(--sc-accent);
  stroke-width: 4;
  stroke-linecap: round;
}

.sc__scene-lock {
  fill: var(--sc-accent);
}

.sc__scene-shackle {
  fill: none;
  stroke: var(--sc-accent);
  stroke-width: 5;
  stroke-linecap: round;
}
/* The phones cast a deep, soft shadow so they read as objects above the page. */
.sc__phone-screen {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(15, 23, 34, 0.08),
    0 30px 60px -20px rgba(15, 23, 34, 0.45),
    0 60px 90px -40px color-mix(in srgb, var(--sc-accent) 35%, transparent);
}
