/* YuTa — warm off-white, black text, generous whitespace. Mobile-first. */

* { box-sizing: border-box; }

:root {
  --bg: #faf8f5;
  --ink: #141210;
  --muted: #6f6a63;
  --line: #e7e1da;
  --card: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.brand-tile img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #3d3a36;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .nav-download {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
}

.nav-links .nav-download:hover { color: #fff; opacity: 0.88; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px 0;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.5rem, 8.4vw, 5.4rem);
}

.hero-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #4a453f;
}

.hero-sub {
  max-width: 620px;
  margin: 28px auto 0;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  color: #4a453f;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-light .heart { color: #e5484d; }

.stats {
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Phone mockup */
.phone {
  margin: 56px auto 0;
  width: min(320px, 78vw);
  border: 10px solid #1c1a18;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(20, 18, 16, 0.28), 0 4px 14px rgba(20, 18, 16, 0.12);
}

.phone img { width: 100%; height: auto; }

/* ---------- Sections ---------- */

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 20px 0;
}

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-sub {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gallery */
.gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(20, 18, 16, 0.10);
}

.gallery figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #3d3a36;
}

/* Features */
.features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* About */
.about { text-align: center; }

.about-quote {
  max-width: 640px;
  margin: 28px auto 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 1.8rem);
  line-height: 1.4;
  color: #2e2a26;
}

.about-name {
  margin: 20px 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.about-links {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.about-links a { font-weight: 500; }

/* ---------- Footer ---------- */

.footer {
  max-width: 1080px;
  margin: 110px auto 0;
  padding: 56px 20px 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-tagline {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.footer-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #3d3a36;
}

.footer-links a:hover { color: var(--ink); }

.hats-off {
  max-width: 640px;
  margin: 36px auto 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.footer-free {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-links .nav-download {
    margin-top: 12px;
    text-align: center;
  }

  .menu-btn { display: block; }

  .hero { padding-top: 52px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .gallery img { border-radius: 16px; }

  .features { grid-template-columns: 1fr; }

  .section { padding-top: 72px; }

  .btn { width: 100%; max-width: 340px; }

  .hero-buttons { flex-direction: column; align-items: center; }
}
