:root {
  --green: #285c23;
  --green-2: #34742d;
  --green-dark: #122d13;
  --cream: #fffaf0;
  --cream-2: #f4ead7;
  --sand: #ead8b9;
  --ink: #11180f;
  --muted: #65705f;
  --gold: #d5a446;
  --white: #fff;
  --line: rgba(40, 92, 35, .16);
  --shadow: 0 22px 70px rgba(18, 45, 19, .18);
  --soft-shadow: 0 14px 34px rgba(18, 45, 19, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(213,164,70,.18), transparent 18rem),
    radial-gradient(circle at 100% 14%, rgba(40,92,35,.12), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 56%, #ffffff 100%);
  font-family: Candara, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  padding: env(safe-area-inset-top) 0 calc(94px + env(safe-area-inset-bottom));
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(40,92,35,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,92,35,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.82), transparent 68%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: var(--green-dark);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { left: 12px; }

.app-shell {
  width: min(720px, calc(100% - 24px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-card {
  margin-top: 12px;
  padding: clamp(16px, 4vw, 26px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 18% 8%, rgba(213,164,70,.36), transparent 13rem),
    linear-gradient(145deg, #102911 0%, #285c23 62%, #173817 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -66px;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(255,255,255,.18);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100% 0 0;
  transform: rotate(14deg);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.logo-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo-pill img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.logo-pill strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 6vw, 34px);
  line-height: .95;
  letter-spacing: -.04em;
}
.logo-pill small { display: block; margin-top: 4px; color: rgba(255,255,255,.78); font-weight: 850; }
.phone-chip {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--green-dark);
  background: white;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.hero-copy { position: relative; z-index: 1; padding: 34px 2px 18px; }
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 12px;
  font-weight: 950;
  color: rgba(255,255,255,.82);
}
.eyebrow.green { color: var(--green); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 12vw, 78px); line-height: .9; max-width: 590px; }
h2 { color: var(--green-dark); font-size: clamp(30px, 8vw, 46px); line-height: .96; }
.hero-copy p:last-child {
  max-width: 560px;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 4.5vw, 21px);
  line-height: 1.42;
  margin: 16px 0 0;
}

.decision-stack {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.decision {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 15px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.72);
  touch-action: manipulation;
  transition: transform .16s ease, box-shadow .16s ease;
}
.decision:active { transform: scale(.985); }
.decision:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(0,0,0,.20); }
.decision-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: white;
  background: var(--green);
  font-size: 26px;
  font-weight: 950;
}
.decision b { display: block; font-size: clamp(20px, 5vw, 25px); line-height: 1; color: var(--green-dark); }
.decision small { display: block; color: var(--muted); margin-top: 5px; font-weight: 800; }
.decision em { font-style: normal; font-size: 34px; color: var(--green); line-height: 1; }
.decision-order .decision-icon { background: #7a5a13; }
.decision-menu .decision-icon { background: #315d77; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0;
}
.mini-card {
  min-height: 132px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.mini-card:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(18,45,19,.15); }
.mini-card:active { transform: scale(.985); }
.mini-card span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(40,92,35,.1);
  color: var(--green);
  font-size: 23px;
  font-weight: 950;
}
.mini-card b { display: block; color: var(--green-dark); font-size: 21px; }
.mini-card small { color: var(--muted); font-weight: 800; }

.info-panel {
  margin: 14px 0 30px;
  padding: clamp(22px, 5vw, 30px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: var(--soft-shadow);
}
.info-panel p:not(.eyebrow) { color: #3f493a; font-size: 18px; line-height: 1.6; margin: 14px 0 0; }
.simple-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(40,92,35,.10);
}
.simple-list span { color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.simple-list b { text-align: right; color: var(--green-dark); }

.share-panel { margin: 14px 0 30px; }
.share-qr-button {
  min-height: 78px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.45);
  transition: transform .16s ease, box-shadow .16s ease;
}
.share-qr-button:hover { transform: translateY(-2px); box-shadow: 0 22px 58px rgba(18,45,19,.22); }
.share-qr-button:active { transform: scale(.985); }
.share-qr-button span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: rgba(255,255,255,.16);
  font-size: 28px;
  font-weight: 950;
}
.share-qr-button strong { display: block; font-size: 23px; line-height: 1; }
.share-qr-button small { display: block; margin-top: 6px; color: rgba(255,255,255,.78); font-weight: 850; }
.sticky-actions {
  position: fixed;
  z-index: 90;
  left: max(10px, env(safe-area-inset-left));
  right: max(10px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 40px rgba(0,0,0,.20);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.72);
}
.sticky-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 950;
  font-size: 16px;
}
.sticky-actions a:first-child { background: var(--green-dark); }
.sticky-actions a:active { transform: scale(.97); }

@media (min-width: 740px) {
  body { padding-bottom: 38px; }
  .app-shell { margin-top: 28px; }
  .hero-card { padding: 32px; }
  .decision-stack { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(5, 1fr); }
  .sticky-actions { display: none; }
}

@media (max-width: 390px) {
  .app-shell { width: min(100% - 16px, 720px); }
  .hero-card { border-radius: 28px; }
  .logo-pill img { width: 50px; height: 50px; }
  .phone-chip { padding: 0 12px; }
  .decision { grid-template-columns: 48px 1fr auto; min-height: 76px; padding: 12px; }
  .decision-icon { width: 48px; height: 48px; }
  .mini-grid { gap: 9px; }
  .mini-card { min-height: 122px; padding: 14px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
