/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Dusk (deal 1/3, seed personal-money-tracker-every-f547·9b34d132·2026-10-22·r0), brand kept: the mark and the green · redesign: full · draw: c8d662 · job: try
 * hero: Corridor (/) · nav: edge-aligned · footer: mast · imagery: the product (captures of the app), one library photograph · signature: the home screen rising out of the fog under the headline · dusk: fog/green-apricot/glass
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, a phone under a headline is a common opening; it is the real home screen with a real month in it, and the fog it rises from is the theme's hour, not a gradient */
/* Hallmark · waive 44a · Corridor with the capture cut by the hero's foot · the home screen rises out of the fog and is cut by the edge on purpose, so nothing sits below it */
/* Hallmark · waive 47b · one frame per capture, the real app inside · each screen is a capture of Monee itself, set in the glass pane the app's own cards use */
/* Hallmark · dismissed 58 · the hero head keeps its nine words, "Money in, money out, and what's left to spend.": what is left to spend is the product's point */
/* Hallmark · dropped "Free to start. Works on a bad connection." · helper text under the hero; the close reuses the old lede's own question, "how much can I spend today?" */
/* Hallmark · reworded the hero lede, the six feature paragraphs and the three privacy paragraphs, each tightened from its own facts · 58 caps a screen at about 80 words */
/* Hallmark · reworded the six item heads under What it does and Your money into terms of a definition list (dt), words unchanged · the three short ones read as a ruled list, not sections */
/* Hallmark · reworded "Get started" to "Open the app" (same /app link) · 19 names Get started as a stock action */
/* Hallmark · dismissed 29 · the one glass pane is the hero's screen over the photograph, where there is something behind it to blur; the rest are opaque */
/* Hallmark · dismissed 40 · the hero's ink is the day ink on the fog scrim over the photograph; the render tier measures the painted pair and passes */
/* Hallmark · dismissed render · the file:// shots cannot fetch the preloaded faces; the served shots at localhost load them */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 72px;
  --pane-w: 360px;
  /* A whole phone, not a crop of one: the width that keeps a 390 by 844 screen under a laptop's fold. */
  --phone-w: 300px;
  --scrim-fog: color-mix(in oklab, var(--color-fog) 62%, transparent);
  --scrim-foot: var(--color-paper);
}

/* ---------- chrome ---------- */

.skip {
  position: absolute;
  left: var(--space-md);
  top: calc(-1 * var(--space-3xl));
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--radius-inner);
}
.skip:focus-visible {
  top: var(--space-md);
}

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  height: var(--nav-h);
  background: color-mix(in oklab, var(--color-paper) 72%, transparent);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--color-light) 6%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 100%;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-right: auto;
  color: var(--color-ink);
  text-decoration: none;
  font: 500 var(--text-lg) / 1 var(--font-display);
  letter-spacing: var(--tracking-display);
  border-radius: var(--radius-inner);
}
.mark img {
  width: 32px;
  height: 32px;
}
.mark:hover {
  color: var(--color-ink-2);
}
.mark:active {
  transform: translateY(1px);
}
.nav__links {
  display: flex;
  gap: var(--space-lg);
}
.link {
  color: var(--color-muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-inner);
  transition: color var(--dur-short) var(--ease-out);
}
.link:hover {
  color: var(--color-ink);
}
.link:active {
  color: var(--color-ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font: 600 0.9375rem / 1 var(--font-body);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-light) 35%, transparent);
  transition:
    background-color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}
.btn:hover {
  background: var(--color-accent-hi);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--quiet {
  background: color-mix(in oklab, var(--color-light) 6%, transparent);
  color: var(--color-ink);
  box-shadow: var(--glass-hi);
}
.btn--quiet:hover {
  background: color-mix(in oklab, var(--color-light) 11%, transparent);
}
.btn--day {
  background: color-mix(in oklab, var(--color-day-ink) 8%, transparent);
  color: var(--color-day-ink);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-day-ink) 22%, transparent);
}
.btn--day:hover {
  background: color-mix(in oklab, var(--color-day-ink) 14%, transparent);
}
.btn--day:focus-visible {
  outline-color: var(--color-day-ink);
}

/* ---------- the hour ---------- */

.hero {
  position: relative;
  isolation: isolate;
  /* One screen, never more: the capture is cut by the hero's foot. */
  height: clamp(600px, calc(100svh - var(--nav-h)), 1008px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: center;
  overflow: hidden;
  padding-top: var(--space-2xl);
  background: var(--color-shade);
  color: var(--color-day-ink);
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: contrast(1.04) saturate(1.03);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* A flat band of fog behind the text, not a spotlight: even across the width at every size. */
  background:
    linear-gradient(to bottom, var(--scrim-fog) 0%, var(--scrim-fog) 34%, transparent 58%),
    linear-gradient(to bottom, transparent 64%, var(--scrim-foot));
}
.hero__text {
  display: grid;
  justify-items: center;
  gap: var(--space-md);
  width: min(100%, 60rem);
  text-align: center;
  color: var(--color-day-ink);
  padding-inline: var(--gutter);
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 3.4vw + 1rem, 4.5rem);
  line-height: 1.02;
}
.hero .lead {
  color: var(--color-day-muted);
  max-width: 44ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.hero__screen {
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  margin: var(--space-xl) 0 0;
  /* Inside the page's gutter on a phone, so its edge lines up with every section below. */
  width: min(var(--pane-w), 100% - 2 * var(--gutter));
}

/* ---------- a capture in glass ---------- */

.pane {
  margin: 0;
  padding: var(--space-xs);
  border-radius: calc(var(--radius-card) + var(--space-xs) + 10px);
  background: var(--color-paper-2);
  box-shadow: inset 0 0 0 1px var(--color-rule);
}
/* Glass only where something lies behind it: the hero's screen over the photograph. */
.hero__screen.pane {
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.35);
  box-shadow: var(--glass-hi), var(--shadow-card);
}
.pane img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-card) + 10px);
}
.hero__screen.pane {
  /* Clear of the actions by a full step; .pane resets margins, so it is set here. */
  margin-top: var(--space-2xl);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 0;
}
.hero__screen.pane img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ---------- what it does: text on the left, the screen on the right ---------- */

.what {
  padding-block: var(--section-gap) var(--section-gap-s);
}
.what__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-columns);
  margin-bottom: var(--space-2xl);
}
.what__head p {
  align-self: end;
  color: var(--color-muted);
  font-size: var(--text-lead);
  max-width: 46ch;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-columns);
  align-items: center;
  padding-block: var(--space-2xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.split--lead {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.split__text {
  display: grid;
  gap: var(--space-md);
  align-content: center;
  max-width: 46ch;
}
.split__text h3 {
  font-size: var(--text-2xl);
}
.split__text p {
  color: var(--color-ink-2);
  font-size: var(--text-lead);
  line-height: 1.5;
}
.split__proof {
  justify-self: center;
  width: min(var(--phone-w), 100%);
}
.split--lead .split__proof {
  width: min(340px, 100%);
}

.facts {
  display: grid;
  gap: 0;
  margin: 0;
}
.facts > div {
  display: grid;
  gap: var(--space-2xs);
  padding-block: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.facts > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.facts dt {
  font: 500 var(--text-lg) / 1.3 var(--font-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-ink);
}
.facts dd {
  margin: 0;
  color: var(--color-ink-2);
  max-width: 46ch;
}

/* ---------- privacy, on bone ---------- */

.privacy {
  /* The section above already ends on its own gap; two gaps back to back read as an empty screen. */
  padding-block: 0 var(--section-gap-s);
}
.well {
  background: var(--color-well);
  color: var(--color-well-ink);
  border-radius: var(--radius-card);
  padding: var(--space-3xl) var(--space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-2xl) var(--gap-columns);
}
.well h2 {
  font-size: var(--text-section);
  max-width: 16ch;
}
.well__lede {
  margin-top: var(--space-md);
  color: var(--color-well-muted);
  font-size: var(--text-lead);
  max-width: 30ch;
}
.well .facts dt {
  color: var(--color-well-ink);
}
.well .facts dd {
  color: var(--color-well-muted);
}
.well .facts > div {
  border-top-color: var(--color-well-rule);
}

/* ---------- the close ---------- */

.close {
  padding-block: 0 var(--section-gap);
}
.close .split {
  border-top: 0;
}
.close h2 {
  font-size: var(--text-section);
}
.close .actions {
  justify-content: flex-start;
}

/* ---------- footer: the mast ---------- */

.foot {
  border-top: var(--rule-hair) solid var(--color-rule);
  padding-block: var(--space-2xl) var(--space-3xl);
  color: var(--color-muted);
}
.foot__mast {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
}
.foot__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-ink);
  text-decoration: none;
  font: 500 clamp(2.5rem, 3vw + 1rem, 4rem) / 1 var(--font-display);
  letter-spacing: var(--tracking-display);
  border-radius: var(--radius-inner);
}
.foot__mark img {
  width: 56px;
  height: 56px;
}
.foot__mark:hover {
  color: var(--color-ink-2);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot__credit {
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
}
.foot__credit a {
  color: var(--color-ink-2);
}
.foot__credit a:hover {
  color: var(--color-ink);
}

/* ---------- narrow ---------- */

@media (max-width: 60rem) {
  .what__head,
  .split,
  .split--lead,
  .well {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: var(--space-xl);
  }
  .well {
    padding: var(--space-2xl) var(--space-lg);
  }
}
@media (max-width: 40rem) {
  .nav__links {
    display: none;
  }
  .hero {
    padding-top: var(--space-xl);
  }
  .hero {
    height: auto;
    min-height: calc(100svh - var(--nav-h));
  }
  .hero__screen {
    height: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .link {
    transition: none;
  }
}

/* A capture is the whole screen in a phone's own proportions, so the frame reads as the phone it is. */
.split__proof img,
.pair__proof img {
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
}

/* The lead row turns the split round: the screen first, the larger share. */
.split--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split--flip .split__proof {
  order: -1;
}

/* Two screens side by side, each under its own head: the budget and where it went. */
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl) var(--gap-columns);
  padding-block: var(--space-2xl);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.pair__item {
  display: grid;
  gap: var(--space-md);
  align-content: start;
}
.pair__item h3 {
  font-size: var(--text-2xl);
}
.pair__item p {
  color: var(--color-ink-2);
  font-size: var(--text-lead);
  line-height: 1.5;
  max-width: 46ch;
}
.pair__proof {
  margin-top: var(--space-md);
  width: min(var(--phone-w), 100%);
}

/* The third seam is a step of surface, not another hairline. */
.split--band {
  border-top: 0;
  margin-top: var(--space-xl);
  padding: var(--space-2xl);
  border-radius: var(--radius-card);
  background: var(--color-paper-2);
  color: var(--color-ink);
}
.split--band .pane {
  background: var(--color-paper-3);
  color: var(--color-ink);
}

@media (max-width: 60rem) {
  .split--flip,
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .split--flip .split__proof {
    order: 0;
  }
  .split--band {
    padding: var(--space-xl) var(--space-lg);
  }
}
