:root {
  --bg: #eef3f7;
  --ink: #09111f;
  --panel: #fff;
  --text: #17202a;
  --muted: #627083;
  --line: #d7e0e8;
  --accent: #ff4f24;
  --accent-dark: #d63a14;
  --blue: #0698c7;
  --blue-dark: #075b7e;
  --green: #16a34a;
  --shadow: 0 18px 44px rgba(9, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 42%, #e9f0f5 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:active,
.btn-primary:active {
  background: var(--accent-dark);
}

.btn-secondary,
.ghost {
  background: #e8edf2;
  color: var(--text);
}

.small {
  min-height: 34px;
  font-size: 13px;
}

.circle {
  width: 42px;
  padding: 0;
  border-radius: 50%;
}

.hidden {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(247, 250, 252, 0.92);
  border-bottom: 1px solid rgba(215, 224, 232, 0.8);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.site-nav nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  padding: clamp(34px, 7vw, 86px) clamp(16px, 5vw, 72px) 36px;
  background:
    radial-gradient(circle at 84% 20%, rgba(6, 152, 199, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #eef6fa 56%, #e7f0f5 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 880px;
  padding: clamp(18px, 3vw, 32px) 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  max-width: 850px;
  color: var(--ink);
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-top: 22px;
  color: #39485c;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-actions a {
  min-height: 50px;
  padding: 0 20px;
}

.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #324255;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-video-card {
  position: absolute;
  right: clamp(16px, 5vw, 88px);
  top: 7%;
  width: min(34vw, 360px);
  aspect-ratio: 9 / 16;
  border: 8px solid #fff;
  border-radius: 26px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(9, 17, 31, 0.28);
  pointer-events: auto;
}

.hero-video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.finder-section,
.contact-section,
.photo-help-section,
.steps,
.video-section,
.faq,
.compat-section,
.final-cta {
  padding: clamp(42px, 6vw, 74px) clamp(16px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head h2,
.compat-section h2,
.final-cta h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
}

.section-head p + h2 {
  margin-top: 0;
}

.section-note {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.finder-card {
  max-width: 980px;
  min-height: auto;
  margin: 0 auto;
  padding: 0;
}

.app {
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
}

.finder-card.app {
  max-width: 980px;
  min-height: auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0 12px;
}

.topbar h1 {
  font-size: 26px;
  line-height: 1.1;
}

.topbar p,
.results-head p,
.status {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: #dfe6ed;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress > div {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 160ms ease;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: 24px;
  line-height: 1.18;
}

.count {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.answers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.answer {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: center;
}

.answer strong {
  font-size: 34px;
  line-height: 1;
}

.answer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.results-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.photo-help-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.photo-help-link.compact {
  min-height: 34px;
  margin-top: 0;
  font-size: 13px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 20px;
}

.gallery-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 170px;
  padding: 7px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #f8fafc;
}

.gallery-item strong {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.18;
}

.gallery-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.18;
}

.detail {
  padding-top: 12px;
}

.detail img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
  display: block;
  margin: 14px 0;
  background: #f8fafc;
  border-radius: 8px;
}

.data-grid {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 7px 10px;
  margin: 14px 0 16px;
  font-size: 14px;
}

.data-grid div:nth-child(odd) {
  color: var(--muted);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 14px 0 18px;
  background: #101820;
  border-radius: 8px;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

label {
  display: block;
  margin: 12px 0 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 10px;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}

.order button[type="submit"] {
  width: 100%;
  margin-top: 16px;
}

.contact-section,
.photo-help-section {
  background: #fff;
}

.contact-form {
  max-width: 760px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.check-line input {
  width: auto;
  min-height: 0;
  margin-top: 2px;
}

.check-line a {
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 16px;
}

.camera-actions,
.photo-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.camera-button {
  display: grid;
  gap: 8px;
  min-height: 92px;
  margin: 0;
  padding: 18px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: #fff7ed;
  color: var(--text);
  cursor: pointer;
}

.camera-button strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.camera-button span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.camera-button input[type="file"] {
  display: none;
}

.photo-preview {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #fed7aa;
}

.photo-upload {
  display: grid;
  gap: 5px;
  min-height: 112px;
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--blue);
  border-radius: 10px;
  background: #f0f9ff;
  color: var(--text);
  cursor: pointer;
}

.photo-upload strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.photo-upload span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.photo-upload input {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 24px clamp(14px, 3vw, 34px);
  background: #fff;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--ink);
  font-size: 28px;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 17, 31, 0.08);
}

.step-grid span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.step-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
}

.step-grid p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 380px);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background: #07111f;
}

.video-section .section-head {
  margin-bottom: 0;
}

.video-section h2 {
  color: #fff;
}

.video-section .section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.45;
}

.vertical-video {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.35);
}

.vertical-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.compat-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background: #fff;
}

.compat-section p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.compat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.compat-cards img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.faq {
  max-width: 1080px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
  margin-top: 10px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.final-cta {
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  margin: 12px auto 22px;
  color: #cbd5e1;
  font-size: 18px;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px clamp(16px, 5vw, 72px);
  background: #050a12;
  color: #cbd5e1;
}

.legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 18px;
}

.legal-page .brand {
  display: inline-block;
  margin-bottom: 24px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
  margin-bottom: 18px;
}

.legal-page h2 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 22px;
}

.legal-page p {
  margin-top: 10px;
  color: #344256;
  line-height: 1.55;
}

.legal-note {
  padding: 14px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
}

.legal-updated {
  color: var(--muted) !important;
  font-size: 13px;
}

@media (max-width: 980px) {
  .video-section,
  .compat-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    display: grid;
    gap: 24px;
  }

  .hero-visual {
    position: relative;
    min-height: 560px;
    opacity: 1;
  }

  .proof-strip,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-video-card {
    left: 50%;
    right: auto;
    top: 0;
    width: min(82vw, 330px);
    transform: translateX(-50%);
  }

  .answers,
  .gallery,
  .compat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions,
  .form-row,
  .camera-actions,
  .photo-upload-grid {
    grid-template-columns: 1fr;
  }

  .results-head,
  .results-tools {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .site-footer {
    display: grid;
  }
}
