/* SyncPocket App — syncpocket.app (site v2)
   Chassis: our Apple-style nav, fonts and single Action Blue for actions.
   Content grammar: pasteapp-style — white rounded section shells on a soft
   gray canvas, per-section accent eyebrows, big friendly headlines, colorful
   type-coded clipboard cards, bento grids, gentle motion. */

:root {
  --primary: #0066cc;
  --primary-focus: #0071e3;
  --primary-on-dark: #2997ff;
  --ink: #1d1d1f;
  --ink-muted-80: #333333;
  --ink-muted-60: #55555a;
  --ink-muted-48: #7a7a7e;
  --hairline: #e3e3e7;
  --canvas: #f4f4f6;          /* page background (pasteapp gray) */
  --shell: #ffffff;           /* section card */
  --shell-soft: #f5f5f7;      /* inner gray card on white shell */
  --parchment: #f5f5f7;
  --surface-black: #000000;

  /* type-coded card colors */
  --type-link: #0a84ff;
  --type-text: #ffb100;
  --type-image: #ff453a;
  --type-file: #8e8e93;
  --type-color: #7c5cfc;
  --type-pin: #ff3b30;
  --type-audio: #ff2d55;

  /* section accents (eyebrows) */
  --acc-remember: #ff453a;
  --acc-search: #d648d7;
  --acc-organize: #30d158;
  --acc-recall: #0a84ff;
  --acc-privacy: #30d158;
  --acc-sync: #0a84ff;
  --acc-ios: #ff9f0a;

  --r-shell: 40px;
  --r-card: 22px;
  --r-inner: 14px;
  --r-pill: 9999px;

  --shadow-card: 0 18px 40px rgba(29, 29, 31, 0.10);
  --shadow-card-sm: 0 8px 20px rgba(29, 29, 31, 0.08);
  --ease-pop: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-bottom-width: 2px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  white-space: nowrap;
  color: var(--ink);
}
code { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
p code, li code, td code { background: var(--shell-soft); border: 1px solid var(--hairline); border-radius: 5px; padding: 1.5px 5px; }
pre { background: var(--shell-soft); border: 1px solid var(--hairline); border-radius: var(--r-inner); padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; }

/* ================= Nav (unchanged chassis) ================= */

.global-nav { position: sticky; top: 0; z-index: 60; background: var(--surface-black); height: 48px; }
.global-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.brand:hover { text-decoration: none; }
.logo { display: inline-flex; width: 20px; height: 20px; vertical-align: -5px; color: currentColor; }
.brand .logo { width: 22px; height: 22px; flex: none; color: #fff; vertical-align: baseline; }
.logo svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.nav-item { font-size: 12px; color: rgba(255,255,255,0.82); letter-spacing: -0.01em; }
.nav-links a.nav-item:hover { color: #fff; text-decoration: none; }
.nav-links a.nav-item.active { color: #fff; }
.nav-lang { font-size: 12px; color: rgba(255,255,255,0.55); display: flex; gap: 4px; align-items: center; }
.nav-lang a { color: rgba(255,255,255,0.55); }
.nav-lang a.active { color: #fff; font-weight: 600; }
.nav-lang a:hover { color: #fff; text-decoration: none; }
.nav-cta { background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 16px; border-radius: var(--r-pill); }
.nav-cta:hover { background: var(--primary-focus); text-decoration: none; }
.mobile-nav-toggle { display: none; }
.mobile-nav-panel { display: none; }

.sub-nav { position: sticky; top: 48px; z-index: 50; background: color-mix(in srgb, #f4f4f6 82%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); height: 52px; }
.sub-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; }
.sub-nav-title { font-size: 21px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sub-nav-tabs { display: flex; gap: 4px; overflow-x: auto; flex: 1; justify-content: center; }
.sub-nav-tabs a { font-size: 14px; color: var(--ink-muted-48); padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.sub-nav-tabs a:hover { color: var(--ink); text-decoration: none; background: rgba(0,0,0,0.05); }
.sub-nav-tabs a.active { color: var(--ink); background: rgba(0,0,0,0.07); font-weight: 600; }

/* ================= Buttons ================= */

.btn { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; border-radius: var(--r-pill); padding: 12px 24px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 200ms var(--ease-pop), background 150ms, box-shadow 200ms; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(0,102,204,0.28); }
.btn-primary:hover { background: var(--primary-focus); }
.btn-secondary { background: #fff; color: var(--primary); border-color: rgba(0,102,204,0.35); }
.btn-secondary:hover { border-color: var(--primary); }
.btn-lg { font-size: 19px; padding: 16px 34px; }

/* "get the app" CTAs — disabled until there's a real download */
.btn-disabled { background: #e3e3e7; color: #9a9aa3; box-shadow: none; cursor: not-allowed; pointer-events: none; }
.btn-disabled:hover { background: #e3e3e7; transform: none; }
.btn-soon-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.btn-soon-note { font-size: 12.5px; color: var(--ink-muted-48); letter-spacing: 0.02em; }

/* responsive button labels (desktop vs phone) */
.lbl-mobile { display: none; }
@media (max-width: 720px) {
  .lbl-desktop { display: none; }
  .lbl-mobile { display: inline; }
}

/* ================= Typography ================= */

.t-hero { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif; font-size: clamp(36px, 6.4vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.t-h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, sans-serif; font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.t-h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
.t-lead { font-size: clamp(17px, 2vw, 20px); font-weight: 400; line-height: 1.5; color: var(--ink-muted-60); margin: 0; }
.t-body { font-size: 17px; line-height: 1.55; color: var(--ink-muted-60); margin: 0; }
.t-caption { font-size: 14px; line-height: 1.45; color: var(--ink-muted-48); margin: 0; }
.t-fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-muted-48); margin: 0; }

.eyebrow { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.eyebrow.remember { color: var(--acc-remember); }
.eyebrow.search { color: var(--acc-search); }
.eyebrow.organize { color: var(--acc-organize); }
.eyebrow.recall { color: var(--acc-recall); }
.eyebrow.privacy { color: var(--acc-privacy); }
.eyebrow.sync { color: var(--acc-sync); }
.eyebrow.ios { color: var(--acc-ios); }
.eyebrow.blue { color: var(--primary); }

.grad-text {
  background: linear-gradient(100deg, #ffb100 0%, #ff9500 55%, #ff6a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= Section shells ================= */

.shell {
  background: var(--shell);
  border-radius: var(--r-shell);
  max-width: 1200px;
  margin: 20px auto;
  padding: clamp(56px, 9vw, 104px) 24px;
  overflow: hidden;
}
.shell.flush-bottom { padding-bottom: 0; }
.shell-head { text-align: center; max-width: 720px; margin: 0 auto; }
.shell-head .t-lead { margin-top: 18px; }
.section-gap { height: 8px; }

/* First block of a page: content sits straight on the gray canvas. */
.shell.shell--bare, .hero-shell.shell--bare { background: transparent; }
.shell--bare .bento-card { background: #fff; }
.shell--bare .bento-card--blue { background: var(--type-link); }
.shell--bare .bento-card--dark { background: #3a3a3e; }
.shell--bare .post-card { background: #fff; }
.shell--bare .ficon { background: #fff; }
.shell--bare .bento-card--blue .ficon { background: rgba(255,255,255,0.18); }
.shell--bare .table-wrap { background: #fff; }

/* Grids that should not span the full shell width (max ~860px). */
.grid-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* transparent band (cards straight on gray canvas) */
.band { max-width: 1200px; margin: 20px auto; padding: 0; }

/* ================= Reveal animations ================= */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-pop), transform 700ms var(--ease-pop); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-bob, .marquee-track { animation: none !important; }
}

@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }
.float-bob { animation: bob 5.5s ease-in-out infinite; }

/* ================= Icons ================= */

/* Feature icon: line glyph in a soft circle, always ABOVE its text. */
.ficon { width: 64px; height: 64px; border-radius: 50%; background: #f0f0f3; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; flex: none; }
.ficon svg { width: 27px; height: 27px; color: var(--type-link); stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ficon-lg { width: 80px; height: 80px; }
.ficon-lg svg { width: 34px; height: 34px; }
.bento-card .ficon { background: #fff; }
.bento-card--blue .ficon { background: rgba(255,255,255,0.18); }
.bento-card--blue .ficon svg { color: #fff; }
.bento-card--dark .ficon { background: rgba(255,255,255,0.12); }
.bento-card--dark .ficon svg { color: #fff; }
.post-card .thumb .ficon { margin: 0; background: #fff; box-shadow: 0 8px 20px rgba(29,29,31,0.10); }

/* small inline glyph (search chips, tab labels) */
.gly { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 2px; }

/* ================= Memory cards (type-coded) ================= */

.mem-card { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--shadow-card-sm); text-align: left; overflow: visible; transition: transform 300ms var(--ease-pop), box-shadow 300ms var(--ease-pop); }
.mem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.mem-card__head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 9px 12px; border-radius: 16px 16px 0 0; color: #fff; min-height: 40px; }
.mem-card__head .type { font-size: 13px; font-weight: 700; line-height: 1.2; }
.mem-card__head .age { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.85; }
.mem-card__app { position: absolute; top: 7px; right: 9px; width: 30px; height: 30px; border-radius: 8px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.18); display: flex; align-items: center; justify-content: center; font-size: 16px; overflow: hidden; }
.mem-card__app svg { width: 100%; height: 100%; display: block; }
.mem-card__body { padding: 12px 14px 14px; border-radius: 0 0 16px 16px; background: #fff; }
.mem-card__body .title { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mem-card__body .sub { display: block; font-size: 12px; color: var(--ink-muted-48); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem-card__body .txt { display: block; font-size: 12.5px; color: var(--ink-muted-60); line-height: 1.5; }
.mem-card__body .chars { display: block; text-align: center; font-size: 10.5px; color: var(--ink-muted-48); margin-top: 8px; }
.mem-card__swatch { border-radius: 9px; height: 64px; }
.mem-card__media { height: 110px; background-size: cover; background-position: center; }
.mem-card__media--flush { margin: 0; border-radius: 0; }

.mem-card--link  .mem-card__head { background: var(--type-link); }
.mem-card--text  .mem-card__head { background: var(--type-text); }
.mem-card--image .mem-card__head { background: var(--type-image); }
.mem-card--file  .mem-card__head { background: var(--type-file); }
.mem-card--color .mem-card__head { background: var(--type-color); }
.mem-card--pin   .mem-card__head { background: var(--type-pin); }

/* card trio layout */
.card-trio { display: flex; gap: 22px; justify-content: center; align-items: flex-start; margin-top: 56px; }
.card-trio .mem-card { width: min(240px, 28vw); }
.card-trio .mem-card:nth-child(2) { margin-top: 18px; }

/* ================= Card wall / marquee ================= */

.card-wall { position: relative; margin-top: 56px; overflow: hidden; }
.card-wall::before, .card-wall::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.card-wall::before { left: 0; background: linear-gradient(90deg, var(--shell), transparent); }
.card-wall::after { right: 0; background: linear-gradient(-90deg, var(--shell), transparent); }
.marquee { overflow: hidden; padding: 6px 0 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 56s; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee .mem-card { width: 208px; flex: none; }
.marquee .mem-card:hover { transform: translateY(-4px); }

/* ================= Founder quote ================= */

.founder-quote { max-width: 760px; margin: 84px auto 0; padding: 0 24px; text-align: center; }
.founder-quote .qmark { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 84px; line-height: 0.6; color: #ff9500; margin-bottom: 18px; user-select: none; }
.founder-quote blockquote { margin: 0; font-size: clamp(19px, 2.5vw, 26px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.founder-quote figcaption { margin-top: 26px; }
.founder-quote .who { font-size: 15px; font-weight: 700; color: var(--ink); }
.founder-quote .role { display: block; font-size: 13.5px; color: var(--ink-muted-48); margin-top: 3px; }

/* ================= Sync / Privacy duo ================= */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { background: #fff; border-radius: var(--r-shell); padding: clamp(44px, 6vw, 72px) 32px; text-align: center; transition: transform 350ms var(--ease-pop), box-shadow 350ms var(--ease-pop); }
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.duo-card .duo-icon { width: 96px; height: 96px; margin: 0 auto 30px; }
.duo-card h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 12px; }
.duo-card p { font-size: 15.5px; color: var(--ink-muted-48); line-height: 1.5; margin: 0; }
.duo-card .t-fine { margin-top: 10px; }

/* ================= Bento ================= */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.bento-card { border-radius: var(--r-card); padding: 30px 28px; background: var(--shell-soft); position: relative; overflow: hidden; transition: transform 350ms var(--ease-pop), box-shadow 350ms var(--ease-pop); }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); text-decoration: none; }
.bento-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 8px; }
.bento-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-muted-60); margin: 0; }
.bento-card .bento-visual { margin-top: 22px; }
.bento-card--w4 { grid-column: span 4; }
.bento-card--w3 { grid-column: span 3; }
.bento-card--w2 { grid-column: span 2; }
.bento-card--w6 { grid-column: span 6; }
.bento-card--blue { background: var(--type-link); color: #fff; }
.bento-card--blue h3 { color: #fff; }
.bento-card--blue p { color: rgba(255,255,255,0.85); }
.bento-card--dark { background: #3a3a3e; color: #fff; }
.bento-card--dark h3 { color: #fff; }
.bento-card--dark p { color: rgba(255,255,255,0.75); }
.bento-card__arrow { display: block; margin-top: 30px; font-size: 20px; line-height: 1; color: var(--ink-muted-48); transition: transform 250ms var(--ease-pop), color 250ms; }
.bento-card:hover .bento-card__arrow { transform: translateX(5px); color: var(--type-link); }
.bento-card--blue .bento-card__arrow { color: rgba(255,255,255,0.7); }
.bento-card--dark .bento-card__arrow { color: rgba(255,255,255,0.6); }
.bento-card--blue:hover .bento-card__arrow, .bento-card--dark:hover .bento-card__arrow { color: #fff; }

/* app icon row inside bento (privacy card) */
.appicons { display: flex; gap: 14px; margin-bottom: 26px; }
.appicon { position: relative; width: 52px; height: 52px; border-radius: 13px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 6px 14px rgba(0,0,0,0.18); }
.appicon > svg { width: 100%; height: 100%; display: block; border-radius: inherit; }
.appicon .stat { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.appicon .stat.ok { background: #30d158; }
.appicon .stat.no { background: #ff3b30; }

/* Privacy page: three compact white cards above one full-width blue card. */
.privacy-wide-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  column-gap: 38px;
  align-items: center;
}
.privacy-wide-card .appicons {
  grid-row: 1 / span 2;
  justify-content: center;
  margin: 0;
}
.privacy-wide-card h3,
.privacy-wide-card p { grid-column: 2; }

/* stacked fanned cards visual */
.fan { position: relative; height: 210px; }
.fan .mem-card { position: absolute; width: 190px; }
.fan .mem-card:nth-child(1) { left: 4%; top: 22px; transform: rotate(-6deg); z-index: 1; }
.fan .mem-card:nth-child(2) { left: 30%; top: 4px; transform: rotate(2deg); z-index: 2; }
.fan .mem-card:nth-child(3) { left: 56%; top: 26px; transform: rotate(7deg); z-index: 3; }
.fan .mem-card:hover { transform: rotate(0deg) translateY(-8px); z-index: 5; }

/* ================= Search demo ================= */

.search-demo { max-width: 560px; margin: 52px auto 0; }
.search-pill { display: flex; align-items: center; gap: 10px; background: #fff; border: 3px solid var(--type-link); border-radius: var(--r-pill); padding: 14px 20px; box-shadow: var(--shadow-card-sm); }
.search-pill .glass { font-size: 18px; color: var(--ink-muted-48); }
.search-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--shell-soft); border-radius: var(--r-pill); padding: 5px 12px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.search-query { font-size: 17px; color: var(--ink); position: relative; }
.search-query::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--primary); margin-left: 2px; vertical-align: text-bottom; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
mark { background: #ffe867; border-radius: 3px; padding: 0 2px; }

/* ================= Quick panel demo (recall) ================= */

.panel-demo { max-width: 780px; margin: 52px auto 0; background: linear-gradient(135deg, #ffd166, #ff9500 55%, #ff6a00); border-radius: var(--r-card); padding: clamp(20px, 4vw, 40px); }
.panel-demo__window { background: rgba(245,245,247,0.94); backdrop-filter: blur(10px); border-radius: 16px; padding: 14px; box-shadow: 0 24px 50px rgba(0,0,0,0.28); }
.panel-demo__search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 9px 15px; font-size: 14px; color: var(--ink-muted-48); border: 1px solid var(--hairline); margin-bottom: 12px; }
.panel-demo__filters { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-demo__filters span { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hairline); color: var(--ink-muted-60); }
.panel-demo__filters span.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.panel-demo__row { display: flex; gap: 12px; overflow: hidden; }
.panel-demo__row .mem-card { width: 158px; flex: none; }

/* ================= Platform feature previews ================= */

.platform-previews { max-width: 920px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.platform-preview { background: #fff; border: 1px solid var(--hairline); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-card-sm); }
.platform-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.platform-preview__head h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.platform-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-pill); background: var(--shell-soft); color: var(--ink-muted-60); font-size: 12px; font-weight: 700; }
.platform-badge svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.memory-demo { position: relative; min-height: 330px; padding: 20px; border-radius: 22px; background: #f1f1f4; overflow: hidden; }
.memory-demo--mac { background: linear-gradient(145deg, #e5e7eb, #f7f7f9); }
.demo-windowbar { display: flex; gap: 6px; margin-bottom: 13px; }
.demo-windowbar i { display: block; width: 8px; height: 8px; border-radius: 50%; background: #b9b9bf; }
.demo-card { width: min(100%, 310px); margin: 0 auto; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(29,29,31,0.12); overflow: hidden; }
.demo-card__head { min-height: 42px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--type-link); color: #fff; }
.demo-card__type { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.demo-card__type svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.demo-card__time { font-size: 10.5px; opacity: 0.82; }
.demo-card__body { min-height: 82px; padding: 14px; background: #fff; }
.demo-card__body strong { display: block; font-size: 14.5px; line-height: 1.35; }
.demo-card__body span { display: block; margin-top: 5px; color: var(--ink-muted-48); font-size: 11.5px; }
.demo-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; border-top: 1px solid var(--hairline); background: #fff; }
.demo-action { min-width: 0; min-height: 42px; border: 0; border-radius: 11px; background: var(--shell-soft); color: var(--ink-muted-60); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: inherit; font-size: 9.5px; font-weight: 700; cursor: pointer; transition: transform 160ms var(--ease-pop), color 160ms, background 160ms; }
.demo-action:hover { transform: translateY(-1px); color: var(--primary); }
.demo-action:focus-visible { outline: 3px solid rgba(0,102,204,0.25); outline-offset: 2px; }
.demo-action svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.demo-action.is-active { color: #fff; background: var(--primary); }
.demo-action[data-demo-action="pin"].is-active { background: #ff9500; }
.demo-action[data-demo-action="love"].is-active { background: #ff375f; }
.demo-action[data-demo-action="save"].is-active { background: #3478f6; }
.demo-board-menu { display: none; width: min(100%, 310px); margin: 10px auto 0; padding: 8px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,0.96); box-shadow: var(--shadow-card-sm); }
.memory-demo.boards-open .demo-board-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.demo-board-option { min-height: 36px; border: 0; border-radius: 9px; background: var(--shell-soft); color: var(--ink); font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.demo-board-option.is-active { color: #fff; background: #7c5cfc; }
.demo-system-boards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 13px; }
.demo-system-board { min-width: 0; padding: 9px 8px; border-radius: 11px; background: #fff; border: 1px solid var(--hairline); box-shadow: 0 5px 12px rgba(29,29,31,0.06); }
.demo-system-board b { display: block; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-system-board span { display: block; margin-top: 2px; font-size: 9px; color: var(--ink-muted-48); }
.demo-system-board--pin { border-color: rgba(255,149,0,0.35); }
.demo-system-board--love { border-color: rgba(255,55,95,0.30); }
.demo-system-board--save { border-color: rgba(52,120,246,0.30); }
.demo-reminder { width: min(100%, 310px); margin: 12px auto 0; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card-sm); }
.demo-reminder__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 750; }
.demo-reminder__title svg { width: 17px; height: 17px; stroke: var(--type-link); fill: none; stroke-width: 2; }
.demo-reminder__when { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 12px 0; }
.demo-reminder__when span { padding: 9px 10px; border-radius: 10px; background: var(--shell-soft); font-size: 11.5px; color: var(--ink-muted-60); }
.demo-reminder__set { width: 100%; min-height: 38px; border: 0; border-radius: 11px; background: var(--primary); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.demo-reminder__set.is-active { background: #248a3d; }
.demo-notification { display: none; align-items: flex-start; gap: 10px; width: min(100%, 310px); margin: 10px auto 0; padding: 12px; border-radius: 15px; background: rgba(255,255,255,0.96); box-shadow: var(--shadow-card-sm); }
.memory-demo.reminder-set .demo-notification { display: flex; }
.demo-notification svg { flex: none; width: 18px; height: 18px; stroke: var(--type-link); fill: none; stroke-width: 2; }
.demo-notification strong { display: block; font-size: 11.5px; }
.demo-notification span { display: block; font-size: 10px; color: var(--ink-muted-48); margin-top: 2px; }

/* keyboard hint */
.key-combo { display: inline-flex; gap: 6px; align-items: center; }
.key-combo kbd { font-size: 15px; padding: 6px 12px; border-radius: 9px; box-shadow: 0 2px 0 rgba(0,0,0,0.08); }

/* ================= Persona sections ================= */

.persona-visual { margin: 56px auto 0; max-width: 860px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.persona-strip { background: linear-gradient(135deg, #ffb340, #ff7a59); padding: clamp(18px, 4vw, 36px) clamp(14px, 3vw, 28px) 0; }
.persona-strip--violet { background: linear-gradient(135deg, #ffd166, #ff9500); }
.persona-strip--teal { background: linear-gradient(135deg, #30c8d1, #2c8ef0); }
.persona-strip__bar { background: rgba(245,245,247,0.94); border-radius: 14px 14px 0 0; padding: 12px 14px 0; }
.persona-strip__tabs { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.persona-strip__tabs .tab { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--hairline); color: var(--ink-muted-60); }
.persona-strip__tabs .tab.active { background: #e8e8ec; color: var(--ink); font-weight: 600; }
.persona-strip__tabs .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.persona-strip__cards { display: flex; gap: 12px; padding-bottom: 0; overflow: hidden; align-items: flex-end; }
.persona-strip__cards .mem-card { width: 170px; flex: none; border-radius: 12px 12px 0 0; box-shadow: none; }
.persona-strip__cards .mem-card:hover { transform: translateY(-8px); }
.persona-strip__cards .mem-card__body { border-radius: 0; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; max-width: 860px; margin: 64px auto 0; }
.feature-grid .cell .icon { font-size: 26px; margin-bottom: 12px; display: block; }
.feature-grid .cell h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.feature-grid .cell p { font-size: 15.5px; line-height: 1.6; color: var(--ink-muted-60); margin: 0; }
.feature-grid a.cell:hover { text-decoration: none; }

/* ================= Hero mockup (devices) ================= */

.hero-shell { background: var(--shell); border-radius: var(--r-shell); max-width: 1250px; margin: 20px auto 20px; padding: clamp(56px, 8vw, 88px) 24px 0; overflow: visible; }
.hero-head { text-align: center; max-width: 780px; margin: 0 auto; }
.hero-head .t-lead { margin-top: 20px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: flex-start; margin-top: 30px; flex-wrap: wrap; }
.hero-fine { text-align: center; margin-top: 18px; }

.hero-scene { position: relative; max-width: 1176px; margin: 56px auto 0; }

.hero-devices-img { display: block; width: 100%; height: auto; }

.hero-caption { text-align: center; margin-top: 12px; font-family: 'Caveat', cursive; font-size: 44px; font-weight: 500; color: var(--ink-muted-60); }

@media (max-width: 640px) {
  .hero-caption { font-size: 32px; padding: 0 16px; }
}

/* Short, outcome-led statements that punctuate the product story. */
.product-truth { max-width: 1040px; margin: clamp(64px, 9vw, 112px) auto 0; padding: 0 24px; text-align: center; }
.product-truth p { margin: 0; color: var(--ink-muted-48); font-size: clamp(34px, 5.4vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -0.026em; text-wrap: balance; }
.product-truth span { color: var(--ink); }

.big-claim { max-width: 1200px; margin: 20px auto; padding: clamp(72px, 10vw, 128px) 24px; text-align: center; overflow: hidden; }
.big-claim p { margin: 0; color: var(--ink); font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 0.94; letter-spacing: -0.045em; text-wrap: balance; }
.big-claim span { color: #8e8e93; white-space: nowrap; }

.cta-punch { margin: 0 auto; color: var(--ink); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.022em; text-wrap: balance; }
.cta-punch span { color: var(--primary); }

@media (max-width: 640px) {
  .product-truth { margin-top: 64px; }
  .big-claim { padding: 72px 20px; }
  .big-claim p { font-size: clamp(44px, 14vw, 64px); line-height: 0.96; }
  .big-claim span { white-space: normal; }
  .cta-punch { margin-bottom: 0; }
}

.scene-badge { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 21px; background: linear-gradient(160deg, #ffffff, #eeeef2); box-shadow: 0 18px 40px rgba(0,0,0,0.22); display: flex; align-items: center; justify-content: center; font-size: 38px; z-index: 6; }

/* real iPhone screenshots */
.phoneshot { width: min(250px, 40vw); flex: none; }
.phoneshot img { width: 100%; height: auto; }

/* ================= Testimonials-like masonry (optional) ================= */

.quote-grid { columns: 3; column-gap: 18px; margin-top: 56px; }
.quote-card { break-inside: avoid; background: var(--shell-soft); border-radius: var(--r-card); padding: 24px; margin-bottom: 18px; }
.quote-card .who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.quote-card .ava { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; background: #fff; }
.quote-card .name { font-size: 15px; font-weight: 700; }
.quote-card .role { font-size: 12.5px; color: var(--ink-muted-48); }
.quote-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-muted-60); margin: 0; }

/* ================= Steps / timeline ================= */

.timeline { list-style: none; margin: 48px auto 0; padding: 0; max-width: 620px; text-align: left; }
.timeline li { position: relative; padding: 0 0 28px 36px; border-left: 2px solid var(--hairline); margin-left: 10px; }
.timeline li:last-child { padding-bottom: 4px; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--hairline); }
.timeline li.done::before { background: #30d158; }
.timeline h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.timeline p { margin: 0; color: var(--ink-muted-60); font-size: 15px; }

/* ================= Blog cards ================= */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.post-grid--2col { grid-template-columns: repeat(2, 1fr); }
.post-card { display: block; color: var(--ink); background: var(--shell-soft); border-radius: var(--r-card); overflow: hidden; transition: transform 300ms var(--ease-pop), box-shadow 300ms var(--ease-pop); }
.post-card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-card); }
.post-card .thumb { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 44px; background: linear-gradient(135deg, #eceff4, #e2e6ee); }
.post-card .meta { padding: 18px 20px 22px; }
.post-card .date { font-size: 12.5px; color: var(--ink-muted-48); margin-bottom: 6px; }
.post-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--ink-muted-60); font-size: 14px; line-height: 1.5; }

/* article prose */
.prose { max-width: 680px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--ink-muted-80); margin: 0 0 20px; }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 20px; }
.prose li { font-size: 17px; line-height: 1.65; color: var(--ink-muted-80); margin: 8px 0; }
.post-meta { display: flex; gap: 10px; align-items: center; color: var(--ink-muted-48); font-size: 14px; margin-bottom: 8px; justify-content: center; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 680px; margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 15px; }

/* ================= Download / CTA card ================= */

.cta-card { text-align: center; }
.cta-card pre { max-width: 560px; margin: 30px auto 0; text-align: left; }
.cta-actions { display: flex; gap: 14px; justify-content: center; align-items: flex-start; margin-top: 28px; flex-wrap: wrap; }

/* ================= Pricing ================= */

.pricing-hero { padding-bottom: 46px; }
.pricing-hero .shell-head { max-width: 820px; }
.pricing-launch-note {
  width: fit-content;
  margin: 24px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: var(--r-pill);
  background: rgba(10, 132, 255, 0.08);
  color: var(--ink-muted-60);
  font-size: 13.5px;
}
.pricing-shell { padding-top: clamp(28px, 5vw, 56px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--shell-soft);
}
.pricing-card--lifetime { background: #1d1d1f; border-color: #1d1d1f; color: #fff; box-shadow: var(--shadow-card); }
.pricing-card--regular { background: #f5f8ff; border-color: rgba(47,126,247,.28); }
.pricing-card__head { min-height: 150px; }
.pricing-plan { margin: 0 0 20px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.pricing-price { display: flex; align-items: flex-start; margin: 0; font-size: clamp(56px, 8vw, 78px); font-weight: 750; line-height: .86; letter-spacing: -0.055em; }
.pricing-currency { margin: 7px 4px 0 0; font-size: .38em; letter-spacing: 0; }
.pricing-decimals { margin: 3px 0 0 3px; font-size: .43em; letter-spacing: -0.025em; }
.pricing-term { margin: 13px 0 0; color: var(--ink-muted-48); font-size: 14px; }
.pricing-card--lifetime .pricing-term { color: rgba(255,255,255,.55); }
.pricing-summary { min-height: 52px; margin: 10px 0 24px; color: var(--ink-muted-60); font-size: 17px; line-height: 1.5; }
.pricing-card--lifetime .pricing-summary { color: rgba(255,255,255,.7); }
.pricing-limit { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; }
.pricing-limit strong { min-width: 62px; font-size: 32px; line-height: 1; letter-spacing: -0.03em; }
.pricing-limit span { color: var(--ink-muted-60); font-size: 14px; }
.pricing-card--lifetime .pricing-limit { background: rgba(255,255,255,.1); }
.pricing-card--lifetime .pricing-limit span { color: rgba(255,255,255,.68); }
.pricing-list { display: grid; gap: 13px; margin: 28px 0 30px; padding: 0; list-style: none; }
.pricing-list li { position: relative; padding-left: 27px; font-size: 15.5px; line-height: 1.4; }
.pricing-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }
.pricing-card--lifetime .pricing-list li::before { color: #30d158; }
.pricing-price-promise { margin: 2px 0 22px; padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.55; }
.pricing-price-promise strong { color: #fff; }
.pricing-equivalence { margin: 28px 0 24px; padding: 24px; border: 1px solid rgba(47,126,247,.18); border-radius: 20px; background: #fff; }
.pricing-equivalence strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.pricing-equivalence p { margin: 10px 0 0; color: var(--ink-muted-60); font-size: 14px; line-height: 1.55; }
.pricing-button { width: 100%; margin-top: auto; text-align: center; }
.pricing-card--lifetime .pricing-button.btn-disabled { opacity: .78; color: #fff; }
.pricing-store-note { max-width: 760px; margin: 24px auto 0; text-align: center; color: var(--ink-muted-48); font-size: 12.5px; }
.pricing-details .shell-head { margin-bottom: 48px; }
.pricing-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; max-width: 900px; margin: 0 auto; }
.pricing-facts > div { padding: 26px 0; border-top: 1px solid var(--hairline); }
.pricing-facts dt { margin-bottom: 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pricing-facts dd { margin: 0; color: var(--ink-muted-60); font-size: 15.5px; line-height: 1.6; }

.pricing-preview { text-align: center; }
.pricing-preview__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 42px auto 0; text-align: left; }
.pricing-preview__plan { padding: 26px 28px; border-radius: var(--r-card); background: var(--shell-soft); }
.pricing-preview__plan--dark { background: #1d1d1f; color: #fff; }
.pricing-preview__plan h3 { margin: 0; font-size: 19px; }
.pricing-preview__price { margin: 8px 0 4px; font-size: 34px; font-weight: 750; letter-spacing: -0.035em; }
.pricing-preview__detail { margin: 0; color: var(--ink-muted-48); font-size: 14px; }
.pricing-preview__plan--dark .pricing-preview__detail { color: rgba(255,255,255,.72); }
.pricing-preview__later { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.58); font-size: 12.5px; line-height: 1.5; }
.pricing-preview .hero-actions { justify-content: center; margin-top: 28px; }

/* ================= Tables ================= */

.table-wrap { overflow-x: auto; max-width: 640px; margin: 48px auto 0; background: var(--shell-soft); border-radius: var(--r-card); padding: 10px 22px; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted-48); }
tr:last-child td { border-bottom: none; }

/* ================= Badges ================= */

.badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 11px; border-radius: var(--r-pill); vertical-align: middle; }
.badge.available { background: rgba(48, 209, 88, 0.16); color: #248a3d; }
.badge.beta { background: rgba(255, 159, 10, 0.16); color: #c77c0a; }
.badge.planned { background: rgba(124, 92, 252, 0.14); color: #7c5cfc; }
.badge.draft { background: rgba(10, 132, 255, 0.12); color: var(--type-link); }

/* ================= Footer (chassis) ================= */

.site-footer { background: transparent; color: var(--ink-muted-80); padding: 40px 0 44px; max-width: 1200px; margin: 0 auto; }
.site-footer .container { max-width: 1200px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted-48); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--ink-muted-80); font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-brand { font-weight: 600; margin-bottom: 8px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: 20px; font-size: 12px; color: var(--ink-muted-48); }
.footer-legal nav { display: flex; gap: 16px; }
.footer-legal a { color: var(--ink-muted-48); }
.footer-legal a:hover { color: var(--ink); }

/* ================= Docs (kept from v1, gray-canvas aware) ================= */

.docs-wrap { background: #fff; border-radius: var(--r-shell); max-width: 1200px; margin: 20px auto; }
.docs-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding: 44px 32px 88px; }
.docs-sidebar { position: sticky; top: 116px; align-self: start; font-size: 14.5px; }
.docs-sidebar .group { text-transform: uppercase; letter-spacing: 0.07em; font-size: 11.5px; font-weight: 700; color: var(--ink-muted-48); margin: 22px 0 8px; }
.docs-sidebar .group:first-child { margin-top: 0; }
.docs-sidebar a { display: block; color: var(--ink-muted-48); padding: 6px 10px; border-radius: 8px; }
.docs-sidebar a:hover { color: var(--ink); text-decoration: none; background: var(--shell-soft); }
.docs-sidebar a.active { color: var(--primary); font-weight: 600; background: rgba(0,102,204,0.08); }
.docs-content { min-width: 0; }
.docs-content h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 700; }
.docs-content p.docs-lead { color: var(--ink-muted-48); font-size: 17.5px; line-height: 1.6; margin: 0 0 32px; }
.docs-content h2 { font-size: 23px; margin: 48px 0 16px; padding-top: 22px; border-top: 1px solid var(--hairline); letter-spacing: -0.01em; font-weight: 700; }
.docs-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.docs-content h3 { font-size: 17.5px; margin: 32px 0 12px; font-weight: 600; }
.docs-content p { font-size: 16.5px; line-height: 1.65; color: var(--ink-muted-80); margin: 0 0 20px; }
.docs-content ul, .docs-content ol { padding-left: 24px; margin: 0 0 20px; }
.docs-content li { font-size: 16.5px; line-height: 1.65; margin: 10px 0; }
.docs-content li > ul, .docs-content li > ol { margin-top: 10px; margin-bottom: 0; }
.docs-content .table-wrap { margin: 0 0 20px; max-width: none; background: none; padding: 0; }
.docs-footer-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 15px; }
.file-tree { line-height: 1.9; }
.callout { border: 1px solid var(--hairline); border-left: 4px solid var(--primary); background: var(--shell-soft); border-radius: 10px; padding: 14px 18px; margin: 20px 0; font-size: 15px; }
.callout p { margin: 6px 0; }
.docs-content table { font-size: 15px; }
.docs-content .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.docs-content .card { border: 1px solid var(--hairline); border-radius: 14px; padding: 20px; }
.docs-content .card .icon { font-size: 24px; margin-bottom: 8px; }
.docs-content .card h3 { margin: 0 0 6px; font-size: 16.5px; }
.docs-content .card p { font-size: 14.5px; color: var(--ink-muted-60); margin: 0; }

/* ================= Responsive ================= */

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--w6, .bento-card--w4, .bento-card--w3, .bento-card--w2 { grid-column: span 2; }
  .bento-card--w2 { grid-column: span 1; }
  .quote-grid { columns: 2; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { display: flex; align-items: stretch; }
  .post-card .thumb { aspect-ratio: auto; width: 25%; flex: none; padding: 10px; }
  .post-card .thumb .ficon-lg { width: 56px; height: 56px; }
  .post-card .thumb .ficon-lg svg { width: 24px; height: 24px; }
  .post-card .meta { flex: 1; min-width: 0; padding: 14px 18px; }
  .docs-shell { grid-template-columns: 1fr; gap: 24px; }
  .docs-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 4px 6px; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px; }
  .docs-sidebar .group { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .platform-previews { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 720px) {
  .shell, .hero-shell, .docs-wrap { border-radius: 26px; margin: 12px 10px; }
  .band { margin: 12px 10px; }
  .duo { grid-template-columns: 1fr; }
  .card-trio { flex-wrap: wrap; }
  .card-trio .mem-card { width: min(240px, 70vw); }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-grid { columns: 1; }
  .post-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-facts, .pricing-preview__plans { grid-template-columns: 1fr; }
  .pricing-card { min-height: auto; }
  .pricing-card__head, .pricing-summary { min-height: 0; }
  .pricing-button { margin-top: 8px; }
  .pricing-launch-note { border-radius: 18px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--w6, .bento-card--w4, .bento-card--w3, .bento-card--w2 { grid-column: span 1; }
  .privacy-wide-card { display: block; }
  .privacy-wide-card .appicons { justify-content: flex-start; margin-bottom: 26px; }
  .hero-head h1 br, .shell-head h2 br, .shell-head h1 br { display: none; }
  .nav-links .hide-mobile { display: none; }
  .nav-links { gap: 10px; }
  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
  }
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible { background: rgba(255,255,255,0.12); }
  .mobile-nav-toggle__icon { font-size: 21px; line-height: 1; }
  .mobile-nav-panel {
    position: fixed;
    inset: 48px 0 auto;
    z-index: 59;
    padding: 10px max(18px, calc((100vw - 1200px) / 2));
    background: rgba(20,20,22,0.98);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 14px 28px rgba(0,0,0,0.28);
  }
  .mobile-nav-panel.is-open { display: grid; }
  .mobile-nav-panel > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 9px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
  }
  .mobile-nav-panel > a:hover,
  .mobile-nav-panel > a:focus-visible,
  .mobile-nav-panel > a.active { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
  .mobile-nav-panel .nav-lang {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .fan { height: 240px; }
  .fan .mem-card { width: 150px; }
}
