/* Hallmark · check · built: the project · redesign: full · genre: modern-minimal · theme: custom (brand kept: the app's orange, the system face, glass on the nav only) · job: try · hero: Stage · nav: floating glass bar, wordmark and three links · footer: one row, name and links · signature: the real Read screen in one phone, set big */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3 · weakest: V, a product page with a phone beside a headline is common; cut the icon tiles, the glows, the eyebrows and three of four device frames, and set the features as a plain table */
/* Hallmark · dismissed 29 · the only translucent surface is the sticky nav, which the page scrolls under; the owner asked for the iOS glass look, and no glow, orb or wash is left on the page */
/* Hallmark · dismissed 41 · .section.band takes --color-surface and its text takes --color-ink; both tokens swap together in the dark block, so the dark band carries light text */
/* Hallmark · waive 47b · one phone frame, a real Read screenshot inside · the phone is where the product runs */

@font-face {
  font-family: "Rethink Sans";
  src: url("../fonts/rethink-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --color-paper: #f7f4f0;
  --color-surface: #efeae4;
  --color-ink: #1b1612;
  --color-muted: #5f564d;
  --color-line: #d9d1c8;
  --color-accent: #b84a0c;
  --color-accent-hover: #a03f08;
  --color-accent-ink: #fff9f3;
  --color-stage: #f3dcc8;
  --color-glass: rgba(247, 244, 240, 0.72);
  --color-device: #14110f;
  --color-device-edge: #3a3531;

  --font-display: "Rethink Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --text-display: clamp(2.5rem, 5.4vw, 4.5rem);
  --text-section: clamp(2rem, 3.6vw, 3rem);
  --text-title: 1.25rem;
  --text-lede: clamp(1.125rem, 1.6vw, 1.375rem);
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-price: clamp(2.25rem, 3.4vw, 3rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-section: clamp(72px, 9vw, 128px);
  --space-section-wide: clamp(88px, 11vw, 160px);
  --gutter: clamp(20px, 5vw, 48px);

  --container: 1200px;
  --measure: 62ch;
  --radius-control: 999px;
  --radius-media: 20px;
  --radius-device: 44px;
  --phone-height: clamp(420px, 44vw, 580px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: #100e0c;
    --color-surface: #191613;
    --color-ink: #f5f0ea;
    --color-muted: #aba196;
    --color-line: #332e29;
    --color-accent: #f0782e;
    --color-accent-hover: #ff8d47;
    --color-accent-ink: #1c0e04;
    --color-stage: #2a1c12;
    --color-glass: rgba(16, 14, 12, 0.7);
    --color-device: #060505;
    --color-device-edge: #4a443f;
  }
}

* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--color-accent-ink); background: var(--color-accent); }
html { scrollbar-color: var(--color-line) var(--color-paper); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1.08;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-display); line-height: 1.04; }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent-hover); }
a:active { opacity: 0.7; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: var(--text-lede); line-height: 1.4; color: var(--color-muted); max-width: 30ch; text-wrap: pretty; }
.note { font-size: var(--text-small); color: var(--color-muted); }

/* Nav: the one glass surface, because the page scrolls under it. */
.nav {
  position: sticky;
  top: var(--space-3);
  z-index: 10;
  width: calc(100% - 2 * var(--space-3));
  max-width: var(--container);
  margin: var(--space-3) auto 0;
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
}
.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--color-ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--color-ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; }
.nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-control);
  font-size: var(--text-small);
  font-weight: 550;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav nav a:hover { background: var(--color-surface); }
@media (max-width: 560px) {
  .brand span { display: none; }
  .nav nav a { padding: var(--space-2) var(--space-3); }
}

/* Controls */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-control);
  font-weight: 650;
  color: var(--color-accent-ink);
  background: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn:hover { color: var(--color-accent-ink); background: var(--color-accent-hover); }
.btn:active { transform: scale(0.97); opacity: 1; }
.btn.quiet { color: var(--color-ink); background: transparent; border: 1px solid var(--color-line); }
.btn.quiet:hover { color: var(--color-ink); background: var(--color-surface); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: var(--space-2) var(--space-6) var(--space-2) var(--space-5);
  border-radius: var(--radius-control);
  color: var(--color-paper);
  background: var(--color-ink);
  white-space: nowrap;
  line-height: 1.15;
}
.badge svg { width: 24px; height: 24px; flex: none; }
.badge small { display: block; font-size: 0.75rem; }
.badge strong { display: block; font-size: 1.0625rem; font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Hero */
.hero { padding-block: var(--space-12) var(--space-16); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.hero-copy { display: grid; gap: var(--space-6); justify-items: start; }
.stage {
  display: grid;
  place-items: center;
  padding: var(--space-10) var(--space-6) 0;
  border-radius: var(--radius-media);
  background: var(--color-stage);
  overflow: hidden;
}
.phone {
  height: var(--phone-height);
  aspect-ratio: 598 / 1300;
  padding: var(--space-2);
  margin-bottom: calc(-1 * var(--space-16));
  border-radius: var(--radius-device);
  background: var(--color-device);
  border: 1px solid var(--color-device-edge);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-device) - var(--space-2)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
}

/* Sections */
.section { padding-block: var(--space-section); }
.section.wide { padding-block: var(--space-section-wide); }
.section.band { background: var(--color-surface); }
.head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
.head h2 { max-width: 16ch; }
.head.long h2 { max-width: 13ch; }

/* Features: a plain table, because it is a list of facts with a plan each. */
.features { width: 100%; border-collapse: collapse; text-align: left; }
.features th, .features td { padding: var(--space-5) var(--space-6) var(--space-5) 0; border-top: 1px solid var(--color-line); vertical-align: baseline; }
.features thead th { border-top: 0; padding-block: 0 var(--space-3); font-size: var(--text-small); font-weight: 500; color: var(--color-muted); }
.features tbody th { width: 26%; font-size: var(--text-title); font-weight: 650; letter-spacing: -0.01em; }
.features td { color: var(--color-muted); }
.features td:last-child { width: 12%; padding-right: 0; color: var(--color-ink); font-weight: 550; white-space: nowrap; }
@media (max-width: 700px) {
  .features thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .features tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-4); padding-block: var(--space-4); border-top: 1px solid var(--color-line); }
  .features th, .features td { display: block; padding: 0; border: 0; }
  .features tbody th { width: auto; }
  .features td:last-child { width: auto; grid-column: 2; grid-row: 1; }
  .features td:nth-child(2) { grid-column: 1 / -1; margin-top: var(--space-1); }
}

/* Screens */
.screens { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
.screens .head { margin-bottom: var(--space-8); }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); color: var(--color-muted); }
.points li { padding-top: var(--space-3); border-top: 1px solid var(--color-line); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: 0; }
.shots figure { margin: 0; display: grid; gap: var(--space-3); align-content: start; }
.shots img { width: 100%; border-radius: var(--radius-media); border: 1px solid var(--color-line); }
.shots figcaption { font-size: var(--text-small); color: var(--color-muted); }
@media (max-width: 900px) {
  .screens { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
}
@media (max-width: 600px) {
  .shots { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); }
  .shots figure { scroll-snap-align: start; }
}

/* Pricing: three columns on one sheet, divided by rules. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--color-line); }
.plan { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-8) var(--space-8) 0 0; }
.plan + .plan { padding-left: var(--space-8); border-left: 1px solid var(--color-line); }
.price { font-family: var(--font-display); font-size: var(--text-price); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--font-body); font-size: var(--text-body); font-weight: 500; letter-spacing: 0; color: var(--color-muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); color: var(--color-muted); }
.pricing-note { margin-top: var(--space-10); max-width: var(--measure); }
@media (max-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .plan, .plan + .plan { padding: var(--space-8) 0; border-left: 0; border-top: 1px solid var(--color-line); }
}

/* Questions */
.qa { max-width: 760px; border-bottom: 1px solid var(--color-line); }
details { border-top: 1px solid var(--color-line); }
summary { position: relative; display: block; min-height: 44px; padding: var(--space-5) var(--space-10) var(--space-5) 0; font-size: var(--text-title); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: var(--space-1); top: var(--space-4); font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--color-muted); transition: transform 0.2s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--color-accent); }
summary:active { opacity: 0.7; }
details p { padding-bottom: var(--space-6); color: var(--color-muted); max-width: var(--measure); }
.after-qa { margin-top: var(--space-8); }

/* Close */
.close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-8); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); padding-block: var(--space-8) var(--space-12); border-top: 1px solid var(--color-line); font-size: var(--text-small); color: var(--color-muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.foot a { color: var(--color-muted); white-space: nowrap; }
.foot a:hover { color: var(--color-ink); }

/* Text pages: privacy and support */
.doc { padding-block: var(--space-16) var(--space-section); }
.doc article { max-width: var(--measure); }
.doc h1 { font-size: var(--text-section); margin-bottom: var(--space-4); }
.doc h2 { font-size: var(--text-title); letter-spacing: -0.01em; line-height: 1.25; margin: var(--space-12) 0 var(--space-3); }
.doc p, .doc li { color: var(--color-muted); }
.doc p + p { margin-top: var(--space-3); }
.doc ul { margin: var(--space-3) 0 0; padding-left: var(--space-5); display: grid; gap: var(--space-2); }
.doc strong { color: var(--color-ink); font-weight: 600; }
.doc .btn { margin-block: var(--space-6) var(--space-4); }
.doc .qa { margin-top: var(--space-4); }
.doc .links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }

@media (prefers-reduced-motion: reduce) {
  .btn, summary::after { transition: none; }
  .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--color-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
