/* Hallmark · custom, layout pinned (user named: Dribbble shot 27183783 "AI Chat Mobile App Landing Page", pixel matched) · shape: app landing, hero then steps, orbit showcase, connections, privacy, pricing, FAQ, CTA · posture: restrained · hero: split, heading left and the dark phone with floating cards right · nav: app bar with logo, anchors and one blue action · footer: KSATRIA close strip · signature: the real Cloneer screen in a dark phone, with its spaces and copies lifted out as floating cards · genre: modern-minimal */
/* critique: layout, scale, colour and card language follow the reference shot; every word, number and screen is Cloneer's own, and the shot's social proof, logos and ratings are replaced with true statements */

/* App landing pages on ksatriacorp.com (/<app>). Self-contained: this file does
   not depend on the theme stylesheets. Each app sets its accent on .ap-root. */
.ap-root {
  --ap-accent: #1a6cf5;
  --ap-accent-strong: #0f5ce0;
  --ap-accent-soft: #e8f0fe;
  --ap-ink: #101828;
  --ap-body: #475467;
  --ap-muted: #667085;
  --ap-line: #eaecf0;
  --ap-paper: #ffffff;
  --ap-wash: #f5f8ff;
  --ap-phone: #0b1120;
  --ap-glow: #8fb4ff;
  --ap-card-shadow: 0 12px 32px -12px rgba(16, 24, 40, .18);
  --ap-float-shadow: 0 24px 48px -16px rgba(16, 24, 40, .22);
  --ap-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --ap-text: "Inter", system-ui, sans-serif;
  --ap-radius: 14px;
  --ap-container: 1140px;
}

html, body { overflow-x: clip; }
.ap-root {
  margin: 0; background: var(--ap-paper); color: var(--ap-ink);
  font-family: var(--ap-text); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ap-root *, .ap-root *::before, .ap-root *::after { box-sizing: border-box; }
.ap-root img { display: block; max-width: 100%; height: auto; }
.ap-root a { color: inherit; }
.ap-root h1, .ap-root h2, .ap-root h3 { font-family: var(--ap-head); margin: 0; text-wrap: balance; color: var(--ap-ink); }
.ap-root p { margin: 0; text-wrap: pretty; }
.ap-root ::selection { background: var(--ap-accent); color: #fff; }
.ap-root :focus-visible { outline: 3px solid var(--ap-accent); outline-offset: 3px; border-radius: 6px; }
.ap-wrap { width: min(100% - 32px, var(--ap-container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.ap-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 600 15px/1 var(--ap-text); text-decoration: none; border-radius: 10px;
  padding: 14px 20px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ap-btn svg { width: 16px; height: 16px; flex: none; }
.ap-root .ap-btn--primary { background: var(--ap-accent); color: #fff; box-shadow: 0 0 0 4px rgba(26, 108, 245, .16), 0 8px 18px -8px rgba(26, 108, 245, .7); }
.ap-root .ap-btn--primary:hover { background: var(--ap-accent-strong); color: #fff; }
.ap-root .ap-btn--light { background: #fff; color: var(--ap-ink); border-color: var(--ap-line); box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.ap-root .ap-btn--light:hover { background: var(--ap-wash); color: var(--ap-ink); }
.ap-btn:active { transform: translateY(1px); }
.ap-btn[aria-disabled="true"] { cursor: default; }
.ap-btn--sm { padding: 11px 16px; font-size: 14px; }

/* ---------- App bar ---------- */
.ap-bar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ap-line); }
.ap-bar .ap-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.ap-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ap-logo img { width: 128px; }
.ap-logo span { font-size: 13px; color: var(--ap-muted); border-left: 1px solid var(--ap-line); padding-left: 10px; }
.ap-nav { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
.ap-nav a { text-decoration: none; color: var(--ap-body); }
.ap-nav a:hover { color: var(--ap-ink); }
.ap-nav a[aria-current="page"] { color: var(--ap-accent); }

/* ---------- Hero ---------- */
.ap-hero { position: relative; overflow: hidden; padding: 76px 0 0; isolation: isolate; }
.ap-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%); }
.ap-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 70% 62%, rgba(26, 108, 245, .32), transparent 70%),
    radial-gradient(45% 40% at 22% 70%, rgba(143, 180, 255, .45), transparent 70%),
    linear-gradient(180deg, #eef4ff 0%, #f2f6ff 55%, #ffffff 100%);
}
.ap-hero .ap-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: start; }
.ap-hero__copy { padding-top: 34px; position: relative; z-index: 5; }
.ap-pill {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px;
  padding: 5px 14px 5px 6px; font-size: 13.5px; font-weight: 500; color: var(--ap-body);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .1);
}
.ap-pill img { width: 26px; height: 26px; border-radius: 8px; }
.ap-pill b { color: var(--ap-ink); font-weight: 600; }
.ap-hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; margin: 22px 0 22px; max-width: 12.5ch; }
.ap-hero__lead { font-size: 17px; line-height: 1.6; color: var(--ap-body); max-width: 520px; }
.ap-hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* The device and its floating cards */
.ap-device { position: relative; height: 600px; }
.ap-phone {
  position: absolute; left: 50%; top: 22px; width: 310px; transform: translateX(-50%);
  background: var(--ap-phone); border-radius: 46px; padding: 11px;
  box-shadow: inset 0 0 0 2px #2b3445, 0 40px 80px -30px rgba(16, 24, 40, .55);
}
/* The real screenshot is a top crop of the app; the screen keeps a phone's
   proportions and the app's own dark ground continues below it. */
.ap-phone__screen { border-radius: 36px; overflow: hidden; background: #141a26; position: relative; aspect-ratio: 9 / 19; }
.ap-phone__screen img { width: 100%; }
.ap-phone__screen::after { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 30%; background: linear-gradient(180deg, rgba(20, 26, 38, 0), #141a26 90%); }
.ap-float {
  position: absolute; z-index: 4; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; box-shadow: var(--ap-float-shadow);
}
.ap-float--file { right: -8px; top: 120px; display: flex; gap: 14px; align-items: center; padding: 12px 22px 12px 12px; }
.ap-float--file .ap-float__icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(16, 24, 40, .12); }
.ap-float--file .ap-float__icon img { width: 30px; height: 30px; border-radius: 8px; }
.ap-float--file b { display: block; font: 600 18px/1.2 var(--ap-head); color: var(--ap-ink); }
.ap-float--file small { font-size: 13px; color: var(--ap-muted); }
.ap-float--space { left: -28px; top: 352px; width: 238px; padding: 12px; }
.ap-float--space .row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.ap-float--space .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--ap-accent-soft); color: var(--ap-accent); display: grid; place-items: center; }
.ap-float--space .ic svg { width: 17px; height: 17px; }
.ap-float--space b { display: block; font-size: 13px; font-weight: 600; color: var(--ap-ink); line-height: 1.2; }
.ap-float--space small { font-size: 11.5px; color: var(--ap-muted); }
.ap-float--space .ap-btn { width: 100%; justify-content: center; padding: 9px 12px; font-size: 13px; box-shadow: none; }

/* ---------- Facts strip (in place of a logo wall) ---------- */
.ap-facts { padding: 34px 0 96px; text-align: center; }
.ap-facts h2 { font: 500 17px/1.4 var(--ap-text); color: var(--ap-ink); margin-bottom: 26px; }
.ap-facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; }
.ap-facts li { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--ap-head); color: var(--ap-muted); letter-spacing: -.01em; }
.ap-facts svg { width: 22px; height: 22px; }

/* ---------- Section heads ---------- */
.ap-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.ap-head h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.ap-head p { margin-top: 14px; font-size: 17px; color: var(--ap-body); }

/* ---------- Steps ---------- */
.ap-steps { padding: 40px 0 120px; }
.ap-steps__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.ap-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ap-step { display: flex; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.ap-step__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--ap-line); display: grid; place-items: center; color: var(--ap-accent); }
.ap-step__icon svg { width: 21px; height: 21px; }
.ap-step h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.ap-step p { font-size: 15px; color: var(--ap-muted); line-height: 1.6; }
.ap-panel {
  position: relative; overflow: hidden; border-radius: 22px; min-height: 500px;
  background: radial-gradient(70% 60% at 50% 15%, #cfe0ff 0%, #8fb4ff 45%, #5b8ff7 100%);
}
.ap-panel .ap-phone { top: 46px; width: 300px; }

/* ---------- Orbit showcase ---------- */
.ap-orbit { padding: 40px 0 130px; }
.ap-orbit__stage { position: relative; height: 680px; max-width: 980px; margin: 0 auto; overflow: hidden; }
.ap-orbit__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 3; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }
.ap-orbit__ring { position: absolute; left: 50%; top: 50%; width: 780px; height: 780px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed #c9d2e3; }
.ap-orbit__dot { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--ap-accent); box-shadow: 0 0 0 6px rgba(26, 108, 245, .12); }
.ap-orbit .ap-phone { top: 30px; width: 300px; }
.ap-avatar {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--ap-accent); box-shadow: 0 16px 30px -12px rgba(26, 108, 245, .55); z-index: 4;
}
.ap-avatar svg { width: 28px; height: 28px; color: var(--ap-ink); }
.ap-avatar span { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ap-card { position: absolute; z-index: 5; background: #fff; border-radius: 16px; box-shadow: var(--ap-float-shadow); padding: 18px; }
.ap-card--app { right: 6%; top: 70px; width: 300px; }
.ap-card--app .tag { display: block; background: var(--ap-accent-soft); color: var(--ap-ink); font-size: 13px; padding: 7px 12px; border-radius: 8px; margin-bottom: 14px; }
.ap-card--app .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ap-card--app .appicon { width: 46px; height: 46px; border-radius: 13px; background: #0f9d74; display: grid; place-items: center; color: #fff; }
.ap-card--app .appicon svg { width: 24px; height: 24px; }
.ap-card--app h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.ap-card--app p { font-size: 13.5px; color: var(--ap-muted); line-height: 1.5; }
.ap-card--app .meta { display: flex; gap: 14px; border-top: 1px solid var(--ap-line); margin-top: 14px; padding-top: 12px; font-size: 13px; color: var(--ap-body); }
.ap-card--spaces { left: 4%; bottom: 120px; width: 280px; }
.ap-card--spaces h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.ap-card--spaces ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap-card--spaces li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f8fafc; font-size: 14px; font-weight: 500; }
.ap-card--spaces li.is-on { background: var(--ap-accent); color: #fff; }
.ap-card--spaces li small { font-size: 12.5px; font-weight: 400; color: var(--ap-muted); }
.ap-card--spaces li.is-on small { color: #fff; }

/* ---------- Works with your apps ---------- */
.ap-connect { position: relative; overflow: hidden; padding: 190px 0 200px; isolation: isolate; }
.ap-connect::before, .ap-connect::after {
  content: ""; position: absolute; left: 50%; width: 1800px; height: 900px; transform: translateX(-50%); border-radius: 50%; z-index: -1;
}
.ap-connect::before { top: -740px; background: radial-gradient(closest-side, transparent 80%, rgba(26, 108, 245, .45) 94%, rgba(26, 108, 245, 0) 100%); }
.ap-connect::after { bottom: -760px; background: radial-gradient(closest-side, transparent 80%, rgba(26, 108, 245, .4) 94%, rgba(26, 108, 245, 0) 100%); }
.ap-connect__stage { position: relative; height: 470px; overflow: hidden; }
.ap-connect__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 4; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%); }
.ap-connect .ap-phone { top: 0; width: 270px; z-index: 3; }
.ap-tiles { position: absolute; top: 120px; left: 0; right: 0; display: flex; justify-content: center; gap: 330px; }
.ap-tiles div { display: flex; gap: 22px; }
.ap-tile { width: 92px; height: 92px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: var(--ap-card-shadow); }
.ap-tile svg { width: 36px; height: 36px; }
.ap-tile.is-far { opacity: .35; }
.ap-connect__note { text-align: center; color: var(--ap-body); font-size: 15px; margin-top: 10px; }

/* ---------- Privacy ---------- */
.ap-privacy { padding: 0 0 120px; }
.ap-privacy__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-privacy__grid .ap-step { flex-direction: column; }
.ap-privacy__more { text-align: center; margin-top: 36px; }

/* ---------- Pricing ---------- */
.ap-pricing { padding: 0 0 120px; }
.ap-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-plan { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--ap-line); border-radius: 18px; }
.ap-plan.is-main { border-color: var(--ap-accent); box-shadow: 0 0 0 4px rgba(26, 108, 245, .1), var(--ap-card-shadow); }
.ap-plan h3 { font-size: 18px; font-weight: 600; }
.ap-plan .for { margin-top: 6px; font-size: 14.5px; color: var(--ap-muted); }
.ap-plan .amt { margin: 22px 0 4px; font: 600 38px/1.1 var(--ap-head); letter-spacing: -.03em; }
.ap-plan .bill { font-size: 14px; color: var(--ap-muted); }
.ap-plan ul { list-style: none; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--ap-line); display: grid; gap: 12px; flex: 1; }
.ap-plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ap-body); }
.ap-plan li svg { flex: none; width: 20px; height: 20px; color: var(--ap-accent); margin-top: 2px; }
.ap-plan .ap-btn { justify-content: center; }
.ap-pricing__note { text-align: center; margin-top: 28px; font-size: 15px; color: var(--ap-muted); }

/* ---------- FAQ ---------- */
.ap-faq { padding: 0 0 120px; }
.ap-faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.ap-faq details { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 20px 24px; }
.ap-faq details[open] { box-shadow: var(--ap-card-shadow); }
.ap-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 17px/1.4 var(--ap-head); }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary svg { flex: none; width: 22px; height: 22px; color: var(--ap-accent); transition: transform .25s ease; }
.ap-faq details[open] summary svg { transform: rotate(45deg); }
.ap-faq details p { margin-top: 10px; font-size: 15.5px; color: var(--ap-body); }

/* ---------- CTA ---------- */
.ap-cta { padding: 0 0 100px; }
.ap-cta__box {
  position: relative; overflow: hidden; border-radius: 26px; padding: 64px 56px; color: #fff;
  background: radial-gradient(80% 120% at 85% 10%, #2468e0 0%, #1561e0 45%, #0d45ab 100%);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center;
}
.ap-cta__box h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.ap-cta__box p { margin-top: 14px; color: #fff; font-size: 17px; max-width: 480px; }
.ap-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.ap-cta .ap-btn--light { border-color: transparent; }
.ap-root .ap-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
.ap-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Footer ---------- */
.ap-foot { border-top: 1px solid var(--ap-line); padding: 40px 0; }
.ap-foot .ap-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.ap-foot img { width: 120px; }
.ap-foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14.5px; }
.ap-foot nav a { text-decoration: none; color: var(--ap-body); }
.ap-foot nav a:hover { color: var(--ap-ink); }
.ap-foot p { flex-basis: 100%; font-size: 13.5px; color: var(--ap-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ap-nav { gap: 20px; }
  .ap-tiles { gap: 300px; }
  .ap-tiles .is-far { display: none; }
}
@media (max-width: 960px) {
  .ap-nav { display: none; }
  .ap-hero .ap-wrap, .ap-steps__grid, .ap-cta__box { grid-template-columns: minmax(0, 1fr); }
  .ap-hero h1 { max-width: none; }
  .ap-device { height: 560px; max-width: 420px; width: 100%; margin: 0 auto; }
  .ap-plans, .ap-privacy__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .ap-orbit__stage { height: auto; padding: 0 0 20px; }
  .ap-orbit__ring, .ap-orbit__dot, .ap-avatar { display: none; }
  .ap-orbit .ap-phone { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
  .ap-card { position: relative; inset: auto; width: auto; max-width: 420px; margin: 16px auto 0; }
  .ap-tiles { position: static; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
  .ap-tiles div { gap: 14px; }
  .ap-connect__stage { height: auto; }
  .ap-connect .ap-phone { position: relative; left: auto; transform: none; margin: 0 auto; }
  .ap-cta__acts { justify-content: flex-start; }
  .ap-cta__box { padding: 44px 28px; }
}
@media (max-width: 560px) {
  .ap-logo span { display: none; }
  .ap-bar .ap-btn { padding: 10px 14px; font-size: 13px; }
  .ap-float--space { left: 0; }
  .ap-float--file { right: 0; }
  .ap-phone { width: 270px; }
  .ap-tile { width: 72px; height: 72px; border-radius: 16px; }
  .ap-tile svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-root *, .ap-root *::before, .ap-root *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- App bar extras: language switch ---------- */
.ap-bar__end { display: flex; align-items: center; gap: 12px; }
.ap-lang {
  font: 600 13px/1 var(--ap-text); color: var(--ap-body); background: #fff; cursor: pointer;
  border: 1px solid var(--ap-line); border-radius: 999px; min-width: 40px; height: 36px; padding: 0 12px;
}
.ap-lang:hover { color: var(--ap-ink); background: var(--ap-wash); }
.ap-lang[hidden] { display: none; }

/* ---------- Legal pages (/<app>/privacy, /<app>/terms) ---------- */
.ap-nav--legal a { white-space: nowrap; }
.ap-doc-head { background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%); padding: 72px 0 40px; }
.ap-doc-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; max-width: 18ch; }
.ap-doc-head__lead { margin-top: 14px; font-size: 18px; color: var(--ap-body); max-width: 560px; }
.ap-doc-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 26px 0 0; font-size: 15.5px; }
.ap-doc-meta div { display: flex; gap: 8px; align-items: baseline; }
.ap-doc-meta dt { font-weight: 600; white-space: nowrap; }
.ap-doc-meta dd { margin: 0; color: var(--ap-body); }
.ap-doc { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 64px; padding: 48px 0 110px; }
.ap-toc { position: sticky; top: 100px; align-self: start; font-size: 14.5px; }
.ap-toc h2 { font: 600 14px/1.3 var(--ap-text); color: var(--ap-ink); margin-bottom: 12px; }
.ap-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border-left: 1px solid var(--ap-line); }
.ap-toc a { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--ap-muted); line-height: 1.4; }
.ap-toc a:hover { color: var(--ap-ink); border-left-color: var(--ap-accent); }
.ap-toc-mobile { display: none; }
.ap-prose { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: var(--ap-body); }
.ap-prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ap-ink); margin: 44px 0 12px; scroll-margin-top: 100px; }
.ap-prose h2:first-child { margin-top: 0; }
.ap-prose p { margin: 0 0 14px; }
.ap-prose ul { margin: 0 0 16px; padding-left: 22px; }
.ap-prose li { margin-bottom: 6px; }
.ap-prose li::marker { color: var(--ap-accent); }
.ap-prose a { color: var(--ap-accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.ap-doc-end { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ap-line); font-weight: 600; }
.ap-root .ap-doc-end a { color: var(--ap-ink); }
.ap-prose .ap-notice { margin: 8px 0 20px; padding: 14px 18px; border-radius: 12px; background: var(--ap-accent-soft); color: var(--ap-ink); font-size: 15.5px; line-height: 1.6; }
.ap-todo { background: #fde68a; color: var(--ap-ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }
@media (max-width: 960px) {
  .ap-doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .ap-toc { display: none; }
  .ap-toc-mobile { display: block; margin-top: 22px; }
  .ap-toc-mobile summary { cursor: pointer; font-weight: 600; }
  .ap-toc-mobile ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
  .ap-toc-mobile a { color: var(--ap-body); }
  .ap-nav--legal { display: flex; gap: 16px; font-size: 13.5px; }
  .ap-nav--legal a:first-child { display: none; }
}
@media (max-width: 560px) {
  .ap-nav--legal { gap: 12px; }
  .ap-doc-head { padding-top: 48px; }
}
