/* Skinote landing — tối giản, cùng bảng màu với ứng dụng (packages/ui/src/styles.css). */
:root {
  --teal: #255352;
  --teal-dark: #1a3d3c;
  --teal-soft: #e4efeb;
  --teal-softer: #f1f7f5;
  --coral: #e9a091;
  --coral-soft: #fbeae4;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1f2a28;
  --muted: #5e6f6b;
  --faint: #93a19d;
  --border: #e3e8e6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31, 42, 40, 0.06), 0 10px 30px rgba(31, 42, 40, 0.08);
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; }
h1 em { font-style: normal; color: var(--teal); position: relative; }
h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.28em;
  background: var(--coral-soft); z-index: -1; border-radius: 4px;
}
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 14px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--coral);
  margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 46ch; }
.lead-small { color: var(--muted); margin-top: -4px; }
.fine { font-size: 0.86rem; color: var(--faint); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(37, 83, 82, 0.25); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-softer); }
.btn-large { padding: 15px 28px; font-size: 1.05rem; }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(227, 232, 230, 0.7); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.35rem; color: var(--teal); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 0.95rem; }
.menu a:not(.btn) { color: var(--muted); }
.menu a:not(.btn):hover { color: var(--teal); text-decoration: none; }
@media (max-width: 720px) { .menu a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(30px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-art { position: relative; height: 560px; }
.phone {
  margin: 0; width: 262px; aspect-ratio: 640 / 1387; border-radius: 40px; background: #0f1a19; padding: 10px;
  box-shadow: var(--shadow), 0 30px 60px rgba(31, 42, 40, 0.18); position: absolute;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: var(--bg); }
.phone-front { right: 10%; top: 0; z-index: 2; }
.phone-back { right: calc(10% + 190px); top: 70px; transform: scale(0.9) rotate(-6deg); opacity: 0.92; z-index: 1; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 520px; margin-top: 10px; }
  .phone-front { right: calc(50% - 190px); }
  .phone-back { right: calc(50% + 20px); }
}
@media (max-width: 520px) {
  .hero-art { height: 500px; }
  .phone { width: 220px; }
  .phone-back { display: none; }
  .phone-front { right: auto; left: 50%; transform: translateX(-50%); }
}

/* Sections */
section { padding: clamp(56px, 8vw, 110px) 0; }
.mission { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mission-copy p { color: var(--muted); max-width: 52ch; }
.optional-art { margin-top: 28px; border-radius: var(--radius); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.principles li { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.principles .dot { grid-row: 1 / span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); margin-top: 7px; }
.principles h3 { grid-column: 2; margin: 0; }
.principles p { grid-column: 2; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; gap: 30px; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.feature-grid article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature-grid h3 { margin-bottom: 8px; }
.feature-grid p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.how { background: var(--teal-softer); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { text-align: left; }
.steps h3 { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; }
.steps h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 0.85rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.phone-small { position: static; width: 200px; padding: 8px; border-radius: 30px; }
.phone-small img { border-radius: 23px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .phone-small { width: 180px; } }

.privacy-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); }
.checks li:not(.links)::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23255352' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.checks .links { display: flex; flex-wrap: wrap; gap: 18px; padding-left: 32px; font-weight: 500; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; gap: 10px; } }

/* Download */
.download { background: var(--surface); border-top: 1px solid var(--border); }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 30px 0 18px; }
.store {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center;
  padding: 20px 22px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg);
  color: var(--text); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.store:hover { text-decoration: none; border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.store-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); }
.store-icon-zalo { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; background: #e8f0fb; color: #0068ff; }
.store-text { display: grid; gap: 2px; }
.store-text strong { font-size: 1.05rem; }
.store-text span { color: var(--muted); font-size: 0.92rem; }
.badge { font-style: normal; font-size: 0.74rem; font-weight: 600; color: #b9770e; background: #fff4de; padding: 2px 8px; border-radius: 999px; width: max-content; margin-top: 4px; }
.qr { width: 84px; height: 84px; opacity: 0.9; }
.store.is-mine { border-color: var(--teal); background: var(--teal-softer); }
@media (max-width: 760px) { .store-grid { grid-template-columns: 1fr; } .qr { display: none; } .store { grid-template-columns: 48px 1fr; } }

/* Footer */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 160px 1fr; gap: 30px; align-items: start; }
.footer-text p { color: var(--muted); font-size: 0.95rem; max-width: 70ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 500; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
