:root{
  --bg:#f4f4ee;
  --surface:#ffffff;
  --surface-2:#f9f8f4;
  --surface-3:#f0f2ea;
  --line:#d8ddd2;
  --line-soft:#e7e9e2;
  --text:#143847;
  --muted:#66767c;
  --muted-2:#8f9a93;
  --brand:#174c43;
  --brand-2:#1d5d52;
  --brand-soft:#eff3e4;
  --accent:#d6efb1;
  --accent-soft:#eef5df;
  --radius:28px;
  --shadow:0 18px 48px rgba(20,56,71,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,a{-webkit-tap-highlight-color:transparent}

.page-shell{max-width:1360px;margin:0 auto}
.site-header,
.hero,
.metrics-strip,
.content-section,
.final-cta,
.site-footer{margin-left:28px;margin-right:28px}

.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  color:var(--text);
}
.brand-logo{width:38px;height:38px;flex:0 0 auto}
.brand-text{
  font-size:18px;
  line-height:.95;
  letter-spacing:-.03em;
}
.desktop-nav{
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
}
.desktop-nav>a:not(.btn):hover{color:var(--brand)}

.btn{
  min-height:50px;
  padding:0 22px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:750;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  color:#fff;
  background:var(--brand);
  box-shadow:0 12px 28px rgba(23,76,67,.18);
}
.btn-primary:hover{background:var(--brand-2)}
.btn-secondary{
  color:var(--text);
  background:#fff;
  border:1px solid var(--line);
}
.btn-white{
  color:var(--brand);
  background:#fff;
  min-width:190px;
  padding-left:26px;
  padding-right:26px;
  white-space:nowrap;
  flex:0 0 auto;
}
.btn-small{
  min-height:42px;
  padding:0 16px;
  border-radius:14px;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,640px);
  align-items:center;
  gap:54px;
  padding:56px 0 44px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:var(--accent-soft);
  color:#808b62;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.eyebrow.ghost{
  min-height:0;
  padding:0;
  background:transparent;
}
.eyebrow.light{
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.76);
}
.hero h1{
  max-width:760px;
  margin:18px 0 16px;
  font-size:clamp(40px,6vw,72px);
  line-height:.98;
  letter-spacing:-.055em;
}
.hero-text{
  max-width:650px;
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.72;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}
.hero-points{
  margin:28px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
  color:var(--muted);
}
.hero-points li{
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-points li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
}

.mock-wrap{display:flex;justify-content:center}
.phone-mock{
  width:min(100%,640px);
  background:var(--surface-2);
  border:1px solid var(--line);
  border-radius:0;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.phone-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:22px 26px;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.mock-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.mock-brand img{width:36px;height:36px}
.mock-brand span{
  font-size:18px;
  line-height:.95;
  letter-spacing:-.03em;
  font-weight:800;
}
.mock-user{
  display:flex;
  align-items:center;
  gap:12px;
}
.mock-user-copy strong{
  display:block;
  font-size:15px;
}
.mock-user-copy span{
  display:block;
  margin-top:2px;
  font-size:11px;
  color:#8f9376;
  letter-spacing:.08em;
}
.mock-user-caret{
  color:var(--text);
  font-size:18px;
  transform:translateY(-2px);
}
.mock-avatar,
.person-dot,
.member-chip,
.member-circle{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e4e8d7;
  color:#66704d;
  font-weight:800;
}
.member-chip.alt,
.member-circle.alt{
  background:#efe7da;
  color:#9b7549;
}

.phone-screen{
  padding:28px 22px 0;
}
.welcome-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.welcome-row h2{
  margin:12px 0 4px;
  font-size:52px;
  line-height:.96;
  letter-spacing:-.055em;
}
.welcome-row h2 span{color:#8ca16b;font-weight:500}
.welcome-row p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}
.add-button{
  width:46px;
  height:46px;
  border-radius:16px;
  background:var(--brand);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:30px;
  line-height:1;
  flex:0 0 auto;
}
.invite-button{
  margin-top:18px;
  min-height:46px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--text);
  font:700 15px/1 Inter,ui-sans-serif,system-ui,sans-serif;
}
.month-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:24px;
  color:var(--muted);
  font-size:14px;
}
.calendar-icon{font-size:17px}
.month-row small{
  padding:5px 10px;
  border-radius:999px;
  background:var(--accent-soft);
  color:#77835a;
  font-size:12px;
  font-weight:700;
}
.hero-card{
  margin-top:18px;
  padding:28px 24px 18px;
  border-radius:24px;
  color:#fff;
  background:
    radial-gradient(circle at 98% 6%, rgba(255,255,255,.05), transparent 18%),
    radial-gradient(circle at 95% 12%, rgba(255,255,255,.06) 0 24%, transparent 24% 100%),
    radial-gradient(circle at 95% 12%, rgba(255,255,255,.06) 0 39%, transparent 39% 100%),
    var(--brand);
}
.hero-card-top,
.hero-card-bottom,
.section-row,
.side-panel-head,
.member-row,
.member-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.hero-card-top>span{
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
}
.currency-toggle{
  display:inline-grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  border-radius:13px;
  background:rgba(255,255,255,.08);
}
.currency-toggle strong,
.currency-toggle span{
  min-width:40px;
  min-height:34px;
  padding:0 12px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:13px;
}
.currency-toggle strong{
  background:var(--accent);
  color:var(--brand);
}
.currency-toggle span{color:#dbe6e3}
.hero-card-value{
  margin-top:30px;
  font-size:64px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.06em;
}
.hero-card p{
  margin:6px 0 0;
  color:#dbe6e3;
  font-size:15px;
}
.hero-card-bottom{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.16);
}
.split-tag{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  color:#eff6f4;
  font-size:13px;
  font-weight:700;
}
.summary-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:14px;
}
.summary-card,
.expenses-card,
.shared-card,
.metric-box,
.feature-card,
.text-panel,
.side-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
}
.summary-card{
  min-height:148px;
  padding:18px 18px 20px;
}
.summary-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  color:#7c8666;
  font-size:15px;
}
.summary-icon.soft{color:#94aa76}
.summary-card span,
.summary-card small{
  display:block;
  color:var(--muted);
  font-size:14px;
}
.summary-card span{margin-top:18px}
.summary-card strong{
  display:block;
  margin:10px 0 4px;
  font-size:26px;
  letter-spacing:-.04em;
}
.section-row{
  margin:30px 2px 14px;
}
.section-row.no-margin{margin:0 0 6px}
.section-row strong{
  font-size:17px;
  letter-spacing:-.02em;
}
.section-row a{
  color:var(--brand);
  font-size:14px;
  font-weight:700;
}
.expenses-card{
  padding:8px 18px;
}
.expense-row{
  display:grid;
  grid-template-columns:40px 1fr auto;
  gap:12px;
  align-items:center;
  padding:16px 0;
  border-top:1px solid var(--line-soft);
}
.expense-row:first-child{border-top:0}
.expense-avatar{
  width:38px;
  height:38px;
  border-radius:12px;
  background:#eef1e5;
  color:#79855e;
  display:grid;
  place-items:center;
  font-weight:800;
}
.expense-copy strong,
.expense-copy small{display:block}
.expense-copy small{
  margin-top:3px;
  color:var(--muted);
  font-size:13px;
}
.expense-amount{
  font-size:15px;
}
.shared-card{
  margin-top:24px;
  margin-bottom:22px;
  padding:20px;
}
.group-icon{
  color:var(--brand);
  font-size:22px;
}
.shared-card p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:13px;
}
.member-bars{display:grid;gap:4px}
.member-item{
  gap:12px;
  padding:12px 0;
  border-top:1px solid var(--line-soft);
}
.member-item:first-child{border-top:0}
.member-data{
  flex:1 1 auto;
}
.member-data span,
.member-data small{
  display:block;
}
.member-data small{
  color:var(--muted);
  margin-top:2px;
}
.member-item b{font-size:15px}

.phone-nav{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  padding:10px 16px 12px;
  border-top:1px solid var(--line);
  background:#fafaf6;
}
.phone-nav span{
  min-height:52px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#8c938d;
  font-size:10px;
  text-align:center;
}
.phone-nav i{
  display:block;
  font-style:normal;
  font-size:16px;
  margin-bottom:4px;
}
.phone-nav .active{
  background:var(--brand-soft);
  color:var(--brand);
  font-weight:800;
}

.metrics-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:22px 0 12px;
}
.metric-box{padding:26px}
.metric-box strong{
  display:block;
  font-size:18px;
}
.metric-box p{
  margin:10px 0 0;
  color:var(--muted);
}

.content-section{
  padding-top:82px;
}
.section-head{max-width:780px}
.section-head h2,
.text-panel h2,
.final-cta h2{
  margin:20px 0 16px;
  font-size:clamp(34px,4.7vw,56px);
  line-height:1.04;
  letter-spacing:-.045em;
}
.section-head p,
.text-panel p,
.final-cta p{
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.72;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:38px;
}
.feature-card{
  min-height:226px;
  padding:28px;
}
.feature-number{
  display:inline-block;
  margin-bottom:36px;
  color:#87944f;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
}
.feature-card h3{
  margin:0 0 10px;
  font-size:24px;
  letter-spacing:-.03em;
}
.feature-card p{
  margin:0;
  color:var(--muted);
}
.double-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,420px);
  gap:18px;
  align-items:start;
}
.text-panel{
  padding:34px;
}
.bullet-list{
  margin:28px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}
.bullet-list li{
  display:flex;
  align-items:flex-start;
  gap:11px;
}
.bullet-list li::before{
  content:"";
  width:22px;
  height:22px;
  border-radius:50%;
  box-shadow:inset 0 0 0 6px var(--brand);
  background:var(--accent-soft);
  flex:0 0 auto;
}
.side-panel{
  padding:26px;
  box-shadow:var(--shadow);
}
.side-panel-head span{
  color:var(--muted);
  font-size:13px;
}
.side-panel-head strong{
  font-size:18px;
}
.side-balance{
  margin:18px 0 20px;
  padding:22px;
  border-radius:18px;
  background:var(--accent-soft);
}
.side-balance small,
.side-balance span{
  display:block;
  color:#677553;
}
.side-balance strong{
  display:block;
  margin:8px 0 4px;
  color:var(--brand);
  font-size:34px;
  letter-spacing:-.05em;
}
.member-list{display:grid;gap:4px}
.member-row{
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--line-soft);
}
.member-row:last-child{border-bottom:0}
.member-row>div:nth-child(2){flex:1 1 auto}
.member-row div strong,
.member-row div small{display:block}
.member-row div small{
  margin-top:2px;
  color:var(--muted);
}
.member-row b{font-size:15px}

.final-cta{
  margin-top:80px;
  margin-bottom:28px;
  padding:46px;
  border-radius:32px;
  background:var(--brand);
  color:#fff;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
}
.final-cta p{color:rgba(255,255,255,.78)}

.site-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:6px 0 40px;
  color:var(--muted);
  font-size:14px;
}

@media (max-width:1100px){
  .hero{
    grid-template-columns:1fr;
    gap:34px;
  }
  .mock-wrap{justify-content:flex-start}
  .metrics-strip,
  .double-panel{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .final-cta,
  .site-footer{flex-direction:column;align-items:flex-start}
}

@media (max-width:760px){
  .site-header,
  .hero,
  .metrics-strip,
  .content-section,
  .final-cta,
  .site-footer{
    margin-left:18px;
    margin-right:18px;
  }
  .site-header{padding:18px 0}
  .desktop-nav a:not(.btn-primary){display:none}
  .desktop-nav{gap:0}
  .hero{
    padding-top:28px;
    gap:28px;
  }
  .hero h1{font-size:clamp(38px,12vw,54px)}
  .hero-text,
  .section-head p,
  .text-panel p,
  .final-cta p{font-size:16px}
  .welcome-row h2{font-size:40px}
  .hero-card-value{font-size:54px}
  .summary-cards{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr}
  .text-panel,
  .side-panel,
  .final-cta{padding:28px 22px}
  .site-footer{padding-bottom:28px}
}

@media (max-width:560px){
  .site-header,
  .hero,
  .metrics-strip,
  .content-section,
  .final-cta,
  .site-footer{
    margin-left:14px;
    margin-right:14px;
  }
  .brand-text{font-size:16px}
  .desktop-nav .btn-primary{
    min-height:38px;
    padding:0 14px;
    border-radius:12px;
  }
  .hero-actions{
    flex-direction:column;
  }
  .hero-actions .btn{
    width:100%;
  }
  .phone-header{
    padding:18px 16px;
    align-items:flex-start;
  }
  .mock-brand img{width:32px;height:32px}
  .mock-brand span{font-size:16px}
  .mock-user-copy strong{font-size:13px}
  .mock-user-copy span{font-size:10px}
  .mock-user{gap:8px}
  .mock-avatar{width:34px;height:34px}
  .phone-screen{padding:24px 16px 0}
  .welcome-row{
    gap:10px;
  }
  .welcome-row h2{font-size:32px}
  .welcome-row p{font-size:14px}
  .invite-button{
    width:100%;
    justify-content:center;
  }
  .hero-card{
    padding:22px 18px 16px;
  }
  .hero-card-top{
    align-items:flex-start;
    gap:10px;
  }
  .hero-card-value{font-size:44px}
  .expense-row{
    grid-template-columns:38px 1fr;
  }
  .expense-amount{
    grid-column:2;
    justify-self:start;
    margin-top:-4px;
  }
  .phone-nav{
    gap:6px;
    padding-left:10px;
    padding-right:10px;
  }
}
