:root {
  --brand: #8a4f37;
  --brand-dark: #582712;
  --brand-soft: #d48c70;
  --surface: #fff8f5;
  --surface-low: #fbf2ed;
  --surface-card: #ffffff;
  --text: #1e1b18;
  --text-muted: #53433e;
  --border: #d8c2bb;
  --secondary: #526256;
  --error: #ba1a1a;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(88, 39, 18, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Sora, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner,
.site-footer .inner,
.home-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px 0;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-left: 16px;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: var(--brand);
}

.hero {
  padding: 56px 0 28px;
}

.kicker,
.hero .kicker {
  display: inline-block;
  background: var(--surface-low);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand-dark);
}

.lede,
.meta {
  color: var(--text-muted);
  margin: 0;
}

.meta { font-size: 0.92rem; margin-top: 8px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 8px 0 48px;
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: block;
}

.card:hover { border-color: var(--brand-soft); }

.card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

article {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

article h2 {
  font-size: 1.2rem;
  color: var(--brand-dark);
  margin: 32px 0 10px;
  letter-spacing: -0.02em;
}

article h2:first-child { margin-top: 0; }

article h3 {
  font-size: 1rem;
  margin: 22px 0 8px;
}

article p, article li { color: var(--text); }

article ul, article ol { padding-left: 1.2em; }

article li { margin: 6px 0; }

.toc {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 28px;
}

.toc strong { display: block; margin-bottom: 8px; color: var(--brand-dark); }
.toc a { display: inline-block; margin: 4px 12px 4px 0; font-size: 0.9rem; }

.note {
  background: #eef3ef;
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
}

.warn {
  background: #fdf3e7;
  border-left: 4px solid #b65b00;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  margin-top: 8px;
}

.cta:hover { background: var(--brand-dark); color: #fff; }

button.cta {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

button.cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-field {
  margin: 16px 0;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

.form-field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brand-soft);
  border-color: var(--brand);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  font-size: 0.95rem;
}

.form-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  display: none;
}

.form-status.show { display: block; }
.form-status.ok { background: #eef3ef; color: var(--secondary); }
.form-status.err { background: #fdecea; color: var(--error); }

.contact-box {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.contact-box a.email {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.site-footer nav a { margin: 0 14px 0 0; }

@media (max-width: 640px) {
  nav a { margin-left: 12px; font-size: 0.8rem; }
  article { padding: 22px 18px 32px; }
  .site-header .inner { min-height: 64px; }
}

/* —— Home / product landing —— */
.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 40px;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}

.home-hero .lede {
  font-size: 1.12rem;
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
}

.cta-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-low);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section {
  padding: 28px 0 56px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40em;
}

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

.feature {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3e4dc;
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--brand-dark);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.band {
  background: var(--surface-low);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.steps h3 {
  margin: 0 0 8px;
  color: var(--brand-dark);
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--brand-dark);
}

.panel ul {
  margin: 12px 0 0;
  padding-left: 1.15em;
  color: var(--text-muted);
}

.lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lang-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 140px;
}

.lang-chip strong { display: block; color: var(--brand-dark); }
.lang-chip span { color: var(--text-muted); font-size: 0.85rem; }

.download {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(160deg, #8a4f37, #b0694a);
  color: #fff;
  border-radius: 24px;
  margin-bottom: 56px;
}

.download h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.download p {
  margin: 0 auto 22px;
  max-width: 32em;
  opacity: 0.92;
}

.store-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1e1b18;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  min-width: 200px;
  justify-content: center;
}

.store-btn:hover { color: #fff; background: #000; }
.store-btn small { display: block; font-weight: 400; font-size: 0.7rem; opacity: 0.75; text-align: left; }
.store-btn .label { text-align: left; line-height: 1.2; }

/* Phone mock */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 290px;
  background: #1e1b18;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 28px 60px rgba(88, 39, 18, 0.28);
}

.phone-screen {
  background: #fff8f5;
  border-radius: 26px;
  overflow: hidden;
  min-height: 540px;
  padding: 18px 16px 20px;
}

.notch {
  width: 96px;
  height: 18px;
  background: #1e1b18;
  border-radius: 0 0 14px 14px;
  margin: -18px auto 14px;
}

.phone-greet { font-size: 0.78rem; color: var(--text-muted); }
.phone-name { font-size: 1.05rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 14px; }

.balance-card {
  background: linear-gradient(145deg, #8a4f37, #b0694a);
  color: #fff;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
}

.balance-card .label { font-size: 0.72rem; opacity: 0.85; }
.balance-card .amt { font-size: 1.55rem; font-weight: 600; letter-spacing: -0.03em; margin: 4px 0 10px; }

.wallets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallets span {
  background: rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 8px;
  font-size: 0.72rem;
}

.wallets strong { display: block; font-size: 0.88rem; margin-top: 2px; }

.month {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.month div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
}

.month .label { font-size: 0.7rem; color: var(--text-muted); }
.month .up { color: var(--secondary); font-weight: 600; }
.month .down { color: var(--brand); font-weight: 600; }

.tx {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 10px;
}

.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--surface-low);
}

.tx-row:last-child { border-bottom: 0; }
.tx-row .neg { color: var(--brand); font-weight: 600; }
.tx-row .pos { color: var(--secondary); font-weight: 600; }
.tx-row small { display: block; color: var(--text-muted); font-size: 0.7rem; }

@media (max-width: 900px) {
  .home-hero,
  .feature-grid,
  .steps,
  .split {
    grid-template-columns: 1fr;
  }
  .home-hero { padding-top: 36px; gap: 32px; }
  .phone { width: 260px; }
}
