/* guide.css: the template for Simple's guides, comparisons and blog posts.
   Same language as the home page and the App Store pages: SF Pro Rounded headings (a navy line
   and a heavy gradient line), the system face for reading, pastel corner fields, framed 2.4
   screens with real pop-outs (phones.css). Patterns: problem, feature, benefit rows; one inline
   CTA card; a slim sticky bar; FAQ, sources, author box. Rendered by build-blog.js. */

@font-face { font-display: swap; }
:root {
  /* Motion (Emil Kowalski's rules, as on the home page): ease-out for arriving, ease-in-out for
     moving, the drawer curve for the sticky bar; interface motion under 300ms. */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ink: #191B36;
  --ink-2: #4A4F78;
  --ink-3: rgba(74, 79, 120, .72);
  --line: rgba(42, 47, 107, .10);
  --line-2: rgba(42, 47, 107, .05);
  --bg: #FCFCFF;
  --paper: #FFFFFF;
  --blue: #5560F2;
  --blue-deep: #4C55E0;
  --blue-ink: #3E46C8;
  --grad: linear-gradient(90deg, #5560F2 0%, #B26BE0 55%, #E8689F 100%);
  --t-blue: #ECEEFF;
  --t-peach: #FEF3E8;
  --t-pink: #FDEEF5;
  --t-mint: #E9F8F1;
  --t-lilac: #F1EEFF;
  --t-sun: #FFF6DF;
  --rounded: ui-rounded, 'SF Pro Rounded', 'Nunito', system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --serif: var(--rounded);
  --mono: var(--rounded);
  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 16px;
  --shadow-1: 0 1px 2px rgba(42, 47, 107, .04), 0 8px 24px rgba(42, 47, 107, .06);
  --shadow-2: 0 2px 6px rgba(42, 47, 107, .05), 0 24px 60px rgba(42, 47, 107, .14);
  --prose: 680px;
  --wide: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid rgba(82, 117, 255, .45); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.col { width: min(var(--prose), 100% - 2 * var(--gutter)); margin-inline: auto; }
h1, h2, h3, .g-h1 { font-family: var(--rounded); color: var(--ink); }

/* ── nav ── */
.g-nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 251, 252, .82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line-2); }
.g-nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.g-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 18px/1 var(--rounded); }
.g-brand img { width: 30px; height: 30px; border-radius: 8px; }
.g-nav__links { display: flex; gap: 22px; margin-left: auto; }
.g-nav__links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.g-nav__links a:hover, .g-nav__links a[aria-current] { color: var(--ink); }
.g-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, #5560F2, #7B5CE8); color: #fff !important; text-decoration: none; font: 700 15px/1 var(--rounded); box-shadow: 0 6px 18px rgba(85, 96, 242, .32); transition: transform 160ms var(--ease-out), box-shadow 200ms ease; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .g-btn:hover { box-shadow: 0 10px 26px rgba(85, 96, 242, .4); } }
.g-btn:active { transform: scale(.97); }
@media (max-width: 760px) { .g-nav__links { display: none; } .g-nav__in { justify-content: space-between; } }

/* App Store badge */
/* Apple's badge, unchanged: no hover or press motion (the guidelines forbid animating it). */
.g-store { display: inline-block; line-height: 0; border-radius: 9px; }
.g-store img { display: block; height: 50px; width: auto; }
.g-store:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.g-store-note { font-size: 14px; color: var(--ink-3); margin: 10px 0 0; }

/* ── fields: the App Store pages' pastel corners, scoped to a panel ── */
.g-wash { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #F5F6FF; }
.g-wash::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 0% 0%, #CED2FF, rgba(206, 210, 255, 0) 72%), radial-gradient(70% 60% at 100% 100%, #FBDFEB, rgba(251, 223, 235, 0) 72%); }
.g-wash--blue { background: #F3F4FF; } .g-wash--blue::before { background: radial-gradient(70% 60% at 0% 0%, #CED2FF, rgba(206, 210, 255, 0) 72%), radial-gradient(70% 60% at 100% 100%, #E5E7FF, rgba(229, 231, 255, 0) 72%); }
.g-wash--peach { background: #FEF9F3; } .g-wash--peach::before { background: radial-gradient(70% 60% at 0% 0%, #FCEBD9, rgba(252, 235, 217, 0) 72%), radial-gradient(70% 60% at 100% 100%, #FBDFEB, rgba(251, 223, 235, 0) 72%); }
.g-wash--pink { background: #FEF5F9; } .g-wash--pink::before { background: radial-gradient(70% 60% at 0% 0%, #FBDFEB, rgba(251, 223, 235, 0) 72%), radial-gradient(70% 60% at 100% 100%, #FCEBD9, rgba(252, 235, 217, 0) 72%); }
.g-wash--mint { background: #F3FBF8; } .g-wash--mint::before { background: radial-gradient(70% 60% at 0% 0%, #D7F2E7, rgba(215, 242, 231, 0) 72%), radial-gradient(70% 60% at 100% 100%, #CED2FF, rgba(206, 210, 255, 0) 72%); }
.g-wash--lilac { background: #F4F3FF; } .g-wash--lilac::before { background: radial-gradient(70% 60% at 0% 0%, #E5E7FF, rgba(229, 231, 255, 0) 72%), radial-gradient(70% 60% at 100% 100%, #FBDFEB, rgba(251, 223, 235, 0) 72%); }

/* art panel: a framed phone standing in the field and running off its bottom edge, with the real
   piece of its screen lifted out (phones.css). The pop-out may reach past the phone, so the panel
   is padded wide enough to hold it. */
.g-art { min-height: 460px; display: grid; place-items: start center; padding: 40px 28px 0; }
.g-art .g-phone { width: min(300px, 64%); margin-bottom: -18%; }
.g-art--fan { place-items: center; padding: 36px 16px 30px; }
.g-art--note { grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 32px 24px; min-height: 0; }
.g-art--note .g-note { border-radius: 14px; box-shadow: var(--shadow-2); transform: rotate(-3deg); width: 100%; max-width: 240px; justify-self: end; }
.g-art--note .g-phone { width: 100%; max-width: 210px; margin: 0; justify-self: start; }
.g-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-1); display: grid; place-items: center; color: var(--blue); font-size: 22px; font-weight: 600; }
@media (max-width: 560px) { .g-art { min-height: 0; padding-top: 30px; } .g-art .g-phone { width: 70%; } .g-art--note { gap: 8px; padding: 26px 14px; } .g-art--note .g-phone { width: 100%; } .g-arrow { width: 32px; height: 32px; font-size: 17px; } }

/* three phones: tasks, Break it down with its pop-out, the timeline */
.g-fan { display: flex; justify-content: center; align-items: flex-start; width: 100%; }
.g-fan .phone { flex: none; }
.g-fan__c { width: min(230px, 40%); z-index: 2; }
.g-fan__l, .g-fan__r { width: min(180px, 31%); margin-top: 8%; z-index: 1; }
.g-fan__l { transform: rotate(-6deg); margin-right: -6%; }
.g-fan__r { transform: rotate(6deg); margin-left: -6%; }

/* ── hero ── */
.g-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 48px); }
.g-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .g-hero__grid { grid-template-columns: 1fr; } }
.g-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.g-crumbs li { font: 700 14px/1.2 var(--rounded); color: var(--ink-3); }
.g-crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.g-crumbs a { color: inherit; text-decoration: none; }
.g-crumbs a:hover { color: var(--ink); }
.g-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 700 14px/1.2 var(--rounded); color: var(--blue-deep); margin-bottom: 18px; box-shadow: var(--shadow-1); }
.g-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.g-h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.028em; font-weight: 700; margin: 0 0 22px; text-wrap: balance; }
/* The second line of a heading: heavy, with the brand gradient, as on the App Store pages. */
.g-h1 em, .g-h2 em, .g-final h2 em, .g-cta__text h3 em { font-family: var(--rounded); font-style: normal; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em; }
.g-hero__art { display: grid; gap: 16px; }
/* A framed phone has no intrinsic width (it is a size container), so every panel that holds one is given the full column. */
.g-hero__art > .g-art, .g-feature__art > .g-art, .g-figure > .g-art { width: 100%; }
.g-hero__toggle { display: flex; justify-content: center; }
.g-answer { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.62; color: var(--ink-2); margin: 0 0 26px; max-width: 34em; }
.g-byline { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; font-size: 14.5px; color: var(--ink-3); }
.g-byline img { width: 36px; height: 36px; border-radius: 50%; }
.g-byline b { color: var(--ink); font-weight: 600; }
.g-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ── short version + contents ── */
/* The short version, as the app's Simple AI card: a plain card with the brand glow turning slowly
   behind its edge (the app's AIGlowModifier: indigo, pink, peach, mint; blur 7, half opacity). */
.g-ai { position: relative; isolation: isolate; border-radius: 20px; padding: 22px 24px 20px; margin: 14px 0 30px; }
/* The card itself sits above the glow (both behind the text), so only the rim of glow shows. */
.g-ai::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--paper); }
.g-ai__glow { position: absolute; inset: -6px -7px; z-index: -2; border-radius: 26px; overflow: hidden; filter: blur(8px); opacity: .55; pointer-events: none; }
.g-ai__glow i { position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(#6F7BFF, #F49AC2, #F5C088, #88D8B8, #6F7BFF); }
@media (prefers-reduced-motion: no-preference) {
  .g-ai__glow i { animation: g-ai-turn 8s linear infinite; }
  .g-ai.is-away .g-ai__glow i { animation-play-state: paused; }
}
@keyframes g-ai-turn { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(1turn); } }
.g-ai h2 { margin: 0 0 12px; font: 700 17px/1.25 var(--rounded); letter-spacing: -.01em; display: flex; align-items: center; gap: 7px; color: var(--ink); }
.g-ai__sparkles { width: 19px; height: 19px; flex: none; }
.g-ai ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g-ai li { position: relative; padding-left: 17px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.g-ai li::before { content: ''; position: absolute; left: 3px; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.g-ai__last { display: flex; gap: 7px; margin: 12px 0 0; font-size: 16px; line-height: 1.55; font-weight: 500; color: #5560F2; }
.g-ai__last a { color: inherit; }
.g-ai__try { width: 15px; height: 15px; flex: none; margin-top: .3em; }
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.g-toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font: 600 14px/1.2 var(--rounded); }
.g-toc a:hover { border-color: rgba(85, 96, 242, .4); color: var(--blue-deep); }

/* ── prose ── */
.g-body { padding: 8px 0 24px; }
.g-prose > * { width: min(var(--prose), 100% - 2 * var(--gutter)); margin-inline: auto; }
.g-prose > p:first-child { margin-top: 40px; } /* a body that opens with a paragraph, not a heading, still clears the contents chips */
.g-prose h2 { font-size: clamp(27px, 3.1vw, 36px); line-height: 1.12; letter-spacing: -.022em; font-weight: 800; margin-top: 64px; margin-bottom: 16px; text-wrap: balance; scroll-margin-top: 84px; }
.g-prose h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.012em; font-weight: 800; margin-top: 34px; margin-bottom: 8px; scroll-margin-top: 84px; }
.g-prose p, .g-prose li { color: var(--ink-2); }
.g-prose p { margin-top: 0; margin-bottom: 20px; }
.g-prose strong { color: var(--ink); font-weight: 650; }
.g-prose ul, .g-prose ol { padding-left: 1.3em; margin-top: 0; margin-bottom: 22px; }
.g-prose li { margin: 6px 0; }
.g-prose li::marker { color: var(--blue); }
.g-prose blockquote { margin-top: 36px; margin-bottom: 36px; padding: 6px 0 6px 26px; border-left: 3px solid; border-image: linear-gradient(var(--blue), #F6A6C9) 1; font-family: var(--rounded); font-weight: 700; font-size: 24px; line-height: 1.4; color: var(--ink); }
.g-prose blockquote p { color: inherit; margin: 0; }
.g-prose hr { border: 0; height: 24px; margin-top: 40px; margin-bottom: 40px; background: radial-gradient(circle, var(--ink-3) 2px, transparent 2.5px) center / 22px 24px repeat-x; width: 66px; opacity: .55; }
.g-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: var(--t-blue); padding: 2px 6px; border-radius: 6px; }

/* callouts: > [!tip] etc. */
.g-prose .callout { border-radius: var(--r-md); padding: 18px 22px; margin-top: 28px; margin-bottom: 28px; background: var(--t-blue); }
.g-prose .callout-tip { background: var(--t-mint); }
.g-prose .callout-warning { background: var(--t-sun); }
.g-prose .callout-note { background: #F1F3F7; }
.callout-label { font: 800 14px/1.2 var(--rounded); color: var(--ink); margin-bottom: 6px; }
.callout-body p:last-child { margin-bottom: 0; }

/* ── problem → feature → benefit rows ── */
.g-prose > .g-feature { width: min(var(--wide), 100% - 2 * var(--gutter)); margin: 56px auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.g-feature--flip .g-feature__art { order: -1; }
@media (max-width: 860px) { .g-prose > .g-feature { grid-template-columns: 1fr; } .g-feature--flip .g-feature__art { order: 0; } }
.g-feature__text h2 { margin-top: 0 !important; }
.g-label { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1.2 var(--rounded); margin: 6px 0 8px; }
.g-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.g-label--problem { color: #B4552E; } .g-label--problem::before { background: #F08A5D; }
.g-label--helps { color: var(--blue-deep); } .g-label--helps::before { background: var(--blue); }
.g-feature__text p { margin-bottom: 14px; }
.g-benefits { list-style: none; padding: 0 !important; margin: 18px 0 0 !important; display: grid; gap: 10px; }
.g-benefits li { position: relative; padding-left: 32px; margin: 0; color: var(--ink); font-weight: 500; font-size: 16.5px; line-height: 1.5; }
.g-benefits li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--t-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.g-feature__art .g-art { min-height: 500px; }

/* figure */
.g-prose > figure.g-figure { width: min(860px, 100% - 2 * var(--gutter)); margin: 44px auto; }
.g-figure figcaption { font-size: 14.5px; color: var(--ink-3); text-align: center; margin-top: 12px; }

/* steps */
.g-prose ol.g-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.g-steps li { counter-increment: s; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px 18px 66px; margin: 0; box-shadow: var(--shadow-1); }
.g-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--t-blue); color: var(--blue-deep); font-weight: 700; font-size: 15px; }
.g-steps li strong { display: block; margin-bottom: 2px; }

/* comparison tables */
.g-prose > .g-table { width: min(860px, 100% - 2 * var(--gutter)); margin: 32px auto 36px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.g-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; min-width: 560px; }
.g-table caption { text-align: left; padding: 16px 20px 4px; font: 700 14px/1.3 var(--rounded); color: var(--ink-3); }
.g-table th, .g-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.g-table thead th { border-top: 0; color: var(--ink); font: 800 15px/1.3 var(--rounded); background: #F6F7FD; }
.g-table tbody th { color: var(--ink); font-weight: 600; }
.g-table .is-us { background: rgba(85, 96, 242, .06); color: var(--ink); }
.g-table thead .is-us { background: rgba(85, 96, 242, .12); color: var(--blue-ink); }
/* phones: fit every column on screen so the competitor column is never hidden off to the right */
@media (max-width: 560px) {
  .g-table table { min-width: 0; font-size: 14px; line-height: 1.45; -webkit-hyphens: auto; hyphens: auto; }
  .g-table th, .g-table td { padding: 12px 10px; }
  .g-table thead th { font-size: 13.5px; }
}

/* per-app verdict blocks on comparison pages */
.g-prose > .g-verdict { width: min(var(--wide), 100% - 2 * var(--gutter)); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 32px auto 40px; }
.g-verdict > section { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 26px; box-shadow: var(--shadow-1); }
.g-verdict > section:first-child { border-color: rgba(85, 96, 242, .35); background: linear-gradient(180deg, #F3F4FF, #fff 60%); }
.g-verdict h3 { margin: 0 0 6px !important; font-size: 22px; }
.g-verdict p { font-size: 16px; line-height: 1.6; margin-bottom: 0; }
.g-verdict ul { padding-left: 1.1em; font-size: 16px; line-height: 1.55; margin-bottom: 0; }
.g-verdict li { margin: 4px 0; }
/* a paragraph that is only **bold** is a field label: Best for, Highlights, Platforms, Price */
.g-verdict p > strong:only-child { display: block; font: 800 14px/1.2 var(--rounded); color: var(--ink-3); }
.g-verdict p:has(> strong:only-child) { margin: 20px 0 6px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.g-verdict h3 + p:has(> strong:only-child) { margin-top: 10px; padding-top: 0; border-top: 0; }

/* inline split CTA card */
.g-prose > .g-cta { width: min(920px, 100% - 2 * var(--gutter)); margin: 56px auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-2); border: 1px solid var(--line-2); }
.g-cta .g-wash { border-radius: 0; min-height: 300px; display: grid; place-items: center; padding: 28px 16px 24px; }
.g-cta__text { padding: clamp(24px, 4vw, 44px); align-self: center; }
.g-cta__text h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -.022em; margin: 0 0 12px; font-weight: 800; text-wrap: balance; }
.g-cta__text p { font-size: 16.5px; margin-bottom: 22px; }
@media (max-width: 760px) { .g-prose > .g-cta { grid-template-columns: 1fr; } .g-cta .g-wash { min-height: 230px; } }

/* FAQ */
.g-faq { display: grid; gap: 12px; }
.g-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; box-shadow: var(--shadow-1); }
.g-faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; font: 700 17.5px/1.4 var(--rounded); color: var(--ink); }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease-out); }
.g-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.g-faq details > div { padding: 0 0 18px; }
.g-faq details p { margin: 0 0 10px; font-size: 16.5px; }

/* sources */
.g-sources ol { font-size: 15px; color: var(--ink-3); padding-left: 1.4em; }
.g-sources li { margin: 6px 0; color: var(--ink-3); }
.g-sources a { color: var(--ink-2); }

/* author */
.g-author { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); margin-top: 48px !important; }
.g-author img { width: 72px; height: 72px; border-radius: 50%; }
.g-author b { display: block; font: 800 17px/1.3 var(--rounded); color: var(--ink); }
.g-author span { display: block; font-size: 14px; color: var(--ink-3); margin-bottom: 6px; }
.g-author p { font-size: 15.5px; margin: 0; }

/* related */
.g-related { padding: 56px 0 8px; }
.g-related h2 { font-size: 28px; font-weight: 800; letter-spacing: -.022em; margin: 0 0 20px; }
.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.g-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
@media (hover: hover) and (pointer: fine) { .g-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); } }
.g-card:active { transform: scale(.99); }
/* the card art: the hero screen's phone cropped by the card edge, its pop-out lifted over it */
.g-card__art { border-radius: 0; height: 200px; display: grid; place-items: start center; padding-top: 22px; }
.g-card__phone { width: 150px; }
.g-card__t { padding: 18px 20px 22px; }
.g-card__t small { font: 700 13.5px/1.2 var(--rounded); color: var(--ink-3); }
.g-card__t b { display: block; font: 800 20px/1.25 var(--rounded); letter-spacing: -.015em; margin: 6px 0 6px; }
.g-card__t span { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* final band */
.g-final { margin: 64px 0 0; }
.g-final .g-wash { padding: clamp(36px, 6vw, 72px) var(--gutter) 0; text-align: center; display: grid; justify-items: center; }
.g-final h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.026em; margin: 0 0 14px; font-weight: 700; text-wrap: balance; }
.g-final p { font-size: 18px; color: var(--ink-2); margin: 0 0 26px; max-width: 32em; }
.g-final .g-fan { width: min(640px, 100%); margin-top: 34px; }

/* footer */
.g-foot { padding: 40px 0 120px; font-size: 14.5px; color: var(--ink-3); }
.g-foot__in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 26px; }
.g-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.g-foot a { color: var(--ink-2); text-decoration: none; }
.g-foot a:hover { color: var(--ink); }

/* sticky bar */
.g-sticky { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 140%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: transform 420ms var(--ease-drawer); }
.g-sticky.is-on { transform: translate(-50%, 0); }
.g-sticky img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.g-sticky p { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.3; color: var(--ink-2); min-width: 0; }
.g-sticky p b { display: block; color: var(--ink); font: 800 15.5px/1.2 var(--rounded); }
.g-sticky .g-btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
.g-sticky__x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer; flex: none; }
.g-sticky__x:hover { background: #F1F3F7; color: var(--ink); }

/* blog index */
.g-index-hero { padding: clamp(36px, 6vw, 72px) 0 20px; }
.g-index-hero .g-h1 { max-width: 14em; }
.g-index__h { font: 800 22px/1.2 var(--rounded); letter-spacing: -.015em; margin: 12px 0 18px; }
.g-index__h + .g-cards { margin-bottom: 40px; }
.g-index-hero p { font-size: 19px; color: var(--ink-2); max-width: 36em; margin: 0; }
.g-index { padding: 24px 0 40px; }

/* October 2026 offer: js/promo.js reveals [data-promo] until the end of 31 October (UK). */
[data-promo][hidden], [data-promo-off][hidden] { display: none !important; }
.g-promo { color: var(--ink-2); }
.g-promo b { color: var(--blue); font-weight: 650; }
.g-final .g-promo { font-size: 15px; margin: 14px 0 0; }
.g-cta__text .g-promo { margin: 2px 0 0; font-size: 14px; }

/* The studio name: always lowercase deepskyapps, bold, linked. */
.dsa { font-weight: 800; color: var(--ink); text-decoration: none; }
.dsa:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
