/* Music Folder site styles: shared by index.html and support.html */
:root {
  --manuscript: #FBFAF8;
  --card: #FFFFFF;
  --vellum: #F2EFE9;
  --staff-line: #E7E1D6;
  --staff-accent: #E8E3DA;
  --folder-black: #141414;
  --folder-hover: #2A2A2A;
  --stage-black: #0B0B0C;
  --ink: #1A1815;
  --graphite: #6E6A60;
  --ribbon: #F2812E;
  --deep-amber: #A9520F;
  --stage-text: #F2F2F7;
  --stage-muted: #99999E;
  --services-green: #6F9A40;
  --services-deep: #3F6B26;
  --on-primary: #FBFAF8;

  --font-display: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;

  --display: clamp(52px, 6.6vw, 96px);
  --heading: clamp(38px, 4.6vw, 56px);
  --heading-sm: clamp(32px, 3.4vw, 40px);
  --section-gap: 144px;
  --gutter: 24px;

  --radius-card: 20px;
  --radius-panel: 28px;
  --shadow-card: 0 1px 2px rgba(20,20,20,0.04), 0 8px 24px rgba(20,20,20,0.06);
  --shadow-object: 0 30px 60px -20px rgba(20,20,20,0.35);
}
@media (max-width: 640px) {
  :root { --section-gap: 96px; --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--manuscript);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--deep-amber); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ribbon); outline-offset: 2px; border-radius: 6px;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
.display, .heading, .heading-sm {
  font-family: var(--font-display);
  color: var(--folder-black);
  font-weight: 400;
}
.display { font-size: var(--display); line-height: 1.02; letter-spacing: -0.02em; }
.heading { font-size: var(--heading); line-height: 1.05; letter-spacing: -0.01em; }
.heading-sm { font-size: var(--heading-sm); line-height: 1.1; letter-spacing: -0.01em; }
.display em, .heading em { font-style: italic; color: var(--ribbon); }
.lede { font-size: 20px; line-height: 1.5; max-width: 560px; }
.caption { font-size: 15px; line-height: 1.45; color: var(--graphite); }
p { margin: 0 0 16px; }

/* ---------- Buttons & badge ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 14px 28px;
  font: 500 17px/1.2 var(--font-text); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--folder-black); color: var(--on-primary); }
.btn-primary:hover { background: var(--folder-hover); }
.btn-secondary { border: 1px solid var(--folder-black); color: var(--folder-black); background: transparent; }
.btn-secondary:hover { background: var(--vellum); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.badge-link { display: inline-block; line-height: 0; border-radius: 9px; }
.badge-link img { height: 48px; width: auto; }
@media (max-width: 640px) { .badge-link img { height: 44px; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--manuscript) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--staff-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--deep-amber); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 44px; min-width: 200px;
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow-card), var(--shadow-object);
  padding: 8px; display: grid;
}
.menu-panel a { padding: 10px 14px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.menu-panel a:hover { background: var(--vellum); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .btn-sm { display: none; }
}

/* ---------- Hero / folder stage ---------- */
.hero { position: relative; height: 290vh; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--manuscript);
}
.hero-copy {
  position: relative; z-index: 3; height: 100%;
  padding-top: max(112px, 15vh); padding-bottom: max(48px, 11vh);
  will-change: opacity, transform;
}
/* desktop: headline + subhead at the top, the call to action anchored low-left
   (balances the big folder on the right, like the reference layout) */
.hero-copy .inner { max-width: min(640px, 54%); height: 100%; display: flex; flex-direction: column; }
.hero-copy .cta-row { margin-top: auto; }
.hero-copy .display {
  margin-bottom: 32px; white-space: nowrap;
  /* two lines: "Meet" / "Music Folder." (~4.9em wide, never broken) */
  font-size: clamp(56px, 8.6vw, 132px); line-height: 0.98;
}
.hero-copy .lede { max-width: 500px; margin-bottom: 32px; }
/* real App Store reviews, one at a time, between the intro and the badge */
.hero-reviews { margin: 8px 0 0; max-width: 470px; }
.hr-stars { color: var(--ribbon); width: 92px; margin-bottom: 14px; line-height: 0; }
.hr-stars svg { width: 100%; height: auto; }
.hr-quotes { display: grid; }
.hr-quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.hr-quote.is-active { opacity: 1; transform: none; }
.hr-quote p { font-family: var(--font-display); font-size: 27px; line-height: 1.2; letter-spacing: -0.005em; color: var(--folder-black); margin: 0 0 10px; }
.hr-quote cite { font-style: normal; font-size: 14px; color: var(--graphite); }
.hr-dots { display: flex; gap: 8px; margin-top: 18px; }
.hr-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--staff-line); cursor: pointer; transition: background-color .3s, width .3s; }
.hr-dots button.is-active { width: 20px; border-radius: 4px; background: var(--folder-black); }
@media (prefers-reduced-motion: reduce) { .hr-quote { transition: none; } }
@media (max-width: 860px) {
  /* on phones the badge comes first (visible without scrolling), the review under it */
  .hero-reviews { order: 3; margin-top: 28px; }
  .hr-stars { width: 76px; margin-bottom: 10px; }
  .hr-quote p { font-size: 21px; }
  .hr-dots { margin-top: 12px; }
}
@media (max-width: 860px) {
  .hero-copy { padding-top: 92px; height: auto; padding-bottom: 0; }
  .hero-copy .inner { max-width: 100%; height: auto; }
  .hero-copy .cta-row { margin-top: 0; }
  .hero-copy .display { margin-bottom: 16px; font-size: min(64px, calc((100vw - 32px) / 5.1)); }
  .hero-copy .lede { font-size: 17px; margin-bottom: 22px; }
}

.rig {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 450px; height: 600px;
  transform-origin: 225px 300px;
  perspective: 2600px;
}
.rig > * { transform-style: preserve-3d; }

/* the right-hand inside page: lining, spine cords, iPad, pocket */
.page {
  position: absolute; inset: 0;
  border-radius: 4px 6px 6px 4px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,0.05), transparent 60%),
    #1B1B1C;
  box-shadow: var(--shadow-object), inset 0 0 0 1px rgba(255,255,255,0.03);
}
/* elastic cords along the spine that hold loose scores, like a real choir folder */
.cords { position: absolute; left: 12px; top: 0; bottom: 0; width: 22px; transform: translateZ(1.5px); }
.cords i {
  position: absolute; top: 10px; bottom: 10px; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #111, #5A5A5C 50%, #111);
  box-shadow: 1px 0 2px rgba(0,0,0,0.6);
}
.cords i:nth-child(1) { left: 4px; }
.cords i:nth-child(2) { left: 14px; }
.cords b { /* eyelets where the cords are anchored */
  position: absolute; left: 1px; width: 20px; height: 8px; border-radius: 4px;
  background: linear-gradient(#5A5A5C, #2A2A2C); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.6);
}
.cords b:nth-of-type(1) { top: 6px; }
.cords b:nth-of-type(2) { bottom: 6px; }
.ipad {
  position: absolute; left: 58px; top: 44px; width: 340px; height: 470px;
  border-radius: 28px; padding: 14px;
  background: #0E0E0F;
  box-shadow: 0 0 0 1.5px #3A3A3C, 0 18px 30px -12px rgba(0,0,0,0.7), inset 0 0 0 1px #000;
  transform: translateZ(1px) rotate(-1.2deg);
}
.ipad-screen {
  width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: #FFFFFF;
}
.ipad-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* the cover */
.cover {
  position: absolute; inset: 0; transform-origin: 0 50%;
  transform: translateZ(2px) rotateY(0deg);
}
.cover-face, .cover-inside {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 4px 6px 6px 4px; overflow: hidden;
}
.cover-face {
  background:
    radial-gradient(140% 100% at 0% 0%, rgba(255,255,255,0.075), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    #141414;
  box-shadow: var(--shadow-object), inset 0 0 0 1px rgba(255,255,255,0.04), inset -2px -3px 6px rgba(0,0,0,0.5);
}
.cover-face::before { /* spine */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 26px;
  background: linear-gradient(90deg, #0C0C0C, #181818 70%, #101010);
  box-shadow: 1px 0 0 rgba(255,255,255,0.035);
}
.cover-face::after { /* stitching */
  content: ""; position: absolute; inset: 14px 14px 14px 38px;
  border: 1px dashed rgba(255,255,255,0.06); border-radius: 3px 8px 8px 3px;
}
.deboss {
  position: absolute; left: 26px; right: 0; top: 34%;
  text-align: center; font: 600 17px/1 var(--font-text);
  letter-spacing: 0.32em; text-transform: uppercase;
  /* blind deboss: tone-on-tone, a shadow on the top edge and a catch of
     light on the bottom edge make it read as pressed into the leather */
  color: #2B2B2B;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.95), 0 1px 0 rgba(255,255,255,0.15);
  padding-left: .32em;
}
.deboss-rule {
  position: absolute; left: calc(50% + 13px); top: calc(34% + 34px); width: 46px; height: 1px; transform: translateX(-50%);
  background: #2B2B2B; box-shadow: 0 -1px 0 rgba(0,0,0,0.95), 0 1px 0 rgba(255,255,255,0.13);
}
.cover-inside {
  left: -450px; right: auto; width: 450px; height: 600px; top: 0;
  transform-origin: 100% 50%; transform: rotateY(180deg);
  border-radius: 6px 4px 4px 6px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,0.05), transparent 60%),
    #1B1B1C;
  box-shadow: var(--shadow-object), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.program-sheet {
  position: absolute; left: 44px; right: 44px; top: 54px; height: 450px;
  background: #FBFAF8; color: #1A1815; border-radius: 3px;
  padding: 26px 26px 0;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,0.7);
  transform: rotate(-1.6deg);
}
.program-sheet h3 { font-family: var(--font-display); font-size: 32px; line-height: 1.1; margin: 0 0 2px; color: #141414; }
.program-sheet .ps-sub { font-size: 11px; color: #6E6A60; margin-bottom: 14px; }
.program-sheet ol { list-style: none; margin: 0; padding: 0; }
.program-sheet li {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline;
  padding: 8px 0; border-top: 1px solid #E7E1D6; font-size: 13px; line-height: 1.3;
}
.program-sheet li span:first-child, .program-sheet li span:last-child { color: #6E6A60; font-variant-numeric: tabular-nums; font-size: 11.5px; }
.pocket, .pocket-right {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: #161617;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.pocket { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); border-radius: 0 0 4px 6px; }
.pocket-right { clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%); border-radius: 0 0 6px 4px; transform: translateZ(2px); }
/* stitching is drawn as SVG so both halves use identical dashes */
.stitch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.stitch path { fill: none; stroke: rgba(255,255,255,0.13); stroke-width: 1; stroke-dasharray: 4 3; }
.page > .stitch { transform: translateZ(2.5px); }
.rig-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -26px; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,20,20,0.28), transparent);
  filter: blur(6px); transform: translateZ(-1px);
}

.open-caption {
  position: absolute; left: 0; right: 0; z-index: 3; text-align: center;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
}
.open-caption .heading { margin-bottom: 10px; }
.open-caption .caption { margin: 0; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  font-size: 13px; color: var(--graphite); letter-spacing: .04em;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint::after { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--graphite), transparent); }
@media (max-width: 860px) { .scroll-hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-stage { position: relative; min-height: 100svh; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: var(--section-gap) 0; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head p { color: var(--graphite); margin-top: 20px; }



/* Feature story: text scrolls, the device stays pinned and its screen changes */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s ease; }
.step.is-active { opacity: 1; }
.step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.step:last-child { min-height: 70vh; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--heading-sm); line-height: 1.08; letter-spacing: -0.01em; color: var(--folder-black); margin-bottom: 14px; }
/* official Planning Center logo: full colour on the light page, with clear
   space of at least the icon's height, never inside the heading itself */
.partner-logo { display: block; width: 160px; height: auto; margin: 0 0 34px; }
.step h3 em { font-style: italic; color: var(--services-deep); }
.step p { font-size: 20px; line-height: 1.5; color: var(--graphite); max-width: 440px; margin: 0; }
.step .step-note { font-size: 14px; margin-top: 10px; }
.step-visual { display: none; }
.story-stage { position: relative; }
.stage-inner {
  position: sticky; top: calc(50vh - min(38vh, 340px) + 32px);
  height: min(76vh, 680px);
  border-radius: var(--radius-panel); background: var(--vellum);
}
.frame {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.frame.is-active { opacity: 1; transform: none; }
.frame .device.phone { height: 88%; width: auto; aspect-ratio: 9 / 19.5; }
.frame .device.tablet { height: 84%; width: auto; max-width: none; aspect-ratio: 0.715; }
.frame .share-card { width: min(420px, 86%); }
.story .device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (prefers-reduced-motion: reduce) { .frame, .step { transition: none; } }
@media (max-width: 860px) {
  .story-grid { display: block; }
  .story-stage { display: none; }
  .step, .step:first-child, .step:last-child { min-height: 0; opacity: 1; padding: 0 0 72px; justify-content: flex-start; }
  .step p { font-size: 17px; }
  .step-visual { display: flex; justify-content: center; margin-top: 28px; padding: 32px 0; border-radius: var(--radius-panel); background: var(--vellum); }
  .step-visual .device.phone { width: 230px; }
  .step-visual .device.tablet { width: min(340px, 86%); aspect-ratio: 0.715; }
  .step-visual .share-card { width: calc(100% - 32px); }
}

.device {
  position: relative; background: #0E0E0F; padding: 10px;
  box-shadow: 0 0 0 1.5px #3A3A3C, var(--shadow-object);
}
.device-shot { width: 280px; height: auto; }
.device.phone { width: 236px; aspect-ratio: 9 / 19.5; border-radius: 44px; }
.device.tablet { width: 100%; max-width: 420px; aspect-ratio: 3 / 4; border-radius: 30px; padding: 14px; }
.device.tablet.landscape { max-width: 620px; aspect-ratio: 4 / 3; }
.device .screen {
  width: 100%; height: 100%; border-radius: inherit; overflow: hidden;
  background: var(--vellum);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; font-size: 13px; line-height: 1.4; color: var(--graphite);
  border: 1px dashed var(--staff-line);
}
.device.phone .screen { border-radius: 34px; }
.device.tablet .screen { border-radius: 18px; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.device .screen.shot { padding: 0; border: 0; background: #fff; }
/* a full-screen screenshot sets the frame's shape instead of being cropped */
.device.fit { aspect-ratio: auto; }
.device.fit .screen, .device.fit .screen img { height: auto; display: block; }


/* Share card */
.share-card { background: var(--card); border-radius: var(--radius-card); padding: 28px; width: 100%; max-width: 420px; box-shadow: var(--shadow-card); border: 1px solid var(--staff-line); }
.share-card .sc-title { font-weight: 600; font-size: 17px; }
.share-card .sc-sub { font-size: 13px; color: var(--graphite); margin-bottom: 16px; }
.share-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--staff-line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--vellum); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink); flex: none; }
.share-row .who { flex: 1; font-size: 15px; line-height: 1.3; }
.share-row .who small { display: block; color: var(--graphite); font-size: 13px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--vellum); color: var(--ink); white-space: nowrap; }

/* Planning Center section */


/* Toolkit */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool {
  background: var(--card); border-radius: var(--radius-card); padding: 32px;
  box-shadow: var(--shadow-card);
}
.tool svg { width: 28px; height: 28px; color: var(--folder-black); margin-bottom: 20px; }
.tool.accent svg { color: var(--ribbon); }
.tool h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.tool p { color: var(--graphite); font-size: 15px; line-height: 1.5; margin: 0; }
.tool .new { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--deep-amber); vertical-align: 2px; }
@media (max-width: 960px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }

.also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.also .tool { background: var(--vellum); box-shadow: none; }
@media (max-width: 960px) { .also { grid-template-columns: 1fr; } }

/* Who it's for */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.who-card { border-top: 2px solid var(--folder-black); padding-top: 24px; }
.who-card h3 { font-family: var(--font-display); font-size: 32px; line-height: 1.1; color: var(--folder-black); margin-bottom: 12px; }
.who-card p { color: var(--graphite); font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }

/* Devices + iCloud */
.devices { background: var(--vellum); }
/* the page's one dark band: the devices read like products on a stage */
.dark-band { background: var(--stage-black); color: var(--stage-text); overflow: hidden; }
.dark-band .heading-sm, .dark-band .facts li strong { color: var(--stage-text); }
.dark-band .facts li { border-top-color: #2A2A2C; }
.dark-band .facts li span { color: var(--stage-muted); }
.dark-band .devices-pair { position: relative; }
.dark-band .devices-pair::before {
  content: ""; position: absolute; inset: -18% -12%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242,129,46,0.12), transparent);
}
.dark-band .devices-pair img { position: relative; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); }
.devices-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.devices-pair { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.devices-pair img { height: auto; display: block; filter: drop-shadow(0 24px 30px rgba(20,20,20,0.18)); }
.devices-pair .dp-ipad { width: 72%; max-width: 400px; }
.devices-pair .dp-iphone { width: 31%; max-width: 172px; margin-left: -6%; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; }
.facts li { padding: 18px 0; border-top: 1px solid var(--staff-line); }
.facts li strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.facts li span { color: var(--graphite); font-size: 15px; }
@media (max-width: 860px) { .devices-grid { grid-template-columns: 1fr; gap: 48px; } }

/* Pricing: two balanced plans; both list the same rows in the same order */
.pricing .section-head { max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 56px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { border-radius: var(--radius-panel); padding: 40px 40px 32px; background: var(--card); box-shadow: 0 0 0 1px var(--staff-line); }
.plan-prem { background: #141414; color: #FBFAF8; box-shadow: var(--shadow-object); }
.plan-head { min-height: 150px; padding-bottom: 24px; border-bottom: 1px solid var(--staff-line); margin-bottom: 8px; }
.plan-prem .plan-head { border-bottom-color: #2E2E30; }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); margin: 0 0 14px; }
.plan-prem .plan-name { color: var(--ribbon); }
.plan-trial { font-size: 11px; letter-spacing: .02em; text-transform: none; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(242,129,46,0.16); color: #F7A866; }
.plan-price { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--folder-black); margin: 0 0 8px; }
.plan-prem .plan-price { color: #FBFAF8; }
.plan-price small { font-family: var(--font-text); font-size: 16px; color: var(--graphite); }
.plan-prem .plan-price small { color: #A8A8AD; }
.plan-sub { font-size: 14px; color: var(--graphite); margin: 0; }
.plan-prem .plan-sub { color: #A8A8AD; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; font-size: 16px; line-height: 1.35; }
.plan-list li + li { border-top: 1px solid var(--staff-line); }
.plan-prem .plan-list li + li { border-top-color: #262628; }
.plan-list svg { flex: none; width: 17px; height: 17px; color: var(--folder-black); }
.plan-prem .plan-list svg { color: var(--ribbon); }
.plan-list b { font-weight: 600; }
.plan-list li.off { color: #A9A398; }
.plan-list li.off svg { color: #C9C3B7; }
.plans-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; text-align: center; }
.plans-cta p { margin: 0; max-width: 520px; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 32px 24px 24px; }
  .plan-head { min-height: 0; }
  .plan-price { font-size: 44px; }
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--staff-line); }
.faq details:last-child { border-bottom: 1px solid var(--staff-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 18px; height: 18px; position: relative; transition: transform .25s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; }
.faq .answer p:last-child { margin: 0; }

/* Final CTA */
.final { text-align: center; }
.final .heading { margin: 0 auto 20px; }
.final p { color: var(--graphite); margin: 0 auto 32px; max-width: 520px; }
.final .cta-row { justify-content: center; }

/* Footer */
.site-footer { background: #141414; color: #FBFAF8; position: relative; overflow: hidden; padding: 72px 0 40px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ribbon); }
.footer-mark {
  font: 600 clamp(40px, 9.5vw, 132px)/1 var(--font-text); letter-spacing: .2em; text-transform: uppercase;
  color: #1F1F1F; text-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 -1px 0 rgba(0,0,0,0.9);
  white-space: nowrap; margin-bottom: 56px; user-select: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #99999E; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #FBFAF8; text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--ribbon); }
.footer-grid p { color: #99999E; font-size: 15px; max-width: 320px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2A2A2C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #99999E; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .f-about { grid-column: 1 / -1; } }

/* Gentle reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* anchored sections land below the fixed header */
[id] { scroll-margin-top: 84px; }

/* iOS screenshots leave out the Dynamic Island, so the phone frames draw it */
.device.phone .screen { position: relative; }
.device.phone .screen::after {
  content: ""; position: absolute; left: 50%; top: 1.2%; transform: translateX(-50%);
  width: 29.5%; aspect-ratio: 3.4; border-radius: 999px; background: #000; pointer-events: none;
}

/* licence credits in the footer (support + privacy pages) */
.credits { margin-top: 32px; padding-top: 24px; border-top: 1px solid #2A2A2C; display: grid; gap: 10px; }
.credits p { margin: 0; font-size: 13px; line-height: 1.55; color: #99999E; max-width: 900px; }
.credits a { color: #C9C9CE; }

/* desktop: a QR code next to the badge for visitors who'll install on their phone */
.hero-qr { display: flex; align-items: center; gap: 14px; padding-left: 20px; border-left: 1px solid var(--staff-line); }
.qr-code { width: 64px; height: 64px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--staff-line), var(--shadow-card); }
.qr-code svg { display: block; width: 100%; height: 100%; }
.hero-qr span { font-size: 13px; line-height: 1.4; color: var(--graphite); }
@media (max-width: 860px) { .hero-qr { display: none; } }

/* silver corner protectors: L-shaped brackets that wrap the corners, one rivet
   per arm, like a real choir / band folder (one drawing, rotated per corner) */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.corner {
  position: absolute; width: 52px; height: 52px; z-index: 3; pointer-events: none; overflow: visible;
  filter: drop-shadow(0 1.5px 1.5px rgba(0,0,0,0.55)) drop-shadow(0 0 0.5px rgba(0,0,0,0.6));
}
.corner.br { right: 0; bottom: 0; }
.corner.tr { right: 0; top: 0; transform: rotate(-90deg); }
.corner.tl { left: 0; top: 0; transform: rotate(180deg); }
.corner.bl { left: 0; bottom: 0; transform: rotate(90deg); }
/* inside: the smaller part of each bracket that folds round the edge */
.corner.in { width: 28px; height: 28px; }
.page > .corner.in { opacity: 0; transition: opacity .25s ease; }
.rig.is-open .page > .corner.in { opacity: 1; }
.page > .corner.in.br { transform: translateZ(3px); }
.page > .corner.in.tr { transform: translateZ(3px) rotate(-90deg); }
