/* Photo Press – getphotopress.com
   One stylesheet for every page. Colours come from the app: the icon's teal, the deep green of
   its buttons, the red PDF badge and the light paper grey behind its pages. */

/* Open-source stand-ins for SF Pro where the system font isn't SF (Windows, Android, Linux):
   Inter for text, Mona Sans (with a width axis) for the expanded titles. Apple devices match
   -apple-system first and never download these. Both SIL OFL 1.1; licences in assets/fonts. */
@font-face {
  font-family: "Inter"; src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mona Sans"; src: url("/assets/fonts/MonaSansVF.woff2") format("woff2");
  font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap;
}

:root {
  --ink: #17302f;
  --ink-soft: #4a5f5e;
  --paper: #f4f3ef;
  --card: #ffffff;
  --line: rgba(23, 48, 47, 0.12);
  --teal: #4fa3a3;
  --teal-soft: #e3f0ef;
  --deep: #1d4443;
  --deep-2: #2b605e;
  --red: #c53f32;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 40, 40, 0.06), 0 12px 32px rgba(15, 40, 40, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Mona Sans", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9f0ef;
    --ink-soft: #a7b8b7;
    --paper: #0f1716;
    --card: #182322;
    --line: rgba(233, 240, 239, 0.12);
    --teal-soft: #1b3332;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--deep-2); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #8fd0cf; } }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.lede { font-size: 19px; line-height: 1.35; color: var(--ink-soft); max-width: 620px; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-dark { background: transparent; border-bottom-color: transparent; position: absolute; left: 0; right: 0; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; flex: none; }
.nav > a { color: inherit; text-decoration: none; font-size: 15px; opacity: 0.8; margin-left: 18px; }
.nav > a:hover, .nav > a[aria-current="page"] { opacity: 1; }
.on-dark, .on-dark .brand, .on-dark .nav > a { color: #fff; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--deep); color: #fff !important; text-decoration: none;
  font-weight: 650; font-size: 15px; padding: 9px 16px; border-radius: 999px; opacity: 1 !important;
  white-space: nowrap;
}
.on-dark .btn-pill { background: #fff; color: var(--deep) !important; }
@media (max-width: 560px) { .nav > a:not(.btn-pill) { display: none; } }

/* The language menu, as on getflowshot.com: a <details> with each language in its own name,
   a flag beside it, and no JavaScript. tools/i18n.py writes it into every page. */
.langswitch { position: relative; margin-left: 18px; font-size: 14px; }
.langswitch summary {
  list-style: none; cursor: pointer; white-space: nowrap; position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 5px 28px 5px 10px; border-radius: 8px; border: 1px solid var(--line);
}
.on-dark .langswitch summary { border-color: rgba(255, 255, 255, 0.38); }
.langswitch summary::-webkit-details-marker { display: none; }
.langswitch summary::after {
  content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-72%) rotate(45deg);
}
.langswitch summary:hover, .langswitch[open] summary { background: color-mix(in srgb, currentColor 10%, transparent); }
.langswitch summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.langswitch__flag {
  flex: none; width: 20px; height: 15px; border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(23, 48, 47, 0.18);
}
.langswitch__menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: 210px;
  display: grid; gap: 2px; padding: 8px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.langswitch__menu a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.langswitch__menu a:hover { background: var(--teal-soft); }
.langswitch__menu a[aria-current] { background: var(--deep); color: #fff; }
/* On a phone the button shows only the flag and the language's short code. */
.langswitch .short { display: none; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 10px; }
  .brand { min-width: 0; }
  .langswitch { margin-left: 0; position: static; }
  .langswitch__menu { top: calc(100% - 6px); right: 16px; }
  .langswitch summary { padding-left: 8px; gap: 6px; }
  .nav > .btn-pill { margin-left: 10px; }
  .langswitch .long { display: none; }
  .langswitch .short { display: inline; }
}
/* Too narrow for the name, the menu and the button together: the icon stands for the name. */
@media (max-width: 430px) {
  .site-header .brand .pp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.center .cta-row { justify-content: center; }
.price-note { font-size: 14px; opacity: 0.8; margin: 0; max-width: 260px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1; overflow-x: clip; color: #fff; /* clip sideways only, so the phone's shadow falls onto the page below */
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(79, 163, 163, 0.55), transparent 60%),
    linear-gradient(160deg, #1a3c3b 0%, var(--deep) 45%, #24524f 100%);
  padding: 120px 0 0;
}
.hero::after { /* paper edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--paper); clip-path: ellipse(75% 100% at 50% 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-icon { width: 84px; height: 84px; margin-bottom: 22px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.3)); }
.hero h1 { font-size: clamp(44px, 7vw, 78px); font-weight: 850; margin-bottom: 22px; }
.hero .sub { font-size: 19px; line-height: 1.35; max-width: 520px; color: rgba(255, 255, 255, 0.86); margin-bottom: 30px; }
.hero .sub strong { color: #fff; }
.hero-visual { position: relative; padding-bottom: 60px; }
.hero-visual .phone { margin-inline: auto; transform: rotate(3deg); }
.hero-visual .stamp { position: absolute; left: 2%; bottom: 120px; width: 120px; transform: rotate(-10deg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.3)); }
@media (max-width: 860px) {
  .hero { padding-top: 96px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-visual .stamp { display: none; }
}

/* ---------- Phone frame ---------- */
.phone {
  width: min(300px, 78vw); aspect-ratio: 1206 / 2622;
  border-radius: 46px; padding: 9px; background: #0d1414;
  box-shadow: 0 0 0 1.5px #3a4645 inset, 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone.small { width: min(240px, 70vw); border-radius: 38px; padding: 7px; }
.phone.small img { border-radius: 31px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
/* Text beside a phone: a centred pair (text column, phone), the same gap whichever side the
   phone is on, so each row sits balanced in the middle of the page. */
.split { display: grid; grid-template-columns: minmax(0, 460px) 300px; column-gap: 96px; justify-content: center; align-items: center; }
.split.flip { grid-template-columns: 300px minmax(0, 460px); }
.split.flip > :first-child { order: 2; }
.split .phone { margin-inline: auto; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; gap: 40px; } .split.flip > :first-child { order: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 14px; }
.chips li.group { background: var(--teal-soft); border-color: transparent; font-weight: 650; }

/* Use-case cards */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
/* Each card: the page in a square frame (centred, whatever its shape), then the title and
   description, then the layout it uses, pinned to the bottom above a divider. */
.uses { align-items: stretch; }
.use { display: flex; flex-direction: column; text-align: left; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.use .page-art { position: relative; aspect-ratio: 1 / 1; background: var(--teal-soft); }
.use .page-art img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 56px); max-height: calc(100% - 56px); aspect-ratio: auto; object-fit: contain; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px rgba(15,40,40,.16); }
.use .use-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 18px; }
.use h3 { margin: 0 0 6px; }
.use p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; flex: 1; }
/* The layout line, the same in every card and in the expenses card. */
.use .tag, .feature .tag { display: block; margin-top: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 650; color: var(--deep-2); }
@media (prefers-color-scheme: dark) { .use .tag, .feature .tag { color: #8fd0cf; } }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 22px 20px 0; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.step h3 { font-size: 19px; }
.step h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 9px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 14px; vertical-align: 2px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step .crop { margin-top: auto; height: 300px; overflow: hidden; border-radius: 26px 26px 0 0; border: 6px solid #0d1414; border-bottom: 0; }
.step .crop img { width: 100%; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Size stats */
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 12px; }
.size { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.size b { display: block; font-size: 20px; margin-bottom: 4px; font-weight: 800; letter-spacing: -0.02em; font-family: var(--display); }
.size > span { display: block; font-size: 14px; line-height: 1.3; color: var(--ink-soft); }
.size em { font-style: normal; display: block; font-weight: 650; font-size: 15px; margin-bottom: 4px; }
.split .sizes { grid-template-columns: 1fr 1fr; }
@media (max-width: 1060px) { .sizes { grid-template-columns: 1fr 1fr; } }
.fineprint { font-size: 13px; color: var(--ink-soft); }

/* Privacy band */
.band { background: var(--deep); color: #fff; border-radius: 32px; padding: 64px; }
.band h2 { color: #fff; }
.band .lede { color: rgba(255, 255, 255, 0.8); }
.band a { color: #bfe6e5; }
.ticks { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { display: block; }
.ticks li > span { display: block; color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.3; }
@media (max-width: 760px) { .band { padding: 40px 24px; border-radius: 24px; } .ticks { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; text-align: left; }
.plan { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.plan h3 { margin-bottom: 14px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.plan li { margin-bottom: 10px; line-height: 1.25; }
.plan.pro { outline: 2px solid var(--teal); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--card); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); line-height: 1.4; }
.faq details > div p:last-child { margin: 0; }

/* Final CTA */
.final { text-align: center; padding-bottom: 120px; }
.final img.icon { width: 110px; height: 110px; margin: 0 auto 24px; filter: drop-shadow(0 12px 24px rgba(15, 40, 40, 0.25)); }

/* ---------- Document pages (privacy, support, terms, contact) ---------- */
.doc-hero { padding: 72px 0 28px; }
.doc-hero h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 850; }
.doc-hero .updated { color: var(--ink-soft); font-size: 15px; }
.doc { padding: 0 0 96px; }
.doc h2 { font-size: 28px; margin-top: 56px; padding-top: 8px; }
.doc h3 { margin-top: 32px; font-size: 20px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { background: var(--teal-soft); border-radius: 18px; padding: 22px 24px; font-size: 18px; }
.doc .summary p:last-child { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; text-decoration: none; color: inherit; }
.tip { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: start; margin-top: 32px; }
.tip .phone.small { width: 200px; border-radius: 32px; padding: 6px; }
.tip .phone.small img { border-radius: 26px; }
@media (max-width: 640px) { .tip { grid-template-columns: 1fr; } .tip .phone { margin-inline: auto; } }
.callout { border-left: 4px solid var(--teal); padding: 4px 0 4px 18px; margin: 20px 0; color: var(--ink-soft); }
.mail { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; background: var(--deep); color: #fff !important; text-decoration: none; padding: 14px 24px; border-radius: 999px; margin: 8px 0 24px; }
kbd, .ui { font-family: var(--font); font-weight: 650; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer img { width: 32px; height: 32px; }
.site-footer .name { font-weight: 700; color: var(--ink); }
.site-footer nav { margin-left: auto; display: flex; gap: 18px; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .legal { width: 100%; font-size: 13px; margin-top: 12px; opacity: 0.8; }

/* ---------- Layouts table (home) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.layouts { width: 100%; margin-top: 56px; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 15px; text-align: left; }
.layouts thead th { font-size: 14px; color: var(--ink-soft); font-weight: 700; padding: 16px 22px; background: var(--teal-soft); }
.layouts tbody th, .layouts td { padding: 18px 22px; vertical-align: top; border-top: 1px solid var(--line); }
.layouts tbody tr:first-child > * { border-top: 0; }
.layouts tbody th { width: 18%; font-weight: 400; }
.layouts td:last-child { width: 26%; color: var(--ink-soft); }
.layouts .g { display: block; font-weight: 700; font-size: 16px; }
.layouts .paper { display: block; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.layouts ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.layouts li { break-inside: avoid; margin-bottom: 4px; padding-left: 14px; position: relative; }
.layouts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 720px) {
  .layouts thead { display: none; }
  .layouts, .layouts tbody, .layouts tr, .layouts th, .layouts td { display: block; width: auto !important; }
  .layouts tr { border-top: 1px solid var(--line); padding: 16px 18px; }
  .layouts tbody tr:first-child { border-top: 0; }
  .layouts tbody th, .layouts td { padding: 0; border: 0; }
  .layouts td { margin-top: 8px; }
}

/* ---------- Featured use: expenses (home, top of "Made for") ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch; margin-top: 48px; text-align: left; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0; overflow: hidden; }
.feature-text { padding: 40px 44px; align-self: center; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.feature p { color: var(--ink-soft); font-size: 17px; }
.fan { position: relative; min-height: 400px; background: var(--teal-soft); overflow: hidden; }
.fan img { position: absolute; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 30px rgba(15,40,40,.18); border-radius: 3px; }
.fan .p1 { width: 40%; left: 30%; top: 10%; transform: rotate(-1.5deg); z-index: 3; }
.fan .p2 { width: 44%; left: 5%; top: 24%; transform: rotate(-9deg); z-index: 1; }
.fan .p3 { width: 30%; right: 6%; top: 17%; transform: rotate(8deg); z-index: 2; }
.uses { margin-top: 20px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-text { padding: 28px 24px; }
  .fan { min-height: 0; aspect-ratio: 1.25; order: -1; }
  .fan .p1 { top: 16%; } .fan .p2 { top: 30%; } .fan .p3 { top: 23%; }
}

/* ---------- Grouping fixes (audit) ---------- */
/* Headlines wrap in balanced lines, so a clause isn't stranded on a line of its own. */
h1, h2, h3 { text-wrap: balance; }
.lede, .sub { text-wrap: pretty; }

/* The table's own heading sits right on top of it. */
.table-intro { margin-top: 72px; text-align: left; }
.table-intro h3 { font-size: 22px; margin-bottom: 4px; }
.table-intro p { color: var(--ink-soft); margin: 0; }
.table-intro + .layouts { margin-top: 18px; }

/* One Photo Prints row, its two papers side by side. */
.layouts td.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.layouts td.papers ul { columns: 1; }
.paper-label { display: block; font-size: 14px; font-weight: 650; color: var(--ink-soft); margin-bottom: 6px; }
@media (max-width: 720px) { .layouts td.papers { display: grid !important; } }

/* Use cards show the page that was made. */
.use .tag span, .feature .tag span { font-weight: 500; color: var(--ink-soft); margin-right: 4px; }

/* The paid plan's terms belong to that plan. */
.plan-terms { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* Support: each tip is clearly its own block, so a tall screenshot doesn't read as part of the next tip. */
.doc .tip { margin-top: 0; padding: 36px 0; border-top: 1px solid var(--line); }
.doc h2 + .tip { border-top: 0; padding-top: 8px; }
.doc .tip h3 { margin-top: 0; }
/* On phones the column headings are hidden, so "Good for" labels itself. */
@media (max-width: 720px) {
  .layouts td:last-child { margin-top: 12px; }
  .layouts td:last-child::before { content: "Good for"; display: block; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 2px; }
}
/* Each step's screenshot shows the part that matters (set per step with --y). */
.step .crop img { height: 100%; object-fit: cover; object-position: 50% var(--y, 0%); }

/* Features: one row per core gesture, alternating sides, then the layouts table. */
.features .feature-row + .feature-row { margin-top: 96px; }
@media (max-width: 860px) { .features .feature-row + .feature-row { margin-top: 64px; } }

/* ---------- The app's type: SF Pro Expanded for titles ----------
   Photo Press sets its titles heavy and wide (SwiftUI .width(.expanded)). On Apple devices the
   system font has a width axis, so font-stretch draws the same expanded SF Pro with no font files;
   elsewhere the stretch is ignored and the normal sans is used. Body text stays normal width. */
h1, h2, h3, .brand, .size b, .plan h3 { font-family: var(--display); font-stretch: 125%; letter-spacing: 0; }
h1, h2 { font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.doc-hero h1 { font-size: clamp(34px, 5vw, 50px); }
.feature h3 { font-size: clamp(23px, 2.6vw, 30px); }
h3 { font-size: 19px; }
.brand { font-weight: 800; font-size: 17px; }
.use h3, .step h3 { font-size: 17px; }

/* The app's name, wherever it appears in the copy: heavy and expanded, as the app sets it.
   Wrap new mentions in <span class="pp">Photo Press</span>. */
.pp { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: 0; white-space: nowrap; }

/* Apple's official App Store badge, unmodified. Apple's rules: at least 40 px tall on screen,
   with clear space around it of a quarter of its height. */
.badge { display: inline-block; line-height: 0; padding: 0; margin: 14px 0; }
.badge img { height: 54px; width: auto; display: block; }
/* The layouts table lines up with the feature rows above it (460 + 96 + 300). */
.features .table-intro, .features .layouts { max-width: 856px; margin-inline: auto; }
/* Stacked (tablet and phone): the text centred above the phone at a readable width. */
@media (max-width: 860px) {
  .split { justify-items: center; text-align: center; }
  .split > div { width: 100%; max-width: 560px; }
  .split .lede { margin-inline: auto; }
}
