/* RipRoll — riproll.app. System fonts only; no external requests. Colours follow the app's Theme.swift. */
:root {
  --bg: #090a0e;
  --bg-top: #1a1a25;
  --panel: #16171e;
  --panel-2: #1f2029;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f1ec;
  --muted: #aaa6b2;
  --faint: #8c8995;
  --accent: #ff822b;
  --accent-hi: #ffad4d;
  --accent-lo: #ff6629;
  --ember: #ffa133;
  --destroy: #ff6b47;
  --keep: #4ddb94;
  --acid: #b0ed52;
  --radius: 22px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
:lang(zh-Hans) { --font: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; --font-display: var(--font); }
:lang(yue-Hant-HK) { --font: -apple-system, "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", "Noto Sans TC", sans-serif; --font-display: var(--font); }
:lang(ja) { --font: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif; --font-display: var(--font); }
:lang(ko) { --font: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif; --font-display: var(--font); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(255, 130, 43, 0.5); text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.025em; font-weight: 750; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(yue-Hant-HK) h1, :lang(yue-Hant-HK) h2, :lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2 { letter-spacing: 0; line-height: 1.22; }
p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #1a0d03; font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: #1a0d03; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 10, 14, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 550; white-space: nowrap;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; flex: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: #17181f; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.lang li a { display: block; padding: 9px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.lang li a[aria-current="true"] { color: var(--accent); }
.header-cta { font-size: 14px !important; padding: 9px 14px !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font: 650 16px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #1d0c02; background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo));
  box-shadow: 0 10px 30px rgba(255, 110, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { color: #1d0c02; box-shadow: 0 14px 38px rgba(255, 110, 40, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.11); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .soon { font-weight: 650; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 72% 100%, rgba(255, 130, 43, 0.20), transparent 70%),
    radial-gradient(50% 40% at 70% 0%, rgba(77, 219, 148, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-top), var(--bg) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 650; font-size: 15px; letter-spacing: 0.02em; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { margin-top: 22px; color: var(--faint); font-size: 14px; letter-spacing: 0.01em; }

/* ---------- demo ---------- */
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage {
  position: relative; width: min(100%, 390px, calc(68svh * 0.6333)); aspect-ratio: 380 / 600;
  border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(90% 40% at 50% 100%, rgba(255, 130, 43, 0.14), transparent 70%),
    radial-gradient(70% 30% at 50% 0%, rgba(77, 219, 148, 0.07), transparent 70%),
    linear-gradient(180deg, #1b1b26 0%, #111219 62%, #0b0c10 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.stage-static { position: absolute; inset: 0; margin: auto; width: 86%; height: auto; top: 50%; transform: translateY(-50%); border-radius: 26px; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.stage-canvas.grab { cursor: grab; }
.stage-canvas.grabbing { cursor: grabbing; }
.demo-ready .stage-static { display: none; }
.demo-ready .stage-canvas { display: block; }
.demo-hint { color: var(--muted); font-size: 15px; text-align: center; min-height: 1.6em; max-width: 26em; }
.demo-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.demo-controls[hidden] { display: none; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.seg button {
  font: 600 14px/1 var(--font); color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; min-height: 38px; transition: background-color 0.2s, color 0.2s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: #1d0c02; background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo)); }
.demo-actions { display: flex; gap: 10px; }
.demo-actions button {
  display: inline-flex; align-items: center; gap: 8px; font: 650 15px/1 var(--font); cursor: pointer;
  padding: 11px 18px; min-height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--line-2);
}
.demo-actions button svg { width: 16px; height: 16px; }
.demo-actions .act-keep { border-color: rgba(77, 219, 148, 0.45); color: var(--keep); }
.demo-actions .act-destroy { border-color: rgba(255, 130, 43, 0.5); color: var(--ember); }
.demo-actions button:hover { background: rgba(255, 255, 255, 0.09); }
[aria-disabled="true"] { opacity: 0.55; cursor: default !important; }
.demo-count { display: flex; gap: 18px; color: var(--faint); font-size: 14px; }
.demo-count b { color: var(--text); font-variant-numeric: tabular-nums; }
.demo-note { color: var(--faint); font-size: 13px; text-align: center; max-width: 30em; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
:lang(zh-Hans) .kicker, :lang(yue-Hant-HK) .kicker, :lang(ja) .kicker, :lang(ko) .kicker { letter-spacing: 0.04em; }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 16em; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 19px; max-width: 36em; }
.center { text-align: center; }
.center h2, .center .section-lead { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; list-style: none; padding: 0; counter-reset: step; }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.step h3 { font-size: 22px; margin: 18px 0 10px; }
.step p { color: var(--muted); }
.step-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.step-icon svg { width: 28px; height: 28px; }
.i-keep { background: rgba(77, 219, 148, 0.12); color: var(--keep); }
.i-destroy { background: rgba(255, 107, 71, 0.13); color: var(--destroy); }
.i-confirm { background: rgba(255, 173, 77, 0.12); color: var(--accent-hi); }
.step-num { float: right; color: var(--faint); font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; list-style: none; padding: 0; }
.tool { position: relative; display: flex; flex-direction: column; padding: 22px; min-height: 300px; }
.tool-art { height: 128px; display: grid; place-items: center; margin-bottom: 18px; }
.tool-art img { max-height: 118px; width: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5)); }
.tool-art svg { height: 118px; width: auto; }
.tool h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tool p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font: 700 11.5px/1.4 var(--font); letter-spacing: 0.04em; text-transform: uppercase; }
.badge-free { background: rgba(77, 219, 148, 0.13); color: var(--keep); }
.badge-pro { background: rgba(255, 130, 43, 0.15); color: var(--accent-hi); }
.tool-note { margin-top: 26px; color: var(--faint); font-size: 15px; }
.tool.is-pro { background: linear-gradient(180deg, rgba(255, 130, 43, 0.06), rgba(255, 255, 255, 0.012)); }
.tool-more { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tool-more p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; list-style: none; padding: 0; }
.feature { padding: 24px; }
.feature svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 16px; }
.feature h3 { font-size: 18.5px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; list-style: none; padding: 0; }
.chips li {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); font-weight: 600; font-size: 16px;
}
.chips li small { color: var(--faint); font-weight: 500; font-size: 13px; }
.chips li:first-child { background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo)); color: #1d0c02; border-color: transparent; }
.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.privacy { background: radial-gradient(60% 60% at 15% 50%, rgba(77, 219, 148, 0.07), transparent 70%); }
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.promise { padding: 24px; display: flex; gap: 16px; }
.promise svg { width: 26px; height: 26px; flex: none; color: var(--keep); margin-top: 2px; }
.promise h3 { font-size: 18.5px; letter-spacing: -0.01em; }
.promise p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; color: var(--accent); font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--accent-hi); }
.text-link::after { content: "→"; transition: transform 0.2s; }
.text-link:hover::after { transform: translateX(3px); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .price { font: 800 44px/1 var(--font-display); letter-spacing: -0.02em; margin-top: 18px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan .launch { margin-top: 10px; color: var(--accent-hi); font-weight: 650; font-size: 15px; }
.plan > p { color: var(--muted); margin-top: 14px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--text); font-size: 16px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(77, 219, 148, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.5' fill='none' stroke='%234ddb94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan-pro { border-color: rgba(255, 130, 43, 0.35); background: linear-gradient(180deg, rgba(255, 130, 43, 0.10), rgba(255, 255, 255, 0.015)); box-shadow: 0 30px 80px rgba(255, 100, 30, 0.08); }

.faq { margin-top: 40px; display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 650; font-size: 17.5px; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div a { color: var(--accent-hi); }
.faq strong { color: var(--text); font-weight: 650; }

.end { text-align: center; padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(50% 60% at 50% 100%, rgba(255, 130, 43, 0.16), transparent 70%); }
.end img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.end h2 { font-size: clamp(36px, 5vw, 60px); margin: 0 auto; }
.end p { color: var(--muted); margin: 16px auto 32px; font-size: 19px; }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; max-width: 15em; }
.page-head .lead { margin-top: 18px; }
.page-body { padding: 24px 0 110px; }
.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
caption { text-align: left; padding: 0 0 12px; color: var(--muted); }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
thead th { color: var(--muted); font-weight: 600; font-size: 14px; background: rgba(255, 255, 255, 0.025); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 550; }
td.c { text-align: center; width: 18%; }
th.c { text-align: center; }
.yes { color: var(--keep); font-weight: 700; }
.no { color: var(--faint); }
.part { color: var(--accent-hi); font-size: 14px; font-weight: 600; }
.notes { margin: 20px 0 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 10px; max-width: 52em; }
.notes a { color: var(--accent-hi); }
h2.sub { font-size: clamp(26px, 3vw, 34px); margin-top: 72px; }
.contact { margin-top: 72px; padding: 32px; }
.contact h2 { font-size: 26px; }
.contact p { color: var(--muted); margin-top: 12px; }
.contact a { color: var(--accent-hi); }
.req { margin: 16px 0 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }

.legal > * { max-width: 760px; }
.legal .updated { color: var(--faint); font-size: 15px; margin-bottom: 26px; }
.legal .note { color: var(--faint); font-size: 14px; border-left: 2px solid var(--line-2); padding-left: 14px; margin-bottom: 30px; }
.legal p { color: #d9d5de; margin: 0 0 18px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 38px 0 10px; line-height: 1.3; }
.legal ol { padding-left: 1.4em; display: grid; gap: 14px; color: #d9d5de; }
.legal a { color: var(--accent-hi); }
.legal .site-note { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); }

.notfound { text-align: center; padding: 120px 0 140px; }
.notfound .strips { display: flex; justify-content: center; gap: 6px; margin: 0 auto 36px; height: 110px; }
.notfound .strips span { width: 14px; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #ff9d4a, #6a3aa0 60%, #1f3a6b); }
.notfound .strips span:nth-child(odd) { height: 88%; transform: rotate(3deg); }
.notfound .strips span:nth-child(even) { height: 100%; transform: rotate(-2deg); }
.notfound h1 { font-size: clamp(34px, 5vw, 56px); max-width: 14em; margin: 0 auto; }
.notfound p { color: var(--muted); margin: 18px auto 32px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 44px; color: var(--faint); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand p { margin-top: 10px; max-width: 26em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.copyright { margin-top: 36px; font-size: 13.5px; }

/* ---------- reveal ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
.reveal-on .reveal.d1 { transition-delay: 0.08s; }
.reveal-on .reveal.d2 { transition-delay: 0.16s; }
.reveal-on .reveal.d3 { transition-delay: 0.24s; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .tools { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .groups-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 36px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .nav-wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; gap: 6px 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { padding: 0 6px; }
  .nav a { padding: 8px 10px; font-size: 14.5px; white-space: nowrap; }
  .header-cta { display: none !important; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .tools, .features { grid-template-columns: 1fr; }
  .tool { min-height: 0; }
  .cta-row .btn { width: 100%; }
  .stage { width: min(100%, calc(72svh * 0.6333)); }
  .seg button { padding: 10px 12px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  .btn-primary, .seg button[aria-pressed="true"], .chips li:first-child { forced-color-adjust: auto; }
}
