/* Yim landing — light theme, Yim Coral accent, Nomadtable-style spacing. */

:root {
  --coral: #f23e5d;
  --coral-pressed: #d62e4a;
  --coral-tint: #ffe9ed;
  --ink: #121215;
  --slate: #6e6e78;
  --hairline: #ececef;
  --surface: #ffffff;
  --canvas: #f6f6f8;
  --verified: #1d9bf0;
  --gold: #f5a623;
  --radius: 20px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-font-smoothing: antialiased;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI",
    sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
em {
  color: var(--coral);
  font-style: normal;
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--coral);
}
.logo img {
  border-radius: 8px;
}
.nav nav {
  display: flex;
  gap: 28px;
  font-weight: 500;
  color: var(--slate);
}
.nav nav a:hover {
  color: var(--ink);
}
@media (max-width: 720px) {
  .nav nav {
    display: none;
  }
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 32px;
  }
}
.kicker {
  display: inline-block;
  background: var(--coral-tint);
  color: var(--coral);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.lede {
  font-size: 19px;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 32px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.btn-app-store:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-app-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.btn-app-store small {
  font-size: 11px;
  opacity: 0.78;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.btn-app-store strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.trial-note {
  color: var(--slate);
  font-size: 14px;
}
.proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.proof-avatars {
  display: flex;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--canvas);
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.avatar:first-child {
  margin-left: 0;
}
.a1 {
  background: linear-gradient(135deg, #f23e5d, #ffb199);
}
.a2 {
  background: linear-gradient(135deg, #4f7cff, #87c8ff);
}
.a3 {
  background: linear-gradient(135deg, #f5a623, #ffd48a);
}
.a4 {
  background: linear-gradient(135deg, #1d9bf0, #6ec4f8);
}
.a5 {
  background: linear-gradient(135deg, #2ecc71, #a8e8c0);
}
.proof-text {
  color: var(--slate);
  font-size: 14px;
}
.proof-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── PHONE MOCKUPS ───────────────────────────────────────────────────── */
.hero-phones {
  position: relative;
  height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-phones {
    height: 520px;
  }
}
.phone {
  position: absolute;
  width: 270px;
  height: 540px;
  background: #1a1a1c;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.08);
}
.phone-back {
  transform: translateX(-110px) rotate(-7deg);
  z-index: 1;
}
.phone-front {
  transform: translateX(70px) rotate(5deg);
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-bar {
  height: 28px;
  background: linear-gradient(180deg, #fff, transparent);
}

/* Feed phone */
.phone-feed {
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--hairline);
}
.phone-card.small {
  padding: 10px 14px;
}
.card-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.card-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f23e5d, #ffb199);
}
.card-name {
  font-weight: 700;
  font-size: 14px;
}
.check {
  color: var(--verified);
}
.card-time {
  font-size: 11px;
  color: var(--slate);
}
.card-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}
.card-stats {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 10px;
}
.card-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-row {
  background: var(--canvas);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
}

/* Scan phone */
.phone-scan {
  padding: 22px 16px;
}
.scan-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f23e5d, #ffb199);
  margin: 6px auto 14px;
  box-shadow: 0 0 0 4px var(--coral-tint);
}
.scan-score {
  text-align: center;
  margin-bottom: 14px;
}
.score-big {
  font-size: 56px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -0.02em;
}
.score-grade {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.score-label {
  font-size: 12px;
  color: var(--slate);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.scan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.scan-cell {
  background: var(--canvas);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.scan-cell span {
  color: var(--slate);
}
.scan-cell b {
  color: var(--coral);
}

/* ── FEATURES ────────────────────────────────────────────────────────── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--slate);
  font-size: 15.5px;
}

/* ── HOW IT WORKS ───────────────────────────────────────────────────── */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .how {
    grid-template-columns: 1fr;
  }
}
.how-step {
  padding: 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.how-step h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.how-step p {
  color: var(--slate);
}

/* ── CLOSER ─────────────────────────────────────────────────────────── */
.closer {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  text-align: center;
  background: var(--coral-tint);
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.closer h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 28px;
  background: #fff;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}
.footer-inner nav {
  display: flex;
  gap: 18px;
}
.footer-inner a:hover {
  color: var(--coral);
}
