:root {
  --u-orange: #f59f3e;
  --u-orange-deep: #e8732c;
  --u-orange-soft: #fff1de;
  --u-bg: #fff8ee;
  --u-ink: #1c1814;
  --u-ink-soft: #5a544c;
  --u-line: #f1e6d2;
  --u-radius: 18px;
  --u-shadow: 0 30px 60px -20px rgba(232, 115, 44, 0.25);
}

body.units-page {
  background: var(--u-bg);
  color: var(--u-ink);
}

.units-page .nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 248, 238, 0.85);
  border-bottom: 1px solid var(--u-line);
}
.units-page .nav-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.units-page .nav-inner .brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--u-ink);
  font-size: 18px;
  font-weight: 600;
}
.units-page .nav-inner .brand-link img { border-radius: 8px; }
.units-page .nav-inner nav a {
  margin-left: 22px;
  color: var(--u-ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.units-page .nav-inner nav a:hover { color: var(--u-orange-deep); text-decoration: none; }

/* Hero */
.units-page .hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(245, 159, 62, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232, 115, 44, 0.25), transparent 55%),
    linear-gradient(180deg, #ffdfa8 0%, #ffc97a 100%);
  color: #1c1814;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.units-page .hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.units-page .hero-icon {
  border-radius: 22px;
  box-shadow: 0 18px 40px -10px rgba(232, 115, 44, 0.55);
  margin-bottom: 28px;
}
.units-page .hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 700;
}
.units-page .hero h1 .accent {
  background: linear-gradient(90deg, #b34a00, #e8732c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.units-page .lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(28, 24, 20, 0.75);
  max-width: 540px;
  margin: 0 0 32px;
}
.units-page .cta { display: flex; align-items: center; gap: 16px; }
.app-store-badge {
  display: inline-block;
  transition: transform 0.15s ease;
}
.app-store-badge:hover { transform: translateY(-2px); text-decoration: none; }
.app-store-badge img {
  display: block;
  height: 72px;
  width: auto;
}

.units-page .hero-shot { display: flex; justify-content: center; }

/* Phone frame */
.units-page .phone {
  width: 260px;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #3a2a18, #1c1814);
  box-shadow: var(--u-shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.units-page .phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* Features */
.units-page .features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.units-page .features h2,
.units-page .screenshots h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 48px;
  text-align: center;
  font-weight: 700;
  color: var(--u-ink);
}
.units-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.units-page .feature {
  background: #fff;
  border: 1px solid var(--u-line);
  border-radius: var(--u-radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.units-page .feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(232, 115, 44, 0.35);
  border-color: #e8d5b3;
}
.units-page .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--u-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.units-page .feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--u-ink);
}
.units-page .feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--u-ink-soft);
  margin: 0;
}

/* Screenshots */
.units-page .screenshots {
  background: #fdeed4;
  padding: 100px 24px;
}
.units-page .shots {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 24px;
  justify-items: center;
}
.units-page .shots figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 260px;
}
.units-page .shots figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--u-ink-soft);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 820px) {
  .units-page .hero { padding: 60px 20px 80px; }
  .units-page .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .units-page .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .units-page .lede { margin-left: auto; margin-right: auto; }
  .units-page .cta { justify-content: center; }
  .units-page .features,
  .units-page .screenshots { padding: 70px 20px; }
}

@media (max-width: 480px) {
  .units-page .phone { width: 220px; }
}
