/* /pascal — QR contact page (revamp 2026-07-05, design handoff)
   Dark single-column mobile page, max-width 390px.
   Headings: Space Grotesk · Body: Instrument Sans (Google Fonts, loaded in template). */

:root {
  color-scheme: dark;
  --page-bg: #0b0b0d;
  --card-bg: #141518;
  --chip-bg: #161719;
  --text: #f3f3f4;
  --text-2: #c6c7cc;
  --muted: #a9aab0;
  --muted-2: #85868d;
  --muted-3: #8a8b91;
  --faint: #74757c;
  --faint-2: #6f7076;
  --acc: #2f6fed;
  --border-1: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.09);
  --border-3: rgba(255, 255, 255, 0.1);
  --border-4: rgba(255, 255, 255, 0.14);
  --heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #26272b;
  color: var(--text);
  font-family: var(--body);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pascal-page {
  width: 100%;
  max-width: 390px;
  background: var(--page-bg);
  padding-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-3), transparent);
  margin-bottom: 18px;
}

.eyebrow {
  font-family: var(--heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #75767d;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 6px;
}

/* 1. Hero */
.hero {
  padding: 26px 22px 22px;
  background: radial-gradient(120% 80% at 50% -10%, #17181d 0%, #0b0b0d 70%);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--heading);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--acc);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero-photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 27px;
  margin: 16px 0 4px;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  margin: 0;
}

.hero-sep { color: #5a5b62; }

.hero-meta {
  font-size: 13px;
  color: var(--muted-2);
  margin: 3px 0 0;
}

/* 2. Primary action */
.primary-action { padding: 2px 22px 22px; }

.save-button {
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--acc);
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 16px;
  padding: 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px -6px var(--acc);
  text-decoration: none;
}

.save-helper {
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin: 8px 0 0;
}

.chip-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  flex: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--chip-bg);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 12px;
  color: #e7e7ea;
  font-size: 13px;
  font-weight: 500;
}

.chip-icon { color: var(--acc); }

.pizza-callout {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(245, 135, 58, 0.1), rgba(245, 197, 66, 0.08));
  border: 1px solid rgba(245, 180, 80, 0.22);
  border-radius: 12px;
  padding: 11px 13px;
}

.pizza-emoji { font-size: 20px; line-height: 1; }

.pizza-text {
  font-family: var(--heading);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #f0d9b0;
}

.pizza-sub {
  display: block;
  font-weight: 400;
  color: #9a8f7d;
  font-size: 11px;
  margin-top: 1px;
  font-family: var(--body);
}

/* 3. Quote */
.quote-section { padding: 20px 22px 4px; }

.quote {
  position: relative;
  padding-left: 16px;
  margin: 0;
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 3px;
  background: var(--acc);
}

.quote p {
  font-family: var(--heading);
  font-size: 18px;
  line-height: 1.4;
  color: #f1f1f3;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.quote-accent { color: var(--acc); }

.quote footer {
  font-size: 12px;
  color: #83848b;
  margin-top: 8px;
}

/* 4. What I'm building */
.pitch-section { padding: 20px 22px 8px; }

.pitch-section h2 {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.pitch-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* 5. Metric cards */
.metric-grid {
  padding: 16px 22px 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 12px 12px 11px;
}

.metric-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.metric-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 8px var(--dot);
}

.metric-label {
  font-family: var(--heading);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
}

.metric-value {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
}

.metric-note {
  font-size: 11.5px;
  color: #83848b;
  margin-top: 3px;
}

/* 6. Poster */
.poster-section { padding: 20px 22px 8px; }

.poster-section .eyebrow { margin-bottom: 12px; }

.poster-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 7. Form */
.contact-panel { padding: 24px 22px 10px; }

.contact-panel h2 {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 4px;
}

.form-sub {
  font-size: 13px;
  color: var(--muted-3);
  margin: 0 0 16px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.field { display: flex; flex-direction: column; }

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-3);
  border-radius: 11px;
  padding: 13px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}

.lead-form select { appearance: none; }

.lead-form textarea { resize: vertical; }

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--faint); }

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--acc);
}

.submit-button {
  width: 100%;
  border: 1px solid var(--border-4);
  cursor: pointer;
  background: #1c1d21;
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  margin-top: 2px;
}

.thank-you {
  background: #12211a;
  border: 1px solid rgba(78, 201, 122, 0.35);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #8ee6ac;
  font-size: 14px;
  font-weight: 500;
}

.form-error {
  background: #241214;
  border: 1px solid rgba(240, 106, 106, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  color: #f2a0a0;
  font-size: 13px;
  margin-bottom: 12px;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  margin: 14px 0 0;
  color: var(--faint-2);
  font-size: 11.5px;
}

.privacy-note a { color: var(--muted-3); }

/* 8. Site link */
.site-link-section {
  padding: 6px 22px 18px;
  text-align: center;
}

.site-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--muted-3);
  font-size: 12.5px;
  font-weight: 500;
}

.site-link-domain,
.site-link-icon { color: var(--acc); }

/* 9. Sticky bottom bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  background: rgba(12, 12, 14, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-2);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sticky-button {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 14px;
  padding: 12px;
  border-radius: 11px;
  text-decoration: none;
  text-align: center;
}

.sticky-primary {
  flex: 1;
  background: var(--acc);
  color: #fff;
  border: none;
}

.sticky-secondary {
  color: #d4d5da;
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  border: 1px solid var(--border-4);
  white-space: nowrap;
}

/* Clear the fixed bar */
.pascal-page { padding-bottom: 84px; }
