/* Papayra website: one stylesheet, no external fonts, no frameworks.
   Light and dark are both handled through the tokens on :root. */

:root {
  --paper: #fbf8f2;
  --paper-2: #f3ede2;
  --card: #ffffff;
  --ink: #16130e;
  --ink-2: #3a352d;
  --muted: #645c50;
  --line: #e4dccd;
  --accent: #b8791a;
  --accent-ink: #8a5a0f;
  --accent-soft: #f4ebda;
  --btn-bg: #16130e;
  --btn-ink: #fbf8f2;
  --header-bg: rgba(251, 248, 242, 0.86);
  --shadow: 0 40px 70px -30px rgba(40, 26, 6, 0.42), 0 18px 36px -20px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 40px -24px rgba(40, 26, 6, 0.35);

  /* the glass feature display: a colourful wall behind frosted, translucent tiles */
  --wall-base: #f2eadd;
  --wall-1: rgba(222, 70, 40, 0.62);
  --wall-2: rgba(244, 176, 58, 0.72);
  --wall-3: rgba(28, 128, 148, 0.58);
  --wall-4: rgba(48, 88, 196, 0.55);
  --wall-5: rgba(96, 160, 80, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-bg-hover: rgba(255, 255, 255, 0.62);
  --glass-line: rgba(255, 255, 255, 0.72);
  --glass-hi: rgba(255, 255, 255, 0.9);
  --glass-sheen: 1;
  --glass-ink: #16130e;
  --glass-muted: #463f35;
  --glass-shadow: 0 24px 46px -28px rgba(60, 30, 4, 0.6);

  /* always-dark sections */
  --dark: #12100d;
  --dark-2: #1c1915;
  --on-dark: #f5f1ea;
  --on-dark-muted: #c2b9ab;
  --on-dark-accent: #e6ad58;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Avenir Next Condensed", "Avenir Next", "Helvetica Neue", "Arial Narrow", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Baskerville, "Baskerville Old Face", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --max: 1200px;
  --gutter: 16px;
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0e0c;
    --paper-2: #171512;
    --card: #1b1916;
    --ink: #f3efe7;
    --ink-2: #dad3c7;
    --muted: #aca394;
    --line: #2e2a24;
    --accent: #e2a64e;
    --accent-ink: #e9b567;
    --accent-soft: #241d14;
    --btn-bg: #f3efe7;
    --btn-ink: #12100d;
    --header-bg: rgba(15, 14, 12, 0.82);
    --shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 18px 36px -20px rgba(0, 0, 0, 0.7);
    --shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
    --dark: #18150f;
    --wall-base: #110f0c;
    --wall-1: rgba(200, 58, 34, 0.55);
    --wall-2: rgba(214, 146, 40, 0.42);
    --wall-3: rgba(24, 120, 140, 0.52);
    --wall-4: rgba(52, 84, 196, 0.5);
    --wall-5: rgba(70, 130, 64, 0.34);
    --glass-bg: rgba(30, 27, 23, 0.5);
    --glass-bg-hover: rgba(42, 38, 32, 0.62);
    --glass-line: rgba(255, 255, 255, 0.16);
    --glass-hi: rgba(255, 255, 255, 0.24);
    --glass-sheen: 0.35;
    --glass-ink: #f5f1ea;
    --glass-muted: #c9c0b2;
    --glass-shadow: 0 24px 46px -26px rgba(0, 0, 0, 0.85);
  }
}

@media (min-width: 700px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 0.96; }
h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 0.98; }
h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.08; letter-spacing: -0.005em; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 0.9rem;
}
.deck { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.4; color: var(--ink-2); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.35em;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-ink);
  font: 600 1rem/1.1 var(--font-sans); text-decoration: none; letter-spacing: 0.005em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--light { background: #fbf8f2; color: #16130e; }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--accent { background: var(--accent); color: #16130e; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { flex-direction: column; align-items: flex-start; gap: 0.15em; padding: 0.6em 1.4em 0.65em; min-width: 200px; border-radius: 14px; }
.store-btn small { font-size: 0.72rem; font-weight: 500; opacity: 0.8; letter-spacing: 0.04em; }
.store-btn span { font-size: 1.08rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.01em; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 550;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.site-header .btn { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.92rem; }
.nav-strip { display: none; }
@media (max-width: 799px) {
  .site-header__bar .site-nav { display: none; }
  .nav-strip { display: block; border-top: 1px solid var(--line); }
  .nav-strip .site-nav { overflow-x: auto; scrollbar-width: none; padding: 6px 0; margin: 0 -8px; }
  .nav-strip .site-nav::-webkit-scrollbar { display: none; }
  .nav-strip .site-nav a { padding: 6px 10px; font-size: 0.92rem; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, 92vh, 860px);
  display: flex; align-items: flex-end;
  color: #fff; background: #3d2a1c;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 8, 4, 0.25) 0%, rgba(12, 8, 4, 0) 30%, rgba(12, 8, 4, 0.55) 62%, rgba(12, 8, 4, 0.9) 100%),
    linear-gradient(90deg, rgba(12, 8, 4, 0.55) 0%, rgba(12, 8, 4, 0.1) 60%, rgba(12, 8, 4, 0) 100%);
}
.hero__inner { padding-top: 120px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: #f2c27a; }
.hero h1 { max-width: 11.5em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero__deck { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.4; max-width: 30em; margin: 1.1rem 0 1.8rem; color: rgba(255, 255, 255, 0.92); }
.hero__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f2c27a; }
.hero__credit { position: absolute; right: var(--gutter); bottom: 14px; margin: 0; font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.62); }
@media (min-width: 900px) {
  .hero { background: #1d1813; }
  .hero__bg { left: auto; right: 0; width: 68%; object-position: 50% 32%; }
  .hero::before {
    background:
      linear-gradient(90deg, #1d1813 0%, #1d1813 32%, rgba(29, 24, 19, 0.82) 40%, rgba(29, 24, 19, 0.25) 58%, rgba(29, 24, 19, 0) 72%),
      linear-gradient(180deg, rgba(12, 8, 4, 0) 62%, rgba(12, 8, 4, 0.5) 100%);
  }
  .hero h1 { max-width: 8.6em; }
}
.hero__rule { width: 100%; max-width: 560px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.45); margin: 0 0 18px; }
@media (max-width: 899px) {
  .hero { min-height: 0; background: #1d1813; }
  .hero__bg { height: clamp(380px, 62vw, 560px); object-position: 62% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(29, 24, 19, 0) 0, rgba(29, 24, 19, 0.15) clamp(180px, 30vw, 300px), #1d1813 clamp(380px, 62vw, 560px)); }
  .hero__inner { padding-top: clamp(300px, 50vw, 440px); }
  .hero__credit { display: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #2b2118; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 8, 4, 0.82) 0%, rgba(12, 8, 4, 0.55) 55%, rgba(12, 8, 4, 0.2) 100%); }
.page-hero__inner { padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(56px, 8vw, 100px); }
.page-hero .eyebrow { color: #f2c27a; }
.page-hero h1 { max-width: 12em; }
.page-hero .deck { color: rgba(255, 255, 255, 0.9); max-width: 32em; margin-top: 1.1rem; margin-bottom: 0; }
.page-hero__bg--panda { object-position: 50% 30%; }
.page-hero--plain { color: var(--ink); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero--plain::before { display: none; }
.page-hero--plain .eyebrow { color: var(--accent-ink); }
.page-hero--plain .deck { color: var(--ink-2); }
.page-hero--plain .page-hero__inner { padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--paper-2); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .deck { margin: 1rem 0 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .eyebrow { color: var(--on-dark-accent); }
.dark .deck, .dark .lede { color: var(--on-dark-muted); }
.dark a { color: var(--on-dark-accent); }
.dark a.btn--light, a.btn--light { color: #16130e; }
.dark a.btn--glass, a.btn--glass { color: #fff; }

/* ---------- device frames (drawn in CSS) ---------- */
.device { margin: 0; position: relative; }
.device img { width: 100%; height: auto; }

.mac { width: 100%; }
.mac__screen {
  position: relative; margin: 0 6.5%;
  background: #0c0c0e;
  padding: 2.3% 2.1% 2.1%;
  border-radius: 2.4% / 3.9%;
  box-shadow: 0 0 0 1px #3a3b40, 0 0 0 3px #b7b9c0, var(--shadow);
}
.mac__screen::before { content: ""; position: absolute; top: 0.85%; left: 50%; width: 0.55%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #2b2d33; }
.mac__screen img { border-radius: 0.5%; }
.mac__base {
  position: relative; height: clamp(9px, 1.9vw, 22px);
  background: linear-gradient(180deg, #e9eaee 0%, #c9cbd1 45%, #9fa1a8 100%);
  border-radius: 0 0 46% 46% / 0 0 100% 100%;
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.45);
}
.mac__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); background: linear-gradient(180deg, #a9abb2, #c3c5cb); border-radius: 0 0 10px 10px; }

.iphone {
  position: relative;
  width: 100%; max-width: 300px;
  background: #0b0b0d;
  padding: 3.4%;
  border-radius: 15.5% / 7.2%;
  box-shadow: 0 0 0 1.5px #5e6068, 0 0 0 4px #1d1e22, var(--shadow);
}
.iphone img { border-radius: 12.4% / 5.75%; }
.iphone::after { content: ""; position: absolute; top: 3.15%; left: 50%; transform: translateX(-50%); width: 27%; height: 3.15%; border-radius: 999px; background: #000; }

.ipad {
  position: relative;
  width: 100%;
  background: #0b0b0d;
  padding: 3.6%;
  border-radius: 5.5% / 4.1%;
  box-shadow: 0 0 0 1.5px #5e6068, 0 0 0 4px #1d1e22, var(--shadow);
}
.ipad img { border-radius: 3% / 2.25%; }

/* iPhone Duo: folded (outer screen) and unfolded (inner screen) */
.duo { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.duo__folded, .duo__open { position: relative; background: #0b0b0d; box-shadow: 0 0 0 1.5px #5e6068, 0 0 0 4px #1d1e22, var(--shadow); }
.duo__folded { width: 34%; aspect-ratio: 466 / 678; padding: 3.2%; border-radius: 13% / 9%; }
.duo__open { width: 62%; aspect-ratio: 951 / 669; padding: 1.8%; border-radius: 6.5% / 9.2%; }
.duo__folded img, .duo__open img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.duo__folded img { border-radius: 10% / 7%; }
.duo__open img { border-radius: 4.6% / 6.6%; }
.duo__open::after { content: ""; position: absolute; top: 1.8%; bottom: 1.8%; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.18) 20%, rgba(0, 0, 0, 0.18) 80%, rgba(0, 0, 0, 0)); }
.duo-labels { display: flex; justify-content: center; gap: clamp(14px, 3vw, 28px); margin-top: 14px; }
.duo-labels span { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: center; }
.duo-labels span:first-child { width: 34%; }
.duo-labels span:last-child { width: 62%; }

/* captions in the magazine's manner: a thin rule above */
.cap { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.cap strong { color: var(--ink); font-weight: 650; }
.dark .cap { border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark-muted); }

/* ---------- home: savings headline ---------- */
.save { background: var(--paper-2); padding: clamp(56px, 8vw, 104px) 0; text-align: center; border-bottom: 1px solid var(--line); }
.save h2 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 14em; margin: 0 auto; }
.save h2 span { display: block; color: var(--accent); }
.save .deck { margin: 1.2rem auto 0; max-width: 30em; }

/* ---------- home: iPhone Duo spotlight ---------- */
.duo-spot { position: relative; isolation: isolate; overflow: hidden; }
.duo-spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 55%, rgba(230, 173, 88, 0.16), rgba(230, 173, 88, 0) 70%); }
.duo-spot__grid { display: grid; gap: clamp(44px, 6vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .duo-spot__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.duo-spot h2 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.nowrap-line { display: inline-block; }
.duo-spot .deck { margin: 1.1rem 0 1.8rem; }
.fold-steps { list-style: none; padding: 0; margin: 0; counter-reset: fold; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.fold-steps li { counter-increment: fold; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); color: var(--on-dark-muted); }
.fold-steps li::before { content: counter(fold, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.35; color: var(--on-dark-accent); }
.fold-steps strong { color: var(--on-dark); }
.duo-spot__fig { margin: 0; }
.duo-spot .duo-labels span { color: var(--on-dark-muted); }
.duo-spot .cap { text-align: center; border-top: 0; margin-top: 10px; }

/* ---------- home: the glass feature display ---------- */
.glass { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0; background: var(--wall-base); color: var(--glass-ink); }
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 34% at 92% 6%, var(--wall-1), transparent 72%),
    radial-gradient(38% 30% at 60% 46%, var(--wall-2), transparent 72%),
    radial-gradient(44% 38% at 4% 62%, var(--wall-3), transparent 72%),
    radial-gradient(46% 36% at 90% 88%, var(--wall-4), transparent 72%),
    radial-gradient(40% 32% at 30% 96%, var(--wall-5), transparent 72%),
    radial-gradient(30% 26% at 30% 40%, var(--wall-1), transparent 72%);
}
.glass__head .deck { color: var(--glass-muted); }
.gtiles { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gtile { min-width: 0; }
.gtile__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 8px 8px 16px; border-radius: 22px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  color: var(--glass-ink); text-decoration: none; cursor: zoom-in;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.gtile__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glass-sheen); background: linear-gradient(140deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 34%); }
.gtile__link:hover { transform: translateY(-4px); background: var(--glass-bg-hover); }
.gtile__link:focus-visible { outline-offset: 2px; border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { .gtile__link, .gtile__pic img { transition: none; } .gtile__link:hover { transform: none; } }
.gtile__pic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 16px -10px rgba(0, 0, 0, 0.4); }
.gtile__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gtile__link:hover .gtile__pic img { transform: scale(1.035); }
.gtile__title { position: relative; display: block; margin: 13px 6px 3px; font: 650 1.02rem/1.25 var(--font-sans); letter-spacing: -0.005em; }
.gtile__line { position: relative; display: block; margin: 0 6px; font-size: 0.86rem; line-height: 1.4; color: var(--glass-muted); }
@media (max-width: 559px) {
  .gtile__link { padding: 6px 6px 12px; border-radius: 18px; }
  .gtile__pic { border-radius: 13px; }
  .gtile__title { font-size: 0.92rem; margin: 10px 4px 2px; }
  .gtile__line { font-size: 0.78rem; margin: 0 4px; }
}
.glass__more { margin-top: clamp(28px, 4vw, 44px); }
.glass__more a { color: var(--glass-ink); }

/* ---------- home: pillars ---------- */
.pillars { display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 2px solid var(--ink); padding-top: 22px; }
.pillar__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.pillar p { color: var(--ink-2); }

/* ---------- home: Apple first ---------- */
.apple-grid { display: grid; gap: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .apple-grid { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .apple-card--mac { grid-column: 1 / span 8; }
  .apple-card--ipad { grid-column: 9 / span 4; }
  .apple-card--iphone { grid-column: 1 / span 4; }
  .apple-card--duo { grid-column: 5 / span 8; }
}
@media (min-width: 900px) {
  .apple-grid--three .apple-card--mac { grid-column: 1 / span 6; }
  .apple-grid--three .apple-card--ipad { grid-column: 7 / span 3; }
  .apple-grid--three .apple-card--iphone { grid-column: 10 / span 3; }
  .apple-grid--three .apple-card .iphone { max-width: 200px; }
}
.apple-card h3 { margin: 26px 0 10px; }
.apple-card p { color: var(--ink-2); margin: 0; max-width: 34em; }
.apple-card .iphone { max-width: 240px; margin: 0 auto; }
.apple-card--ipad .ipad { max-width: 340px; margin: 0 auto; }
.apple-note { margin-top: clamp(48px, 6vw, 72px); padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.apple-note p { margin: 0; font-weight: 550; }

/* ---------- home: local only ---------- */
.private { position: relative; isolation: isolate; overflow: hidden; }
.private__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: 0.9; }
.private::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 11, 8, 0.97) 0%, rgba(14, 11, 8, 0.88) 42%, rgba(14, 11, 8, 0.2) 100%); }
@media (max-width: 899px) { .private::before { background: linear-gradient(180deg, rgba(14, 11, 8, 0.75) 0%, rgba(14, 11, 8, 0.95) 45%); } }
.private__inner { max-width: 660px; }
.private h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.private .deck { margin: 1.2rem 0 2rem; }
.no-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.no-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); color: var(--on-dark-muted); }
.no-list strong { color: var(--on-dark); }
.no-list svg { width: 22px; height: 22px; margin-top: 3px; color: var(--on-dark-accent); }

/* ---------- home: own it ---------- */
.own { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .own { grid-template-columns: 1.1fr 1fr; } }
.own .deck { margin: 1.1rem 0 1.8rem; }
.stats { margin: 0; display: grid; gap: 0; background: var(--accent-soft); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.stats div { display: grid; grid-template-columns: 8.6rem 1fr; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.stats div:last-child { border-bottom: 0; }
.stats dt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--accent); }
@media (max-width: 599px) {
  .stats div { grid-template-columns: 5.4rem 1fr; gap: 12px; }
  .stats dt { font-size: 2.5rem; }
  .store-btn { width: 100%; max-width: 340px; }
  .get .btn-row { flex-direction: column; align-items: center; }
}
.stats dd { margin: 0; font-size: 0.82rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- feature cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.card h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.icon svg { width: 24px; height: 24px; }
.more { margin-top: 36px; }
.more a { font-weight: 650; }

/* ---------- magazine pages ---------- */
.mag-grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .mag-grid { grid-template-columns: repeat(4, 1fr); } }
.mag-grid figure { margin: 0; }
.mag-grid img { width: 100%; box-shadow: var(--shadow-soft); border-radius: 3px; background: #fff; }
.mag-grid figcaption { margin-top: 12px; font-size: 0.8rem; line-height: 1.35; color: var(--muted); }
.mag-grid figcaption b { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); font-weight: 650; margin-bottom: 2px; }
.mag-intro { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 900px) { .mag-intro { grid-template-columns: 1fr 1fr; align-items: end; } }
.mag-intro p { margin: 0; color: var(--ink-2); }

/* ---------- trust band ---------- */
.trust { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.18); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { padding: 28px 18px 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.trust dt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1; color: var(--on-dark-accent); }
.trust dd { margin: 10px 0 0; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.trust-wrap { margin: 0; }
.trust-foot { margin-top: 28px; max-width: 760px; color: var(--on-dark-muted); }

/* ---------- get ---------- */
.get { text-align: center; }
.get h2 { font-size: clamp(2.6rem, 7vw, 5rem); }
.get .deck { margin: 1rem auto 2rem; max-width: 30em; }
.get .btn-row { justify-content: center; }
.get .req { margin-top: 26px; font-size: 0.88rem; color: var(--muted); }
.get-icon { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22px; box-shadow: var(--shadow-soft); }

.get-buy { margin: 22px 0 0; font-weight: 650; }
.own .btn-row { gap: 12px; }

/* ---------- buy page ---------- */
.buy-intro { display: grid; gap: 18px clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .buy-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: start; } }
.buy-intro h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.buy-intro__text p { color: var(--ink-2); }
.buy-intro__text .lede { color: var(--ink); font-weight: 550; }
.buy-cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .buy-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .buy-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
@media (min-width: 760px) { .price-cards { grid-template-columns: 1fr 1fr; } }
.price-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.price-card--own { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.price { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 5rem); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.price__per { font-size: 1.15rem; font-weight: 600; color: var(--ink-2); }
.price__lede { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-2); margin: 0 0 20px; }
.price-card .ticks { margin-bottom: 26px; }
.price__btn { margin-top: auto; align-self: flex-start; }
.price-own { margin: 22px auto 0; max-width: 980px; font-weight: 600; color: var(--ink); }
.price-note { margin: 8px auto 0; max-width: 980px; font-size: 0.88rem; color: var(--muted); }
.buy-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.buy-card h3 { margin: 18px 0 10px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.buy-card p { color: var(--ink-2); }
.buy-card .btn-row { margin-top: auto; padding-top: 8px; }
.buy-soon { margin: 24px 0 0; font-size: 0.9rem; color: var(--muted); }
.buy-small-h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
@media (max-width: 599px) { .buy-card .store-btn, .buy-intro .store-btn { width: 100%; } }

/* ---------- features page rows ---------- */
.frow { display: grid; gap: clamp(36px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) {
  .frow { grid-template-columns: 5fr 7fr; }
  .frow--flip { grid-template-columns: 7fr 5fr; }
  .frow--flip .frow__text { order: 2; }
}
.frow__text h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 18px; }
.frow__text .lede { margin-bottom: 1.2em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.combo { position: relative; padding-right: clamp(40px, 16%, 140px); }
.combo .iphone { position: absolute; right: 0; bottom: -5%; width: clamp(96px, 26%, 200px); }
.pair { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .mac__screen { margin: 0 3%; }
.steps { counter-reset: s; }
.full-list { columns: 1; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .full-list { columns: 2; } }
.full-list li { break-inside: avoid; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.full-list li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- screenshots page ---------- */
.shots-mac { display: grid; gap: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .shots-mac { grid-template-columns: 1fr 1fr; } }
.shots-phone { display: grid; gap: 36px 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .shots-phone { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shots-phone { grid-template-columns: repeat(6, 1fr); } }
.shots-phone .iphone { margin: 0 auto; }
.shots-pad { display: grid; gap: 36px 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .shots-pad { grid-template-columns: repeat(3, 1fr); } }
.zoom { display: block; color: inherit; text-decoration: none; cursor: zoom-in; border-radius: 6px; }
.shot-block + .shot-block { margin-top: clamp(72px, 10vw, 120px); }
.shot-block > h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.shot-block > .duo { max-width: 920px; margin: 0 auto; }
.shot-block > .duo--second { margin-top: clamp(40px, 6vw, 64px); }
.duo a.duo__folded, .duo a.duo__open { display: block; cursor: zoom-in; }
.shot-block > .cap { max-width: 920px; margin-left: auto; margin-right: auto; text-align: center; }
.shot-block > .duo-labels { max-width: 920px; margin-left: auto; margin-right: auto; }
.shot-block > p:not(.eyebrow) { color: var(--ink-2); max-width: 46em; margin-bottom: clamp(28px, 4vw, 44px); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(8, 6, 4, 0.86); }
dialog.lightbox img { max-width: min(96vw, 1600px); max-height: 88vh; width: auto; height: auto; border-radius: 8px; }
dialog.lightbox p { color: #f1ece3; text-align: center; font-size: 0.9rem; margin: 10px 0 0; }
dialog.lightbox button { position: fixed; top: 16px; right: 16px; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.5); color: #fff; font: 600 0.95rem var(--font-sans); padding: 0 16px; cursor: pointer; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--font-sans); color: var(--accent-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 46em; }
.faq .answer p:last-child { margin-bottom: 0; }
.short { font-weight: 700; color: var(--ink); }

/* ---------- prose (legal, privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 2.4em 0 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.45em; }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 1.6em 0; }
.callout p { color: var(--ink); margin: 0; }
.callout p + p { margin-top: 0.8em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 0 0 40px; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.88rem; color: var(--ink-2); }
.credits { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.credits th, .credits td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.table-scroll { overflow-x: auto; }

/* ---------- contact / support ---------- */
.mail-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .mail-cards { grid-template-columns: 1fr 1fr; } }
.mail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.mail-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 18px 0 10px; }
.mail-card p { color: var(--ink-2); }
.mail-card .addr { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem); word-break: break-word; text-decoration: none; color: var(--accent-ink); }
.mail-card .addr:hover { text-decoration: underline; }
.split { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 550; }
.link-list a::after { content: "\2192"; color: var(--accent-ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(56px, 8vw, 88px) 0 40px; font-size: 0.92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { margin: 16px 0 0; max-width: 28em; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-accent); margin-bottom: 14px; font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 8px; font-size: 0.8rem; }
.footer-legal p { margin: 0; }

/* 404 */
.notfound .btn-row { justify-content: center; margin-top: 8px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
