/* ==========================================================================
   Hoptick: site-only styles. Loaded after /shared/css/base.css.
   Built from docs/hoptick-design-handoff/ (Sky skin, light mode).
   Privacy rule: Hoptick pages load nothing from other websites, so the font is self-hosted.
   ========================================================================== */

@font-face {
  font-family: 'Nunito';
  src: url('/hoptick/assets/fonts/nunito-latin.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* Design tokens */
.site-hoptick {
  --bg: #F4F8FD; --waves: #E6F0FA; --waves2: #E2EDF9; --surface: #FFFFFF;
  --primary: #3778C2; --primary-soft: #DCEAF8; --primary-ink: #2A5F9E; --primary-light: #83ABD9;
  --ink: #1E2B3C; --body: #33435A; --muted: #5B6B80; --divider: #E3EAF3;
  --done: #2E8F61; --done-tint: #DDF3E8; --done-ink: #237A52;
  --xp: #F5B33C; --xp-light: #F8CA77; --xp-tint: #FDEED4; --xp-ink: #8F5B00; --on-xp: #4A3000;
  --clover: #4CB67A; --rabbit-tile: #FFF4E6; --tick-ring: #5F93CE;
  --soft: cubic-bezier(.2,.8,.2,1);
  --shadow-rest: 0 2px 12px rgba(0,0,0,.05); --shadow-hover: 0 12px 30px rgba(30,43,60,.09);
  --font-body: 'Nunito', system-ui, sans-serif; --accent: var(--primary);
}
html:has(.site-hoptick) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.site-hoptick) { scroll-behavior: auto; } }
.site-hoptick { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
.site-hoptick a { color: var(--primary-ink); }
.site-hoptick a:hover { color: var(--primary); }
.site-hoptick button { font-family: inherit; }
.hk-wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px,4vw,40px); }
.hk-section { scroll-margin-top: 72px; padding: clamp(56px,8vw,112px) 0; }
.hk-h2 { margin: 0 0 clamp(28px,4vw,48px); font-size: clamp(32px,3.6vw,48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.hk-center { text-align: center; }
.hk-lead { font-size: clamp(17px,1.5vw,20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Header */
.hk-header { position: sticky; top: 0; z-index: 50; background: rgba(244,248,253,.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(227,234,243,.9); }
.hk-header-in { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hk-brand { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none; }
.hk-brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(30,43,60,.12); }
.hk-brand span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.hk-nav { display: none; align-items: center; gap: 6px; }
.hk-nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.hk-nav a:hover { color: var(--ink); background: var(--waves); }
@media (min-width: 960px) { .hk-nav { display: flex; } }

/* Buttons */
.hk-play-sm, .hk-play { display: inline-flex; align-items: center; border-radius: 999px; background: var(--primary); color: #fff !important; font-weight: 700; text-decoration: none; transition: transform .25s var(--soft), box-shadow .25s; }
.hk-play-sm { gap: 8px; height: 42px; padding: 0 16px 0 14px; font-size: 14px; box-shadow: 0 4px 14px rgba(55,120,194,.28); }
.hk-play-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(55,120,194,.32); }
.hk-play { gap: 12px; min-height: 58px; padding: 0 28px 0 22px; font-size: 17px; box-shadow: 0 6px 20px rgba(55,120,194,.30); }
.hk-play:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(55,120,194,.34); }
.hk-play-sm:active, .hk-play:active { transform: translateY(0) scale(.98); }
.hk-play i { width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.hk-long { display: none; } .hk-short { display: inline; }
@media (min-width: 960px) { .hk-long { display: inline; } .hk-short { display: none; } }

/* Waves */
.hk-waves { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(140px,18vw,240px); pointer-events: none; }
/* 200% wide so the drift (translateX -50%) loops without a gap; base.css caps svg at max-width:100%, so lift that. */
.hk-waves svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; }

/* Hero */
.hk-hero { position: relative; overflow: hidden; padding: clamp(36px,6vw,80px) 0 clamp(120px,14vw,190px); }
.hk-hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(40px,5vw,72px); }
.hk-hero-copy { flex: 1 1 440px; min-width: 0; max-width: 660px; }
.hk-hero h1 { margin: 0; font-size: clamp(40px,4.6vw,66px); line-height: 1.03; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.hk-hero h1 span { display: block; }
.hk-hero h1 span:last-child { color: var(--primary); }
.hk-hero .hk-lead { margin: 24px 0 0; max-width: 520px; }
.hk-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hk-cta small { font-size: 14px; font-weight: 600; color: var(--muted); padding-left: 6px; }
.hk-hero-demo { flex: 0 1 auto; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hk-bubble { align-self: flex-start; position: relative; margin: 0 0 16px 8px; max-width: 260px; background: #fff; border-radius: 18px; padding: 12px 16px; font-size: 15px; font-weight: 700; line-height: 1.35; box-shadow: 0 6px 20px rgba(30,43,60,.10); }
.hk-bubble::after { content: ""; position: absolute; left: 44px; bottom: -7px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }

/* Phone demo */
.hk-phone-wrap { position: relative; }
.hk-phone { width: 340px; max-width: calc(100vw - 40px); background: var(--ink); border-radius: 48px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(30,43,60,.35), 0 12px 24px rgba(30,43,60,.10); }
.hk-screen { position: relative; background: var(--bg); border-radius: 38px; overflow: hidden; }
.hk-screen-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; pointer-events: none; }
.hk-screen-wave svg { width: 100%; height: 100%; display: block; }
.hk-status { position: relative; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 26px; font-size: 13px; font-weight: 700; }
.hk-status b { width: 72px; height: 20px; border-radius: 999px; background: var(--ink); }
.hk-status span { display: flex; align-items: center; gap: 5px; }
.hk-appbar { position: relative; height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.hk-appbar strong { flex: 1; font-size: 20px; font-weight: 700; }
.hk-rcard { position: relative; margin: 4px 12px 0; padding: 12px; border-radius: 14px; background: linear-gradient(135deg,#DCEAF8 0%,#F1F7FC 100%); display: flex; gap: 12px; align-items: center; }
.hk-rtile { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; background: var(--rabbit-tile); overflow: hidden; box-shadow: 0 2px 8px rgba(120,80,30,.10); }
.hk-rtile video, .hk-rtile img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--rabbit-tile); }
.hk-rinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.hk-row-sb { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hk-rname { font-size: 17px; font-weight: 800; }
.hk-lv { background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.hk-xp { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.hk-xp i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--xp-light),var(--xp)); transition: width .9s var(--soft); }
.hk-xptext { font-size: 12px; font-weight: 600; color: var(--muted); }
.hk-clover { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 3px 9px 3px 6px; font-size: 13px; font-weight: 800; }
.hk-list { position: relative; padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.hk-list-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 4px; font-size: 14px; font-weight: 700; }
.hk-list-h.hk-gap { padding-top: 10px; }
.hk-count { font-size: 11px; font-weight: 800; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; padding: 2px 8px; }
.hk-task { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 7px 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.04); transition: background-color .5s ease; }
.hk-task svg { flex: 0 0 auto; }
.hk-task circle { fill: rgba(255,255,255,0); stroke: var(--tick-ring); transition: fill .3s ease, stroke .3s ease; }
.hk-task path { stroke-dashoffset: 16; transition: stroke-dashoffset .4s var(--soft) .12s; }
.hk-task > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hk-task-t { font-size: 15px; line-height: 19px; color: var(--ink); transition: color .4s; }
.hk-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.hk-pill { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--primary-ink); background: var(--primary-soft); border-radius: 999px; padding: 2px 9px; transition: background-color .4s, color .4s; }
.hk-pill i { width: 7px; height: 7px; border-radius: 999px; }
.hk-task.is-done { background: var(--done-tint); }
.hk-task.is-done circle { fill: var(--done); stroke: var(--done); }
.hk-task.is-done path { stroke-dashoffset: 0; }
.hk-task.is-done .hk-task-t { color: var(--done-ink); }
.hk-task.is-done .hk-pill { background: #C8EBD8; color: var(--done-ink); }
.hk-tabs { position: relative; margin-top: 6px; height: 62px; background: #fff; border-top: 1px solid var(--divider); display: grid; grid-template-columns: repeat(5,1fr); align-items: center; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.hk-tabs div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hk-tabs span { padding: 3px 0; display: flex; }
.hk-tabs .on { color: var(--primary); font-weight: 800; }
.hk-tabs .on span { background: var(--primary-soft); border-radius: 999px; padding: 3px 14px; }
.hk-perfect { position: absolute; left: 50%; top: 52%; translate: -50% -50%; scale: .85; opacity: 0; transition: opacity .5s ease, scale .6s cubic-bezier(.3,1.4,.5,1); pointer-events: none; background: #fff; border-radius: 22px; padding: 18px 26px; text-align: center; box-shadow: 0 16px 40px rgba(30,43,60,.18); border: 2px solid var(--xp); white-space: nowrap; }
.hk-perfect.is-on { opacity: 1; scale: 1; }
.hk-perfect small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--xp-ink); }
.hk-perfect strong { display: block; font-size: 26px; font-weight: 800; margin-top: 2px; }
.hk-confetti { position: absolute; left: -90px; top: -120px; width: calc(100% + 180px); height: calc(100% + 160px); pointer-events: none; z-index: 3; }

/* Features */
.hk-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: clamp(14px,1.6vw,22px); }
.hk-feature { background: #fff; border-radius: 20px; padding: clamp(22px,2.4vw,30px); box-shadow: var(--shadow-rest); transition: transform .35s var(--soft), box-shadow .35s; }
.hk-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.hk-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.hk-feature h3 { margin: 20px 0 8px; font-size: 20px; line-height: 1.25; font-weight: 800; }
.hk-feature p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.hk-anim { transform-box: fill-box; }

/* Rabbit */
.hk-white { background: #fff; }
.hk-intro { max-width: 680px; margin: 0 auto; text-align: center; }
.hk-intro .hk-h2 { margin: 0; }
.hk-intro .hk-lead { margin: 18px 0 0; line-height: 1.6; }
.hk-growth { margin: clamp(36px,5vw,64px) auto 0; max-width: 900px; display: grid; grid-template-columns: auto minmax(16px,1fr) auto minmax(16px,1fr) auto; row-gap: 14px; align-items: center; }
.hk-gtile { width: clamp(88px,22vw,220px); aspect-ratio: 1; border-radius: clamp(16px,2vw,24px); background: var(--rabbit-tile); overflow: hidden; box-shadow: 0 6px 18px rgba(120,80,30,.12); }
.hk-gtile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-gbar { height: 8px; margin: 0 clamp(6px,1.4vw,18px); border-radius: 999px; background: var(--divider); overflow: hidden; }
.hk-gbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--xp-light),var(--xp)); transform-origin: 0 50%; }
.hk-glabel { text-align: center; }
.hk-glabel b { display: block; font-size: clamp(16px,1.6vw,20px); font-weight: 800; }
.hk-glabel span { display: block; margin-top: 2px; font-size: clamp(13px,1.2vw,15px); font-weight: 700; color: var(--primary-ink); }
.hk-rewards { margin-top: clamp(64px,9vw,120px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px,5vw,72px); }
.hk-rewards-copy { flex: 1 1 300px; max-width: 440px; }
.hk-rewards-copy p { margin: 0; font-size: clamp(24px,2.6vw,34px); line-height: 1.25; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.hk-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.hk-chip { border: 0; cursor: pointer; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; background: var(--waves); color: var(--primary-ink); transition: background-color .3s, color .3s, transform .25s; }
.hk-chip:hover { transform: translateY(-2px); }
.hk-chip:active { transform: translateY(0) scale(.97); }
.hk-chip[aria-selected="true"] { background: var(--primary); color: #fff; }
.hk-scene-wrap { flex: 1 1 340px; max-width: 540px; width: 100%; }
.hk-scene { position: relative; border-radius: 24px; overflow: hidden; min-height: clamp(190px,22vw,240px); box-shadow: 0 18px 40px -12px rgba(30,43,60,.22); }
.hk-scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hk-scene > svg.is-on { opacity: 1; }
.hk-scene-in { position: relative; display: flex; align-items: center; gap: clamp(12px,2vw,18px); padding: clamp(16px,2.4vw,24px); }
.hk-scene-tile { flex: 0 0 auto; width: clamp(96px,22vw,132px); aspect-ratio: 1; border-radius: 18px; background: var(--rabbit-tile); overflow: hidden; box-shadow: 0 4px 14px rgba(120,80,30,.18); }
.hk-scene-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hk-panel { flex: 1; min-width: 0; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hk-panel .hk-rname { font-size: 19px; }
.hk-panel .hk-xp { background: var(--divider); }
.hk-panel .hk-clover { background: none; padding: 0; font-size: 14px; }

/* Premium */
.hk-plans { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: clamp(14px,1.6vw,22px); }
.hk-plan { background: #fff; border-radius: 24px; padding: clamp(26px,3vw,40px); box-shadow: var(--shadow-rest); border: 2px solid #fff; display: flex; flex-direction: column; gap: 14px; }
.hk-plan.is-premium { box-shadow: 0 14px 36px -10px rgba(55,120,194,.28); border-color: var(--primary); }
.hk-plan h3 { margin: 0; font-size: 26px; font-weight: 800; }
.hk-plan p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.hk-plan p.hk-once { font-size: 18px; line-height: 1.45; font-weight: 800; color: var(--primary-ink); }
.hk-tag { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 5px 12px; }
.hk-tag.free { color: var(--done-ink); background: var(--done-tint); }
.hk-tag.gold { font-weight: 800; color: var(--on-xp); background: var(--xp); }
.hk-private { max-width: 960px; margin: clamp(14px,1.6vw,22px) auto 0; background: var(--waves); border-radius: 24px; padding: clamp(24px,3vw,36px) clamp(26px,3vw,40px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hk-private > span { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; }
.hk-private div { flex: 1 1 280px; min-width: 0; }
.hk-private h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.hk-private p { margin: 0; font-size: 17px; line-height: 1.6; color: #4B5B70; text-wrap: pretty; }

/* Questions */
.hk-questions { scroll-margin-top: 72px; padding: clamp(40px,6vw,80px) 0 clamp(64px,9vw,120px); }
.hk-questions .hk-wrap { max-width: 800px; }
.hk-questions .hk-h2 { margin-bottom: clamp(24px,3vw,40px); }
.hk-faq { background: #fff; border-radius: 24px; box-shadow: var(--shadow-rest); padding: 6px clamp(8px,1.4vw,14px); }
.hk-faq > div + div { border-top: 1px solid var(--divider); }
.hk-faq button { width: 100%; border: 0; background: transparent; cursor: pointer; min-height: 64px; padding: 14px clamp(10px,1.6vw,18px); display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font-size: clamp(17px,1.5vw,19px); font-weight: 700; color: var(--ink); border-radius: 16px; transition: background-color .25s; }
.hk-faq button:hover { background: var(--bg); }
.hk-faq button i { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; background: var(--waves); display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.hk-faq button svg { stroke: var(--primary); transition: rotate .4s var(--soft); }
.hk-faq button[aria-expanded="true"] i { background: var(--primary); }
.hk-faq button[aria-expanded="true"] svg { stroke: #fff; rotate: 180deg; }
.hk-ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--soft); }
.hk-ans > div { overflow: hidden; min-height: 0; }
.hk-ans p { margin: 0; padding: 0 clamp(10px,1.6vw,18px) 20px; font-size: 17px; line-height: 1.6; color: var(--muted); opacity: 0; transition: opacity .4s ease; }
.hk-ans.is-open { grid-template-rows: 1fr; }
.hk-ans.is-open p { opacity: 1; }

/* Footer */
.hk-footer { position: relative; background: var(--waves); }
.hk-footer > svg { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; display: block; }
.hk-footer-in { max-width: 1160px; margin: 0 auto; padding: clamp(28px,4vw,48px) clamp(20px,4vw,40px) clamp(32px,4vw,48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.hk-footer-brand { display: flex; align-items: center; gap: 12px; }
.hk-footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.hk-footer-brand b { display: block; font-size: 19px; font-weight: 800; }
.hk-footer-brand span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.hk-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 700; }
.hk-footer nav a { padding: 10px 0; text-decoration: none; }
.hk-footer nav a[aria-current="page"] { color: var(--ink); }

/* Legal pages (terms + privacy) */
.hk-legal-hero { position: relative; overflow: hidden; padding: clamp(40px,6vw,80px) 0 clamp(70px,8vw,110px); }
.hk-legal-hero .hk-waves { height: clamp(80px,9vw,130px); }
.hk-legal-hero .hk-waves svg { width: 100%; height: 100%; }
.hk-legal-hero .hk-wrap { position: relative; }
.hk-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; text-decoration: none; min-height: 44px; }
.hk-legal-hero h1 { margin: 10px 0 0; font-size: clamp(36px,4.6vw,60px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.hk-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.hk-meta span { font-size: 14px; font-weight: 700; border-radius: 999px; padding: 6px 14px; }
.hk-meta span:first-child { color: var(--primary-ink); background: var(--primary-soft); }
.hk-meta span + span { color: var(--muted); background: #fff; }
.hk-legal { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px) clamp(64px,8vw,112px); display: flex; align-items: flex-start; gap: clamp(24px,4vw,56px); }
.hk-toc { display: none; flex: 0 0 268px; position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding: 4px 0 12px; }
.hk-toc-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 14px 10px; }
.hk-toc a { display: flex; gap: 10px; padding: 7px 14px; border-radius: 12px; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color .25s, color .25s; }
.hk-toc a:hover { background: var(--waves); color: var(--ink); }
.hk-toc a span:first-child { flex: 0 0 22px; color: var(--primary-light); font-weight: 800; }
.hk-toc a[aria-current="true"] { background: var(--primary-soft); color: var(--ink); font-weight: 700; }
.hk-toc a[aria-current="true"] span:first-child { color: var(--primary); }
.hk-legal main { flex: 1; min-width: 0; max-width: 780px; }
.hk-toc-m { background: #fff; border-radius: 20px; box-shadow: var(--shadow-rest); margin-bottom: 16px; }
.hk-toc-m summary { list-style: none; cursor: pointer; min-height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 800; }
.hk-toc-m summary::-webkit-details-marker { display: none; }
.hk-toc-m[open] summary svg { rotate: 180deg; }
.hk-toc-m div { padding: 0 8px 12px; display: flex; flex-direction: column; }
.hk-toc-m a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink); text-decoration: none; }
.hk-toc-m a span:first-child { flex: 0 0 22px; color: var(--primary); font-weight: 800; }
@media (min-width: 960px) { .hk-toc { display: block; } .hk-toc-m { display: none; } }
.hk-article { background: #fff; border-radius: 24px; box-shadow: var(--shadow-rest); padding: clamp(24px,4vw,52px); }
.hk-article a { text-decoration: underline; text-decoration-color: rgba(55,120,194,.35); text-underline-offset: 3px; }
.hk-article a:hover { text-decoration-color: var(--primary); }
.hk-article p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.hk-article p:last-child { margin-bottom: 0; }
.hk-article p.hk-first { margin-bottom: 16px; font-size: clamp(17px,1.4vw,19px); color: var(--ink); }
.hk-article section { scroll-margin-top: 88px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--divider); }
.hk-article #s1 { scroll-margin-top: 88px; }
.hk-article section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hk-article h2 { margin: 0 0 14px; font-size: clamp(21px,1.8vw,24px); line-height: 1.25; font-weight: 800; display: flex; gap: 12px; }
.hk-article h2 span:first-child { color: var(--primary); }
.hk-article h3 { margin: 24px 0 12px; font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.hk-article ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hk-article ul:last-child { margin-bottom: 0; }
.hk-article li { position: relative; padding-left: 21px; font-size: 17px; line-height: 1.65; color: var(--body); }
.hk-article li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.hk-note { display: flex; gap: 14px; align-items: flex-start; background: var(--xp-tint); border-radius: 16px; padding: 16px 18px; margin-top: 20px; }
.hk-note svg { flex: 0 0 auto; margin-top: 2px; }
.hk-article .hk-note p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on-xp); font-weight: 600; }
.hk-article .hk-note a { color: var(--on-xp); text-decoration-color: rgba(74,48,0,.4); }
.hk-warn { background: var(--xp-tint); border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; font-size: 16px; font-weight: 700; color: var(--on-xp); }
.hk-contact { background: var(--bg); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }
.hk-contact b { font-weight: 800; }
.hk-contact div { color: var(--body); }
.hk-contact a { font-weight: 700; }
.hk-table { margin: 4px 0 16px; overflow-x: auto; border: 1px solid var(--divider); border-radius: 16px; }
.hk-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; color: var(--body); }
.hk-table th { text-align: left; padding: 12px 14px; background: var(--bg); color: var(--ink); font-weight: 800; font-size: 14px; }
.hk-table td { padding: 12px 14px; border-top: 1px solid var(--divider); vertical-align: top; }
.hk-table td:first-child { font-weight: 700; color: var(--ink); }
/* Phones: each table row becomes a small card, every value labelled with its column */
@media (max-width: 640px) {
  .hk-table { border: 0; border-radius: 0; overflow: visible; }
  .hk-table table { min-width: 0; }
  .hk-table thead { display: none; }
  .hk-table tr { display: block; border: 1px solid var(--divider); border-radius: 14px; padding: 6px 0; margin-bottom: 10px; }
  .hk-table td { display: block; border: 0; padding: 6px 14px; }
  .hk-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .hk-table td:first-child { font-size: 16px; }
  .hk-table td:first-child::before { display: none; }
}

/* Reveal: hoptick.js sets the start state, so without JS everything stays visible */
.hk-js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .8s var(--soft), translate .9s var(--soft), scale .9s var(--soft); }
.hk-js [data-reveal][data-pop] { scale: .94; }
/* Feature cards both reveal and lift on hover: list both, or the reveal rule above wipes out the hover transition and the lift snaps. */
.hk-feature, .hk-js .hk-feature[data-reveal] { transition: opacity .8s var(--soft), translate .9s var(--soft), scale .9s var(--soft), transform .55s cubic-bezier(.25,.8,.25,1), box-shadow .55s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.hk-js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }
.hk-js .hk-gbar i { transform: scaleX(0); transition: transform .8s var(--soft); }
.hk-js .hk-gbar i.is-in { transform: scaleX(1); }
@keyframes hk-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hk-drift-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes hk-draw { from { stroke-dashoffset: 14; } to { stroke-dashoffset: 0; } }
@keyframes hk-flicker { 0%,100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.05,1.1) rotate(-3deg); } 50% { transform: scale(.97,1.02) rotate(2deg); } 75% { transform: scale(1.03,1.06) rotate(-1deg); } }
@keyframes hk-grow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes hk-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes hk-wave { 0%,100% { transform: skewY(0); } 30% { transform: skewY(-6deg); } 65% { transform: skewY(4deg); } }
@keyframes hk-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hk-cloud { from { transform: translateX(-18px); } to { transform: translateX(26px); } }
@keyframes hk-breathe { 0%,100% { opacity: .78; } 50% { opacity: 1; } }
@keyframes hk-twinkle { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes hk-float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,-8px); } }

/* /hoptick/task/: "This task lives in Hoptick", opened by a calendar event's "Open in Hoptick" link.
   #open stays hidden until the page's script gives it an intent:// link (Android only). */
.hk-taskpage { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px) clamp(64px,8vw,112px); }
/* /hoptick/delete-data/: full width, lined up with the header and the heading above it */
.hk-doc { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px) clamp(64px,8vw,112px); }
.hk-play[hidden] { display: none; }
.hk-article .hk-play { text-decoration: none; padding: 0 28px; margin: 4px 0 6px; }
.hk-article p.hk-task-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--divider); font-size: 15px; line-height: 1.6; color: var(--muted); }

/* /hoptick/delete-data/: numbered steps */
.hk-article ol.hk-steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.hk-article ol.hk-steps > li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--bg); border-radius: 18px; font-size: 17px; line-height: 1.65; color: var(--body); }
.hk-article ol.hk-steps > li::before { content: counter(step); left: 18px; top: 17px; width: 32px; height: 32px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hk-article ol.hk-steps strong { display: block; margin-bottom: 4px; font-weight: 800; color: var(--ink); }
