@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f4faff;
  --surface: #ffffff;
  --surface-soft: #eaf2f5;
  --surface-high: #d5e5ef;
  --ink: #0e1d25;
  --muted: #526169;
  --primary: #3b6663;
  --primary-ink: #ffffff;
  --mint: #b2dfdb;
  --mint-bright: #a4f0e9;
  --mint-ink: #153c39;
  --outline: #c0c8c7;
  --outline-strong: #8a989d;
  --coral: #ef8e78;
  --blue: #7fadd8;
  --danger: #ba1a1a;
  --shadow: 0 22px 60px rgba(31, 61, 70, 0.12);
  --shadow-soft: 0 8px 26px rgba(31, 61, 70, 0.08);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shell: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d171c;
  --surface: #16242b;
  --surface-soft: #1d2d35;
  --surface-high: #21333b;
  --ink: #e4f1f6;
  --muted: #bac8cd;
  --primary: #9acbc6;
  --primary-ink: #08201e;
  --mint: #294b49;
  --mint-bright: #164b48;
  --mint-ink: #d8f5f1;
  --outline: #3c4c53;
  --outline-strong: #84949a;
  --coral: #e7a38e;
  --blue: #89b5dc;
  --danger: #ffb4ab;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 8px 26px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  transition: background-color 180ms ease, color 180ms ease;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -80px; padding: 12px 16px; background: var(--ink); color: var(--bg); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--outline), transparent 30%);
  background: color-mix(in srgb, var(--bg), transparent 12%);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.brand img { border-radius: 11px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--outline); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.theme-icon { font-size: 20px; line-height: 1; }

.button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .icon-button:focus-visible, .demo-tab:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .dialog-close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary), transparent 45%);
  outline-offset: 3px;
}
.button-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 18px color-mix(in srgb, var(--primary), transparent 78%); }
.button-secondary { border-color: var(--outline); background: var(--surface); color: var(--ink); }
.button-quiet { min-height: 42px; background: transparent; color: var(--primary); border-color: var(--outline); padding-block: 9px; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 14px; }

.hero { overflow: hidden; padding: 82px 0 92px; background: radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--mint-bright), transparent 30%) 0, transparent 27%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 74px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #2e7d69; box-shadow: 0 0 0 5px color-mix(in srgb, #2e7d69, transparent 84%); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 700px; margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
h1 span { color: var(--primary); }
.hero-lead { max-width: 650px; margin: 28px 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 25px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.trust-list span { color: var(--primary); }
.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.phone-frame { position: relative; z-index: 2; width: 305px; padding: 15px 11px 17px; border: 1px solid var(--outline); border-radius: 42px; background: #071318; box-shadow: var(--shadow); transform: rotate(2deg); }
.phone-frame img { width: 100%; border-radius: 29px; }
.theme-shot-dark { display: none; }
html[data-theme="dark"] .theme-shot-light { display: none; }
html[data-theme="dark"] .theme-shot-dark { display: block; }
.phone-speaker { position: absolute; z-index: 3; top: 7px; left: 50%; width: 60px; height: 5px; border-radius: 99px; background: #26363d; transform: translateX(-50%); }
.decor { position: absolute; border-radius: 50%; filter: blur(1px); }
.decor-one { width: 440px; height: 440px; background: color-mix(in srgb, var(--mint), transparent 12%); }
.decor-two { right: 3%; bottom: 4%; width: 130px; height: 130px; border: 24px solid color-mix(in srgb, var(--coral), transparent 25%); }
.floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 13px 16px; border: 1px solid var(--outline); border-radius: 18px; background: color-mix(in srgb, var(--surface), transparent 5%); box-shadow: var(--shadow-soft); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 13px; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.floating-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); font-weight: 700; }
.floating-lists { left: 1%; top: 21%; }
.floating-expense { right: -2%; bottom: 20%; }

.section { padding: 100px 0; }
.intro-section { background: var(--surface); }
.section-heading { max-width: 750px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.2vw, 53px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 30px; border: 1px solid var(--outline); border-radius: var(--radius-lg); background: var(--bg); }
.feature-icon { width: 58px; height: 58px; margin-bottom: 24px; border-radius: 18px; display: grid; place-items: center; color: var(--mint-ink); background: var(--mint); font-size: 27px; font-weight: 700; }
.feature-list { background: color-mix(in srgb, var(--blue), var(--surface) 55%); }
.feature-expense { background: color-mix(in srgb, var(--coral), var(--surface) 52%); }
.step-label { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-card h3 { margin: 8px 0 12px; font-size: 22px; }
.feature-card > p:not(.step-label) { color: var(--muted); }
.mini-steps { margin: 22px 0 0; padding: 18px 0 0 20px; border-top: 1px solid var(--outline); color: var(--muted); font-size: 13px; }
.mini-steps li + li { margin-top: 8px; }

.showcase-section { overflow: hidden; }
.heading-row { max-width: none; display: grid; grid-template-columns: 1fr .6fr; align-items: end; gap: 60px; }
.heading-row > p:last-child { margin-bottom: 5px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.shot-card { margin: 0; overflow: hidden; border: 1px solid var(--outline); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); }
.shot-card img { width: 100%; aspect-ratio: 430 / 640; object-fit: cover; object-position: top; background: var(--surface-soft); }
.shot-card figcaption { display: grid; gap: 3px; padding: 20px 22px; }
.shot-card figcaption span { color: var(--muted); font-size: 13px; }
.shot-card:nth-child(2) { margin-top: 44px; }
.shot-card:nth-child(3) { margin-top: 88px; }

.demo-section { background: var(--surface); }
.demo-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.demo-heading > div:first-child { max-width: 740px; }
.ephemeral-note { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; max-width: 310px; padding: 13px 16px; border: 1px solid var(--outline); border-radius: var(--radius-md); color: var(--muted); background: var(--bg); font-size: 12px; }
.ephemeral-note > span:first-child { font-size: 25px; color: var(--primary); }
.ephemeral-note strong { display: block; color: var(--ink); font-size: 13px; }
.demo-app { overflow: hidden; border: 1px solid var(--outline); border-radius: var(--radius-xl); background: var(--bg); box-shadow: var(--shadow); }
.demo-topbar { min-height: 72px; padding: 14px 20px; border-bottom: 1px solid var(--outline); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); }
.demo-brand { display: flex; align-items: center; gap: 20px; }
.demo-brand span { color: var(--primary); font-weight: 700; }
.demo-brand strong { font-size: 14px; }
.demo-layout { min-height: 590px; display: grid; grid-template-columns: 155px 1fr; }
.demo-nav { padding: 20px 12px; border-right: 1px solid var(--outline); background: var(--surface); }
.demo-tab { width: 100%; padding: 14px 12px; border: 0; border-radius: 14px; display: flex; align-items: center; gap: 10px; background: transparent; color: var(--muted); font-weight: 600; text-align: left; cursor: pointer; }
.demo-tab + .demo-tab { margin-top: 5px; }
.demo-tab span:first-child { width: 24px; text-align: center; font-size: 19px; }
.demo-tab.is-active { color: var(--mint-ink); background: var(--mint); }
.demo-content { min-width: 0; padding: 30px; }
.demo-panel { display: none; }
.demo-panel.is-active { display: block; animation: panel-in 240ms ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(4px); } }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-title-row h3 { margin: 2px 0 0; font-size: 27px; }
.panel-kicker { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.demo-calendar-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; }
.demo-calendar, .day-events, .balance-explainer { min-width: 0; padding: 20px; border: 1px solid var(--outline); border-radius: var(--radius-lg); background: var(--surface); }
.demo-calendar { overflow: hidden; }
.weekdays, .calendar-days { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.weekdays { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.calendar-day { position: relative; width: 100%; min-width: 0; aspect-ratio: 1; min-height: 47px; padding: 4px 3px; border: 1px solid var(--outline); border-radius: 12px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; overflow: visible; background: transparent; color: var(--ink); font-size: 12px; }
.calendar-day-number { min-height: 17px; align-self: center; line-height: 17px; }
.calendar-day.is-muted { opacity: .32; }
.calendar-day.is-selected { border: 2px solid var(--primary); }
.calendar-event-line { position: relative; z-index: 2; min-width: 0; min-height: 11px; padding: 1px 3px; overflow: hidden; border-radius: 4px; background: var(--primary); color: var(--primary-ink); font-size: 7px; font-weight: 700; line-height: 9px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event-line.coral { background: var(--coral); color: #28110c; }
.calendar-event-line.blue { background: var(--blue); color: #071923; }
.calendar-event-line.is-start { margin-right: -7px; border-radius: 4px 0 0 4px; }
.calendar-event-line.is-middle { margin-right: -7px; margin-left: -7px; border-radius: 0; color: transparent; }
.calendar-event-line.is-end { margin-left: -7px; border-radius: 0 4px 4px 0; color: transparent; }
.calendar-event-more { color: var(--muted); font-size: 7px; font-weight: 700; line-height: 8px; text-align: center; }
.day-events .stack-list { margin-top: 14px; }
.stack-list { display: grid; gap: 10px; }
.demo-entry { padding: 14px; border: 1px solid var(--outline); border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); }
.entry-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.entry-dot { flex: 0 0 auto; width: 11px; height: 38px; border-radius: 99px; background: var(--primary); }
.entry-dot.coral { background: var(--coral); }
.entry-dot.blue { background: var(--blue); }
.entry-main strong, .entry-main small { display: block; }
.entry-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.entry-main small { color: var(--muted); font-size: 11px; }
.entry-delete { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 17px; }
.empty-state { padding: 28px 16px; color: var(--muted); border: 1px dashed var(--outline); border-radius: 16px; text-align: center; font-size: 13px; }
.balance-summary { margin-bottom: 22px; padding: 18px 20px; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 16px; color: var(--mint-ink); background: var(--mint); }
.balance-summary > span { font-size: 29px; }
.balance-summary small, .balance-summary strong, .balance-summary p { display: block; }
.balance-summary strong { font-size: 22px; }
.balance-summary p { margin: 1px 0 0; font-size: 12px; }
.split-layout { display: grid; grid-template-columns: 1fr 310px; gap: 22px; }
.split-layout > div:first-child > .panel-kicker { margin-bottom: 12px; }
.balance-explainer dl { margin: 14px 0 0; }
.balance-explainer dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--outline); }
.balance-explainer dd { margin: 0; color: var(--ink); font-weight: 700; }
.balance-explainer .result-line { border-bottom: 0; color: var(--primary); }
.balance-explainer .result-line dd { color: var(--primary); }
.demo-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.demo-list-card { padding: 18px; border: 1px solid var(--outline); border-radius: 20px; background: var(--surface); }
.demo-list-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--outline); }
.demo-list-title strong { font-size: 15px; }
.list-progress { margin: 13px 0; color: var(--muted); font-size: 11px; }
.demo-list-items { display: grid; gap: 10px; }
.demo-list-items label { display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.demo-list-items input { accent-color: var(--primary); width: 17px; height: 17px; }
.demo-list-items input:checked + span { color: var(--muted); text-decoration: line-through; }

.download-section { background: linear-gradient(145deg, var(--primary) 0%, color-mix(in srgb, var(--primary), #0e1d25 30%) 100%); }
.download-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; color: var(--primary-ink); }
.download-copy .eyebrow { color: color-mix(in srgb, var(--primary-ink), transparent 18%); }
.download-copy h2 { margin: 0; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.download-copy > p:not(.eyebrow) { color: color-mix(in srgb, var(--primary-ink), transparent 18%); }
.device-recommendation { min-height: 24px; font-size: 13px; font-weight: 700; }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.store-card { min-width: 0; padding: 18px; border: 1px solid color-mix(in srgb, var(--primary-ink), transparent 72%); border-radius: 24px; display: flex; align-items: center; gap: 15px; background: color-mix(in srgb, var(--surface), transparent 6%); color: var(--ink); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.store-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary-ink), transparent 35%); box-shadow: var(--shadow-soft); }
.store-card.is-recommended { outline: 3px solid color-mix(in srgb, var(--primary-ink), transparent 15%); outline-offset: 4px; }
.store-qr { flex: 0 0 108px; width: 108px; height: 108px; padding: 7px; border-radius: 16px; background: #fff; object-fit: contain; }
.store-overline { display: block; color: var(--muted); font-size: 10px; }
.store-card strong { display: block; font-size: 17px; }
.store-link { display: inline-block; margin-top: 8px; color: var(--primary); font-size: 12px; font-weight: 700; }

.site-footer { padding: 64px 0 20px; background: #091318; color: #e4f1f6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .8fr; gap: 50px; }
.footer-brand { color: #9acbc6; }
.footer-grid > div:first-child p { color: #bac8cd; font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; }
.footer-links a { color: #bac8cd; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #9acbc6; }
.footer-bottom { margin-top: 46px; padding-top: 18px; border-top: 1px solid #2d3e46; display: flex; justify-content: space-between; color: #84949a; font-size: 12px; }

.demo-dialog { width: min(92vw, 520px); padding: 0; border: 1px solid var(--outline); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.demo-dialog::backdrop { background: rgba(4, 12, 15, .62); backdrop-filter: blur(4px); }
.dialog-form { padding: 24px; display: grid; gap: 16px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dialog-heading h3 { margin: 3px 0 0; font-size: 25px; }
.dialog-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--ink); cursor: pointer; font-size: 24px; }
.dialog-form > label, .dialog-form fieldset { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.dialog-form input, .dialog-form textarea, .dialog-form select { width: 100%; padding: 13px 14px; border: 1px solid var(--outline); border-radius: 14px; background: var(--surface-soft); color: var(--ink); font-size: 14px; }
.dialog-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-single { grid-template-columns: 1fr; }
.form-row label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.dialog-form fieldset { padding: 13px 14px; border: 1px solid var(--outline); border-radius: 14px; grid-template-columns: 1fr 1fr; }
.dialog-form fieldset legend { padding: 0 5px; }
.dialog-form .check-label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.dialog-form .check-label input { width: 17px; accent-color: var(--primary); }
.money-input { position: relative; display: block; }
.money-input input { padding-right: 60px; }
.money-input span { position: absolute; right: 14px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.field-help, .form-message { margin: -9px 0 0; color: var(--muted); font-size: 11px; }
.form-message.is-error { color: var(--danger); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

.legal-main { min-height: calc(100vh - 200px); padding: 70px 0 100px; }
.legal-shell { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.legal-hero { margin-bottom: 34px; }
.legal-hero h1 { font-size: clamp(40px, 6vw, 62px); }
.legal-hero p { color: var(--muted); }
.legal-card { padding: clamp(24px, 5vw, 46px); border: 1px solid var(--outline); border-radius: var(--radius-lg); background: var(--surface); }
.legal-card h2 { margin: 32px 0 8px; font-size: 23px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--primary); }
.legal-card .notice { padding: 16px; border-radius: var(--radius-md); color: var(--mint-ink); background: var(--mint); }
.legal-data-grid { margin: 20px 0; display: grid; gap: 0; border: 1px solid var(--outline); border-radius: var(--radius-md); overflow: hidden; }
.legal-data-grid > div { padding: 13px 15px; display: grid; grid-template-columns: minmax(145px, .42fr) 1fr; gap: 18px; background: var(--bg); }
.legal-data-grid > div + div { border-top: 1px solid var(--outline); }
.legal-data-grid dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.legal-data-grid dd { margin: 0; color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.legal-meta { font-size: 12px; }
.delete-steps { counter-reset: delete-step; padding: 0; list-style: none; display: grid; gap: 12px; }
.delete-steps li { position: relative; padding: 16px 16px 16px 54px; border: 1px solid var(--outline); border-radius: 16px; background: var(--bg); }
.delete-steps li::before { counter-increment: delete-step; content: counter(delete-step); position: absolute; left: 15px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-size: 12px; font-weight: 700; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 30px; }
  .hero-visual { min-height: 560px; }
  .phone-frame { width: 275px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: 70px 1fr; column-gap: 18px; }
  .feature-icon { grid-row: span 4; }
  .feature-card .step-label, .feature-card h3, .feature-card > p, .feature-card .mini-steps { grid-column: 2; }
  .heading-row { grid-template-columns: 1fr; gap: 5px; }
  .demo-calendar-wrap, .split-layout { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell, .legal-shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-shell { min-height: 66px; }
  .header-actions .button { display: none; }
  .hero { padding: 58px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .floating-lists { left: 0; }
  .floating-expense { right: 0; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 30px; }
  .feature-card { display: block; padding: 24px; }
  .feature-card .step-label, .feature-card h3, .feature-card > p, .feature-card .mini-steps { grid-column: auto; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .shot-card:nth-child(n) { margin-top: 0; }
  .shot-card img { aspect-ratio: 430 / 690; }
  .demo-heading { display: grid; }
  .ephemeral-note { max-width: none; }
  .demo-app { border-radius: 25px; }
  .demo-topbar { align-items: start; }
  .demo-brand { display: grid; gap: 2px; }
  .demo-layout { display: flex; flex-direction: column; }
  .demo-nav { order: 2; position: sticky; bottom: 0; z-index: 4; padding: 8px; border-top: 1px solid var(--outline); border-right: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
  .demo-tab { justify-content: center; padding: 10px 4px; display: grid; gap: 2px; text-align: center; font-size: 10px; }
  .demo-tab + .demo-tab { margin: 0; }
  .demo-content { padding: 18px; }
  .panel-title-row { align-items: end; }
  .panel-title-row .button { min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .demo-calendar-wrap { min-width: 0; }
  .demo-calendar { padding: 12px; }
  .calendar-day { min-height: 38px; border-radius: 9px; }
  .demo-list-grid, .store-grid { grid-template-columns: 1fr; }
  .download-card { gap: 34px; }
  .store-card { padding: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 4px; }
}

@media (max-width: 460px) {
  h1 { font-size: 44px; }
  .hero-visual { min-height: 520px; }
  .phone-frame { width: 245px; }
  .floating-card { min-width: 0; padding: 10px 12px; }
  .floating-card strong { font-size: 11px; }
  .floating-card small { font-size: 9px; }
  .floating-icon { width: 31px; height: 31px; }
  .demo-topbar .button { font-size: 11px; padding: 8px 10px; }
  .weekdays, .calendar-days { gap: 4px; }
  .calendar-day { min-height: 34px; padding-inline: 2px; }
  .panel-title-row { display: grid; }
  .panel-title-row .button { justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
  .dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-data-grid > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
