/* Simplest — landing page
   Bám thiết kế Claude Design "Simplest Landing.dc.html".
   Token màu khớp app (teal #006A60, kem #F4F1EA, amber low-confidence). */

:root {
  --teal: #006a60;
  --teal-dark: #00514a;
  --teal-deep: #00201c;
  --mint: #9df2e3;
  --cream: #f4f1ea;
  --card: #fbfaf6;
  --ink: #1f2b28;
  --ink-2: #3f4947;
  --muted: #5b6360;
  --muted-2: #4a534f;
  --line: rgba(0, 106, 96, 0.1);
  --line-strong: rgba(0, 106, 96, 0.28);
  --near-black: #161d1b;
  --amber: #ff9800;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
::selection { background: var(--mint); color: var(--teal-deep); }

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

img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; color: #fff; }

.icon {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 106, 96, 0.12);
}
.site-header .wrap {
  padding-block: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand span { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--line-strong); background: none; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--teal);
  cursor: pointer;
}
.lang-toggle:hover { background: rgba(0, 106, 96, 0.06); }
.lang-toggle .icon { font-size: 18px; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px;
  background: var(--teal); color: #fff; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

/* ============ HERO ============ */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding-block: 80px 40px;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; background: rgba(0, 106, 96, 0.09); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--teal);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }

.hero h1 {
  margin: 0; font-size: 60px; line-height: 1.03; font-weight: 300;
  letter-spacing: -0.03em; color: var(--ink); text-wrap: balance;
}
.hero h1 strong { display: block; font-weight: 700; color: var(--teal); }
.hero-sub { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 480px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.badge {
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px;
  background: var(--near-black); color: #fff; border-radius: 14px;
}
.badge:hover { background: #000; color: #fff; }
.badge .icon { font-size: 26px; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.badge-text small { font-size: 11px; opacity: 0.7; }
.badge-text strong { font-size: 17px; font-weight: 600; }
.badge[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.badge[aria-disabled="true"]:hover { background: var(--near-black); }

.hero-art { display: flex; justify-content: center; position: relative; }
.hero-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint) 0%, rgba(157, 242, 227, 0) 70%);
  opacity: 0.6; top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-phone { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ TRUST STRIP ============ */
.stats {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center;
  padding: 22px 32px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px;
  margin-bottom: 64px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat b { font-size: 28px; font-weight: 700; color: var(--teal); letter-spacing: -0.02em; }
.stat span { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ============ SECTION HEADINGS ============ */
section { padding-block: 56px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 560px; margin-inline: auto; }
.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-head h2 {
  margin: 0; font-size: 42px; line-height: 1.1; font-weight: 300;
  letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.section-head h2 strong { font-weight: 700; }

/* ============ FEATURES ============ */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 15px; background: var(--mint);
  display: grid; place-items: center;
}
.feature-icon .icon { font-size: 27px; color: #00504a; font-variation-settings: "FILL" 1; }
.feature h3 { margin: 4px 0 0; font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ============ GALLERY ============ */
.gallery { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.shot-caption { text-align: center; }
.shot-caption b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.shot-caption span { font-size: 14px; color: var(--muted); }

/* ============ HOW ============ */
.how {
  background: var(--card);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 0;
}
.how .wrap { padding-block: 72px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 19px; font-weight: 700; flex: none;
}
.step-rule { flex: 1; height: 1px; background: rgba(0, 106, 96, 0.18); }
.step h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ============ PHILOSOPHY ============ */
.philosophy { max-width: 980px; margin: 0 auto; padding-block: 96px; text-align: center; }
.philosophy img { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 28px; }
.philosophy h2 {
  margin: 0 0 24px; font-size: 48px; line-height: 1.08; font-weight: 300;
  letter-spacing: -0.02em; color: var(--ink);
}
.philosophy h2 strong { font-weight: 700; color: var(--teal); }
.philosophy p {
  margin: 0 auto; font-size: 21px; line-height: 1.65; color: var(--muted-2);
  max-width: 680px; text-wrap: pretty;
}

/* ============ CTA ============ */
.cta-section { padding-block: 0 80px; }
.cta {
  position: relative; overflow: hidden; background: var(--teal);
  border-radius: 36px; padding: 80px 48px; text-align: center;
}
.cta-mark {
  position: absolute; right: -160px; bottom: -280px;
  font-size: 760px; line-height: 1; font-weight: 800; color: #fff; opacity: 0.06;
  pointer-events: none; user-select: none;
}
.cta-inner {
  position: relative; max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta h2 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 300; letter-spacing: -0.02em; color: #fff; }
.cta h2 strong { display: block; font-weight: 700; }
.cta p { margin: 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 460px; }
.cta .store-badges { justify-content: center; }
.cta .badge { background: #fff; color: var(--near-black); }
.cta .badge:hover { background: #fff; color: var(--near-black); }
.cta .badge[aria-disabled="true"] { opacity: 0.75; }

.tester-form { width: min(100%, 560px); text-align: left; }
.tester-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tester-field { display: flex; flex-direction: column; gap: 6px; }
.tester-field-wide { grid-column: 1 / -1; }
.tester-field label { color: var(--card); font-size: 13px; font-weight: 700; }
.tester-field input {
  width: 100%; min-height: 46px; border: 1px solid transparent; border-radius: 4px;
  background: var(--card); color: var(--ink); padding: 10px 12px; font: inherit; font-size: 14px;
}
.tester-field input::placeholder { color: var(--muted); opacity: 1; }
.tester-consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 16px;
  color: var(--card); font-size: 13px; line-height: 1.5; cursor: pointer;
}
.tester-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--mint); flex: none; }
.tester-submit {
  width: 100%; min-height: 48px; margin-top: 18px; border: 0; border-radius: 999px;
  background: var(--card); color: var(--teal); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.tester-submit:hover { background: var(--mint); }
.tester-submit:disabled { cursor: wait; opacity: 0.7; }
.tester-status { min-height: 1.5em; margin: 12px 0 0; color: var(--card); font-size: 14px; line-height: 1.5; text-align: center; }
.tester-status.error { color: var(--amber); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid rgba(0, 106, 96, 0.12); }
.site-footer .wrap {
  padding-block: 40px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand span { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--muted); }
.footer-links a:hover { color: var(--teal); }

/* ============ PHONE MOCKUP ============ */
.phone {
  width: 300px; flex: none;
  background: var(--near-black);
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 60, 54, 0.18);
}
.phone-screen {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: var(--cream);
  height: 604px;
  display: flex; flex-direction: column;
  font-size: 12px;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px; border-radius: 999px; background: var(--near-black);
  z-index: 3;
}
.ph-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 4px; font-size: 11px; font-weight: 600; color: var(--ink-2);
}
.ph-body { flex: 1; overflow: hidden; padding: 6px 14px 0; display: flex; flex-direction: column; gap: 10px; }
.ph-appbar { display: flex; align-items: center; gap: 8px; padding: 4px 2px 2px; }
.ph-appbar img { width: 20px; height: 20px; border-radius: 6px; }
.ph-appbar b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.ph-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
}
.ph-total { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ph-total-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ph-row-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 2px;
}
.ph-row-head a { font-size: 11px; font-weight: 600; }
.ph-list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ph-txn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ph-txn + .ph-txn { border-top: 1px solid var(--line); }
.ph-txn.amber { background: rgba(255, 152, 0, 0.2); }
.ph-cat {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none;
}
.ph-cat .icon { font-size: 17px; font-variation-settings: "FILL" 1; }
.ph-txn-main { flex: 1; min-width: 0; }
.ph-txn-main b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); }
.ph-txn-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }
.ph-amount { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-streak {
  background: var(--mint); border-radius: 14px; padding: 11px 13px; color: var(--teal-deep);
}
.ph-streak b { display: block; font-size: 12px; font-weight: 700; }
.ph-streak span { font-size: 11px; opacity: 0.8; }
.ph-fab {
  position: absolute; right: 16px; bottom: 68px;
  width: 46px; height: 46px; border-radius: 16px; background: var(--teal);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(0, 106, 96, 0.35);
}
.ph-fab .icon { font-size: 24px; }
.ph-nav {
  display: flex; border-top: 1px solid var(--line); background: var(--cream);
  padding: 6px 0 10px;
}
.ph-nav div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); }
.ph-nav div span:last-child { font-size: 10px; font-weight: 500; }
.ph-nav .icon { font-size: 19px; }
.ph-nav div.on { color: var(--teal); }
.ph-nav div.on .icon {
  background: var(--mint); border-radius: 999px; padding: 2px 14px;
  font-variation-settings: "FILL" 1;
}

/* capture screen */
.ph-input {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; min-height: 74px; color: var(--muted); font-size: 11px;
}
.ph-btn {
  height: 36px; border-radius: 999px; display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
}
.ph-btn.outline { border: 1px solid var(--line-strong); color: var(--teal); }
.ph-btn.filled { background: #6aa9a1; color: #fff; }
.ph-suggest { display: flex; align-items: center; gap: 8px; padding: 9px 2px; font-size: 11px; color: var(--ink-2); }
.ph-suggest + .ph-suggest { border-top: 1px solid var(--line); }
.ph-suggest .icon { font-size: 15px; color: var(--muted); }
.ph-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }

/* dashboard screen */
.ph-month { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; font-weight: 600; }
.ph-month .icon { font-size: 16px; color: var(--muted); }
.ph-donut { display: grid; place-items: center; padding: 4px 0 8px; }
.ph-donut-svg { position: relative; }
.ph-donut-center {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.2;
}
.ph-donut-center small { display: block; font-size: 9px; color: var(--muted); }
.ph-donut-center b { font-size: 13px; font-weight: 700; }
.ph-legend { display: flex; flex-direction: column; gap: 7px; }
.ph-leg { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.ph-leg .sw { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.ph-leg .nm { flex: 1; color: var(--ink-2); }
.ph-leg .pc { color: var(--muted); width: 30px; text-align: right; }
.ph-leg .am { font-variant-numeric: tabular-nums; width: 62px; text-align: right; font-weight: 600; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 32px; }
  .hero-copy { align-items: flex-start; }
  .hero h1 { font-size: 46px; }
  .hero-art { order: -1; }
  .hero-glow { width: 320px; height: 320px; }
  .site-nav { display: none; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .section-head h2, .philosophy h2 { font-size: 34px; }
  .philosophy { padding-block: 64px; }
  .cta { padding: 56px 28px; border-radius: 28px; }
  .cta h2 { font-size: 34px; }
  .tester-form { max-width: 560px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 20px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .stats { gap: 24px; padding: 18px 20px; }
  .stat b { font-size: 23px; }
  .section-head h2, .philosophy h2 { font-size: 28px; }
  .philosophy p { font-size: 18px; }
  .badge { flex: 1 1 100%; }
  .tester-fields { grid-template-columns: 1fr; }
  .tester-field-wide { grid-column: auto; }
  .cta-mark { font-size: 420px; right: -100px; bottom: -160px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone { animation: none; }
}

/* ============ TRANG VĂN BẢN (privacy / terms / support / xoá tài khoản) ============ */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 32px 96px; }
.doc h1 {
  margin: 0 0 8px; font-size: 40px; line-height: 1.1; font-weight: 300;
  letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.doc .updated { margin: 0 0 40px; font-size: 14px; color: var(--muted); }
.doc h2 {
  margin: 40px 0 12px; font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink);
}
.doc h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--muted-2); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }

.doc-lead {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 24px; margin-bottom: 32px;
}
.doc-lead p:last-child { margin-bottom: 0; }

.callout {
  border-left: 3px solid var(--teal); background: rgba(0, 106, 96, 0.05);
  border-radius: 0; padding: 16px 20px; margin: 0 0 20px;
}
.callout.warn { border-left-color: var(--amber); background: rgba(255, 152, 0, 0.09); }
.callout p:last-child { margin-bottom: 0; }
.callout b { color: var(--ink); }

.doc table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 700; color: var(--ink); font-size: 14px; }
.doc td { color: var(--muted-2); }
.table-scroll { overflow-x: auto; }

.steps-num { counter-reset: s; list-style: none; padding-left: 0; }
.steps-num li {
  counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 14px;
}
.steps-num li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

.doc-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px;
  background: var(--teal); color: #fff; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.doc-cta:hover { background: var(--teal-dark); color: #fff; }
.doc-cta .icon { font-size: 20px; }

@media (max-width: 640px) {
  .doc { padding: 36px 20px 64px; }
  .doc h1 { font-size: 30px; }
  .doc h2 { font-size: 19px; }
}

.doc a.doc-cta, .doc a.btn-primary { text-decoration: none; }
