/* trystorewatch.com — shared styles. Apple-style type, soft glass over misty hills, teal accent from the app. */

:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --accent: #00857e;
  --accent-hover: #006f69;
  --accent-soft: rgba(0, 133, 126, 0.1);
  --on-accent: #fff;
  --card: #fff;
  --line: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-line: rgba(255, 255, 255, 0.75);
  --nav: rgba(251, 251, 253, 0.72);
  --shadow-shot: 0 40px 100px -30px rgba(12, 54, 48, 0.45), 0 12px 30px -12px rgba(12, 54, 48, 0.2);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  --todo: #fff3bf;

  /* Hero scenery */
  --sky-top: #dcefe9;
  --sky-mid: #eef7f3;
  --sun: rgba(255, 244, 214, 0.9);
  --hill: #2f8a74;

  --radius-xl: 32px;
  --radius-l: 24px;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-2: #0d1211;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --faint: #8e8e93;
    --accent: #3dccbd;
    --accent-hover: #63dacd;
    --accent-soft: rgba(61, 204, 189, 0.14);
    --on-accent: #032b27;
    --card: #141a19;
    --line: rgba(255, 255, 255, 0.1);
    --glass: rgba(40, 52, 50, 0.4);
    --glass-line: rgba(255, 255, 255, 0.14);
    --nav: rgba(0, 0, 0, 0.66);
    --shadow-shot: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 12px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --todo: #5c4a00;

    --sky-top: #06201d;
    --sky-mid: #0b1514;
    --sun: rgba(61, 204, 189, 0.16);
    --hill: #155c50;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; height: 52px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text); opacity: 0.8; font-size: 13px; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav .btn { margin-left: 4px; }
.nav .btn-glass { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 980px; border: 0; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  padding: 12px 22px; line-height: 1.2;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-glass {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.btn-glass:hover { background: color-mix(in srgb, var(--glass) 70%, var(--bg)); }
.btn-small { font-size: 13px; padding: 6px 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 0; text-align: center; isolation: isolate; }
.hero .sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 420px at 78% 8%, var(--sun), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--bg) 100%);
}
.hero .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; z-index: -1; color: var(--hill); }
.hero .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0;
}
.pill {
  padding: 6px 14px; border-radius: 980px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.hero h1 {
  font-size: clamp(44px, 8vw, 84px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700;
  margin: 22px auto 0;
}
.hero .lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.38; color: var(--muted); max-width: 34em; margin: 22px auto 0; letter-spacing: -0.016em; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; }
.meta span { white-space: nowrap; }
.shot.hero-shot { margin: clamp(48px, 7vw, 76px) auto clamp(56px, 8vw, 110px); max-width: 1180px; }

/* Glass frame around app screenshots */
.shot {
  margin: 0; padding: clamp(5px, 0.8vw, 9px);
  background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: clamp(14px, 1.9vw, 24px);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow-shot);
}
.shot img, .shot video { display: block; width: 100%; height: auto; border-radius: clamp(9px, 1.15vw, 15px); background: #eceef0; }

/* ---------- Works with ---------- */
.works { padding: 8px 0 clamp(64px, 9vw, 112px); text-align: center; }
.works p { font-size: 14px; color: var(--muted); }
.works ul { list-style: none; padding: 0; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.works li { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--faint); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2, .split h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.03em; font-weight: 700; margin-top: 0; }
.section-head p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin-top: 18px; line-height: 1.42; }
.tinted { background: var(--bg-2); }

/* Feature cards */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border-radius: var(--radius-l); padding: 30px 28px 32px;
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.022em; margin-top: 18px; font-weight: 600; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; line-height: 1.45; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* Spotlights */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 56px; align-items: start; margin-bottom: clamp(32px, 5vw, 52px); }
.split h2 { font-size: clamp(32px, 4.4vw, 50px); }
.split .copy { padding-top: 6px; }
.split .copy p { font-size: 19px; color: var(--muted); line-height: 1.45; }
.split .copy p + ul { margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 16px; color: var(--text); }
.checks li a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.checks li a:hover { text-decoration-color: currentColor; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2300857e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%233dccbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; align-items: start; } }

/* Nature panels behind screenshots */
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl);
  padding: clamp(18px, 5vw, 64px) clamp(14px, 5vw, 64px) 0;
  background: linear-gradient(180deg, var(--p-sky-1), var(--p-sky-2));
  color: var(--p-hill);
}
.panel .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; z-index: -1; }
.panel .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding-bottom: 0; box-shadow: 0 -10px 60px -20px rgba(0, 0, 0, 0.25); }
.panel .shot img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.meadow { --p-sky-1: #e2f2ec; --p-sky-2: #f5faf8; --p-hill: #3c9a80; }
.dawn   { --p-sky-1: #fbe7da; --p-sky-2: #fbf5ef; --p-hill: #c7866a; }
.lake   { --p-sky-1: #dfeaf6; --p-sky-2: #f3f7fb; --p-hill: #4c7fae; }
.sage   { --p-sky-1: #ebeedc; --p-sky-2: #f8f8f1; --p-hill: #7a9858; }
@media (prefers-color-scheme: dark) {
  .meadow { --p-sky-1: #0b2421; --p-sky-2: #0a1312; --p-hill: #1d6e5d; }
  .dawn   { --p-sky-1: #2a1a14; --p-sky-2: #120d0b; --p-hill: #7e4a35; }
  .lake   { --p-sky-1: #0f1d2c; --p-sky-2: #0a0f15; --p-hill: #2b4f74; }
  .sage   { --p-sky-1: #1b2113; --p-sky-2: #0e110b; --p-hill: #4b6235; }
}
/* AI prompts */
.prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.prompts li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 18px 18px 18px 6px;
  background: var(--card); box-shadow: var(--shadow-card);
  font-size: 15px; line-height: 1.3; text-align: left;
}
.prompts li svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.ai-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }

/* Privacy trio and "more" grid */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio .card h3 { margin-top: 16px; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.more div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.more h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.more p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { position: relative; overflow: hidden; isolation: isolate; }
.pricing .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; z-index: -1; color: var(--hill); opacity: 0.9; }
.pricing::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.pricing .sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--bg) 0%, var(--sky-mid) 40%, var(--sky-top) 100%); }
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  padding: 40px clamp(22px, 5vw, 44px) 36px; border-radius: 30px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  box-shadow: var(--shadow-shot);
}
.price-card .app-icon { width: 72px; height: 72px; margin: 0 auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18)); }
.price-card h2, .price-card h3 { font-size: 24px; letter-spacing: -0.022em; margin-top: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 980px; margin-top: 10px; }
.price { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 18px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; }
.price small { font-size: 24px; vertical-align: top; position: relative; top: 8px; margin-right: 2px; font-weight: 600; }
.price-sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.price-card .checks { text-align: left; margin: 26px auto 0; max-width: 360px; }
.price-card .btn { width: 100%; margin-top: 10px; }
.price-card .btns { margin-top: 26px; }
.fine { color: var(--muted); font-size: 12px; margin-top: 16px; line-height: 1.45; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 36px 24px 0; font-size: 17px; }

/* Final call to action */
.closing { text-align: center; position: relative; overflow: hidden; isolation: isolate; background: var(--bg); padding-bottom: clamp(120px, 16vw, 200px); }
.closing .sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--bg) 0%, var(--sky-mid) 55%, var(--sky-top) 100%); }
.closing .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; z-index: -1; color: var(--hill); opacity: 0.85; }
.closing img { width: 96px; height: 96px; margin: 0 auto 22px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18)); }
.closing h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.07; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); color: var(--muted); font-size: 12px; padding: 36px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer .brand { font-size: 15px; }
.footer .brand img { width: 22px; height: 22px; }
.footer-blurb { margin-top: 8px; max-width: 30em; font-size: 13px; }
.footer-links { display: flex; gap: 48px; }
.footer-links h4 { margin: 0 0 10px; color: var(--text); font-size: 12px; font-weight: 600; }
.footer-links a { display: block; color: var(--muted); font-size: 13px; margin: 6px 0; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-legal { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; line-height: 1.5; }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }
.legal .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.legal .summary { background: var(--bg-2); border-radius: 18px; padding: 20px 24px; margin-top: 32px; font-size: 17px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text); font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li { margin: 6px 0; }
.legal code { font: 14px ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.legal th { font-size: 13px; color: var(--muted); font-weight: 600; }
mark.todo { background: var(--todo); color: inherit; padding: 0 4px; border-radius: 4px; }

/* ---------- Reveal on scroll ---------- */
/* Only hidden once site.js has confirmed it can reveal them, so the page never stays blank. */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- Bento ("at a glance") ---------- */
.bento-section { background: #e9e9ed; }
.glance {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-areas:
    "ins  price ai     ai     lock  trial"
    "rev  hero  hero   hero   hero  rel"
    "rev  hero  hero   hero   hero  ach"
    "rank menu  chart  chart  pay   mcp"
    "health health prices prices summ summ";
}
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 24px; padding: 20px 18px;
  min-height: 176px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  background: linear-gradient(180deg, #f8f8fa 0%, #ececf0 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9), inset 0 -24px 48px -24px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; }
.tile .label { font-size: 17px; font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; color: #3a3a3c; text-wrap: balance; }
.tile .big { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; color: #2c2c2e; }
.tile svg { flex: none; }
.glow-green::before { opacity: 1; background: radial-gradient(120% 90% at 0% 0%, rgba(52, 199, 89, 0.28), transparent 60%); }
.glow-teal::before  { opacity: 1; background: radial-gradient(120% 90% at 100% 0%, rgba(0, 150, 140, 0.22), transparent 62%); }
.glow-ai::before    { opacity: 1; background: radial-gradient(70% 120% at 15% 100%, rgba(120, 140, 255, 0.35), transparent 70%), radial-gradient(70% 120% at 85% 0%, rgba(255, 120, 200, 0.32), transparent 70%), radial-gradient(60% 100% at 55% 50%, rgba(255, 190, 120, 0.25), transparent 70%); }
.glow-gold::before  { opacity: 1; background: radial-gradient(100% 80% at 50% 0%, rgba(255, 196, 70, 0.32), transparent 65%); }
.glow-violet::before { opacity: 1; background: radial-gradient(110% 100% at 100% 100%, rgba(175, 82, 222, 0.22), transparent 65%), radial-gradient(90% 80% at 0% 0%, rgba(90, 160, 255, 0.2), transparent 60%); }

.t-ins   { grid-area: ins; }
.t-price { grid-area: price; }
.t-ai    { grid-area: ai; }
.t-lock  { grid-area: lock; }
.t-trial { grid-area: trial; }
.t-rev   { grid-area: rev; justify-content: space-between; }
.t-hero  { grid-area: hero; padding: 26px; background: linear-gradient(180deg, #f2f2f5, #e3e4e8); }
.t-rel   { grid-area: rel; }
.t-ach   { grid-area: ach; }
.t-rank  { grid-area: rank; }
.t-menu  { grid-area: menu; }
.t-chart { grid-area: chart; }
.t-pay   { grid-area: pay; }
.t-mcp   { grid-area: mcp; }
.t-health { grid-area: health; }
.t-prices { grid-area: prices; }
.t-summ   { grid-area: summ; }

.t-hero img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.ring {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  border: 9px solid #34c759; box-shadow: 0 0 24px rgba(52, 199, 89, 0.45), inset 0 0 14px rgba(52, 199, 89, 0.35); color: #2fb350;
}
.ring svg { width: 38px; height: 38px; }
.t-price .big { font-size: 64px; }
.t-price .big sup { font-size: 26px; vertical-align: top; position: relative; top: 4px; letter-spacing: 0; }
.t-trial .big { font-size: 72px; }
.ai-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6 40%, #ec4899 70%, #f97316);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-ai .sub { font-size: 15px; color: #515154; }
.t-lock svg { width: 64px; height: 64px; color: #1d1d1f; }
.t-pay .big { font-size: 44px; }
.t-pay .when { font-size: 13px; font-weight: 700; color: #248a3d; background: rgba(52, 199, 89, 0.16); padding: 4px 10px; border-radius: 980px; }
.stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; }
.t-rev .big { font-size: 64px; }
.bubbles { display: flex; flex-direction: column; gap: 7px; width: 100%; margin: 14px 0; }
.bubble { align-self: flex-start; white-space: nowrap; background: #fff; color: #1d1d1f; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 16px 16px 16px 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 16px 16px 5px 16px; }
.steps-mini { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 150px; }
.steps-mini span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6e6e73; }
.steps-mini span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c7c7cc; flex: none; }
.steps-mini span.done { color: #1d1d1f; }
.steps-mini span.done::before { background: #34c759; }
.medal {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #e7b33c 60%, #c98f16);
  box-shadow: 0 8px 22px rgba(201, 143, 22, 0.45), inset 0 0 0 4px rgba(255, 255, 255, 0.45);
  color: #fff; font: 700 26px/1 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -0.03em;
}
.t-rank .big { font-size: 64px; }
.t-rank .move { color: #248a3d; font-weight: 700; font-size: 15px; }
.t-menu { padding-left: 10px; padding-right: 10px; }
.menubar {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; max-width: 100%;
  background: rgba(255, 255, 255, 0.85); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font: 600 13px/1 -apple-system, BlinkMacSystemFont, sans-serif; color: #1d1d1f; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menubar img { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.menubar .up { font-size: 10px; }
/* The tile is narrowest just above the phone layout and on small phones: shrink the pill to fit. */
.t-menu { container-type: inline-size; }
@container (max-width: 126px) {
  .menubar { font-size: 11.5px; gap: 4px; padding: 6px 7px; }
  .menubar img { width: 14px; height: 14px; }
  .menubar .up { font-size: 9px; }
}
.menubar .up { color: #248a3d; }
.t-chart { align-items: stretch; }
.t-chart svg { width: 100%; height: 86px; }
.seg { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.seg span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 980px; color: #515154; }
.seg span.on { background: #fff; color: #1d1d1f; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.t-mcp .big { font-size: 46px; letter-spacing: -0.03em; }
.glance-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }
.glow-red::before { opacity: 1; background: radial-gradient(110% 90% at 0% 0%, rgba(255, 69, 58, 0.2), transparent 62%); }
.health { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.health .metric { font-size: 14px; font-weight: 600; color: #6e6e73; }
.health .now { font: 700 52px/0.95 -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; letter-spacing: -0.045em; color: #2c2c2e; }
.health .worse { font-size: 13px; font-weight: 700; color: #c4302b; background: rgba(255, 69, 58, 0.14); padding: 4px 10px; border-radius: 980px; }
.price-move { display: flex; align-items: baseline; gap: 10px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; font-weight: 700; letter-spacing: -0.04em; }
.price-move .was { font-size: 26px; color: #8e8e93; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-move .arrow { font-size: 22px; color: var(--accent); }
.price-move .new { font-size: 44px; color: #2c2c2e; }
.t-prices .vs { font-size: 13px; font-weight: 700; color: #a15c00; background: rgba(255, 159, 10, 0.16); padding: 4px 10px; border-radius: 980px; }
.summary { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.4; color: #3a3a3c; text-align: left; background: rgba(255, 255, 255, 0.75); padding: 12px 14px; border-radius: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.summary .spark { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 4px; letter-spacing: 0; }

@media (prefers-color-scheme: dark) {
  .bento-section { background: #0b0d0d; }
  .tile { background: linear-gradient(180deg, #1c1f1f, #141616); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: #f5f5f7; }
  .t-hero { background: linear-gradient(180deg, #1a1d1d, #121414); }
  .tile .label { color: #d1d1d6; }
  .tile .big, .t-lock svg { color: #f5f5f7; }
  .t-pay .when { color: #4cd964; background: rgba(52, 199, 89, 0.18); }
  .t-ai .sub { color: #a1a1a6; }
  .bubble { background: #2c2c2e; color: #f5f5f7; }
  .steps-mini span.done { color: #f5f5f7; }
  .menubar { background: rgba(60, 60, 64, 0.9); color: #f5f5f7; }
  .seg span { color: #a1a1a6; }
  .seg span.on { background: #3a3a3c; color: #f5f5f7; }
  .health .metric { color: #a1a1a6; }
  .health .now, .price-move .new { color: #f5f5f7; }
  .health .worse { color: #ff6961; background: rgba(255, 69, 58, 0.18); }
  .t-prices .vs { color: #ffb340; background: rgba(255, 159, 10, 0.18); }
  .summary { background: rgba(44, 44, 46, 0.85); color: #d1d1d6; }
}

@media (max-width: 980px) {
  .glance {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "ins   price ai    ai"
      "hero  hero  hero  hero"
      "rev   rel   ach   lock"
      "rev   trial chart chart"
      "rank  menu  pay   mcp"
      "health health prices prices"
      "summ  summ  summ  summ";
  }
}
@media (max-width: 620px) {
  .glance {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    grid-template-areas:
      "ai    ai"
      "hero  hero"
      "ins   price"
      "rev   rel"
      "rev   ach"
      "chart chart"
      "lock  trial"
      "rank  menu"
      "pay   mcp"
      "health health"
      "prices prices"
      "summ  summ";
  }
  .tile { min-height: 150px; border-radius: 20px; padding: 16px 12px; }
  .tile .label { font-size: 15px; }
  .t-hero { padding: 12px; }
  .t-price .big, .t-rev .big, .t-rank .big { font-size: 52px; }
  .t-trial .big { font-size: 58px; }
  .menubar { font-size: 12px; gap: 6px; padding: 6px 9px; }
}

/* On phones a whole window is too small to read, so panels show its left part at a readable size. */
@media (max-width: 620px) {
  .panel .shot { overflow: hidden; }
  .panel .shot img { width: 185%; max-width: none; }
  .panel.show-right .shot img { margin-left: -85%; }  /* the AI panel's story is in the chat on the right */
}

/* ---------- Blog ---------- */
.blog-head { text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 48px); }
.blog-head h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.035em; line-height: 1.05; }
.blog-head p { color: var(--muted); font-size: clamp(18px, 2vw, 21px); margin-top: 16px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-bottom: 96px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-card); color: var(--text); transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card), 0 20px 40px -24px rgba(0, 0, 0, 0.25); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-card div { padding: 20px 22px 24px; }
.post-card h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.post-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.post-meta { color: var(--faint); font-size: 13px; margin-top: 14px; }

.post { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 40px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.post h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.08; margin-top: 14px; }
.post .dek { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); line-height: 1.45; margin-top: 16px; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.byline img { width: 32px; height: 32px; border-radius: 8px; }
.post .hero-img { margin: 32px 0 8px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); }
.post .hero-img img { width: 100%; height: auto; }
.prose { font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -0.025em; line-height: 1.2; margin-top: 2em; scroll-margin-top: 72px; }
.prose h3 { font-size: 21px; letter-spacing: -0.02em; margin-top: 1.6em; scroll-margin-top: 72px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose code { font: 0.86em ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose figure { margin: 2em 0; }
.prose figure img, .prose figure svg { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-card); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.toc { background: var(--bg-2); border-radius: 16px; padding: 18px 22px; font-size: 16px; margin: 28px 0 32px; }
.toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.callout { background: var(--accent-soft); border-radius: 16px; padding: 18px 22px; font-size: 17px; }
.callout strong:first-child { color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; color: var(--muted); font-weight: 600; }
.keywords { font: 15px/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-wrap: anywhere; }
.keywords .count { display: block; font: 600 12px -apple-system, sans-serif; color: var(--muted); margin-top: 6px; }
.keywords.bad { border-color: color-mix(in srgb, #d0453a 45%, var(--line)); }
.keywords.good { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.post-cta { margin: 56px 0 0; padding: 28px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-card); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.post-cta img { width: 64px; height: 64px; }
.post-cta div { flex: 1 1 260px; }
.post-cta h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.post-cta p { color: var(--muted); margin-top: 4px; font-size: 16px; }
.related { max-width: 720px; margin: 0 auto; padding: 24px 0 96px; }
.related h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { font-size: 17px; }
