/* Pin Your Plate — Landing Page */

:root {
  --pyp-burgundy: #8B1E3F;
  --pyp-burgundy-deep: #6B0F2E;
  --pyp-cream: #F4EDE0;
  --pyp-cream-deep: #E8DDC9;
  --pyp-paper: #FBF7EF;
  --pyp-ink: #2A1A12;
  --pyp-ink-soft: #4A3528;
  --pyp-ink-mute: #8A7766;
  --pyp-mustard: #D4A24C;
  --pyp-sage: #7A8B6F;
  --pyp-script: 'Caveat', cursive;
  --pyp-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --pyp-serif: 'Instrument Serif', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--pyp-sans);
  color: var(--pyp-ink);
  background: var(--pyp-paper);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ── Wordmark ─────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  font-family: var(--pyp-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--pyp-ink);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .your {
  font-family: var(--pyp-script);
  font-weight: 700;
  text-transform: lowercase;
  color: var(--pyp-burgundy);
  font-size: 1.25em;
  letter-spacing: 0;
}

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-primary {
  background: var(--pyp-burgundy);
  color: var(--pyp-paper);
  box-shadow: 0 2px 0 var(--pyp-burgundy-deep), 0 8px 20px rgba(139,30,63,0.3);
}
.btn-primary:hover { box-shadow: 0 2px 0 var(--pyp-burgundy-deep), 0 12px 28px rgba(139,30,63,0.4); }
.btn-secondary {
  background: transparent;
  color: var(--pyp-ink);
  border: 1.5px solid var(--pyp-ink);
}
.btn-cream { background: var(--pyp-cream); color: var(--pyp-ink); }

/* ── Layout ───────────────────────────── */
.section { max-width: 1280px; margin: 0 auto; }

/* ── Nav ──────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 56px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pyp-ink-soft);
}
.nav-links a:hover { color: var(--pyp-burgundy); }
.nav-actions { display: flex; gap: 16px; align-items: center; }
.lang-switch { font-size: 13px; color: var(--pyp-ink-mute); display: flex; gap: 6px; }
.lang-switch a.active { color: var(--pyp-ink); font-weight: 700; }
.lang-switch a:hover { color: var(--pyp-burgundy); }

/* ── Hero ─────────────────────────────── */
.hero {
  padding: 40px 56px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--pyp-cream);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pyp-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pyp-burgundy);
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-top: 24px;
}
.hero h1 .script {
  font-family: var(--pyp-script);
  font-weight: 700;
  color: var(--pyp-burgundy);
  font-size: 1.25em;
  line-height: 0.9;
  display: inline-block;
}
.hero-text {
  font-size: 19px;
  line-height: 1.5;
  color: var(--pyp-ink-soft);
  margin-top: 28px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── Hero phone visual ────────────────── */
.hero-visual {
  position: relative;
  height: 720px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.iphone {
  width: 300px;
  aspect-ratio: 375 / 812;
  border-radius: 39px;
  background: #0A0604;
  padding: 5.4px;
  box-shadow: 0 10px 40px rgba(42,26,18,0.25), 0 4px 12px rgba(42,26,18,0.15);
  position: relative;
  z-index: 2;
}
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34.5px;
  background: var(--pyp-paper);
  overflow: hidden;
  position: relative;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating polaroid cards behind the iPhone */
.float-card {
  position: absolute;
  width: 180px;
  padding: 8px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(42,26,18,0.15);
  z-index: 1;
}
.float-card.left { top: 60px; left: -10px; transform: rotate(-6deg); }
.float-card.right { bottom: 30px; right: -20px; transform: rotate(7deg); width: 160px; }
.float-card-photo {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  background: var(--pyp-cream-deep);
  position: relative;
  overflow: hidden;
}
.float-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.float-card.right .float-card-photo {
  height: 110px;
}
.float-card-meta { padding: 8px 4px 4px; }
.float-card-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--pyp-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.float-card-name { font-size: 14px; font-weight: 700; margin-top: 1px; }
.float-card-note {
  font-family: var(--pyp-script);
  font-size: 14px;
  color: var(--pyp-ink-soft);
  margin-top: 2px;
}

/* Pin (used in screen, features, map) */
.pin {
  filter: drop-shadow(0 4px 6px rgba(42,26,18,0.28));
}
/* ── Marquee ──────────────────────────── */
.marquee {
  background: var(--pyp-ink);
  color: var(--pyp-cream);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  padding: 0 24px;
  flex-wrap: wrap;
}
.marquee-inner .star {
  font-family: var(--pyp-script);
  font-size: 24px;
  color: var(--pyp-mustard);
}

/* ── Features ─────────────────────────── */
.features {
  padding: 100px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.features-header { max-width: 720px; margin-bottom: 60px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--pyp-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.features h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-top: 12px;
}
.features h2 .script {
  font-family: var(--pyp-script);
  color: var(--pyp-burgundy);
  font-weight: 700;
  font-size: 1.14em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(42,26,18,0.06);
}
.feature-num {
  font-size: 11px;
  color: var(--pyp-ink-mute);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.feature-photo {
  margin-top: 16px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.feature h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.feature p {
  font-size: 15px;
  color: var(--pyp-ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Map showcase ─────────────────────── */
.map-showcase {
  padding: 40px 56px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
.map-frame {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  height: 540px;
  background: var(--pyp-cream);
  box-shadow: 0 2px 4px rgba(42,26,18,0.04), 0 12px 32px rgba(42,26,18,0.10);
}
.map-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-overlay {
  position: absolute;
  top: 32px;
  left: 32px;
  padding: 20px 28px;
  background: rgba(42,26,18,0.92);
  color: var(--pyp-paper);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  max-width: 380px;
  z-index: 3;
}
.map-overlay-script {
  font-family: var(--pyp-script);
  font-size: 28px;
  color: var(--pyp-mustard);
  line-height: 1;
}
.map-overlay-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.map-overlay-text {
  font-size: 13px;
  color: #B8A08A;
  margin-top: 8px;
  line-height: 1.4;
}

/* ── CTA ──────────────────────────────── */
.cta {
  padding: 0 56px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
.cta-card {
  background: var(--pyp-burgundy);
  border-radius: 32px;
  padding: 80px 56px;
  color: var(--pyp-paper);
  position: relative;
  overflow: hidden;
}
.cta-pin-deco {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 400px;
  opacity: 0.15;
  pointer-events: none;
}
.cta-content { position: relative; max-width: 720px; }
.cta h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.cta h2 .script {
  font-family: var(--pyp-script);
  font-weight: 700;
  color: var(--pyp-paper);
  font-size: 1.1em;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-buttons a img { height: 56px; border-radius: 8px; }
.cta-buttons a img.gp { height: 80px; border-radius: 0; }

/* ── Footer ───────────────────────────── */
.footer {
  padding: 40px 56px 60px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--pyp-cream-deep);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--pyp-ink-mute);
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--pyp-burgundy); }
.footer-copy { color: var(--pyp-ink-mute); font-size: 13px; }

/* ── Responsive ───────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 16px 24px; flex-wrap: wrap; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 24px 60px; }
  .hero-visual { height: auto; padding: 32px 0; min-height: 560px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .map-showcase { padding: 20px 24px 60px; }
  .map-frame { height: 420px; }
  .map-overlay { top: 20px; left: 20px; padding: 14px 18px; max-width: calc(100% - 40px); }
  .cta { padding: 0 24px 60px; }
  .cta-card { padding: 56px 28px; }
  .cta-buttons { justify-content: center; }
  .footer { padding: 24px 24px 40px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .iphone { width: 240px; }
  .float-card { display: none; }
  .marquee-inner { gap: 28px; font-size: 14px; }
  .map-overlay-script { font-size: 22px; }
  .map-overlay-title { font-size: 18px; }
}

/* ── Beta Signup ─────────────────────── */
.beta {
  margin-top: 36px;
  padding: 28px;
  background: rgba(251, 247, 239, 0.08);
  border: 1px solid rgba(251, 247, 239, 0.18);
  border-radius: 20px;
  max-width: 560px;
}
.beta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pyp-cream);
  opacity: 0.85;
  margin-bottom: 8px;
}
.beta-text {
  color: var(--pyp-paper);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 20px;
}
.beta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.beta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.beta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pyp-paper);
  opacity: 0.8;
}
.beta-form input[type="email"] {
  font-family: var(--pyp-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 247, 239, 0.25);
  border-radius: 10px;
  background: var(--pyp-paper);
  color: var(--pyp-ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.beta-form input[type="email"]:focus {
  border-color: var(--pyp-mustard);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.25);
}
.beta-platform {
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.beta-platform legend {
  padding: 0;
  margin-bottom: 2px;
  grid-column: 1 / -1;
}
.beta-radio {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 247, 239, 0.25);
  border-radius: 10px;
  cursor: pointer;
  color: var(--pyp-paper);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.beta-radio:hover { background: rgba(251, 247, 239, 0.06); }
.beta-radio input[type="radio"] {
  accent-color: var(--pyp-mustard);
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.beta-radio:has(input:checked) {
  border-color: var(--pyp-mustard);
  background: rgba(212, 162, 76, 0.12);
}
#beta-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.beta-submit {
  margin-top: 4px;
  background: var(--pyp-cream);
  color: var(--pyp-burgundy-deep);
  box-shadow: 0 2px 0 var(--pyp-cream-deep), 0 8px 20px rgba(0, 0, 0, 0.18);
}
.beta-submit:hover {
  box-shadow: 0 2px 0 var(--pyp-cream-deep), 0 12px 28px rgba(0, 0, 0, 0.25);
}
.beta-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.beta-hint {
  display: block;
  font-size: 12px;
  color: var(--pyp-paper);
  opacity: 0.75;
  line-height: 1.5;
  margin-top: 6px;
}
.beta-hint strong {
  font-weight: 600;
  opacity: 1;
}
.beta-consent {
  font-size: 12px;
  color: var(--pyp-paper);
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 4px;
}
.beta-consent a {
  color: var(--pyp-cream);
  text-decoration: underline;
  text-decoration-color: rgba(244, 237, 224, 0.5);
}
.beta-status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pyp-paper);
}
.beta-status-success {
  padding: 12px 14px;
  background: rgba(122, 139, 111, 0.25);
  border: 1px solid rgba(122, 139, 111, 0.5);
  border-radius: 10px;
}
.beta-status-error {
  padding: 12px 14px;
  background: rgba(212, 162, 76, 0.18);
  border: 1px solid rgba(212, 162, 76, 0.5);
  border-radius: 10px;
}
.beta-status-info {
  padding: 12px 14px;
  background: rgba(251, 247, 239, 0.1);
  border: 1px solid rgba(251, 247, 239, 0.25);
  border-radius: 10px;
}
.cta-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pyp-paper);
  opacity: 0.6;
  max-width: 560px;
}
.cta-divider::before,
.cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(251, 247, 239, 0.25);
}

@media (max-width: 520px) {
  .beta { padding: 20px; }
  .beta-platform { grid-template-columns: 1fr; }
}
