/* PlatePilot marketing site — soft olive · antique brass · warm off-white */
:root {
  --olive: #5b8a72;
  --olive-dark: #4a7360;
  --olive-deeper: #3d5f4f;
  --brass: #c9a227;
  --brass-soft: rgba(201, 162, 39, 0.18);
  --cream: #f9f7f4;
  --ink: #1c1917;
  --muted: #78716c;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--olive);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* —— Layout —— */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 244, 0.9);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand img {
  width: 36px;
  height: 36px;
  /* Icon PNG already has iOS-style rounded corners + transparency */
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--olive-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, var(--brass), #b8921f);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn-secondary {
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(91, 138, 114, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--olive-dark);
  border: 1.5px solid rgba(91, 138, 114, 0.35);
}

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy .actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    max-width: 220px;
    margin: 0 auto;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(91, 138, 114, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

@media (max-width: 800px) {
  .hero .lede {
    margin-inline: auto;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
}

.hero-visual .icon-frame {
  background: linear-gradient(160deg, var(--olive), var(--olive-deeper));
  border-radius: 28%;
  padding: 12%;
  box-shadow: var(--shadow), 0 24px 60px rgba(61, 95, 79, 0.25);
}

.hero-visual img {
  width: 100%;
  border-radius: 22%;
}

/* —— Sections —— */
.section {
  padding: 2.5rem 0 3.5rem;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 25, 23, 0.04);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brass-soft);
  color: var(--olive-dark);
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

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

.band {
  background: linear-gradient(135deg, var(--olive-dark), var(--olive));
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(61, 95, 79, 0.28);
}

.band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.band p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  opacity: 0.92;
}

.band .btn-primary {
  background: var(--white);
  color: var(--olive-dark);
  box-shadow: none;
}

/* —— Prose pages —— */
.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.page-hero .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.prose {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--olive-dark);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #44403c;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose strong {
  color: var(--ink);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

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

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

.fine {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  opacity: 0.85;
}
