/* Yata promo site - design handoff option 11b */

:root {
  --bg: #eaf6ec;
  --band: #dff0e2;
  --ink: #1f3823;
  --brand: #2f9e44;
  --brand-light: #a4d9ae;
  --brand-bright: #5cc973;
  --body-muted: #5d8266;
  --faint: #8fbf98;
  --amber: #e8a413;
  --orange: #e2622b;
  --blue: #2b8fb8;
  --bezel: #152018;
  --gutter: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
}

a { color: inherit; text-decoration: none; }

.nav, .hero, .features, .gallery-inner, .footer-inner { max-width: 1440px; margin: 0 auto; }

/* ---- logo donut ---- */
.donut {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.donut::after {
  content: '';
  border-radius: 50%;
}
.donut-nav {
  width: 30px; height: 30px;
  background: conic-gradient(var(--brand) 0 65%, var(--brand-light) 65% 100%);
}
.donut-nav::after { width: 15px; height: 15px; background: var(--bg); }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  padding: 28px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-size: 24px; font-weight: 900; color: var(--ink); }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a:hover { text-decoration: underline; }
.pill {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
}
.pill:hover { text-decoration: none; opacity: .9; }

/* ---- hero ---- */
.hero {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 48px var(--gutter) 0;
}
.hero-text { flex: 1; }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--brand);
}
h1 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin-top: 18px;
  text-wrap: pretty;
}
.sub {
  font-size: 19px;
  font-weight: 600;
  color: var(--body-muted);
  line-height: 1.5;
  margin-top: 22px;
  max-width: 520px;
  text-wrap: pretty;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 0 #26803754;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #26803754;
}
.text-link {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--faint);
  margin-left: 6px;
}
.text-link:hover { text-decoration: underline; }

.hero-phone { flex: none; }

/* ---- phone bezels ---- */
.bezel { background: var(--bezel); }
.bezel img { display: block; height: auto; }
.bezel-hero {
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(31, 56, 35, .3);
}
.bezel-hero img { width: 300px; border-radius: 36px; }
.bezel-small {
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(31, 56, 35, .25);
}
.bezel-small img { width: 200px; border-radius: 27px; }

/* ---- features ---- */
.features { padding: 90px var(--gutter) 0; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 2px 0 rgba(47, 158, 68, .15);
}
.card h2 { font-size: 22px; font-weight: 900; margin-top: 20px; }
.card p {
  font-size: 15px;
  font-weight: 600;
  color: var(--body-muted);
  line-height: 1.55;
  margin-top: 10px;
  text-wrap: pretty;
}
.card.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.card.revealed { opacity: 1; transform: none; }

.donut-card {
  width: 56px; height: 56px;
  background: conic-gradient(var(--brand) 0 60%, var(--brand-light) 60% 100%);
}
.donut-card::after { width: 30px; height: 30px; background: #fff; }

.bars { display: flex; flex-direction: column; gap: 5px; width: 56px; }
.bar { height: 14px; border-radius: 5px; }
.bar-1 { background: var(--brand); width: 56px; }
.bar-2 { background: var(--amber); width: 44px; }
.bar-3 { background: #d7e8da; width: 50px; }

.dots { display: flex; gap: 8px; }
.dot { width: 22px; height: 22px; border-radius: 50%; }
.dot-green { background: var(--brand); }
.dot-amber { background: var(--amber); }
.dot-orange { background: var(--orange); }
.dot-blue { background: var(--blue); }

/* ---- gallery ---- */
.gallery {
  margin-top: 90px;
  background: var(--band);
  padding: 70px var(--gutter);
}
.gallery-heading {
  font-size: 34px;
  font-weight: 900;
  text-align: center;
}
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 44px;
}

/* ---- footer ---- */
.footer {
  background: var(--ink);
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.donut-footer {
  width: 24px; height: 24px;
  background: conic-gradient(var(--brand-bright) 0 65%, rgba(92, 201, 115, .3) 65% 100%);
}
.donut-footer::after { width: 12px; height: 12px; background: var(--ink); }
.footer-name { font-size: 16px; font-weight: 800; }
.footer-credit {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--faint);
}
.footer-credit a:hover { text-decoration: underline; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
  }
  .hero-phone { align-self: center; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-row { max-width: 520px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  :root { --gutter: 24px; }
  h1 { font-size: 40px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary { text-align: center; }
  .text-link { margin-left: 0; text-align: center; }
  .nav { flex-wrap: wrap; row-gap: 14px; }
  .nav-links { gap: 20px; }
  .footer { flex-wrap: wrap; }
  .footer-credit { margin-left: 0; flex-basis: 100%; margin-top: 10px; }
}
