:root {
  color-scheme: light;
  --bg: #f2f2f2;
  --card: #ffffff;
  --text: #080808;
  --muted: rgba(0, 0, 0, 0.58);
  --soft: rgba(0, 0, 0, 0.06);
  --line: rgba(0, 0, 0, 0.10);
  --red: #d00016;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 22px 70px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.86), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,0.72), transparent 28%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(294px, 31vw, 382px);
  height: auto;
  max-width: 382px;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(16px);
}

.nav a {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,0.62);
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(0,0,0,0.07);
}

main {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 26px 0 46px;
}

main#app:focus,
main#app:focus-visible {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(0,0,0,0.28);
  outline-offset: 3px;
}


.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.hero-card, .photo-card, .page-card, .info-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(30px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(0,0,0,0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.hero-copy, .page-intro {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  align-items: center;
}

.primary-button, .secondary-button, .reset-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--text);
  white-space: nowrap;
}

.primary-button {
  background: var(--text);
  color: white;
}

.secondary-button {
  background: transparent;
  color: var(--text);
}

.full { width: 100%; }

.photo-card {
  display: grid;
  place-items: center;
  padding: clamp(26px, 4vw, 46px);
  min-height: 480px;
}

.photo-frame {
  width: min(340px, 86%);
  aspect-ratio: 0.78;
  padding: 22px 22px 26px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.14);
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  transform: rotate(-2.5deg);
}

.photo-surface {
  height: 76%;
  border: 3px solid rgba(0,0,0,0.75);
  background:
    linear-gradient(135deg, rgba(0,0,0,0.10), rgba(255,255,255,0.14)),
    #d7d7d7;
  display: grid;
  place-items: center;
}

.lens-ring {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  border: 10px solid rgba(0,0,0,0.82);
  background: radial-gradient(circle, var(--red) 0 34%, #111 35% 39%, transparent 40%);
}

.photo-caption {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.photo-caption strong { font-size: 18px; letter-spacing: -0.04em; }
.photo-caption span { font-size: 13px; color: var(--muted); font-weight: 700; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.info-card {
  display: block;
  padding: 24px;
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.20);
  background: white;
}


.info-card h2, .guide-step h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.05em;
}

.info-card p, .guide-step p, .support-list p, .small-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  margin: 0;
}

.page-card {
  width: 100%;
  padding: clamp(28px, 5vw, 58px);
}

.page-card.narrow {
  max-width: 620px;
  margin: 0 auto;
}

.guide-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.guide-step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.025);
}

.step-image-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1.2;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.04));
  color: rgba(0,0,0,0.42);
  font-size: 13px;
  font-weight: 900;
}

.reset-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.reset-form label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(0,0,0,0.58);
}

.reset-form input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  background: rgba(0,0,0,0.035);
}

.reset-form button {
  margin-top: 8px;
  background: var(--text);
  color: white;
  opacity: .35;
}

.small-note {
  margin-top: 14px;
  font-size: 12px;
}

.support-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.045);
}

.support-page .page-intro {
  margin-bottom: clamp(24px, 4vw, 34px);
}

.support-page .primary-button.full {
  min-height: 58px;
  margin: 6px 0 clamp(28px, 4vw, 36px);
  padding: 0 24px;
}

.support-page .support-list {
  margin-top: 0;
  padding: clamp(20px, 4vw, 28px);
  gap: 12px;
}

.support-page .support-list p + p {
  margin-top: 2px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: rgba(0,0,0,0.44);
  font-size: 12px;
  font-weight: 700;
}

.footer p { margin: 0; }
.footer a { color: rgba(0,0,0,0.62); }



.guide-page {
  display: grid;
  gap: 28px;
}

.guide-hero-copy h1 {
  max-width: 780px;
}


.guide-list.detailed {
  gap: 18px;
  margin-top: 0;
}

.detailed-step {
  grid-template-columns: minmax(190px, 300px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255,255,255,0.72);
  box-shadow: none;
  scroll-margin-top: 24px;
}

.phone-placeholder {
  position: relative;
  aspect-ratio: 0.56;
  max-height: 430px;
  min-height: 310px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,0.72), transparent 34%),
    linear-gradient(160deg, rgba(0,0,0,0.09), rgba(0,0,0,0.025));
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.42);
  text-align: center;
  padding: 22px;
}

.phone-placeholder::before {
  content: "";
  position: absolute;
  inset: 22px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.phone-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 68px;
  height: 68px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 7px solid rgba(0,0,0,0.78);
  background: radial-gradient(circle, var(--red) 0 36%, #111 37% 42%, transparent 43%);
  opacity: 0.95;
}

.phone-placeholder .screen-label,
.phone-placeholder strong {
  position: relative;
  z-index: 1;
}

.phone-placeholder .screen-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-placeholder strong {
  display: block;
  max-width: 150px;
  margin: 0 auto;
  color: rgba(0,0,0,0.68);
  font-size: 22px;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.step-copy {
  min-width: 0;
}

.step-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.step-copy p {
  max-width: 620px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.step-copy ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.step-copy li {
  position: relative;
  padding-left: 22px;
  color: rgba(0,0,0,0.56);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.step-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.guide-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.045);
  color: rgba(0,0,0,0.60);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.guide-note strong {
  color: var(--text);
  white-space: nowrap;
}


/* Long-form Polaro ID Guide */
.guide-text-page {
  max-width: 920px;
  margin: 0 auto;
}

.guide-text {
  display: grid;
  gap: 17px;
  margin-top: 4px;
  color: rgba(0,0,0,0.68);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.72;
  font-weight: 600;
}

.guide-text p {
  margin: 0;
}

.guide-text h2 {
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.guide-text ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-text li {
  position: relative;
  padding-left: 24px;
  color: rgba(0,0,0,0.60);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.52;
  font-weight: 700;
}

.guide-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.guide-closing {
  margin-top: 10px !important;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.045);
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .brand-logo { width: min(78vw, 340px); max-width: 340px; max-height: 78px; }
  .nav { width: 100%; overflow-x: auto; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; }
  .photo-card { min-height: 360px; }
  .cards-grid { grid-template-columns: 1fr; }
  .guide-step { grid-template-columns: 1fr; }
  .detailed-step { grid-template-columns: 1fr; }
  .phone-placeholder { width: min(100%, 300px); justify-self: center; }
  .footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 22px, 1120px); }
  .topbar { gap: 18px; padding: 24px 0 20px; }
  .brand-logo { width: min(82vw, 300px); max-width: 300px; max-height: 69px; }
  .brand-text { font-size: 20px; }
  .nav { padding: 5px; }
  .nav a { padding: 9px 12px; font-size: 13px; }
  main { padding: 14px 0 36px; align-content: start; }
  .hero { gap: 14px; }
  .hero-card, .photo-card, .page-card, .info-card { border-radius: 22px; }
  .hero-card { padding: 34px 30px; }
  h1 { font-size: 36px; line-height: 0.98; letter-spacing: -0.072em; }
  .eyebrow { font-size: 11px; letter-spacing: 0.15em; margin-bottom: 16px; }
  .hero-copy, .page-intro { font-size: 17px; line-height: 1.52; margin-top: 22px; }
  .button-row { flex-wrap: nowrap; gap: 8px; margin-top: 30px; }
  .primary-button, .secondary-button { min-height: 46px; padding: 0 13px; font-size: 13px; flex: 0 1 auto; }
  .photo-card { min-height: 420px; padding: 32px 22px; }
  .photo-frame { width: min(330px, 84%); }
  .info-card { padding: 28px 26px; }
  .info-card h2 { font-size: 24px; }
  .info-card p { font-size: 16px; line-height: 1.5; }
  .footer { gap: 14px; padding: 24px 2px 34px; font-size: 13px; }
  .guide-page { gap: 20px; }
  .detailed-step { padding: 18px; border-radius: 22px; }
  .phone-placeholder { min-height: 280px; max-height: 360px; border-radius: 24px; }
  .step-copy h2 { font-size: 30px; }
  .step-copy p { font-size: 16px; }
  .guide-note { flex-direction: column; }

  .guide-text { gap: 15px; font-size: 16px; line-height: 1.66; }
  .guide-text h2 { margin-top: 18px; font-size: 28px; }
  .guide-closing { padding: 16px; }

}


@media (max-width: 720px) {
  .support-page .page-intro {
    margin-bottom: 26px;
  }

  .support-page .primary-button.full {
    min-height: 56px;
    margin: 4px 0 28px;
    padding: 0 18px;
    font-size: 14px;
  }

  .support-page .support-list {
    padding: 22px 18px;
    gap: 12px;
  }
}
