:root {
  --ink: #171714;
  --muted: #6f6b63;
  --paper: #f6f2e9;
  --surface: #fffdf8;
  --line: rgba(23, 23, 20, 0.14);
  --orange: #ff6a2a;
  --blue: #4559e9;
  --yellow: #f4c74e;
  --shadow: 0 32px 80px rgba(37, 31, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 23, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.about,
.final-cta,
.site-footer {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:first-child {
  color: var(--muted);
}

.site-nav > a:first-child:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav-cta:hover {
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
  padding-block: 78px 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow > span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(60px, 7vw, 98px);
}

.hero h1 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 500;
}

.hero-intro {
  max-width: 530px;
  margin: 35px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 38px;
}

.primary-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 16px 13px 24px;
  border-radius: 4px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 750;
  box-shadow: 5px 5px 0 var(--orange);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-button:hover {
  box-shadow: 8px 8px 0 var(--orange);
  transform: translate(-2px, -2px);
}

.button-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
}

.text-link {
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.browser-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.browser-note span {
  color: #58a56f;
  font-size: 9px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 550px;
  place-items: center;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape-blue {
  top: 22px;
  right: 5%;
  width: 72%;
  height: 72%;
  border-radius: 46% 54% 60% 40% / 41% 43% 57% 59%;
  background: var(--blue);
  transform: rotate(6deg);
}

.shape-orange {
  right: 3%;
  bottom: 47px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--orange);
}

.ledger-card {
  position: relative;
  z-index: 1;
  width: min(420px, 88%);
  padding: 27px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.ledger-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ledger-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.ledger-topbar h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.avatar-stack {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  padding-right: 7px;
}

.avatar-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-right: -7px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  color: var(--ink);
  background: var(--yellow);
}

.avatar-stack span:nth-child(3) {
  background: var(--orange);
}

.balance-panel {
  display: flex;
  margin-top: 25px;
  padding: 22px;
  align-items: flex-end;
  justify-content: space-between;
  border-radius: 13px;
  color: #fff;
  background: var(--ink);
}

.balance-panel > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.balance-panel strong {
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.balance-panel small {
  margin-right: 2px;
  color: var(--yellow);
  font-size: 14px;
}

.ledger-list {
  margin-top: 12px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.row-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.row-icon-orange {
  color: #a33208;
  background: #ffe1d2;
}

.row-icon-blue {
  color: #3044cd;
  background: #e3e7ff;
}

.row-icon-yellow {
  color: #80620d;
  background: #fff1bf;
}

.row-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.row-copy b,
.ledger-row > strong {
  font-size: 13px;
}

.row-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.ledger-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.add-bill {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
}

.visual-caption {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 13px;
  font-style: italic;
}

.visual-caption span {
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  gap: 80px;
  padding-block: 110px 128px;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  font-size: clamp(43px, 5vw, 68px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.steps h3 {
  margin: -3px 0 7px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  padding: 58px clamp(32px, 6vw, 78px);
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(46px, 5.5vw, 76px);
}

.eyebrow-light {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.64);
}

.eyebrow-light > span {
  background: var(--yellow);
}

.cta-stamp {
  position: absolute;
  top: -155px;
  right: 2%;
  margin: 0;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  font-size: 420px;
  font-weight: 800;
  letter-spacing: -0.12em;
  line-height: 1;
}

.primary-button-light {
  position: relative;
  z-index: 1;
  min-width: 230px;
  color: var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--yellow);
}

.primary-button-light:hover {
  box-shadow: 8px 8px 0 var(--yellow);
}

.primary-button-light .button-arrow {
  color: #fff;
  background: var(--orange);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 42px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
}

.brand-footer {
  color: var(--ink);
}

@media (max-width: 900px) {
  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 64px 82px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 650px);
    min-height: 520px;
    margin-inline: auto;
  }

  .shape-blue {
    width: 68%;
    right: 12%;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-block: 90px;
  }

  .section-heading {
    max-width: 600px;
  }

  .final-cta {
    min-height: 420px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 42px;
  }

  .primary-button-light {
    width: fit-content;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .about,
  .final-cta,
  .site-footer {
    width: min(100% - 30px, 1240px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav > a:first-child {
    display: none;
  }

  .hero {
    padding-block: 54px 66px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

  .hero-intro {
    margin-top: 28px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
  }

  .primary-button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-visual {
    min-height: 440px;
  }

  .shape-blue {
    top: 35px;
    right: 2%;
    width: 90%;
    height: 74%;
  }

  .shape-orange {
    width: 88px;
    height: 88px;
  }

  .ledger-card {
    width: 92%;
    padding: 20px;
    border-radius: 17px;
    transform: rotate(-2deg);
  }

  .balance-panel {
    padding: 17px;
  }

  .balance-panel strong {
    font-size: 23px;
  }

  .visual-caption {
    right: 0;
  }

  .about {
    gap: 42px;
    padding-block: 76px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
  }

  .final-cta {
    min-height: 400px;
    gap: 36px;
    padding: 45px 26px;
  }

  .final-cta h2 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .primary-button-light {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
