:root {
  --bg: #fcfaf8;
  --surface: #fefdfc;
  --surface-alt: #f6f1ee;
  --text: #2b2426;
  --text-muted: #948785;
  --border: #f1eae5;
  --accent: #e32e3b;
  --accent-strong: #c82633;
  --accent-soft: rgba(227, 46, 59, 0.08);
  --accent-border: rgba(227, 46, 59, 0.16);
  --shadow-sm: 0 10px 24px rgba(106, 68, 43, 0.05);
  --shadow-md: 0 16px 36px rgba(106, 68, 43, 0.07);
  --shadow-lg: 0 22px 52px rgba(106, 68, 43, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(227, 46, 59, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 19rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.24), transparent 24%);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 0 4px rgba(227, 46, 59, 0.14);
}

::selection {
  background: rgba(227, 46, 59, 0.16);
  color: var(--text);
}

strong {
  color: var(--text);
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

p,
ul {
  margin-bottom: 14px;
}

ul {
  padding: 0 0 0 20px;
}

li {
  margin: 0 0 10px;
}

li::marker {
  color: rgba(148, 135, 133, 0.92);
}

h1,
h2,
h3 {
  color: var(--text);
}

h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(252, 250, 248, 0.86);
  border-bottom: 1px solid rgba(241, 234, 229, 0.94);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--accent);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: block;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7f0ec);
  border: 1px solid rgba(241, 234, 229, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 20px rgba(106, 68, 43, 0.05);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(254, 253, 252, 0.88);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(227, 46, 59, 0.2);
}

.nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.app-store-link--header {
  padding: 2px;
}

.app-store-link--footer {
  padding: 2px;
}

.app-store-badge {
  display: block;
  width: auto;
  height: auto;
}

.app-store-badge--header {
  width: 118px;
}

.app-store-badge--footer {
  width: 128px;
}

.hero {
  padding: 40px 0 28px;
}

.hero-grid,
.main-grid,
.grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 20px;
}

.main-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  padding-bottom: 54px;
}

.grid {
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 8px 0 56px;
}

.hero-card,
.side-card,
.panel,
.faq-item,
.footer-card,
.toc,
.action-card,
.feature-band {
  background: rgba(254, 253, 252, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-card,
.side-card,
.footer-card,
.action-card,
.toc,
.faq-item,
.feature-band {
  border-radius: var(--radius-xl);
}

.hero-card,
.side-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.hero-card::before,
.side-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 110px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.page-home .hero-card::after,
.page-support .hero-card::after,
.page-privacy .hero-card::after,
.page-blog .hero-card::after,
.page-support .side-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-home .hero-card::after {
  width: 300px;
  height: 300px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(227, 46, 59, 0.12), transparent 70%);
}

.page-support .hero-card::after {
  width: 260px;
  height: 260px;
  top: -110px;
  right: -90px;
  background: radial-gradient(circle, rgba(227, 46, 59, 0.1), transparent 70%);
}

.page-support .side-card::after {
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(227, 46, 59, 0.08), transparent 72%);
}

.page-privacy .hero-card::after {
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(227, 46, 59, 0.08), transparent 72%);
}

.page-blog .hero-card::after {
  width: 260px;
  height: 260px;
  top: -110px;
  right: -90px;
  background: radial-gradient(circle, rgba(227, 46, 59, 0.1), transparent 70%);
}

.lead {
  max-width: 44rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.eyebrow,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(246, 241, 238, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.eyebrow {
  padding: 8px 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag,
.pill {
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-meta,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  margin-top: 24px;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(227, 46, 59, 0.2);
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button-outline {
  background: rgba(254, 253, 252, 0.98);
  color: var(--text);
  border-color: var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.button-outline:hover {
  color: var(--accent);
  border-color: rgba(227, 46, 59, 0.22);
  background: #ffffff;
}

.main {
  padding-bottom: 54px;
}

.panel {
  border-radius: 28px;
  padding: 8px;
}

.section {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.section + .section {
  border-top: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.page-support .cards,
.page-privacy .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.mini-card {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card p:last-child,
.mini-card p:last-child,
.mini-card span:last-child {
  margin-bottom: 0;
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}

.link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(227, 46, 59, 0.18);
  box-shadow: var(--shadow-md);
}

.small {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.stat-list,
.faq-list,
.sidebar {
  display: grid;
  gap: 14px;
}

.stat-list {
  margin-top: 18px;
}

.faq-list {
  margin-top: 16px;
}

.sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.stat-badge {
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(227, 46, 59, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.faq-item {
  padding: 18px 20px;
}

.action-card {
  padding: 22px;
}

.action-card .button,
.action-card .button-outline,
.side-actions .button,
.side-actions .button-outline {
  width: 100%;
  justify-content: center;
}

.side-actions {
  display: grid;
  gap: 12px;
}

.toc {
  position: sticky;
  top: 84px;
  padding: 18px;
  align-self: start;
}

.toc h2 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.toc a:hover {
  color: var(--accent);
  background: var(--surface-alt);
}

.callout {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(227, 46, 59, 0.06), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(227, 46, 59, 0.12);
  box-shadow: var(--shadow-sm);
}

.note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(227, 46, 59, 0.12);
  background: rgba(227, 46, 59, 0.06);
}

.section a:not(.button):not(.button-outline):not(.link-card),
.footer-card a:not(.button):not(.button-outline),
.lead a {
  color: var(--accent);
  text-decoration-color: rgba(227, 46, 59, 0.24);
  text-underline-offset: 0.18em;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
}

.home-intro {
  z-index: 1;
}

.hero-points,
.feature-points {
  display: grid;
  gap: 12px;
}

.hero-points {
  margin-top: 24px;
}

.feature-points {
  margin-top: 18px;
}

.feature-point {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.feature-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.hero-showcase {
  position: relative;
  min-height: 760px;
}

.shot-stack {
  position: relative;
  min-height: 100%;
  padding: 18px 0 66px 34px;
}

.device-shot {
  margin: 0;
}

.device-shell {
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 236, 0.98));
  border: 1px solid rgba(241, 234, 229, 0.96);
  box-shadow:
    0 24px 54px rgba(106, 68, 43, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.device-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 32px;
  background: #ffffff;
}

.featured-shot {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  margin-left: auto;
}

.floating-shot {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(56%, 250px);
}

.home-stack {
  display: grid;
  gap: 24px;
  padding-bottom: 56px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.feature-band.reverse .feature-copy {
  order: 2;
}

.feature-band.reverse .feature-gallery {
  order: 1;
}

.feature-copy p + p {
  margin-top: 12px;
}

.blog-main {
  padding: 0 0 56px;
}

.blog-stack {
  display: grid;
  gap: 24px;
}

.blog-post,
.blog-empty {
  background: rgba(254, 253, 252, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
}

.blog-post {
  padding: 28px;
}

.blog-post:target {
  border-color: var(--accent-border);
  box-shadow:
    var(--shadow-lg),
    0 0 0 4px rgba(227, 46, 59, 0.08);
}

.blog-empty {
  padding: 30px;
}

.blog-post-header,
.share-actions {
  display: flex;
  gap: 16px;
}

.blog-post-header {
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.blog-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.blog-post-date {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.blog-post-title {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.permalink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(246, 241, 238, 0.94);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.permalink:hover {
  color: var(--accent);
  border-color: rgba(227, 46, 59, 0.2);
  background: #ffffff;
}

.blog-richtext {
  color: var(--text);
}

.blog-richtext > *:last-child {
  margin-bottom: 0;
}

.blog-richtext h1,
.blog-richtext h2,
.blog-richtext h3,
.blog-richtext h4 {
  margin: 30px 0 12px;
}

.blog-richtext h1:first-child,
.blog-richtext h2:first-child,
.blog-richtext h3:first-child,
.blog-richtext h4:first-child {
  margin-top: 0;
}

.blog-richtext h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.blog-richtext h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.blog-richtext h3 {
  font-size: 1.15rem;
}

.blog-richtext h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.3;
}

.blog-richtext p,
.blog-richtext ul,
.blog-richtext ol,
.blog-richtext blockquote,
.blog-richtext pre,
.blog-richtext hr,
.blog-richtext figure {
  margin-bottom: 16px;
}

.blog-richtext ul,
.blog-richtext ol {
  padding-left: 22px;
}

.blog-richtext li + li {
  margin-top: 8px;
}

.blog-richtext blockquote {
  margin-left: 0;
  padding: 16px 18px;
  border-left: 4px solid rgba(227, 46, 59, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(227, 46, 59, 0.06), rgba(255, 255, 255, 0.96));
  color: rgba(43, 36, 38, 0.9);
}

.blog-richtext hr {
  border: 0;
  border-top: 1px solid var(--border);
}

.blog-richtext code {
  padding: 0.16rem 0.42rem;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.blog-richtext pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: #221d1f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-richtext pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8f3f1;
}

.blog-richtext a {
  color: var(--accent);
  text-decoration-color: rgba(227, 46, 59, 0.24);
  text-underline-offset: 0.18em;
}

.blog-richtext img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.blog-richtext p > img:only-child {
  display: block;
  float: right;
  width: min(100%, 320px);
  margin: 6px 0 18px 22px;
}

.share-actions {
  flex-wrap: wrap;
}

.share-trigger {
  cursor: pointer;
  font: inherit;
  color: var(--accent);
  border-color: rgba(227, 46, 59, 0.18);
  background: linear-gradient(180deg, rgba(255, 248, 247, 0.98), rgba(255, 243, 241, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(227, 46, 59, 0.08);
}

.share-trigger:hover {
  color: var(--accent-strong);
  border-color: rgba(227, 46, 59, 0.26);
  background: linear-gradient(180deg, rgba(255, 251, 250, 1), rgba(255, 245, 242, 1));
}

.share-dialog {
  width: min(calc(100% - 32px), 640px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.share-dialog::backdrop {
  background: rgba(35, 27, 28, 0.4);
  backdrop-filter: blur(10px);
}

.share-dialog[open] .share-dialog-shell {
  animation: share-dialog-in 180ms ease-out;
}

.share-dialog-shell {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(241, 234, 229, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 245, 241, 0.98));
  box-shadow:
    0 30px 70px rgba(43, 36, 38, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.share-dialog-copy {
  max-width: 28rem;
  padding-right: 56px;
}

.share-dialog-copy h3 {
  margin-bottom: 6px;
}

.share-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.share-dialog-close:hover {
  color: var(--accent);
  border-color: rgba(227, 46, 59, 0.2);
  background: #ffffff;
}

.share-actions--dialog {
  margin-top: 18px;
  justify-content: flex-start;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(254, 253, 252, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.share-link:hover {
  color: var(--accent);
  border-color: rgba(227, 46, 59, 0.22);
  background: #ffffff;
}

.share-link--button {
  cursor: pointer;
  font: inherit;
}

.share-status {
  width: 100%;
  margin: 12px 0 0;
  min-height: 1.5em;
  text-align: left;
}

body.dialog-open {
  overflow: hidden;
}

@keyframes share-dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-gallery {
  display: grid;
  gap: 16px;
  align-items: end;
}

.gallery-duo {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.84fr);
}

.gallery-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-single {
  justify-items: center;
}

.shot-centered {
  width: min(100%, 300px);
}

.shot-narrow {
  width: min(100%, 270px);
}

.device-shot--raise {
  transform: translateY(-18px);
}

.device-shot--lower {
  transform: translateY(26px);
}

.footer {
  padding: 0 0 48px;
}

.footer-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.footer-copy {
  max-width: 30rem;
}

.footer-tagline {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.footer-meta {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-utility {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(254, 253, 252, 0.88);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text);
  background: #ffffff;
  border-color: rgba(227, 46, 59, 0.2);
}

.footer-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

@media (max-width: 1100px) {
  .home-hero-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse .feature-copy,
  .feature-band.reverse .feature-gallery {
    order: initial;
  }

  .hero-showcase {
    min-height: auto;
  }

  .shot-stack {
    min-height: auto;
    padding: 0;
    display: grid;
    gap: 18px;
  }

  .featured-shot,
  .floating-shot {
    position: static;
    width: min(100%, 360px);
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .main-grid,
  .grid,
  .cards,
  .page-support .cards,
  .page-privacy .cards,
  .gallery-duo,
  .gallery-trio {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .toc {
    position: static;
  }

  .hero-card,
  .side-card,
  .section,
  .feature-band {
    padding: 24px;
  }

  .device-shot--raise,
  .device-shot--lower {
    transform: none;
  }

  .shot-centered,
  .shot-narrow {
    width: min(100%, 320px);
  }

  .blog-post-header {
    flex-direction: column;
  }

  .blog-post-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .share-actions,
  .share-status {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .topbar-inner {
    min-height: 60px;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 120px;
    text-align: center;
  }

  .app-store-link--header {
    align-self: flex-start;
  }

  .footer-utility,
  .footer-nav {
    width: 100%;
    justify-items: start;
    justify-content: flex-start;
  }

  .footer-nav a {
    flex: 1 1 120px;
    text-align: center;
  }

  .blog-post,
  .blog-empty {
    padding: 22px;
  }

  .share-link {
    flex: 1 1 140px;
  }

  .blog-richtext p > img:only-child {
    float: none;
    margin: 18px auto;
  }

  .share-dialog-shell {
    padding: 22px;
  }

  .share-dialog-copy {
    padding-right: 64px;
  }

  .share-dialog-close {
    top: 14px;
    right: 14px;
  }

  .section,
  .hero-card,
  .side-card,
  .feature-band {
    padding: 22px;
  }

  .footer-card {
    padding: 20px;
  }

  .device-shell {
    padding: 8px;
    border-radius: 34px;
  }

  .device-shell img {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
