:root {
  --ink: #071b1b;
  --muted: #5f6f6c;
  --paper: #f6faf7;
  --card: #ffffff;
  --line: #dde8e3;
  --deep: #003f3d;
  --green: #007a6d;
  --mint: #2ecdbd;
  --coral: #ff574c;
  --amber: #e8b44a;
  --blue: #3778c2;
  --shadow: 0 24px 70px rgba(0, 58, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 250, 247, 0.82);
  border-bottom: 1px solid rgba(221, 232, 227, 0.72);
}

.nav-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--deep);
  box-shadow: 0 14px 34px rgba(0, 63, 61, 0.24);
  overflow: hidden;
}

.brand-symbol {
  width: 28px;
  height: 22px;
  position: relative;
}

.brand-symbol::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 22px;
  border-radius: 5px 5px 3px 8px;
  background: #fff;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 1px;
  width: 17px;
  height: 20px;
  background:
    linear-gradient(128deg, transparent 0 34%, var(--mint) 35% 62%, transparent 63%),
    linear-gradient(52deg, transparent 0 34%, var(--coral) 35% 62%, transparent 63%);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.links a:hover {
  color: var(--green);
}

.pill-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
  padding: 62px 0 28px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 660px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 760;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 16px 34px rgba(0, 122, 109, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.trust-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.phone-stage {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(380px, 100%);
  min-height: 590px;
  border-radius: 46px;
  padding: 16px;
  background: #071b1b;
  box-shadow: var(--shadow);
}

.screen {
  min-height: 558px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfffc, #edf6f1);
  padding: 26px 20px;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-header strong {
  font-size: 22px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #e7f2ed;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.balance-card {
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.balance-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  top: -46px;
  border-radius: 60px;
  background: rgba(46, 205, 189, 0.18);
}

.balance-label {
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  font-weight: 650;
}

.balance-value {
  margin: 6px 0 18px;
  font-size: 38px;
  font-weight: 850;
  letter-spacing: 0;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-stat {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px;
  font-size: 12px;
}

.mini-stat strong {
  display: block;
  font-size: 15px;
}

.chart-card,
.list-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  margin-bottom: 14px;
}

.chart-bars {
  height: 92px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding-top: 14px;
}

.bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--mint);
}

.bar.red {
  background: var(--coral);
}

.tx {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #edf2ef;
}

.tx:last-child {
  border-bottom: 0;
}

.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e7f4ef;
  display: grid;
  place-items: center;
}

.tx strong {
  display: block;
  font-size: 14px;
}

.tx span {
  color: var(--muted);
  font-size: 12px;
}

.floating-note {
  position: absolute;
  width: 176px;
  right: 0;
  bottom: 78px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 63, 61, 0.16);
  border: 1px solid var(--line);
}

.floating-note strong {
  display: block;
  margin-bottom: 4px;
}

.section {
  padding: 86px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.section-title p,
.feature p,
.policy-card p,
.support-card p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.policy-card,
.support-card {
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #e4f7f3;
  color: var(--green);
  font-weight: 900;
}

.feature h3,
.policy-card h3,
.support-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.workflow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.workflow-panel {
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  padding: 30px;
}

.workflow-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e9f6f2;
  color: var(--green);
  font-weight: 850;
}

.privacy-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 90px;
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.legal-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 28px;
}

.legal-section li {
  margin-bottom: 10px;
  color: var(--muted);
}

.footer {
  background: var(--deep);
  color: #fff;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .links {
    gap: 12px;
  }

  .links a:not(.pill-link) {
    display: none;
  }

  .hero,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .phone-stage {
    min-height: 560px;
  }

  .floating-note {
    right: 16px;
  }

  .feature-grid,
  .policy-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-inner,
  .section,
  .footer-inner,
  .hero,
  .legal-page {
    width: min(100% - 28px, 1120px);
  }

  .brand small {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phone {
    width: 100%;
    border-radius: 34px;
    padding: 10px;
  }

  .screen {
    border-radius: 26px;
  }
}
