:root {
  color-scheme: light;
  --background: #faf7f3;
  --ink: #241329;
  --muted: #65566e;
  --violet: #702aad;
  --violet-dark: #581c8f;
  --lavender: #eee3fa;
  --mint: #e2f3e6;
  --wheat: #faf0df;
  --line: #ded4e1;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: clamp(24px, 3.25vw, 54px);
  font-family: Geist, "Helvetica Neue", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), 1392px);
  margin-inline: auto;
}

.header, .footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.45rem, 2.55vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -.043em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand img { width: clamp(38px, 4vw, 60px); height: auto; }
.footer .brand { font-size: clamp(1.35rem, 2.1vw, 1.95rem); }
.footer .brand img { width: clamp(34px, 3.6vw, 52px); }

.navigation, .languages, .nav-links {
  display: flex;
  align-items: center;
}

.navigation { gap: clamp(12px, 2vw, 30px); font-size: clamp(.9rem, 1.5vw, 1.3rem); }
.languages { gap: clamp(2px, .65vw, 12px); }
.nav-links {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: clamp(12px, 2.5vw, 36px);
  gap: clamp(14px, 2.5vw, 38px);
  white-space: nowrap;
}

.languages button, .text-button, .demo-steps button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.languages button {
  min-height: 44px;
  border-radius: 999px;
  padding: 6px clamp(9px, 1.45vw, 22px);
  white-space: nowrap;
}

.languages button[aria-pressed="true"] { background: #eaddf3; font-weight: 700; }
.languages button:hover { background: #f0e6f4; }
.nav-links a:hover { color: var(--violet); }
.text-button { padding: 5px 0; white-space: nowrap; }
.text-button:disabled { color: var(--muted); cursor: default; }
.footer .text-button { font-size: clamp(1rem, 1.65vw, 1.38rem); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 3.3vw, 54px);
  padding-block: clamp(36px, 3.6vw, 56px) clamp(52px, 6vw, 96px);
}

.hero h1 {
  font-size: clamp(3.35rem, 7.6vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 790;
}

.hero-tagline {
  margin-top: clamp(20px, 3.1vw, 48px);
  font-size: clamp(2rem, 4.7vw, 4.6rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -.065em;
  text-wrap: balance;
}

:lang(en) .hero-tagline { font-size: clamp(2rem, 4.25vw, 4rem); text-wrap: initial; }

.hero-description {
  margin-top: clamp(18px, 2.5vw, 38px);
  font-size: clamp(1rem, 1.75vw, 1.68rem);
  line-height: 1.65;
  color: var(--muted);
}

.button {
  min-height: 52px;
  border-radius: 999px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .54em;
  padding: .65em 1.45em;
  font-weight: 720;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-primary {
  font-size: clamp(1.05rem, 2.2vw, 2rem);
  background: var(--violet);
  color: #fff;
}

.hero-copy .button { margin-top: clamp(26px, 3.6vw, 56px); }
.button-primary:hover:not(:disabled) { background: var(--violet-dark); }
.button-primary:disabled { background: #7a4a9d; cursor: default; }

.icon-download {
  position: relative;
  width: .83em;
  height: .92em;
  display: inline-block;
  border-bottom: .105em solid;
}

.icon-download::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  margin-inline: auto;
  width: .105em;
  height: .63em;
  background: currentColor;
}

.icon-download::after {
  content: "";
  position: absolute;
  top: .22em;
  left: .21em;
  width: .42em;
  height: .42em;
  border-right: .105em solid;
  border-bottom: .105em solid;
  transform: rotate(45deg);
}

.lavender { background: var(--lavender); }
.mint { background: var(--mint); }
.wheat { background: var(--wheat); }

.demo-stage {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 1.09;
  border-radius: var(--radius);
  background-image: linear-gradient(135deg, #efe3fa, #eadcf7 65%, #f1e8fa);
}

.dot-grid {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 17%;
  height: 17%;
  background: radial-gradient(circle, #a672cb 1.6px, transparent 2px) 0 0 / clamp(11px, 1.25vw, 19px) clamp(11px, 1.25vw, 19px);
  opacity: .65;
}

.ruled-paper, .grid-paper, .lined-sheet { position: absolute; }

.ruled-paper {
  background: #fdf8ef;
  border-radius: 9%;
  box-shadow: 0 10px 16px #3d254023;
}

.ruled-paper::before, .ruled-paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ruled-paper::before {
  inset: 10% 7% 9% 23%;
  background: repeating-linear-gradient(0deg, transparent 0 1.55rem, #a59ab53d 1.55rem calc(1.55rem + 1px));
}

.ruled-paper::after {
  inset: 10% auto 9% 6%;
  width: 7%;
  background: radial-gradient(circle, #b1a3d07d 0 26%, transparent 31%) center top / 100% 24% repeat-y;
}

.grid-paper {
  background:
    linear-gradient(#6aa67d22 1px, transparent 1px),
    linear-gradient(90deg, #6aa67d22 1px, transparent 1px),
    #e3f0e4;
  background-size: clamp(12px, 1.5vw, 22px) clamp(12px, 1.5vw, 22px);
  border-radius: 7%;
  box-shadow: 0 10px 14px #3d25401c;
}

.demo-stage .ruled-paper {
  width: 31%;
  height: 36%;
  top: 24%;
  left: 8%;
  transform: rotate(-12deg);
}

.demo-stage .grid-paper {
  width: 36%;
  height: 39%;
  top: 40%;
  right: 9%;
  transform: rotate(14deg);
}

.device {
  --device-border: 1px;
  --device-padding: 1cqw;
  --device-inset: calc(var(--device-border) + var(--device-padding));
  --device-radius-x: .15;
  --device-radius-y: .07;
  position: relative;
  border: var(--device-border) solid #170e1a;
  border-radius: calc(100% * var(--device-radius-x)) / calc(100% * var(--device-radius-y));
  padding: var(--device-padding);
  background: linear-gradient(145deg, #69636b, #1d1a20 30%, #222026 70%, #5e5763);
  box-shadow: inset 0 0 0 2px #9d929d, inset 0 0 0 4px #363039, 0 12px 18px #38224d38;
}

.device-screen, .screenshot-screen {
  /* Base both curves on the frame's size, then subtract the border and padding. */
  border-radius:
    calc((100% + 2 * var(--device-inset)) * var(--device-radius-x) - var(--device-inset)) /
    calc((100% + 2 * var(--device-inset)) * var(--device-radius-y) - var(--device-inset));
  overflow: hidden;
}

.demo-device {
  position: absolute;
  z-index: 1;
  top: 3.3%;
  left: 22.6%;
  width: 46%;
  height: 93.4%;
}

.device-screen {
  position: relative;
  container-type: inline-size;
  height: 100%;
  background: #ede7f9;
  color: #210d24;
}

.device-screen::before {
  position: absolute;
  content: "";
  z-index: 4;
  width: 5.2cqw;
  height: 5.2cqw;
  left: 50%;
  top: 1.6%;
  border-radius: 50%;
  background: radial-gradient(circle at 54% 46%, #483659 0 11%, #111018 16% 32%, #050408 35%);
  transform: translateX(-50%);
}

.demo-view {
  position: absolute;
  inset: 10cqw 0 0;
  font-size: 4.65cqw;
  transition: opacity .25s ease, transform .32s ease;
}

.demo-stage[data-stage="2"] .demo-entry,
.demo-stage:not([data-stage="2"]) .demo-ledger {
  opacity: 0;
  transform: translateY(2cqw);
}

.app-toolbar, .app-summary { padding-inline: 5.5cqw; }
.app-toolbar { display: flex; align-items: center; justify-content: space-between; }
.app-circle, .app-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.3cqw;
  border: 1px solid #fff9;
  background: #fff6;
  box-shadow: 0 4px 8px #37254c14;
}

.app-circle { width: 13cqw; height: 13cqw; border-radius: 50%; font-size: 8cqw; }
.app-profile { position: relative; }
.app-profile::before, .app-profile::after { content: ""; position: absolute; background: #210d24; }
.app-profile::before { top: 26%; width: 28%; height: 28%; border-radius: 50%; }
.app-profile::after { bottom: 24%; width: 53%; height: 23%; border-radius: 65% 65% 10% 10%; }
.app-chip { padding: 2.5cqw 3.2cqw; border-radius: 100vw; font-size: 4.5cqw; font-weight: 700; }
.app-chip b { line-height: .6; }

.app-summary { padding-block: 5.4cqw 7.1cqw; }
.app-summary h2 { margin-bottom: 5cqw; font-size: 11cqw; line-height: 1.1; letter-spacing: -.05em; }
.app-amount { display: block; margin-top: 2.9cqw; font-size: 17cqw; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.income { margin-block: 5.7cqw 7cqw; color: var(--muted); }
.income b { margin-left: 1cqw; color: #7132a8; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqw; }

.app-add-expense, .app-add-income {
  padding: 3.3cqw 1.2cqw;
  border: 1px solid;
  border-radius: 99vw;
  text-align: center;
  font-size: 4.6cqw;
  font-weight: 700;
  white-space: nowrap;
}

.app-add-expense { color: #084a29; border-color: #9ed5a3; background: #d6f0d9; }
.app-add-income { color: #780d18; border-color: #efacab; background: #fbd9dc; }

.app-paper { min-height: 100%; border-radius: 10.4cqw 10.4cqw 0 0; background: #fefdfd; padding: 6.2cqw 5.5cqw; }
.records-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3.5cqw; }
.records-heading > strong { font-size: 8cqw; letter-spacing: -.055em; }
.icon-calendar { width: 4cqw; height: 4cqw; border: 1px solid; border-top-width: 2px; border-radius: 1px; }

.record {
  display: grid;
  grid-template-columns: 1fr 5cqw minmax(0, 2.4fr) auto;
  gap: 2.5cqw;
  align-items: center;
  padding-block: 4.65cqw;
  border-bottom: 1px solid #e6ddea;
  font-size: 4.5cqw;
  white-space: nowrap;
}

.record > :first-child { color: var(--muted); font-size: 4cqw; }
.icon-cutlery, .icon-basket, .icon-cup { color: var(--violet); }
.icon-cup { position: relative; width: .88em; height: .62em; border: .12em solid currentColor; border-radius: 0 0 .27em .27em; display: inline-block; }
.icon-cup::before { content: ""; position: absolute; left: 100%; top: -.05em; width: .35em; height: .36em; border: .1em solid; border-left: 0; border-radius: 0 60% 60% 0; }
.icon-cup::after { content: ""; position: absolute; width: 1.08em; height: .09em; background: currentColor; left: -.2em; bottom: -.26em; border-radius: 1em; }
.icon-cutlery {
  position: relative;
  width: .85em;
  height: 1.02em;
  background: linear-gradient(currentColor, currentColor) 25% 100% / .11em .57em no-repeat;
}
.icon-cutlery::before {
  content: "";
  position: absolute;
  inset: 0 52% 52% 0;
  border: .095em solid;
  border-top: 0;
  border-radius: 0 0 .16em .16em;
}
.icon-cutlery::after { content: ""; position: absolute; inset: 0 0 0 66%; border-right: .12em solid; border-radius: 100% 0 0; }
.icon-basket { position: relative; width: .9em; height: .54em; border: .095em solid; border-radius: 0 0 .16em .16em; }
.icon-basket::before { content: ""; position: absolute; width: .42em; height: .42em; border-left: .09em solid; border-top: .09em solid; left: .14em; top: -.31em; transform: rotate(45deg); }

.app-form { font-size: 5.3cqw; font-weight: 650; }
.app-field-label { display: flex; justify-content: space-between; align-items: baseline; }
.app-field-label small { color: var(--muted); font-weight: 400; }
.app-field { margin: 2.6cqw 0 6.3cqw; padding: 3.3cqw 4.2cqw; border: 1px solid #e1d9eb; background: #f3eff8; border-radius: 5.1cqw; }
.app-note { min-height: 17cqw; }
.app-save { display: block; margin-top: 7cqw; font-size: 5.3cqw; }
.demo-stage[data-stage="1"] .app-save { animation: save-press .62s ease both; }
.demo-stage[data-stage="0"] .app-field span { animation: reveal-entry .45s .28s both; }

.receipt {
  position: absolute;
  z-index: 2;
  right: .5%;
  bottom: 18.5%;
  width: 36.5%;
  padding: 2.6cqw 2.8cqw 2.75cqw;
  border-radius: 1.8cqw 1.8cqw .8cqw .8cqw;
  background: #fdf8f1;
  font-size: 3.15cqw;
  transform: rotate(-4deg);
  filter: drop-shadow(0 12px 12px #4a345333);
  transition: opacity .3s ease, transform .38s ease;
}

.demo-stage:not([data-stage="2"]) .receipt { opacity: 0; transform: translateY(12px) rotate(-1deg); }
.receipt::after {
  content: "";
  position: absolute;
  inset: 99% 0 auto;
  height: .9cqw;
  background: radial-gradient(ellipse at 50% -20%, #fdf8f1 68%, transparent 73%) 0 0 / 2.7cqw 100% repeat-x;
}
.receipt-title, .receipt-item { display: flex; align-items: center; gap: 1.8cqw; }
.receipt-title { padding-bottom: 1.8cqw; border-bottom: 1px solid #ded5e0; }
.receipt-check { width: 4.8cqw; height: 4.8cqw; display: grid; place-items: center; border-radius: 50%; color: #145a33; background: #def1e2; font-weight: 800; }
.receipt-item { padding-top: 1.7cqw; font-size: 2.85cqw; white-space: nowrap; }
.receipt-item b { margin-left: auto; }
:lang(en) .receipt { font-size: 2.65cqw; }

@keyframes save-press {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(.96); background-color: #ace2b9; }
}

@keyframes reveal-entry {
  from { opacity: 0; }
  to { opacity: 1; }
}

.demo-controls {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  color: var(--muted);
}

.demo-steps {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(4px, 1.15vw, 18px);
  font-size: clamp(.8rem, 1.55vw, 1.45rem);
}

.demo-steps button { padding: .65em .34em .25em; white-space: nowrap; }
.demo-steps button:hover, .demo-steps button[aria-pressed="true"] { color: var(--violet-dark); }
.demo-steps button::after {
  content: "";
  display: block;
  width: .54em;
  height: .54em;
  margin: .82em auto 0;
  background: #ddcee9;
  border-radius: 50%;
}
.demo-steps button[aria-pressed="true"]::after { background: var(--violet); }
.step-arrow { padding-top: .65em; }

.features {
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4.3vw, 65px);
}

.section-intro { text-align: center; }
.section-intro h2, .download h2 {
  font-size: clamp(2.25rem, 5vw, 4.85rem);
  line-height: 1.13;
  letter-spacing: -.038em;
  font-weight: 790;
  text-wrap: balance;
}

.section-intro p, .feature figcaption p, .download-copy p {
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(1rem, 1.8vw, 1.65rem);
}

.section-intro p { margin-top: clamp(10px, 1.2vw, 18px); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: clamp(28px, 2.75vw, 42px);
}

.feature-media {
  position: relative;
  container-type: inline-size;
  aspect-ratio: .83;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(22px, 2.65vw, 40px);
}

.feature-media .dot-grid { width: 24%; height: 13%; }
.feature-media .ruled-paper { width: 43%; height: 42%; top: 28%; left: 5%; transform: rotate(-12deg); }
.feature-media .grid-paper { width: 43%; height: 45%; top: 45%; right: 4%; transform: rotate(11deg); }
.lined-sheet {
  top: 5%;
  right: 3%;
  width: 34%;
  height: 26%;
  transform: rotate(-6deg);
  background: repeating-linear-gradient(0deg, transparent 0 1.25rem, #a59ab54a 1.25rem calc(1.25rem + 1px));
}

.screenshot-device {
  position: absolute;
  z-index: 1;
  top: 9%;
  left: 50%;
  width: 63.5%;
  transform: translateX(-50%);
}

.screenshot-screen {
  position: relative;
  container-type: inline-size;
  background: #ede7f9;
}

.screenshot-device::after {
  content: "";
  position: absolute;
  top: 1.85%;
  left: 50%;
  width: 4.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #342840 0 16%, #130e18 20% 32%, #09070c 38%);
  transform: translateX(-50%);
}

.screenshot-screen img {
  width: 100%;
  height: auto;
  /* Crop the top 72 pixels from the 720-pixel-wide screenshots. */
  margin-top: -10%;
}

.screenshot-entry-text {
  position: absolute;
  inset: 46.5% auto auto 8.5%;
  width: 14.5%;
  height: 3.2%;
  display: flex;
  align-items: center;
  padding-inline-start: .5cqw;
  background: #f3eff7;
  color: #210d24;
  font-size: 3.9cqw;
  line-height: 1;
}

.screenshot-entry-text::after {
  content: "";
  width: .07em;
  height: 1.4em;
  margin-inline-start: .06em;
  background: #6c517f;
}

.feature figcaption { padding-top: clamp(16px, 2vw, 31px); }
.feature h3, .poll h3 { font-size: clamp(1.3rem, 2.55vw, 2.5rem); line-height: 1.22; letter-spacing: -.045em; }
.feature figcaption p { margin-top: 7px; font-size: clamp(.97rem, 1.58vw, 1.5rem); }

.download {
  padding-block: clamp(62px, 8.5vw, 126px) clamp(38px, 3.3vw, 52px);
  scroll-margin-top: clamp(-70px, -4vw, -24px);
}

.download:focus { outline: none; }
.download-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 62px) clamp(24px, 5vw, 75px);
  background-image: linear-gradient(120deg, #eee3fa, #e9dcf5);
}
.download-copy { position: relative; z-index: 1; }
.download-copy h2 { text-wrap: initial; }
.download-copy p { margin-top: clamp(10px, .9vw, 15px); }
.download-copy .button { margin-top: clamp(17px, 1.85vw, 30px); }
.download-art { position: relative; align-self: stretch; }
.download-art .ruled-paper {
  display: grid;
  place-items: center;
  width: 66%;
  inset: -5% auto -2% 7%;
  transform: rotate(-5deg);
}
.download-art .ruled-paper img { position: relative; width: 52%; height: auto; }
.download-art .grid-paper { inset: 30% 2% -8% auto; width: 61%; transform: rotate(12deg); }
.download-art .dot-grid { top: -15%; right: 0; height: 34%; width: 23%; }

.feedback { margin-top: clamp(34px, 4vw, 60px); }
.feedback .section-intro h2 { font-size: clamp(1.9rem, 3.8vw, 3.7rem); }
.feedback .section-intro p { font-size: clamp(.88rem, 1.25vw, 1.08rem); margin-top: 9px; }
.feedback .section-intro p:empty { margin: 0; }
.feedback .vote-retry { color: var(--violet-dark); text-decoration: underline; }

.poll-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: clamp(22px, 2vw, 30px);
}

.poll {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  padding: clamp(24px, 2.3vw, 36px) 16px;
  border-radius: clamp(22px, 2.65vw, 40px);
}
.poll h3 { display: flex; align-items: center; justify-content: center; gap: .5em; }
.icon-heart { flex: 0 0 auto; width: 1.07em; height: 1.07em; }
.icon-phone { position: relative; flex: 0 0 auto; width: .75em; height: 1.07em; border: .085em solid; border-radius: .18em; }
.icon-phone::after { content: ""; position: absolute; bottom: .09em; width: .23em; height: .055em; border-radius: 1em; background: currentColor; left: 50%; transform: translateX(-50%); }
.poll-tally {
  display: flex;
  align-items: baseline;
  gap: .23em;
  font-size: clamp(1rem, 1.9vw, 1.75rem);
  font-weight: 650;
  margin-block: clamp(13px, 1.5vw, 22px);
}

.tally-window {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.04;
  font-weight: 790;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
}

.tally-value { grid-area: 1 / 1; }
.tally-in { animation: tally-in .42s cubic-bezier(.2,.75,.2,1) both; }
.tally-out { animation: tally-out .42s cubic-bezier(.2,.75,.2,1) both; }
@keyframes tally-in { from { transform: translateY(112%); } }
@keyframes tally-out { to { transform: translateY(-112%); } }

.button-outline { color: var(--violet-dark); border-color: var(--violet); background: transparent; }
.button-outline:not(:disabled):hover { color: #fff; background: var(--violet); }
.vote-button { width: min(100%, 300px); font-size: clamp(1rem, 1.85vw, 1.65rem); }
.vote-button:disabled { background: #c8bdce; color: #382a40; border-color: transparent; cursor: default; }
.vote-result { font-size: .95rem; margin-top: 10px; }

.support-trigger:hover { color: var(--violet); }

.support-dialog {
  width: min(576px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: clamp(20px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: clamp(22px, 4vw, 34px);
  background: var(--background);
  color: var(--ink);
  box-shadow: 0 18px 54px #24132938;
  overscroll-behavior: contain;
}

.support-dialog::backdrop { background: #39274769; }
body:has(.support-dialog[open]) { overflow: hidden; }

.support-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(16px, 3vw, 24px);
}

.support-heading h2 { font-size: clamp(1.65rem, 4.2vw, 2.45rem); line-height: 1.12; letter-spacing: -.043em; }
.support-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.support-close:hover { background: #e4d5f3; }

.support-form { display: grid; gap: 18px; }
.support-field { display: grid; gap: 7px; }
.support-field label { font-weight: 700; }
.support-required { color: var(--violet); }
.support-field :is(textarea, input) {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b9a6ce;
  border-radius: 10px;
  background: #fbf7fb;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
.support-field :is(textarea, input)::placeholder { color: var(--muted); }
.support-field textarea { min-height: 112px; resize: vertical; }
.support-field input { min-height: 44px; }
.support-field [aria-invalid="true"] { border-color: #9f2942; }
.support-field :is(textarea, input):focus-visible { outline-width: 2px; outline-offset: 2px; }
.support-note, .support-error, .support-success { font-size: .9rem; line-height: 1.5; }
.support-note { color: var(--muted); }
.support-challenge:empty, .support-error:empty, .support-success:empty { display: none; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; }
.support-error, .support-success { flex: 1 1 160px; }
.support-error { color: #9f2942; }
.support-success { color: #28513d; }
.support-submit { min-height: 48px; font-size: 1rem; }
.support-submit:disabled { cursor: wait; }

@media (max-width: 900px) {
  .hero { gap: clamp(18px, 3vw, 28px); }
  .hero h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .header, .footer { min-height: 80px; }
}

@media (max-width: 700px) {
  .header { padding-block: 12px; gap: 10px; }
  .navigation { flex-wrap: wrap; justify-content: flex-end; gap: 2px 9px; }
  .nav-links { border: 0; padding-inline-start: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(3.65rem, 12vw, 5.25rem); }
  .hero-tagline, :lang(en) .hero-tagline { font-size: clamp(2rem, 7.7vw, 3.2rem); margin-top: 14px; }
  .hero-description { margin-top: 14px; }
  .hero-copy .button { margin-top: 20px; }
  .demo { width: min(100%, 530px); margin-inline: auto; }
  .demo-controls { padding-top: 5px; }
  .feature-grid { gap: 13px; }
  .download-band { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .download-art .ruled-paper { width: 90%; left: 7%; top: 11%; bottom: 9%; }
  .download-art .grid-paper { width: 70%; right: -10%; top: 34%; bottom: 2%; }
}

@media (max-width: 530px) {
  .brand { gap: 6px; }
  .header { flex-wrap: wrap; }
  .navigation { flex: 1 1 100%; justify-content: space-between; }
  .languages button { min-height: 36px; padding-inline: 10px; }
  .nav-links { gap: 14px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature-media { aspect-ratio: .94; }
  .screenshot-device { width: 56%; }
  .feature figcaption { padding-inline: 3px; }
  .download-band { grid-template-columns: 1fr; gap: 22px; }
  .download-art { width: min(100%, 240px); height: 125px; margin-inline: auto; }
  .download-art .ruled-paper { width: 63%; left: 10%; top: 4%; bottom: 0; }
  .download-art .grid-paper { width: 59%; right: 6%; top: 20%; bottom: -8%; }
  .download-art .dot-grid { top: 0; }
  .poll-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 350px) {
  .navigation { flex-wrap: wrap; gap: 4px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 3.6rem); }
  .app-add-income, .app-add-expense { font-size: 4.1cqw; }
}

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