:root {
  --ink: #3d2914;
  --muted: #7a6558;
  --cream: #fff8f3;
  --paper: #ffffff;
  --peach: #ffe8dc;
  --orange: #ff7a45;
  --orange-dark: #d95122;
  --green: #34c77b;
  --line: #ffd4b8;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
}

a { color: var(--orange-dark); }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: var(--orange);
  color: #fff;
  font-size: 1.2rem;
}

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 650; text-decoration: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(232, 93, 44, .22);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover { background: var(--orange-dark); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 64px;
  min-height: 650px;
  padding: 64px 0 92px;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; }
h1 { max-width: 680px; margin: 14px 0 20px; font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { margin: 0 0 8px; font-size: 1.25rem; }

.lede { max-width: 610px; color: var(--muted); font-size: 1.2rem; }
.fine { color: var(--muted); font-size: .9rem; }
.cta-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

.phone {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 16px;
  border: 8px solid var(--ink);
  border-radius: 48px;
  background: var(--paper);
  box-shadow: 0 28px 65px rgba(61, 41, 20, .18);
  transform: rotate(2deg);
}

.phone::before {
  display: block;
  width: 94px;
  height: 22px;
  margin: -5px auto 18px;
  border-radius: 0 0 16px 16px;
  background: var(--ink);
  content: "";
}

.screen-head { padding: 8px 10px 18px; }
.screen-head strong { display: block; font-size: 1.45rem; }
.screen-head span { color: var(--muted); font-size: .9rem; }

.meal {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

.meal-emoji { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: var(--peach); font-size: 1.5rem; }
.meal small { display: block; color: var(--muted); }
.check { color: var(--green); font-size: 1.35rem; font-weight: 900; }

.band { background: var(--paper); }
.section { padding: 96px 0; }
.section-intro { max-width: 680px; margin-bottom: 42px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); }
.card-icon { font-size: 2rem; }
.card p { margin-bottom: 0; color: var(--muted); }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px;
  border-radius: 30px;
  background: var(--ink);
  color: #fff;
}
.callout p { max-width: 600px; margin-bottom: 0; color: #e8d8ca; }

.document { max-width: 790px; padding: 64px 0 100px; }
.document h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
.document h2 { margin-top: 42px; font-size: 1.55rem; }
.document h3 { margin-top: 30px; }
.document p, .document li { color: #5f4b3d; }
.document li + li { margin-top: 8px; }
.notice { padding: 20px 24px; border-left: 5px solid var(--orange); border-radius: 10px; background: var(--peach); }

.invite-page { display: grid; min-height: calc(100vh - 180px); place-items: center; padding: 48px 0 80px; }
.invite-card {
  width: min(600px, 100%);
  padding: clamp(32px, 7vw, 58px);
  border: 2px solid var(--line);
  border-bottom-width: 7px;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(61, 41, 20, .14);
  text-align: center;
}
.invite-card h1 { margin: 12px auto 18px; font-size: clamp(2.25rem, 8vw, 4rem); }
.invite-card .lede { margin-right: auto; margin-left: auto; }
.invite-paw { margin-bottom: 14px; font-size: 4rem; }
.invite-actions { margin-top: 30px; }
.invite-actions .button { width: 100%; }
.invite-actions .fine { display: block; margin: 14px 0 0; }
.invite-error { margin-top: 28px; text-align: left; }
.store-row { display: flex; justify-content: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.store-row a { font-weight: 750; }

footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

@media (max-width: 760px) {
  .nav-links a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 50px; padding-top: 40px; }
  .grid { grid-template-columns: 1fr; }
  .callout, .footer-row { align-items: flex-start; flex-direction: column; }
  .callout { padding: 32px; }
  .section { padding: 70px 0; }
  .invite-page { padding-top: 24px; }
}
