/* seocontrol.app — shared styles for every page.
   Tokens follow docs/BRAND.md and docs/design/seo-control/tokens.json (system font, indigo brand,
   green/amber/red/grey reserved for answers). The .app block is the in-phone UI used by assets/duo.js. */

:root {
  --bg: #FFFFFF; --bg-2: #F5F5F7; --card: #FFFFFF; --ink: #141413; --muted: #5B5B66; --faint: #8E8E99; --line: #E6E6EA;
  --brand: #4338CA; --brand-hover: #3730A3; --brand-soft: #EEF0FF; --brand-mid: #A5ABFB; --on-brand: #FFFFFF; --link: #4338CA;
  --green: #15803D; --green-bg: #E8F5EC; --amber: #B45309; --amber-bg: #FFF4E5; --red: #B91C1C; --red-bg: #FDECEC;
  --glow: rgba(67, 56, 202, 0.16); --shadow: 0 1px 2px rgba(20, 20, 40, 0.04), 0 8px 24px rgba(20, 20, 40, 0.06);
  --head-bg: rgba(255, 255, 255, 0.78);
  --night: #0B0B0F; --night-card: #17171C; --night-line: #2A2A31; --night-ink: #F4F4F6; --night-muted: #A1A1AB;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B0F; --bg-2: #111116; --card: #17171C; --ink: #F4F4F6; --muted: #A1A1AB; --faint: #7A7A85; --line: #2A2A31;
    --brand: #A5ABFB; --brand-hover: #C3C7FD; --brand-soft: #23244A; --brand-mid: #5A5FC4; --on-brand: #0B0B0F; --link: #A5ABFB;
    --green: #4ADE80; --green-bg: #12301E; --amber: #FBBF24; --amber-bg: #3A2A0C; --red: #F87171; --red-bg: #3B1515;
    --glow: rgba(99, 102, 241, 0.22); --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --head-bg: rgba(11, 11, 15, 0.72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B0F; --bg-2: #111116; --card: #17171C; --ink: #F4F4F6; --muted: #A1A1AB; --faint: #7A7A85; --line: #2A2A31;
  --brand: #A5ABFB; --brand-hover: #C3C7FD; --brand-soft: #23244A; --brand-mid: #5A5FC4; --on-brand: #0B0B0F; --link: #A5ABFB;
  --green: #4ADE80; --green-bg: #12301E; --amber: #FBBF24; --amber-bg: #3A2A0C; --red: #F87171; --red-bg: #3B1515;
  --glow: rgba(99, 102, 241, 0.22); --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  --head-bg: rgba(11, 11, 15, 0.72);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.022em; text-wrap: balance; line-height: 1.08 }
p { margin: 0 }
a { color: inherit }
img, svg { display: block }
[id] { scroll-margin-top: calc(var(--head-h) + 16px) }
:focus-visible { outline: 3px solid var(--brand-mid); outline-offset: 3px; border-radius: 8px }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.num { font-variant-numeric: tabular-nums }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--head-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease) }
.site-head.is-scrolled { border-bottom-color: var(--line) }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 17px; letter-spacing: -0.01em }
.brand svg { width: 30px; height: 30px; flex: none }
.nav { display: flex; align-items: center; gap: 4px }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background-color 0.2s }
.nav a:hover { color: var(--ink); background: var(--bg-2) }
.nav a[aria-current="page"] { color: var(--ink) }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background-color 0.2s }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0 }
.menu-btn span::before { top: -6px } .menu-btn span::after { top: 6px }
.site-head.is-menu .menu-btn span { background: transparent }
.site-head.is-menu .menu-btn span::before { transform: translateY(6px) rotate(45deg) }
.site-head.is-menu .menu-btn span::after { transform: translateY(-6px) rotate(-45deg) }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex }
  .nav { position: absolute; left: 0; right: 0; top: var(--head-h); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease) }
  .nav a { font-size: 17px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink) }
  .nav a:last-child { border-bottom: 0 }
  .nav a:hover { background: none }
  .site-head.is-menu .nav { opacity: 1; transform: none; pointer-events: auto }
}

/* ---------- buttons ---------- */
.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #000000; color: #FFFFFF; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.2s var(--ease), box-shadow 0.2s }
.store svg { width: 26px; height: 26px; flex: none }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 21px; font-weight: 600; letter-spacing: -0.01em }
.store small { font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: 0.85 }
a.store:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) }
.store[aria-disabled="true"] { cursor: default }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; text-decoration: none; padding: 8px 4px }
.link-more svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease) }
.link-more:hover svg { transform: translateY(2px) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0; background: var(--brand); color: var(--on-brand); font: 600 17px/1 var(--font); cursor: pointer; text-decoration: none; transition: background-color 0.2s, transform 0.2s var(--ease) }
.btn:hover { background: var(--brand-hover) }
.btn:active { transform: scale(0.98) }
.btn[disabled] { opacity: 0.6; cursor: progress }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; isolation: isolate }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 260px; width: min(1200px, 140vw); height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 72%); pointer-events: none }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px }
.hero h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; max-width: 15ch }
.hero .lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); max-width: 38ch; line-height: 1.45 }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 8px }
.duo-zone { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px }
.duo-view { display: flex; justify-content: center; gap: 28px }
.duo-view button { position: relative; border: 0; background: none; padding: 6px 2px; font: 600 16px/1.2 var(--font); color: var(--faint); cursor: pointer; transition: color 0.2s }
.duo-view button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--ink); transform: scaleX(0); transition: transform 0.35s var(--ease) }
.duo-view button:hover { color: var(--muted) }
.duo-view button[aria-pressed="true"] { color: var(--ink) }
.duo-view button[aria-pressed="true"]::after { transform: scaleX(1) }

/* ---------- device ---------- */
.duo-stage { position: relative; width: 100%; height: calc(698px * var(--s, 0.5)) }
.duo { position: absolute; left: 0; top: 0; width: 972px; height: 698px; transform-origin: 0 0; transform: translateX(var(--tx, 0px)) scale(var(--s, 0.5)); perspective: 3400px }
/* Frames: the right half is fixed, the left half (leaf) folds over it, as on iPhone Duo. duo.js drives the angle. */
.duo-body { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform }
.face { position: absolute; top: 0; height: 698px; background: #1D1D21; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), inset 0 0 0 4px #0E0E11; overflow: hidden }
.duo-fixed { left: 486px; width: 486px; border-radius: 0 48px 48px 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), inset 0 0 0 4px #0E0E11, 0 50px 100px -30px rgba(20, 16, 70, 0.5) }
.duo-leaf { position: absolute; left: 0; top: 0; width: 486px; height: 698px; transform-style: preserve-3d; transform-origin: 100% 50%; transform: rotateY(180deg); will-change: transform }
.leaf-front, .leaf-back { left: 0; width: 486px; -webkit-backface-visibility: hidden; backface-visibility: hidden }
.leaf-front { border-radius: 48px 0 0 48px }
.leaf-back { border-radius: 18px 48px 48px 18px; transform: rotateY(180deg); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), inset 0 0 0 4px #0E0E11, 0 40px 80px -24px rgba(20, 16, 70, 0.45) }
.leaf-back::before, .duo-solo > .face::before { content: ""; position: absolute; z-index: 6; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 3px; background: linear-gradient(90deg, #9A9AA2, #45454C 60%, #1D1D21) }
/* Screens stay flat (front-view projection) and are clipped to the projected outline of each half. */
.duo-screens { position: absolute; inset: 0; will-change: transform }
.scr-in-box { position: absolute; left: 10px; top: 10px; width: 952px; height: 678px; border-radius: 38px; overflow: hidden }
.scr-out-box { position: absolute; left: 496px; top: 10px; width: 466px; height: 678px; border-radius: 12px 38px 38px 12px; overflow: hidden }
.scr-in, .scr-out { position: absolute; inset: 0 }
.fx { position: absolute; top: 0; bottom: 0; pointer-events: none; visibility: hidden }
.fx-in { left: 0; width: 476px }
.fx-out { left: 0; width: 466px }
.fx i { position: absolute; inset: 0 }
.fx-in .b1 { -webkit-mask-image: linear-gradient(to right, #000 65%, transparent 90%); mask-image: linear-gradient(to right, #000 65%, transparent 90%) }
.fx-in .b2 { -webkit-mask-image: linear-gradient(to right, #000 40%, transparent 65%); mask-image: linear-gradient(to right, #000 40%, transparent 65%) }
.fx-in .b3 { -webkit-mask-image: linear-gradient(to right, #000 15%, transparent 40%); mask-image: linear-gradient(to right, #000 15%, transparent 40%) }
.fx-out .b1 { -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 90%); mask-image: linear-gradient(to left, #000 65%, transparent 90%) }
.fx-out .b2 { -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 65%); mask-image: linear-gradient(to left, #000 40%, transparent 65%) }
.fx-out .b3 { -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 40%); mask-image: linear-gradient(to left, #000 15%, transparent 40%) }
.scr { position: absolute; top: 10px; height: 678px; overflow: hidden }
.scr-outer { left: 10px; width: 466px; border-radius: 38px }
.duo-solo .scr-outer { border-radius: 12px 38px 38px 12px }
.cam { width: 13px; height: 13px; flex: none; border-radius: 50%; background: #050507; box-shadow: inset 0 0 0 2.5px #18181F, 0 0 0 1px rgba(255, 255, 255, 0.06) }
.duo-solo { position: relative; width: calc(486px * var(--s, 0.7)); height: calc(698px * var(--s, 0.7)) }
.duo-solo > .face { left: 0; width: 486px; border-radius: 18px 48px 48px 18px; transform: scale(var(--s, 0.7)); transform-origin: 0 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), inset 0 0 0 4px #0E0E11, 0 40px 90px -20px rgba(67, 56, 202, 0.45) }

/* ---------- sections ---------- */
.section { padding: 112px 0 }
.section.tint { background: var(--bg-2) }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 56px }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em }
.sec-head p { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); line-height: 1.5; max-width: 52ch }

/* features */
.q-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.q-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease) }
.q-card:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.q-card.wide { grid-column: span 2 }
.q-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15 }
.q-card p { color: var(--muted); font-size: 16px; line-height: 1.55 }
.q-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 16px }
.q-card li { display: flex; gap: 10px }
.q-card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 3px; background: var(--brand); margin-top: 10px }
.q-card a { color: var(--link) }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; margin-bottom: 8px }
.pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap }
.pill.g { background: var(--green-bg); color: var(--green) } .pill.a { background: var(--amber-bg); color: var(--amber) }
.pill.r { background: var(--red-bg); color: var(--red) } .pill.b { background: var(--brand-soft); color: var(--brand) }
.q-src { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--faint) }
.wide-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center }
.wide-in > div { display: flex; flex-direction: column; gap: 12px; min-width: 0 }

/* mini glyphs in feature cards (same drawings as the app, see Viz* boards) */
.g-segs { flex: 1; max-width: 220px; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; height: 30px }
.g-segs i { border-radius: 2px; background: var(--green) }
.g-segs i.am { background: var(--amber) }
.g-bars { flex: 1; max-width: 200px; height: 44px; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; align-items: end }
.g-bars i { border-radius: 3px; background: var(--brand-mid); transform-origin: bottom }
.g-bars i.now { background: var(--brand) } .g-bars i.today { background: var(--brand-soft) }
.g-ring { width: 64px; height: 64px; flex: none }
.g-live { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em }
.g-dot { position: relative; width: 14px; height: 14px; flex: none }
.g-dot::before, .g-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green) }
.g-dot::before { animation: pulse 2s ease-out infinite }
.g-pages { flex: 1; max-width: 220px; display: flex; gap: 2px; height: 16px }
.g-pages i { border-radius: 3px }
.g-cal { width: 56px; flex: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); text-align: center; font-variant-numeric: tabular-nums }
.g-cal b { display: block; background: #15803D; color: #FFFFFF; font-size: 12px; letter-spacing: 0.06em; padding: 3px 0 }
.g-cal span { display: block; font-size: 24px; font-weight: 700; padding: 3px 0 4px }
.g-dr { display: flex; flex-direction: column; gap: 8px; flex: 1; max-width: 200px }
.g-dr strong { font-size: 32px; letter-spacing: -0.02em; line-height: 1 }
.g-dr strong small { font-size: 17px; color: var(--faint); font-weight: 500 }
.g-dr span { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px }
.g-dr span i { height: 8px; border-radius: 4px; background: var(--line) }
.g-dr span i:first-child { background: var(--red) }
.g-hero { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 6px; font-size: 15px }
.g-hero-t { display: flex; align-items: center; gap: 12px; padding-bottom: 8px }
.g-hero-t svg { width: 38px; height: 38px; flex: none }
.g-hero-t b { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; display: block }
.g-hero-t span { color: var(--muted); font-size: 14px }
.g-hero-r { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); line-height: 1.35 }
.g-hero-r::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--red); flex: none }
.g-hero-r.am::before { background: var(--amber) }
.g-hero-r span { flex: 1 }
.g-hero-r svg { width: 16px; height: 16px; color: var(--faint); flex: none }
.g-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px }
.g-act span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card) }
.g-act span:first-child { background: var(--brand); border-color: var(--brand); color: var(--on-brand) }

/* free data */
.free-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden }
.free-item { background: var(--card); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.free-item b { font-family: var(--display); font-size: clamp(34px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums }
.free-item span { color: var(--muted); font-size: 16px; line-height: 1.45 }
.free-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px }
.free-note { border-radius: 24px; padding: 24px 26px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px }
.free-note h3 { font-size: 19px; letter-spacing: -0.01em }
.free-note p { color: var(--muted); font-size: 16px }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px }
.chips span { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink) }
.chips a { color: var(--link) }

/* desk */
.desk { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate }
.desk::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(67, 56, 202, 0.32), transparent 70%); pointer-events: none }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .desk { background: #050507; border-block: 1px solid var(--line) } }
:root[data-theme="dark"] .desk { background: #050507; border-block: 1px solid var(--line) }
.desk-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center }
.desk-copy { display: flex; flex-direction: column; gap: 20px; max-width: 520px }
.desk h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em }
.desk p { color: var(--night-muted); font-size: 19px; line-height: 1.5 }
.desk-facts { display: flex; flex-direction: column; margin-top: 8px }
.desk-facts div { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--night-line) }
.desk-facts b { flex: none; min-width: 88px; font-size: 22px; letter-spacing: -0.02em; color: #4ADE80 }
.desk-facts span { color: var(--night-muted); font-size: 16px }
.desk-dev { justify-self: center }


/* FAQ (height animated by site.js) */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em }
.faq summary::-webkit-details-marker { display: none }
.faq summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg-2); transition: transform 0.35s var(--ease), background-color 0.2s }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform 0.35s var(--ease) }
.faq summary i::after { transform: rotate(90deg) }
.faq details.is-open summary i { transform: rotate(180deg); background: var(--brand-soft) }
.faq details.is-open summary i::after { transform: rotate(0deg) }
.faq summary:hover i { background: var(--brand-soft) }
.faq .ans { overflow: hidden }
.faq .ans p { color: var(--muted); padding: 0 48px 24px 4px; max-width: 66ch }
.faq .ans a { color: var(--link) }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 32px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted) }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px }
.site-foot a { text-decoration: none }
.site-foot a:hover { color: var(--ink) }
.site-foot .by { text-decoration: underline; text-underline-offset: 2px }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)) }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px }
.page-head h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 700; letter-spacing: -0.035em }
.page-head p { color: var(--muted); font-size: 19px; max-width: 60ch }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted) }
.crumbs a { color: var(--link); text-decoration: none }
.crumbs a:hover { text-decoration: underline }
.doc { max-width: 72ch; padding-block: 48px 88px; display: flex; flex-direction: column; gap: 16px }
.doc h2 { font-size: 26px; font-weight: 700; padding-top: 24px }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px }
.doc a { color: var(--link) }
.doc code { font-size: 15px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card) }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line) }
thead th { border-top: 0; color: var(--muted); font-weight: 600 }
.doc-next { margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px }

/* support */
.support { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; padding-block: 48px 96px; align-items: start }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow) }
.form-card h2, .topics h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px }
.form-card > p { color: var(--muted); margin-bottom: 24px }
.form { display: flex; flex-direction: column; gap: 18px }
.form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.field label { font-size: 15px; font-weight: 600 }
.field label small { font-weight: 400; color: var(--faint) }
.field input, .field select, .field textarea { width: 100%; font: 17px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238E8E99' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px }
.field textarea { min-height: 160px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft) }
.field .err { font-size: 14px; color: var(--red); display: none }
.field.bad .err { display: block }
.field.bad input, .field.bad textarea { border-color: var(--red) }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form-note { font-size: 14px; color: var(--faint) }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px }
.form-status { border-radius: 16px; padding: 18px 20px; display: none; flex-direction: column; gap: 6px }
.form-status.is-on { display: flex }
.form-status.ok { background: var(--green-bg); color: var(--ink) }
.form-status.mail { background: var(--brand-soft) }
.form-status b { font-size: 17px }
.form-status a { color: var(--link) }
.topics { display: flex; flex-direction: column; gap: 4px }
.topics h2 { margin-bottom: 12px }
.topic { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-top: 1px solid var(--line); text-decoration: none }
.topic:last-of-type { border-bottom: 1px solid var(--line) }
.topic span { flex: 1; display: flex; flex-direction: column; gap: 2px }
.topic b { font-weight: 600 }
.topic small { color: var(--muted); font-size: 15px; line-height: 1.4 }
.topic svg { width: 18px; height: 18px; color: var(--faint); flex: none; transition: transform 0.2s var(--ease) }
.topic:hover b { color: var(--link) }
.topic:hover svg { transform: translateX(3px); color: var(--link) }
.mail-line { margin-top: 20px; font-size: 15px; color: var(--muted) }
.mail-line a { color: var(--link) }

/* ---------- motion helpers ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease) }
.reveal.is-in { opacity: 1; transform: none }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes grow-y { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes grow-x { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes seg-in { from { opacity: 0; transform: scaleY(0.4) } to { opacity: 1; transform: none } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes draw { to { stroke-dashoffset: 0 } }
@keyframes tap { 0% { transform: scale(0.4); opacity: 0.5 } 100% { transform: scale(2.4); opacity: 0 } }
.in-view .g-bars i { animation: grow-y 0.45s var(--ease) both; animation-delay: calc(var(--i) * 25ms) }
.in-view .g-segs i { animation: seg-in 0.2s var(--ease) both; animation-delay: calc(var(--i) * 12ms) }
.in-view .g-pages { transform-origin: left; animation: grow-x 0.6s var(--ease) both }
.in-view .g-ring .ring-arc, .d.in .ring-arc { animation: ring-in 0.8s var(--ease) both }
@keyframes ring-in { from { stroke-dashoffset: var(--v) } }

/* ---------- in-phone app UI (assets/duo.js) ---------- */
.app { --a-bg: #F5F5F7; --a-card: #FFFFFF; --a-line: #E6E6EA; --a-ink: #141413; --a-muted: #5B5B66; --a-faint: #8E8E99; --a-brand: #4338CA; --a-on: #FFFFFF; --a-soft: #EEF0FF; --a-mid: #A5ABFB; --a-green: #15803D; --a-green-bg: #E8F5EC; --a-green-mid: #86CC9C; --a-amber: #B45309; --a-amber-bg: #FFF4E5; --a-amber-mid: #F2B866; --a-red: #B91C1C; --a-red-bg: #FDECEC; --a-red-mid: #EE9A9A; --a-grey: #F0F0F3;
  position: relative; height: 100%; background: var(--a-bg); color: var(--a-ink); font: 15px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; -webkit-user-select: none; user-select: none }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app:not(.light) { --a-bg: #0B0B0F; --a-card: #17171C; --a-line: #2A2A31; --a-ink: #F4F4F6; --a-muted: #A1A1AB; --a-faint: #7A7A85; --a-brand: #A5ABFB; --a-on: #0B0B0F; --a-soft: #23244A; --a-mid: #5A5FC4; --a-green: #4ADE80; --a-green-bg: #12301E; --a-green-mid: #2E7D4F; --a-amber: #FBBF24; --a-amber-bg: #3A2A0C; --a-amber-mid: #9A6A12; --a-red: #F87171; --a-red-bg: #3B1515; --a-red-mid: #8A3434; --a-grey: #26262C } }
:root[data-theme="dark"] .app:not(.light), .app.dark { --a-bg: #0B0B0F; --a-card: #17171C; --a-line: #2A2A31; --a-ink: #F4F4F6; --a-muted: #A1A1AB; --a-faint: #7A7A85; --a-brand: #A5ABFB; --a-on: #0B0B0F; --a-soft: #23244A; --a-mid: #5A5FC4; --a-green: #4ADE80; --a-green-bg: #12301E; --a-green-mid: #2E7D4F; --a-amber: #FBBF24; --a-amber-bg: #3A2A0C; --a-amber-mid: #9A6A12; --a-red: #F87171; --a-red-bg: #3B1515; --a-red-mid: #8A3434; --a-grey: #26262C }
:where(.app button) { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent }
.app svg { flex: none }
.a-split { display: flex; height: 100% }
.a-list { width: 476px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 24px 24px; border-right: 1px solid var(--a-line); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none }
.a-detail { flex: 1; min-width: 0; padding: 24px 24px 24px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none }
.a-list::-webkit-scrollbar, .a-detail::-webkit-scrollbar, .a-fold::-webkit-scrollbar { display: none }
.o-scr { height: 100%; display: flex }
.o-rail { width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 13px 0 16px; background: color-mix(in srgb, var(--a-ink) 4%, var(--a-bg)); color: var(--a-ink) }
.o-time { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px }
.o-streak { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; width: 34px; border-radius: 999px; background: var(--a-soft); color: var(--a-brand); font-size: 13px; font-weight: 600 }
.o-rail .a-ava { width: 34px; height: 34px; font-size: 14px }
.k-scr .o-rail { background: #121217; color: #F4F4F6 }
.a-fold { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px 10px 24px 16px; overflow: hidden }
.a-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; flex: none }
.a-site { display: flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.3px }
.a-top-r { display: flex; align-items: center; gap: 8px }
.a-streak { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--a-soft); color: var(--a-brand); font-weight: 600 }
.a-ava { width: 36px; height: 36px; border-radius: 18px; background: var(--a-card); border: 1px solid var(--a-line); display: flex; align-items: center; justify-content: center; font-weight: 600 }
.a-card { position: relative; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; transition: box-shadow 0.25s var(--ease), transform 0.15s var(--ease) }
.a-hero { border-radius: 20px; padding: 16px 16px 4px; display: flex; flex-direction: column; gap: 8px; flex: none }
.a-hero-t { display: flex; gap: 14px; align-items: flex-start }
.a-hero-t b { display: block; font-size: 22px; letter-spacing: -0.3px; line-height: 1.2 }
.a-hero-t span { color: var(--a-muted) }
.a-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--a-line); line-height: 1.4 }
.a-row > span:nth-child(2) { flex: 1 }
.a-dot { width: 8px; height: 8px; border-radius: 4px; flex: none; background: var(--a-red) }
.a-dot.am { background: var(--a-amber) }
.a-chev { color: var(--a-faint); display: flex }
.a-row.is-sel { color: var(--a-brand) }
.a-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: none }
.a-tile { padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.a-tile > span:first-child { font-size: 13px; color: var(--a-muted); white-space: nowrap }
.a-big { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.2px }
.a-big small { font-size: 15px; font-weight: 500; color: var(--a-faint) }
.a-segs7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px }
.a-segs7 i { height: 14px; border-radius: 3px; background: var(--a-green) }
.a-comp { display: flex; gap: 1px; height: 14px }
.a-comp i { border-radius: 0 }
.a-comp i:first-child { border-radius: 3px 0 0 3px } .a-comp i:last-child { border-radius: 0 3px 3px 0 }
.a-by { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--a-muted) }
.a-by u { color: var(--a-brand); font-weight: 600; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 2px }
.a-label { font-size: 13px; color: var(--a-muted); padding: 4px 4px 0 }
.a-today { flex: none; display: flex; flex-direction: column; gap: 8px }
.a-track { display: flex; gap: 8px; margin: 0 -16px; padding: 0 16px; transition: transform 0.6s var(--ease) }
.a-tcard { flex: none; width: 332px; padding: 16px; display: flex; flex-direction: column; gap: 6px }
.a-dots { display: flex; justify-content: center; gap: 6px; padding-top: 4px }
.a-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--a-line); transition: width 0.3s var(--ease), background-color 0.3s }
.a-dots i.on { width: 16px; background: var(--a-brand) }
.a-item { width: 100%; padding: 14px 14px 14px 16px; display: flex; align-items: center; gap: 12px; flex: none }
.a-item-t { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.a-item-t > span:first-child { font-weight: 600; line-height: 1.3 }
.a-item-s { display: flex; align-items: center; gap: 8px; min-width: 0 }
.a-item-s > span:last-child { font-size: 13px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.a-pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--a-grey); color: var(--a-muted) }
.a-pill.g { background: var(--a-green-bg); color: var(--a-green) } .a-pill.a { background: var(--a-amber-bg); color: var(--a-amber) }
.a-pill.r { background: var(--a-red-bg); color: var(--a-red) } .a-pill.b { background: var(--a-soft); color: var(--a-brand) }
.a-sel { box-shadow: 0 0 0 2px var(--a-brand) }
.a-card:active, .a-row:active { transform: scale(0.985) }
.a-cal { width: 44px; flex: none; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--a-line); background: var(--a-card) }
.a-cal b { height: 18px; display: flex; align-items: center; justify-content: center; background: #15803D; color: #FFFFFF; font-size: 11px; letter-spacing: 0.6px }
.a-cal span { height: 26px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums }
.a-spark { width: 88px; flex: none; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; align-items: end; height: 30px }
.a-spark i { border-radius: 2px; background: var(--a-mid) }
.a-spark i.now { background: var(--a-brand) } .a-spark i.today { background: var(--a-soft) }
.a-ppl { display: flex; align-items: center; gap: 6px; color: var(--a-brand) }
.a-ppl b { font-size: 22px; color: var(--a-ink) }
.a-mini30 { width: 88px; flex: none; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 1px; height: 24px }
.a-mini30 i { border-radius: 1px; background: var(--a-green) } .a-mini30 i.am { background: var(--a-amber) }
.a-tap { position: absolute; z-index: 3; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--a-brand); pointer-events: none; animation: tap 0.6s ease-out forwards }

/* detail pane */
.d { display: flex; flex-direction: column; gap: 12px }
.d.in { animation: fade-up 0.3s var(--ease) both }
.d-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; padding: 16px 16px 4px; display: flex; flex-direction: column }
.d-card.pad { padding-bottom: 16px }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px }
.d-head > span:first-child { font-size: 17px; font-weight: 600; line-height: 1.3 }
.d-sub { color: var(--a-muted); line-height: 1.45; padding: 4px 0 12px }
.d-title { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15 }
.d-crumb { font-size: 13px; color: var(--a-muted) }
.d-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-bottom: 14px }
.d-stats > span { display: flex; flex-direction: column; gap: 2px }
.d-stats small { font-size: 13px; color: var(--a-muted) }
.d-stats b { font-size: 22px; font-variant-numeric: tabular-nums }
.d-bars { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 150px }
.d-bars i { border-radius: 5px; background: var(--a-mid); transform-origin: bottom }
.d-bars i.now { background: var(--a-brand) } .d-bars i.today { background: var(--a-soft) }
.d-avg { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--a-faint) }
.d-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--a-muted); padding: 6px 0 4px; font-variant-numeric: tabular-nums }
.d-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--a-muted); padding: 8px 0 4px }
.d-legend span { display: inline-flex; align-items: center; gap: 6px }
.d-legend i { width: 10px; height: 10px; border-radius: 3px }
.d-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--a-line) }
.d-line > span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right }
.d-line .ok { color: var(--a-green) } .d-line .warn { color: var(--a-amber) }
.d-src { font-size: 13px; color: var(--a-muted); padding: 8px 0 12px }
.d-more { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--a-line); font-weight: 600; color: var(--a-brand) }
.d-segs { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; height: 34px }
.d-segs i { border-radius: 3px; background: var(--a-green); transform-origin: bottom }
.d-segs i.am { background: var(--a-amber) } .d-segs i.na { background: var(--a-line) }
.d-out { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--a-amber-bg) }
.d-out span:nth-child(2) { flex: 1 } .d-out b { font-weight: 600 }
.d-hint { font-size: 13px; color: var(--a-muted); padding-bottom: 10px }
.d-num { display: flex; align-items: baseline; gap: 10px; padding: 4px 0 12px }
.d-num b { font-size: 40px; font-weight: 700; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1 }
.d-num span { color: var(--a-muted) }
.d-live { display: flex; align-items: center; gap: 12px; padding: 4px 0 14px }
.d-live b { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1 }
.d-live > span:last-child { color: var(--a-muted) }
.d-pdot { position: relative; width: 14px; height: 14px; flex: none }
.d-pdot::before, .d-pdot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--a-green) }
.d-pdot::before { animation: pulse 2s ease-out infinite }
.d-min { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 64px }
.d-min i { border-radius: 2px; background: var(--a-green); transform-origin: bottom }
.d-meter { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 12px; border-top: 1px solid var(--a-line) }
.d-meter > span { display: flex; justify-content: space-between }
.d-meter small { font-size: 13px; color: var(--a-faint) }
.d-track { position: relative; height: 8px; display: flex; gap: 3px }
.d-track i { border-radius: 4px; height: 8px }
.d-mark { position: absolute; top: -5px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--a-ink); box-shadow: 0 0 0 2px var(--a-card); animation: fade-up 0.4s var(--ease) 0.5s both }
.d-ring { display: flex; align-items: center; gap: 18px; padding: 4px 0 16px }
.d-ring svg { width: 112px; height: 112px }
.d-ring b { display: block; font-size: 19px; margin-bottom: 4px }
.d-ring span { color: var(--a-muted); line-height: 1.45 }
.arc { transition: stroke-dashoffset 0.8s var(--ease) }
.d-comp { display: flex; gap: 2px; height: 16px; margin: 4px 0 8px }
.d-comp i { transform-origin: left }
.d-comp i:first-child { border-radius: 4px 0 0 4px } .d-comp i:last-child { border-radius: 0 4px 4px 0 }
.d-cal { display: flex; align-items: center; gap: 14px; padding: 8px 0 }
.d-cal .a-cal { width: 52px }
.d-cal .a-cal b { height: 20px; font-size: 12px } .d-cal .a-cal span { height: 32px; font-size: 22px }
.d-cal div { display: flex; flex-direction: column }
.d-cal div span:last-child { color: var(--a-green); font-weight: 600 }
.d-check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--a-line) }
.d-check span:nth-child(2) { flex: 1 }
.d-check span:last-child { font-size: 13px; color: var(--a-muted) }
.d-check.warn span:last-child { color: var(--a-amber); font-weight: 600 }
.d-dr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding-top: 8px }
.d-dr i { height: 8px; border-radius: 4px; background: var(--a-line) }
.d-dr i.on { background: var(--a-red) }
.d-drl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; font-size: 13px; color: var(--a-muted); padding: 6px 0 12px }
.d-drl span:first-child { color: var(--a-red); font-weight: 600 }
.d-step { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--a-line); line-height: 1.45 }
.d-step b { width: 24px; height: 24px; flex: none; border-radius: 12px; background: var(--a-soft); color: var(--a-brand); font-size: 13px; display: flex; align-items: center; justify-content: center }
.d-page { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--a-line) }
.d-page > span:first-child { flex: 1; display: flex; flex-direction: column; min-width: 0 }
.d-page small { font-size: 13px; color: var(--a-muted) }
.d-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 600; font-size: 17px; width: 100% }
.d-btn.pri { background: var(--a-brand); color: var(--a-on) }
.d-btn.sec { background: var(--a-card); border: 1px solid var(--a-line); text-align: center }
.d-btn.done { background: var(--a-green-bg); color: var(--a-green); border-color: transparent }
.d-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--a-line); border-top-color: var(--a-brand); animation: spin 0.8s linear infinite }
.d.in .d-bars i, .d.in .d-min i { animation: grow-y 0.45s var(--ease) both; animation-delay: calc(var(--i) * 25ms) }
.d.in .d-segs i { animation: seg-in 0.2s var(--ease) both; animation-delay: calc(var(--i) * 12ms) }
.d.in .d-comp i { animation: grow-x 0.6s var(--ease) both }
.d.in .d-track i, .d.in .d-dr i { animation: fade-up 0.3s var(--ease) both }
.app .anim-in .a-segs7 i { animation: seg-in 0.2s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 300ms) }
.app .anim-in .a-comp { transform-origin: left; animation: grow-x 0.6s var(--ease) 0.3s both }
.app .anim-in .a-hero { animation: fade-up 0.45s var(--ease) 0.1s both }
.app.anim-wait .a-hero, .app.anim-wait .a-segs7 i, .app.anim-wait .a-comp { opacity: 0 }
.app button.d-page, .app button.d-more { width: 100% }
.d-card > .d-line:first-child { border-top: 0 }

/* desk mode screen */
.k { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 18px 12px 20px 18px; background: #0B0B0F; color: #F4F4F6 }
.k-top { display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 600 }
.k-top > span:first-child { display: flex; align-items: center; gap: 10px }
.k-top small { font-size: 13px; font-weight: 400; color: #A1A1AB; font-variant-numeric: tabular-nums }
.k-card { background: #17171C; border: 1px solid #2A2A31; border-radius: 22px; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px }
.k-now { display: flex; align-items: center; gap: 12px; color: #A1A1AB }
.k-now .d-pdot::before, .k-now .d-pdot::after { background: #4ADE80 }
.k-big { display: flex; align-items: baseline; gap: 10px }
.k-big b { font-size: 88px; letter-spacing: -3px; line-height: 0.95; font-variant-numeric: tabular-nums; transition: opacity 0.3s }
.k-big span { display: flex; flex-direction: column; gap: 2px }
.k-big span b { font-size: 22px; letter-spacing: 0; line-height: 1.2; font-weight: 600 }
.k-big small, .k-axis { font-size: 13px; color: #A1A1AB }
.k-axis { display: flex; justify-content: space-between }
.k .d-min { height: 56px }
.k .d-min i { background: #4ADE80 }
.k-row { background: #17171C; border: 1px solid #2A2A31; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 14px }
.k-row > span:first-child { display: flex; flex-direction: column; gap: 2px; flex: none }
.k-row small { font-size: 13px; color: #A1A1AB }
.k-row b { font-size: 28px; color: #4ADE80 }
.k-row .a-segs7 { gap: 4px }
.k-row .a-segs7 i { height: 16px; background: #4ADE80 }
.k-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.k-pair > div { background: #17171C; border: 1px solid #2A2A31; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px }
.k-pair b { font-size: 34px; letter-spacing: -0.6px; line-height: 1.1; font-variant-numeric: tabular-nums }
.k-pair .up { color: #4ADE80 }
.k-fix { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #3A2A0C }
.k-fix i { width: 8px; height: 8px; border-radius: 4px; background: #FBBF24 }
.k-fix span { flex: 1 }
.in-view .k .d-min i { animation: grow-y 0.45s var(--ease) both; animation-delay: calc(var(--i) * 25ms + 200ms) }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .q-card.wide { grid-column: span 2 }
  .free-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .desk-in { grid-template-columns: minmax(0, 1fr); gap: 48px }
  .support { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 680px) {
  body { font-size: 16px }
  .section { padding: 72px 0 }
  .sec-head { margin-bottom: 36px }
  .hero { padding-top: 36px }
  .duo-zone { margin-top: 32px }
  .q-grid, .free-foot { grid-template-columns: minmax(0, 1fr) }
  .q-card.wide { grid-column: auto }
  .wide-in { grid-template-columns: minmax(0, 1fr); gap: 20px }
  .q-card { padding: 22px; border-radius: 24px }
  .free-item { padding: 22px 18px }
  .faq summary { font-size: 17px; padding: 18px 2px }
  .faq .ans p { padding-right: 8px }
  .form-card { padding: 22px; border-radius: 22px }
  .form .row2 { grid-template-columns: minmax(0, 1fr) }
  .page-head { padding: 48px 0 32px }
  table { min-width: 0; font-size: 14px }
  th, td { padding: 10px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important }
  .reveal { transform: none }
}
