/* Generated by scripts/sync-brand.mjs — do not edit.
   Vendored verbatim from packages/ui/src/styles.css in the miser-app monorepo, so getmiser.com
   and miserapp.com are one product rather than two that agree for a while. Site-only layout
   lives in styles.css; change the brand in miser-app and re-run the sync.
   upstream-sha256: 877a41507e46416f */
:root {
  /* Miser's original palette: a deep teal on white, with a slate gray for secondary actions.
     Every other value is derived from it — the paper is white cooled toward the teal, the ink is
     the teal darkened until it reads as near-black, and the tints are the teal lightened. */
  --paper: #f5f8f9;
  --paper-2: #e3ebee;
  --ink: #1f3038;
  /* Secondary copy, including the affiliate disclosure at 10px on mobile, so it has to clear 1.4.3's
     4.5 on both --paper and --paper-2, the darker ground panels sit on. This is 6.06 and 5.36.
     Held there by test/contrast.test.ts. */
  --muted: #4f6169;
  --teal: #1b7183;
  --teal-deep: #145d6c;
  --aqua: #a7dce4;
  --mist: #dbeaee;
  --gold: #c98a1e;
  --slate: #666e6f;
  --white: #ffffff;
  --line: rgba(31, 48, 56, 0.14);
  --shadow: 0 18px 55px rgba(31, 48, 56, 0.1);
  --radius: 16px;
  --site-gutter: clamp(16px, 3vw, 32px);
  --font-sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* The original's headings were the same sans as the body, set bold. */
  --font-display: var(--font-sans);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.site-header {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(1240px, calc(100% - 2 * var(--site-gutter)));
  margin: 0 auto;
  padding: 16px 0;
}
.site-header nav {
  display: flex;
  gap: 28px;
}
.site-header nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.site-header nav a:hover,
footer a:hover {
  color: var(--ink);
}
.site-header > .button {
  justify-self: end;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
}
.brand-link {
  text-decoration: none;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 23px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 10px;
  line-height: 1;
}
.brand-mark {
  width: 36px;
  height: 36px;
  padding: 5px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal);
  color: var(--white);
}
.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(31, 48, 56, 0.15);
}
.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.button-accent {
  background: var(--teal);
  color: var(--white);
}
.button-dark {
  background: var(--slate);
  color: var(--white);
}
.button-quiet {
  border-color: var(--teal);
  background: var(--white);
  color: var(--teal);
}
.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric strong {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}
.metric span {
  color: var(--muted);
  font-size: 13px;
}
.deal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(31, 48, 56, 0.09);
}
.deal-image {
  aspect-ratio: 1.75;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mist), var(--aqua));
}
.deal-image span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 40px;
}
.deal-body {
  padding: 20px;
}
.deal-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.deal-meta b {
  color: var(--white);
  background: var(--teal);
  border-radius: 4px;
  padding: 4px 8px;
}
.deal-card h3 {
  margin: 14px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}
.deal-price {
  font-family: var(--font-display);
  font-size: 27px;
  margin: 0;
}
footer {
  width: min(1112px, calc(100% - 2 * var(--site-gutter)));
  margin: 0 auto;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 'brand links' 'tagline legal';
  gap: 12px 32px;
  align-items: center;
}
footer > .brand {
  grid-area: brand;
}
footer > p {
  grid-area: tagline;
  font-size: 14px;
  line-height: 1.6;
}
footer > p,
footer > small {
  color: var(--muted);
  margin: 0;
}
footer > div {
  grid-area: links;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}
footer > small {
  grid-area: legal;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-bottom: 8px;
  }
  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 24px;
    border-top: 1px solid var(--line);
    padding-top: 4px;
  }
  .site-header > .button {
    grid-column: 2;
    grid-row: 1;
    padding-inline: 14px;
  }
  footer {
    grid-template-columns: 1fr;
    grid-template-areas: 'brand' 'tagline' 'links' 'legal';
  }
  footer > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  footer > small {
    text-align: left;
  }
}

/* Off-screen until focused, then anchored top-left over everything. Visible-on-focus rather than
   always-visible so it costs the layout nothing, and reachable rather than `display: none`, which
   would take it out of the tab order and defeat the point. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* The fallback a surface shows instead of a blank screen. Deliberately plain: it renders when
   something upstream has already failed, so it depends on nothing but these rules. */
.failure-page {
  max-width: 34rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.failure-page h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
}

.failure-page p {
  margin: 0;
  color: var(--muted);
}

.failure-digest {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.failure-retry {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Miser deal burst: a single origin, staggered flight, then a calm resting composition. */
.deal-burst {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 9 / 10;
  margin: 0 auto;
  isolation: isolate;
  pointer-events: none;
  container-type: inline-size;
}
.deal-burst-halo {
  position: absolute;
  inset: 8% -8% -5%;
  background: radial-gradient(ellipse at 50% 80%, #a7dce455, #a7dce414 45%, transparent 70%);
  border-radius: 50%;
}
.deal-burst-flight {
  position: absolute;
  left: calc(50% - var(--size) / 2);
  top: calc(87% - var(--size) / 2);
  width: var(--size);
  height: var(--size);
  transform: translate(var(--x), var(--y)) rotate(var(--rotation));
}
.deal-burst[data-launched] .deal-burst-flight {
  animation: miser-deal-launch 1200ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay) both;
}
.deal-burst-tile {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffa6;
  border-radius: 23%;
  background: #fff;
  color: #145d6c;
  box-shadow:
    0 14px 24px #082b3c30,
    inset 0 2px 2px #ffffffb3;
}
.deal-burst-tile svg {
  width: 62%;
  height: 62%;
  fill: currentColor;
}
.deal-burst-amazon {
  color: #232f3e;
  background: #fff6e5;
}
.deal-burst-doordash {
  color: #fff;
  background: #eb1700;
}
.deal-burst-deal {
  font: 800 8.889cqw/1 var(--font-sans);
  background: #a7dce4;
}
.deal-burst-card {
  height: 65%;
  position: relative;
  background: linear-gradient(125deg, #3a9da8, #123f50);
  color: white;
  border-radius: 2.778cqw;
  padding: 2.5cqw;
  display: block;
}
.deal-burst-chip {
  color: #edd9aa;
  font-size: 5.278cqw;
  line-height: 1;
}
.deal-burst-card-label {
  position: absolute;
  right: 1.667cqw;
  top: 2.222cqw;
  font: 1.667cqw var(--font-sans);
}
.deal-burst-card-dots {
  display: block;
  font-size: 3.333cqw;
  letter-spacing: 0.833cqw;
}
.deal-burst-source {
  position: absolute;
  left: 50%;
  top: 87%;
  width: 23.889cqw;
  height: 23.889cqw;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid #ffffffa3;
  border-radius: 8.056cqw;
  background: linear-gradient(135deg, #b9f3f288, #1b7183cc 55%, #ffffff44);
  box-shadow:
    inset 2px 3px 7px #ffffff66,
    inset -3px -3px 8px #ffffff33,
    0 18px 45px #082b3c40;
  backdrop-filter: blur(12px);
}
.deal-burst-source svg {
  display: block;
  width: 64%;
  height: 72%;
}
.deal-burst-compact {
  width: min(270px, 100%);
}
@keyframes miser-deal-launch {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0) scale(0.12);
  }
  12% {
    opacity: 1;
  }
  78% {
    transform: translate(var(--x), calc(var(--y) - 3.333cqw)) rotate(var(--rotation)) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate(var(--x), var(--y)) rotate(var(--rotation)) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .deal-burst[data-launched] .deal-burst-flight {
    animation: none;
  }
}
