/* The home page, on top of site.css. Its motifs come from the brand: ledger paper (ruled lines),
   the pocket mark, and coin yellow. Sections in page order. */

/* ---------- Shared bits ---------- */

/* Ruled paper: faint lines every 32px, fading out toward the edges. */
.ruled {
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
}

.btn-quiet {
  --btn-bg: transparent;
  --btn-border: var(--border-strong);
}
.btn-quiet:hover {
  --btn-bg: var(--surface);
}

.ticks {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
}
.ticks li {
  position: relative;
  padding-left: 1.75rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--brand);
}

/* The strip across the top of each live demo: what to do, in brand purple, and that the numbers
   are a sample. Screenshots never get one, so it's how a demo says it's real. It stays hidden
   until the demo's script has made the demo work. */
.live-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--live-line, var(--border));
  background: var(--live-bg, var(--brand-softer));
  font-size: 0.84rem;
  line-height: 1.35;
}
.live-icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--live-accent, var(--brand-text));
}
.live-do {
  min-width: 0;
  color: var(--live-accent, var(--brand-text));
  font-weight: 620;
}
.live-note {
  flex: none;
  margin-left: auto;
  padding-left: var(--space-3);
  color: var(--live-muted, var(--text-3));
  font-size: 0.78rem;
}
.if-touch {
  display: none;
}
@media (hover: none) {
  .if-touch {
    display: inline;
  }
  .if-mouse {
    display: none;
  }
}
@media (max-width: 479.98px) {
  .live-note {
    display: none;
  }
}
:is(.demo, .rw, .ai-stage):not(.is-live) .live-bar {
  display: none;
}

/* The cursor that clicks a demo once, the first time you stop at it (ghost.js). Brand purple
   with a white edge, so it never passes for your own pointer. */
.ghost {
  position: fixed;
  z-index: 70;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ghost.is-on {
  opacity: 1;
}
.ghost svg {
  display: block;
  overflow: visible;
  transform-origin: 3px 3px;
  transition: transform 0.12s ease;
  filter: drop-shadow(0 2px 3px rgb(16 24 40 / 0.35));
}
.ghost path {
  fill: var(--brand);
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.ghost.is-down svg {
  transform: scale(0.8);
}
/* On a touch screen it's only the tap and the label. */
.ghost.is-touch svg {
  visibility: hidden;
}
.ghost-tag {
  position: absolute;
  top: 22px;
  left: 14px;
  padding: 0.2rem 0.55rem 0.24rem;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.ghost.is-flip .ghost-tag {
  left: auto;
  right: 6px;
}
/* The point is 3px into the box: the label sits level with it, 10px to one side. */
.ghost.is-touch .ghost-tag {
  top: 3px;
  left: 13px;
  translate: 0 -50%;
}
.ghost.is-touch.is-flip .ghost-tag {
  left: auto;
  right: 29px;
}
.ghost.is-saying .ghost-tag {
  opacity: 1;
  transform: none;
}
.ghost-tap {
  position: fixed;
  z-index: 69;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  pointer-events: none;
  animation: ghost-tap 0.55s ease-out forwards;
}
@keyframes ghost-tap {
  from {
    transform: scale(0.25);
    opacity: 1;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ---------- Hero ---------- */

.hero2 {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: clip;
}
.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 35%, transparent 80%);
  pointer-events: none;
}
/* The red margin line of a ledger page, in brand purple. */
.hero2::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* Inside the gutter on narrow screens, so it never runs through the text. */
  left: max(calc(var(--gutter) / 2), calc(50% - var(--container) / 2 - 28px));
  width: 1px;
  background: color-mix(in srgb, var(--brand) 22%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}
.hero2-grid {
  position: relative;
  display: grid;
  /* Never wider than the screen, whatever the headline's longest unbreakable phrase. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero2-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}
.hero2 h1 {
  /* Small enough on narrow screens that "your computer." (about 7em, kept together) fits. */
  font-size: min(clamp(2.7rem, 1.7rem + 4.4vw, 5.4rem), calc((100vw - 2 * var(--gutter)) / 7));
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 590;
  max-width: 11ch;
}
.hero2 .lead {
  max-width: 34rem;
  margin-top: var(--space-5);
}
.hero2-cta {
  margin-top: var(--space-6);
}
.hero2-price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-5);
  color: var(--text-2);
  font-size: var(--step--1);
}
.hero2-price b {
  color: var(--text);
}
/* The same soft tile as the assistant's icons, smaller. */
.price-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-text);
}
.price-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}
/* The way in for people leaving YNAB, under the price. */
.hero2-switch {
  margin-top: var(--space-2);
  color: var(--text-2);
  font-size: var(--step--1);
}
.hero2-switch a {
  font-weight: 600;
}
.hero2-switch a::after {
  content: " →";
}

/* The budget you can fill. */
.demo {
  --demo-pad: clamp(1.1rem, 0.8rem + 1.2vw, 1.6rem);
  position: relative;
  padding: var(--demo-pad);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    0 30px 60px -30px rgb(40 20 100 / 0.28),
    0 12px 24px -12px rgb(16 24 40 / 0.12);
}
.demo::before {
  /* A second sheet peeking out underneath. */
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border-radius: 22px;
  background: color-mix(in srgb, var(--brand) 14%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  transform: rotate(2deg);
}
/* The live bar runs edge to edge across the card's top. */
.demo > .live-bar {
  margin: calc(-1 * var(--demo-pad)) calc(-1 * var(--demo-pad)) var(--space-4);
  padding-inline: var(--demo-pad);
  border-radius: 21px 21px 0 0;
}
.demo.is-done .live-do {
  color: var(--success);
}
.demo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0 0 var(--space-4);
  border-bottom: 1px dashed var(--border-strong);
}
.demo-month {
  color: var(--text-3);
  font-size: var(--step--2);
  font-weight: 600;
}
.demo-label {
  margin-top: 0.15rem !important;
  font-weight: 650;
  transition: color 0.3s ease;
}
.demo-pool {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
  transition: color 0.3s ease;
}
.demo.is-done .demo-pool,
.demo.is-done .demo-label {
  color: var(--success);
}
.demo-list {
  display: grid;
  gap: 2px;
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}
.env {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  grid-template-areas:
    "sw name chip"
    "sw sub chip"
    ". bar bar";
  column-gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.6rem 0.6rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.env:hover {
  background: var(--surface-2);
}
.env[aria-disabled="true"] {
  cursor: default;
}
.env[aria-disabled="true"]:hover {
  background: transparent;
}
.env-name {
  grid-area: name;
  font-weight: 640;
  font-size: var(--step--1);
}
.env-sub {
  grid-area: sub;
  color: var(--text-3);
  font-size: var(--step--2);
}
.env-swatch {
  grid-area: sw;
  align-self: start;
  width: 10px;
  height: 10px;
  margin-top: 0.42rem;
  border-radius: 3px;
  background: var(--c);
}
/* "+$1,450": the amount as a button, tinted with the envelope's color. */
.env-chip {
  grid-area: chip;
  align-self: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 11%, var(--surface));
  color: color-mix(in srgb, var(--c) 72%, var(--text));
  font-size: var(--step--2);
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.env:hover .env-chip {
  background: color-mix(in srgb, var(--c) 20%, var(--surface));
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
}
.env.is-full .env-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-color: transparent;
  background: transparent;
  color: var(--text-2);
}
.env.is-full .env-chip::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 100% no-repeat,
    var(--c);
}
.env-bar {
  grid-area: bar;
  position: relative;
  height: 5px;
  margin-top: 0.45rem;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.env-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--fill, 0) * 100%);
  border-radius: inherit;
  background: var(--c);
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border-strong);
}
/* A dot in the envelope's color, flying from the pot to its bar (home.js). */
.fly-dot {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent);
  pointer-events: none;
  transition:
    transform 0.62s cubic-bezier(0.3, 0.6, 0.2, 1),
    opacity 0.22s ease 0.42s;
}

/* ---------- The app on a purple band ---------- */

.showcase {
  position: relative;
  padding-top: var(--space-4);
}
.window {
  position: relative;
  z-index: 1;
}
/* Paper tinted with the brand in light, like the tour's picture cards; solid brand purple in dark. */
.band {
  --lift: clamp(5rem, 16vw, 15rem);
  --band-bg: color-mix(in srgb, var(--brand) 7%, var(--surface));
  --band-rule: var(--rule);
  --band-text: var(--text);
  --band-muted: var(--text-2);
  --band-edge: color-mix(in srgb, var(--brand) 40%, transparent);
  --band-line: color-mix(in srgb, var(--brand) 14%, var(--border));
  position: relative;
  margin-top: calc(var(--lift) * -1);
  padding: calc(var(--lift) + var(--space-7)) 0 var(--space-7);
  border-bottom: 1px solid var(--band-line);
  background-color: var(--band-bg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--band-rule) 31px 32px);
  color: var(--band-text);
}
:root[data-theme="dark"] .band {
  --band-bg: var(--brand);
  --band-rule: rgb(255 255 255 / 0.07);
  --band-text: #fff;
  --band-muted: rgb(255 255 255 / 0.78);
  --band-edge: rgb(255 255 255 / 0.3);
  border-bottom: 0;
}
.facts {
  display: grid;
  gap: var(--space-5) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}
.facts li {
  display: grid;
  gap: 0.2rem;
  padding-left: var(--space-4);
  border-left: 2px solid var(--band-edge);
}
.facts b {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.facts li > span {
  color: var(--band-muted);
  font-size: var(--step--1);
}

/* ---------- Tour ---------- */

.tour {
  padding-block: calc(var(--section) * 0.7) calc(var(--section) * 0.6);
}
.tour-grid {
  display: grid;
  gap: var(--space-7);
}
.tour-step + .tour-step {
  margin-top: var(--space-8);
}
.tour-step h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
}
.tour-step > p {
  margin-top: var(--space-4);
  color: var(--text-2);
}
/* Each step's picture on a tinted card, its bezel running off the card's right and bottom edges
   like the last card's, so a crop can end mid-column. */
.shot-card {
  --shot-pad: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  padding: var(--shot-pad) 0 0 var(--shot-pad);
  border-radius: 26px;
  background:
    radial-gradient(70% 60% at 90% 100%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--brand) 4%, var(--bg)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 14%, var(--border));
}
/* Ruled lines behind the picture, fading out toward the bottom right. */
.shot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  -webkit-mask-image: radial-gradient(90% 90% at 0% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(90% 90% at 0% 0%, #000 30%, transparent 80%);
}
/* On a phone, larger than the card so the words stay readable, cut off mid-table. */
.shot-card .bezel {
  width: 135%;
}
.tour-inline {
  aspect-ratio: 1;
  margin-top: var(--space-6);
}
.tour-stage {
  display: none;
}

@media (min-width: 1000px) {
  .tour-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .tour-steps {
    position: relative;
    padding-left: 2.25rem;
  }
  /* The rail: a margin line with a coin for the step you're on. */
  .tour-steps::before {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 18vh;
    bottom: 18vh;
    width: 2px;
    border-radius: 2px;
    background: var(--border);
  }
  .tour-step {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 66vh;
    opacity: 0.38;
    transition: opacity 0.4s ease;
  }
  .tour-step + .tour-step {
    margin-top: 0;
  }
  /* The first step starts near the top instead of in the middle of its block. */
  .tour-step:first-child {
    min-height: 62vh;
    justify-content: flex-start;
    padding-top: 6vh;
  }
  .tour-step:first-child::before {
    top: calc(6vh + 1.4rem);
  }
  .tour-step::before {
    content: "";
    position: absolute;
    left: -2.25rem;
    top: 50%;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: -0.5rem;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-strong);
    transition:
      background-color 0.3s ease,
      border-color 0.3s ease,
      transform 0.3s ease;
  }
  .tour-step.is-active {
    opacity: 1;
  }
  .tour-step.is-active::before {
    background: var(--coin);
    border-color: #e09b0e;
    transform: scale(1.25);
  }
  .tour-inline {
    display: none;
  }
  .tour-stage {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 9vh);
    height: min(68vh, 620px);
  }
  .tour-frame {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition:
      opacity 0.45s ease,
      transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }
  .tour-frame.is-active {
    opacity: 1;
    transform: none;
  }
  .tour-frame .shot-card {
    width: 100%;
    height: 100%;
  }
  /* Just past the card's edge: the cut falls in each crop's empty right margin. */
  .tour-frame .shot-card .bezel {
    width: 103%;
  }
}

/* ---------- Reports: a working copy of the app's reports screen ---------- */

/* Light: paper tinted with the brand, deepening toward a soft glow behind the reports, and ruled
   lines fading out behind the heading. Dark: deep ink with a soft light from above and a little
   grain instead of ruled lines. */
.slab {
  position: relative;
  padding-block: var(--section);
  border-top: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  background:
    radial-gradient(60% 45% at 50% 72%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 3%, var(--surface)), color-mix(in srgb, var(--brand) 7%, var(--surface)));
  isolation: isolate;
}
.slab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
  -webkit-mask-image: radial-gradient(70% 45% at 20% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 45% at 20% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
:root[data-theme="dark"] .slab {
  border-block: 1px solid rgb(255 255 255 / 0.06);
  background:
    radial-gradient(70% 55% at 50% -5%, rgb(124 92 255 / 0.3), transparent 70%),
    radial-gradient(45% 45% at 100% 100%, rgb(124 92 255 / 0.1), transparent 70%),
    linear-gradient(180deg, #1a162c 0%, #110f19 100%);
  color: var(--on-ink);
}
:root[data-theme="dark"] .slab::before {
  -webkit-mask-image: none;
  mask-image: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.reports-head {
  display: grid;
  gap: var(--space-4);
  max-width: 760px;
  margin-bottom: var(--space-7);
}
.reports-head h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.reports-head p {
  color: var(--text-2);
  font-size: var(--step-1);
  line-height: 1.55;
}
:root[data-theme="dark"] .reports-head p {
  color: rgb(244 242 250 / 0.72);
}

.rw {
  --rw-bg: #ffffff;
  --rw-side: #f6f6f9;
  --rw-card: #fafafc;
  --rw-border: #e5e5ec;
  --rw-grid: #ececf2;
  --rw-text: #17181c;
  --rw-text-2: #474b55;
  --rw-text-3: #6f7480;
  --rw-hover: #efecfb;
  --rw-accent: #6d4ae8;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  border-radius: 18px;
  background: var(--rw-bg);
  color: var(--rw-text);
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--bezel-line),
    var(--bezel-shadow);
}
:root[data-theme="dark"] .rw {
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 60px 120px -50px rgb(0 0 0 / 0.8);
  --rw-bg: #121318;
  --rw-side: #0d0e12;
  --rw-card: #17181e;
  --rw-border: #25272f;
  --rw-grid: #212329;
  --rw-text: #eceef3;
  --rw-text-2: #b9bdc7;
  --rw-text-3: #8a8f9b;
  --rw-hover: #1f1c30;
  --rw-accent: #a690ff;
}
.rw p,
.rw h3 {
  margin: 0;
}
.rw > .live-bar {
  --live-bg: color-mix(in srgb, var(--rw-accent) 8%, var(--rw-side));
  --live-line: var(--rw-border);
  --live-accent: var(--rw-accent);
  --live-muted: var(--rw-text-3);
  grid-column: 1 / -1;
  padding-inline: 18px;
}
.rw-side {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 12px 18px;
  border-right: 1px solid var(--rw-border);
  background: var(--rw-side);
}
.rw .rw-group {
  margin: 14px 10px 6px;
  color: var(--rw-text-3);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rw .rw-group:first-child {
  margin-top: 2px;
}
/* Edged like buttons before you hover, the same as the assistant's questions: in a screenshot a
   menu is only text. */
.rw-side button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--rw-border);
  border-radius: 9px;
  background: var(--rw-card);
  color: var(--rw-text-2);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.rw-side button svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--rw-text-3);
}
.rw-side button:hover {
  border-color: color-mix(in srgb, var(--rw-accent) 45%, var(--rw-border));
  background: var(--rw-hover);
  color: var(--rw-text);
}
.rw-side button[aria-current="true"] {
  border-color: var(--rw-accent);
  background: var(--rw-hover);
  color: var(--rw-text);
  font-weight: 640;
  box-shadow: inset 3px 0 0 var(--rw-accent);
}
.rw-side button[aria-current="true"] svg {
  color: var(--rw-accent);
}
.rw .rw-more {
  margin-top: auto;
  padding: 20px 10px 0;
  color: var(--rw-text-3);
  font-size: 12px;
  line-height: 1.5;
}
.rw-main {
  position: relative;
  min-width: 0;
  padding: 22px 24px 20px;
}
.rw-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rw-border);
}
.rw-top h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.01em;
}
.rw .rw-top p {
  margin-top: 2px;
  color: var(--rw-text-3);
  font-size: 13px;
}
.rw-range {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--rw-border);
  border-radius: 10px;
  background: var(--rw-card);
}
.rw-range button {
  min-height: 0;
  margin: 0;
  padding: 5px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--rw-text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
}
.rw-range button:hover {
  background: var(--rw-hover);
  color: var(--rw-text);
}
.rw-range button[aria-pressed="true"] {
  background: var(--rw-bg);
  color: var(--rw-text);
  font-weight: 650;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.12),
    0 0 0 1px var(--rw-border);
}
.rw-kpis {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.rw-kpi {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--rw-border);
  border-radius: 10px;
  background: var(--rw-card);
}
.rw-kpi span,
.rw-kpi small,
.rw-kpi b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rw-kpi span {
  color: var(--rw-text-3);
  font-size: 12px;
}
.rw-kpi small {
  color: var(--rw-text-3);
  font-size: 11.5px;
}
.rw-kpi b {
  font-size: 18px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.rw-chart {
  min-height: 300px;
  margin-top: 18px;
}
.rw-chart svg {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
.rw-chart picture img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.rw:not(.is-live) .rw-range,
.rw:not(.is-live) .rw-kpis {
  display: none;
}
.rw .rw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  color: var(--rw-text-2);
  font-size: 12.5px;
}
.rw .rw-legend:empty {
  min-height: 19px;
}
.rw:not(.is-live) .rw-legend {
  display: none;
}
.rw-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.rw-key {
  display: inline-block;
  flex: none;
}
.rw-key-box {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--k);
}
.rw-key-line {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--k);
}
.rw-key-dash {
  width: 16px;
  border-top: 3px dashed var(--k);
}
.rw-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  max-width: calc(100% - 16px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--rw-text);
  color: var(--rw-bg);
  font-size: 12.5px;
  font-weight: 560;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / 0.35);
}
.rw-tip[hidden] {
  display: none;
}

/* Inside the charts. */
.rw-svg text {
  font-family: var(--font-sans);
}
.rw-grid {
  stroke: var(--rw-grid);
}
.rw-zero {
  stroke: var(--rw-border);
}
.rw-axis {
  fill: var(--rw-text-3);
  font-size: 11px;
}
.rw-label {
  fill: var(--rw-text-2);
  font-size: 13px;
}
.rw-num {
  fill: var(--rw-text);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.rw-donut-big {
  fill: var(--rw-text);
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rw-track {
  fill: var(--rw-grid);
}
.rw-hit {
  fill: transparent;
}
g.is-hot > .rw-hit {
  fill: var(--rw-hover);
}
.rw-row > .rw-hit {
  rx: 8px;
}
.rw-seg,
.rw-row,
.rw-tile {
  transition: opacity 0.15s ease;
}
.rw-linked:has(.is-hot) .rw-seg:not(.is-hot),
.rw-linked:has(.is-hot) .rw-row:not(.is-hot) {
  opacity: 0.35;
}
.rw-row.is-hot .rw-label {
  fill: var(--rw-text);
}
.rw-tile {
  opacity: var(--o, 1);
}
.rw-svg:has(g.is-hot) g:not(.is-hot) > .rw-tile {
  opacity: 0.35;
}
.rw-tile-name {
  fill: #fff;
  font-size: 12.5px;
  font-weight: 650;
}
.rw-tile-num {
  fill: rgb(255 255 255 / 0.85);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rw-line {
  fill: none;
  stroke: var(--rw-accent);
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.rw-dot {
  fill: var(--rw-bg);
  stroke: var(--rw-accent);
  stroke-width: 2;
}
.rw-fc {
  fill: none;
  stroke: #2f7fe0;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.rw-known {
  fill: none;
  stroke: #ef8a2e;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}
.rw-low {
  fill: var(--rw-bg);
  stroke: #2f7fe0;
  stroke-width: 2;
}
.rw-end {
  fill: #e07a1f;
  font-size: 11.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.rw-end-fc {
  fill: #2f7fe0;
}
.rw-cross {
  stroke: var(--rw-text-3);
  stroke-dasharray: 3 3;
}

@media (max-width: 899.98px) {
  .rw {
    grid-template-columns: minmax(0, 1fr);
  }
  .rw-side {
    flex-direction: row;
    gap: 4px;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--rw-border);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .rw .rw-group,
  .rw .rw-more {
    display: none;
  }
  .rw-side button {
    flex: none;
    white-space: nowrap;
  }
  .rw-side button[aria-current="true"] {
    box-shadow: none;
  }
  .rw-main {
    padding: 16px;
  }
  .rw-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rw-kpi:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

/* ---------- The assistant ---------- */

/* Its own band, so it doesn't run into the plain sections after it. */
.ai {
  position: relative;
  padding-block: var(--section);
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  isolation: isolate;
}
/* A soft brand light behind the conversation. */
.ai::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18% -10% auto 20%;
  height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, var(--brand-soft), transparent 70%);
  opacity: 0.9;
  pointer-events: none;
}
.ai-head {
  max-width: 760px;
}
.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 var(--space-4);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: var(--brand-softer);
  color: var(--brand-text);
  font-size: var(--step--1);
  font-weight: 650;
}
.ai-head h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.ai-head .lead {
  margin-top: var(--space-4);
}

.ai-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}
@media (min-width: 1000px) {
  .ai-stage {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: var(--space-6);
    align-items: start;
  }
}

/* The panel, drawn like the app's assistant. */
.ai-window {
  display: flex;
  flex-direction: column;
  height: 34rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.ai-log {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 1.1rem 1.25rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.ai-log:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}
.ai-msg {
  animation: ai-in 0.35s ease both;
}
/* A short conversation sits at the bottom, next to the input, as in a chat. */
.ai-msg:first-child {
  margin-top: auto;
}
@keyframes ai-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.ai-msg p,
.ai-msg ul {
  margin: 0;
}
.ai-me {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  align-self: flex-end;
  max-width: 82%;
}
.ai-me p {
  padding: 0.55rem 0.85rem;
  border-radius: 16px 16px 4px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.45;
}
.ai-file {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}
.ai-file svg {
  color: var(--brand-text);
}
.ai-bot {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ai-bot ul {
  display: grid;
  gap: 0.2rem;
  padding-left: 1.1rem;
}
.ai-bot li::marker {
  color: var(--text-3);
}
/* What it is working on, as the app shows its reasoning heading. */
.ai-think {
  justify-self: start;
  color: var(--text-3);
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--text-3) 30%, var(--text) 50%, var(--text-3) 70%) 0 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ai-shimmer 1.6s linear infinite;
}
@keyframes ai-shimmer {
  to {
    background-position: -150% 0;
  }
}

/* A proposal card. */
.ai-card {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.95rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  animation: ai-in 0.35s ease both;
}
.ai-card-head {
  display: grid;
  gap: 0.05rem;
  margin-bottom: 0.3rem;
}
.ai-card-head small {
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 600;
}
.ai-card-head b {
  font-size: 0.98rem;
  font-weight: 680;
}
.ai-lead {
  color: var(--text-2);
  font-weight: 600;
}
.ai-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.32rem 0;
  border-top: 1px dashed var(--border);
}
.ai-row-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-row .num,
.ai-stats .num {
  font-variant-numeric: tabular-nums;
}
.ai-total {
  border-top-style: solid;
  font-weight: 650;
}
.ai-sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.35rem;
  border-radius: 2px;
  background: var(--c);
}
.ai-arrow,
.ai-payee {
  color: var(--text-3);
}
.ai-payee {
  color: var(--text-2);
}
.ai-unsure {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.7rem;
  font-weight: 680;
  vertical-align: 1px;
}
.ai-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.15rem 0 0.35rem;
}
.ai-stats div {
  display: grid;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: var(--surface-2);
}
.ai-stats small {
  color: var(--text-3);
  font-size: 0.7rem;
}
.ai-stats b {
  font-size: 0.86rem;
}
.ai-sections {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-sections li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0;
  border-top: 1px dashed var(--border);
  color: var(--text-2);
}
.ai-sections svg {
  color: var(--text-3);
}
.ai-check,
.ai-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  font-size: 0.8rem;
}
.ai-check {
  background: var(--success-bg);
  color: var(--success);
}
.ai-note {
  background: var(--brand-softer);
  color: var(--brand-text);
}
.ai-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 620;
  cursor: pointer;
}
.ai-btn:hover {
  background: var(--surface-2);
}
.ai-btn-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.ai-btn-primary:hover {
  background: var(--brand-hover);
}
.ai-btn-link {
  border-color: transparent;
  background: none;
  color: var(--text-3);
}
.ai-hint {
  margin-left: auto;
  color: var(--text-3);
  font-size: 0.74rem;
}
.ai-demo-note {
  margin: 0.45rem 0 0;
  color: var(--text-3);
  font-size: 0.76rem;
}
/* Applied, undone or discarded: one line, as in the app. */
.ai-card.is-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  box-shadow: none;
}
.ai-done-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--text-2);
  font-weight: 600;
}
.ai-card.is-done .ai-done-label svg {
  flex: none;
  color: var(--success);
}
.ai-flag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.3rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
}
.ai-flag:hover {
  color: var(--text-2);
}
.ai-flag-note {
  color: var(--text-3);
  font-size: 0.74rem;
}
.ai-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0.75rem 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--text-3);
  font-size: 0.86rem;
}
.ai-placeholder {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-send {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-text);
}

/* The questions to play. */
.ai-try-label {
  margin: 0 0 var(--space-3);
  color: var(--text-3);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ai-prompts {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-prompts button {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.ai-prompts button:hover {
  border-color: var(--brand-line);
}
.ai-prompts b {
  font-weight: 650;
}
.ai-prompts span {
  color: var(--text-3);
  font-size: 0.86rem;
}
.ai-prompts button[aria-current="true"] {
  border-color: var(--brand);
  background: var(--brand-softer);
  box-shadow: inset 3px 0 0 var(--brand);
}
.ai-stage:not(.is-live) .ai-try {
  display: none;
}
@media (max-width: 999.98px) {
  .ai-try {
    order: -1;
  }
  .ai-try-label {
    margin-bottom: var(--space-2);
  }
  .ai-prompts {
    display: flex;
    gap: 0.4rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ai-prompts button {
    width: auto;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  .ai-prompts button[aria-current="true"] {
    box-shadow: none;
  }
  .ai-prompts span {
    display: none;
  }
  .ai-window {
    height: 31rem;
  }
}

/* What it does, and the plain facts. */
.ai-can {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .ai-can {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .ai-can {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ai-can li {
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.ai-can-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-text);
}
.ai-can h3 {
  margin: 0.95rem 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 680;
}
.ai-can p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
}
.ai-facts {
  display: grid;
  margin-top: var(--space-4);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.ai-facts > div {
  padding: 1.1rem 1.25rem 1.2rem;
}
.ai-facts > div + div {
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .ai-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-facts > div + div {
    border-top: 0;
  }
  .ai-facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .ai-facts > div:nth-child(even) {
    border-left: 1px solid var(--border);
  }
}
@media (min-width: 1240px) {
  .ai-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ai-facts > div:nth-child(n + 3) {
    border-top: 0;
  }
  .ai-facts > div + div {
    border-left: 1px solid var(--border);
  }
}
.ai-facts h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 680;
}
.ai-facts h3 svg {
  flex: none;
  color: var(--brand-text);
}
.ai-facts p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.86rem;
}

/* ---------- Importing ---------- */

.imp-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 900px) {
  .imp-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}
.imp-copy h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.imp-copy p {
  margin-top: var(--space-3);
  color: var(--text-2);
}
.imp-copy .muted {
  color: var(--text-3);
  font-size: var(--step--1);
}
/* The bank-file section follows the YNAB one: mirrored, and closer, so the two read as one chapter. */
.imp + .imp {
  padding-top: 0;
}
@media (min-width: 900px) {
  .imp-flip .imp-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .imp-flip .imp-copy {
    order: 2;
  }
}
.mock {
  display: grid;
  align-content: center;
  gap: var(--space-3);
  min-height: 16rem;
  padding: var(--space-5);
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.chips span {
  padding: 0.18rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-3);
}
/* A bank file before it's added: each row says what will happen to it. */
.import-file {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-strong);
  font-size: 0.8rem;
}
.import-name {
  font-family: var(--font-mono);
  font-weight: 650;
  color: var(--text);
}
.import-count {
  color: var(--text-3);
}
.import-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}
.import-rows li {
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr) auto 4.8rem;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--border);
}
.import-rows .d {
  color: var(--text-3);
}
@media (max-width: 479.98px) {
  .import-rows li {
    grid-template-columns: minmax(0, 1fr) auto 4.6rem;
  }
  .import-rows .d {
    display: none;
  }
}
.import-rows .p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.import-rows .a {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.import-rows .a.in {
  color: var(--success);
}
.import-rows .is-skipped .p,
.import-rows .is-skipped .a {
  color: var(--text-3);
  text-decoration: line-through;
}
.tag {
  justify-self: end;
  padding: 0.08rem 0.45rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 680;
}
.tag-new {
  background: var(--brand-soft);
  color: var(--brand-text);
}
.tag-match {
  background: var(--success-bg);
  color: var(--success);
}
.tag-skip {
  background: var(--surface-2);
  color: var(--text-3);
}

/* ---------- Privacy and sync ---------- */

.vault {
  padding-block: var(--section);
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.vault-head {
  max-width: 760px;
}
.vault-head h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.vault-head .lead {
  margin-top: var(--space-4);
}
.vault-grid {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
  margin-top: var(--space-7);
}
@media (min-width: 860px) {
  .vault-grid {
    grid-template-columns: minmax(0, 1fr) 10rem minmax(0, 1fr);
    gap: 0;
  }
}
.ledger {
  margin: 0;
  padding: var(--space-5) var(--space-5) var(--space-4);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.ledger figcaption {
  margin-bottom: var(--space-3);
  color: var(--text-3);
  font-size: var(--step--2);
  font-weight: 650;
}
.ledger ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ledger li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-variant-numeric: tabular-nums;
}
.ledger li:last-child {
  border-bottom: 0;
}
.ledger li span:last-child {
  font-weight: 640;
}
.ledger-sealed {
  border-color: transparent;
  background: var(--ink);
  color: #c9bdff;
}
.ledger-sealed figcaption {
  color: rgb(244 242 250 / 0.6);
}
.ledger-sealed li {
  border-bottom-color: rgb(255 255 255 / 0.1);
  font-family: var(--font-mono);
  font-size: 0.92em;
  letter-spacing: 0.02em;
}
.ledger-sealed li span:last-child {
  font-weight: 500;
}
.vault-lock {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-2);
  color: var(--brand-text);
  font-size: var(--step--2);
  font-weight: 650;
  text-align: center;
}
.vault-lock svg {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-md);
}
.vault-lock-label {
  position: relative;
  z-index: 1;
  max-width: 8rem;
  padding: 0 0.3rem;
  background: var(--bg-soft);
}
/* The wire between the two ledgers: dashes marching toward the server. */
.vault-wire {
  display: none;
}
@media (min-width: 860px) {
  .vault-wire {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1.6rem;
    background: repeating-linear-gradient(90deg, var(--brand) 0 7px, transparent 7px 14px);
    opacity: 0.55;
  }
}
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
  .vault-wire {
    animation: march 0.9s linear infinite;
  }
}
@keyframes march {
  to {
    background-position: 14px 0;
  }
}
.vault-notes {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-7);
  color: var(--text-2);
}
@media (min-width: 860px) {
  .vault-notes {
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-7);
  }
}
.vault-notes p + p {
  margin-top: 0;
}
.vault-notes b {
  color: var(--text);
}

/* ---------- Pay once ---------- */

.cost-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 900px) {
  .cost-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.cost-copy h2 {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  letter-spacing: -0.03em;
}
.cost-copy .lead {
  margin-top: var(--space-4);
}
.cost-copy .lead b {
  color: var(--text);
}
.cost-copy .muted {
  margin-top: var(--space-3);
}
.chart {
  margin: 0;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
}
.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--border-strong);
}
.chart-head > span {
  color: var(--text-3);
  font-size: var(--step--1);
  font-weight: 600;
}
.chart-head b {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1;
}
.chart-head small {
  margin: 0 0.15em;
  color: var(--text-3);
  font-family: var(--font-sans);
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: 0.3em;
}
.chart-them {
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: color-mix(in srgb, var(--text-3) 60%, transparent);
}
.chart-us {
  color: #b87900;
}
:root[data-theme="dark"] .chart-us {
  color: var(--coin);
}
.chart-plot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.6rem, 2vw, 1.4rem);
  height: 14rem;
  padding-top: 1.6rem;
  border-bottom: 1px solid var(--border-strong);
}
.chart-col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
.bar {
  position: relative;
  width: min(34px, 40%);
  height: var(--v);
  min-height: 3px;
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom;
}
.bar-sub {
  background: repeating-linear-gradient(135deg, var(--border-strong) 0 6px, color-mix(in srgb, var(--border-strong) 60%, transparent) 6px 12px);
}
.bar-ours {
  background: var(--coin);
}
.bar em {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-3);
  font-style: normal;
  font-weight: 600;
  font-size: 0.74rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bar-ours .ours-label {
  color: #b87900;
  font-weight: 750;
  font-size: 0.85rem;
}
:root[data-theme="dark"] .bar-ours .ours-label {
  color: var(--coin);
}
.chart-year {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  color: var(--text-3);
  font-size: var(--step--2);
  text-align: center;
}
.chart figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin-top: 2.6rem;
  color: var(--text-2);
  font-size: var(--step--1);
}
.key {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: -0.4rem;
  border-radius: 3px;
  vertical-align: -0.1em;
}
.key-sub {
  background: var(--border-strong);
}
.key-ours {
  background: var(--coin);
}
/* ---------- Pricing ---------- */

.pricing-section {
  padding-top: calc(var(--section) * 0.4);
}
.pricing-section .section-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.pricing-section .price-card {
  border-radius: 22px;
}
.pricing-section .price b {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: 3rem;
  font-weight: 650;
}
.pricing-section .price-card.is-featured {
  border: 2px solid var(--brand);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--brand) border-box;
  box-shadow: 0 30px 60px -30px rgb(60 30 160 / 0.35);
}
.pricing-section .pricing-note {
  margin-inline: auto;
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq-section {
  padding-top: calc(var(--section) * 0.5);
}
.faq-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
    gap: var(--space-8);
  }
  .faq-side {
    position: sticky;
    top: calc(var(--header-h) + var(--space-6));
    align-self: start;
  }
}
.faq-side h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
}
.faq-side p {
  margin-top: var(--space-3);
}

/* ---------- Last call ---------- */

.finale {
  padding: 0 0 var(--section);
}
/* Tinted like the tour's picture cards in light and night-violet in dark, with the app running off
   its edge: a glow behind the app, ruled lines fading out behind the copy, and in dark the reports
   slab's grain. */
.finale-card {
  --pad: clamp(1.75rem, 1rem + 3vw, 4.5rem);
  --finale-rule: var(--rule);
  --finale-muted: var(--text-2);
  --finale-faint: var(--text-3);
  --finale-shot-shadow: -16px 0 48px -24px rgb(40 20 110 / 0.28);
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  padding: var(--pad);
  border-radius: 32px;
  background:
    radial-gradient(55% 75% at 88% 85%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), color-mix(in srgb, var(--brand) 6%, var(--bg)));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--brand) 16%, var(--border)),
    0 40px 80px -48px rgb(40 20 110 / 0.3);
  color: var(--text);
}
:root[data-theme="dark"] .finale-card {
  --finale-rule: rgb(255 255 255 / 0.05);
  --finale-muted: rgb(255 255 255 / 0.7);
  --finale-faint: rgb(255 255 255 / 0.6);
  --finale-shot-shadow: 0 -10px 60px -10px rgb(124 92 255 / 0.35);
  background:
    radial-gradient(55% 75% at 88% 80%, rgb(124 92 255 / 0.4), transparent 70%),
    radial-gradient(60% 90% at 0% 0%, rgb(109 74 232 / 0.2), transparent 70%),
    linear-gradient(155deg, #1d1642 0%, #120e26 55%, #0d0a1b 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    inset 0 0 0 1px rgb(255 255 255 / 0.06),
    0 40px 80px -40px rgb(40 20 120 / 0.55);
  color: #fff;
}
.finale-card::before,
.finale-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.finale-card::before {
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--finale-rule) 31px 32px);
  -webkit-mask-image: radial-gradient(70% 100% at 10% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 100% at 10% 50%, #000 20%, transparent 75%);
}
:root[data-theme="dark"] .finale-card::after {
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.finale-copy {
  position: relative;
  z-index: 1;
  max-width: 30rem;
}
.finale h2 {
  /* Room under the last line, so the clipped gradient doesn't cut off descenders. */
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, var(--text) 50%, color-mix(in srgb, var(--brand-text) 70%, var(--text)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
:root[data-theme="dark"] .finale h2 {
  background-image: linear-gradient(180deg, #fff 45%, #cdc1ff);
}
.finale p {
  margin-top: var(--space-4);
  color: var(--finale-muted);
  font-size: var(--step-1);
}
.finale .cta-row {
  margin-top: var(--space-6);
}
/* The brand button on lavender; in dark, a white one on the night-violet card. */
:root[data-theme="dark"] .finale .btn-primary {
  --btn-bg: #ffffff;
  --btn-fg: #2b1880;
  --btn-border: #ffffff;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.7);
}
:root[data-theme="dark"] .finale .btn-primary:hover {
  --btn-bg: #f1edff;
  --btn-border: #f1edff;
}
/* Frosted glass: the second button on a dark card. */
.btn-glass {
  --btn-bg: rgb(255 255 255 / 0.06);
  --btn-fg: #fff;
  --btn-border: rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  --btn-bg: rgb(255 255 255 / 0.12);
  --btn-border: rgb(255 255 255 / 0.34);
}
.finale-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  color: var(--finale-faint);
  font-size: var(--step--1);
}
.finale-facts li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.finale-facts li::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  /* A check in the brand's text color for the theme. */
  background: var(--brand-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The app in a glass bezel. On phones it sits under the copy and runs off the card's right and
   bottom edges; on wider screens it sits beside the copy and runs off the same edges. */
.finale-shot {
  height: 17rem;
  margin: var(--space-7) calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0;
  padding: 7px 0 0 7px;
  border: 1px solid var(--bezel-edge);
  border-width: 1px 0 0 1px;
  border-radius: 22px 0 0 0;
  background: var(--bezel-glass);
  box-shadow: var(--finale-shot-shadow);
  overflow: hidden;
}
.finale-shot img {
  display: block;
  width: 40rem;
  max-width: none;
  height: auto;
  border-radius: 15px 0 0 0;
  box-shadow: 0 0 0 1px var(--bezel-line);
}
@media (min-width: 860px) {
  .finale-card {
    align-content: center;
    min-height: 33rem;
  }
  .finale-copy {
    max-width: min(30rem, 44%);
  }
  .finale-shot {
    position: absolute;
    left: 51%;
    top: clamp(3rem, 1rem + 4vw, 5rem);
    bottom: 0;
    right: 0;
    height: auto;
    margin: 0;
  }
  .finale-shot img {
    width: max(64rem, 100%);
  }
}

/* Scroll-linked motion, in CSS only: headings and cards rise in as they enter, and the cost
   chart's bars grow. Browsers without scroll-driven animations, and people who prefer less
   motion, simply see everything in place; nothing waits on a script to become visible. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-rise] {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 85%;
    }
    .chart {
      view-timeline-name: --chart;
    }
    .chart .bar {
      animation: grow linear both;
      animation-timeline: --chart;
      animation-range: entry 35% cover 45%;
    }
    .chart-col:nth-child(2) .bar { animation-range: entry 40% cover 48%; }
    .chart-col:nth-child(3) .bar { animation-range: entry 45% cover 51%; }
    .chart-col:nth-child(4) .bar { animation-range: entry 50% cover 54%; }
    .chart-col:nth-child(5) .bar { animation-range: entry 55% cover 57%; }
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .env-bar i,
  .tour-step,
  .tour-frame,
  .fly-dot {
    transition: none !important;
  }
  .tour-frame {
    transform: none;
  }
  .ai-msg,
  .ai-card,
  .ai-think {
    animation: none !important;
  }
}

/* ---------- News over the hero's title ---------- */

.hero2-news {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-5);
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-2);
  font-size: var(--step--1);
  font-weight: 560;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.hero2-news:hover {
  border-color: var(--brand);
  color: var(--text);
  text-decoration: none;
}
.hero2-news-tag {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.02em;
}
.hero2-news svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.15s ease;
}
.hero2-news:hover svg {
  transform: translateX(2px);
}

/* ---------- Last call: every platform ---------- */

/* One row a platform: its icon, its name and what it runs on, and its button. */
.finale-get {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.finale-get li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
:root[data-theme="dark"] .finale-get li {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
}
.finale-get-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-text);
}
:root[data-theme="dark"] .finale-get-icon {
  background: rgb(255 255 255 / 0.08);
  color: #d9d0ff;
}
.finale-get-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.finale-get-name {
  display: grid;
  line-height: 1.3;
}
.finale-get-name b {
  font-size: var(--step-0);
}
.finale-get-name span {
  color: var(--finale-faint);
  font-size: var(--step--2);
}
.finale-get .btn {
  min-width: 9.5rem;
}
/* The phones' buttons: quiet on lavender, frosted on the night-violet card. */
:root[data-theme="dark"] .finale-btn {
  --btn-bg: rgb(255 255 255 / 0.06);
  --btn-fg: #fff;
  --btn-border: rgb(255 255 255 / 0.2);
}
:root[data-theme="dark"] .finale-btn:hover {
  --btn-bg: rgb(255 255 255 / 0.12);
  --btn-border: rgb(255 255 255 / 0.34);
}
.finale .finale-more {
  margin-top: var(--space-4);
  font-size: var(--step--1);
}
.finale-more a {
  color: var(--finale-muted);
  font-weight: 560;
}
:root[data-theme="dark"] .finale-more a {
  color: #d9d0ff;
}
@media (max-width: 480px) {
  .finale-get li {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .finale-get .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* The iPhone, standing in front of the computer's window. */
.finale-phone {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 8.5rem;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--bezel-edge);
  border-radius: 30px;
  background: var(--bezel-glass);
  box-shadow:
    var(--finale-shot-shadow),
    0 24px 48px -18px rgb(16 24 40 / 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.finale-phone img {
  width: 100%;
  border-radius: 25px;
}
@media (min-width: 860px) {
  .finale-copy {
    max-width: min(31rem, 46%);
  }
  .finale-phone {
    right: auto;
    bottom: -3.5rem;
    left: calc(51% - 3rem);
    width: clamp(10rem, 13vw, 12.5rem);
    border-radius: 36px;
    padding: 6px;
  }
  .finale-phone img {
    border-radius: 30px;
  }
}
