:root {
  color-scheme: light;
  --ink: #181716;
  --muted: #65615d;
  --line: #e7e1da;
  --paper: #fffaf5;
  --white: #ffffff;
  --coral: #ff6f61;
  --coral-dark: #d94f42;
  --sage: #6b9f8e;
  --sky: #7aa6c2;
  --charcoal: #2a2928;
  --shadow: 0 24px 70px rgba(42, 41, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 245, 0.88);
  border-bottom: 1px solid rgba(231, 225, 218, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.gallery-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 8px;
  font-size: 13px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--coral-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--ink);
}

.header-cta {
  padding: 0 18px;
  font-size: 14px;
}

.section-band {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.light-band {
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 73px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.download-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-tagline {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
}

.guide-link,
.guide-help a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#guide {
  scroll-margin-top: 90px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.guide-reference {
  margin: 0;
}

.guide-reference img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-reference figcaption {
  max-width: 360px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-steps {
  margin: 0;
  padding-left: 28px;
}

.guide-steps li {
  margin-bottom: 24px;
  padding-left: 8px;
}

.guide-steps li::marker {
  color: var(--coral-dark);
  font-weight: 800;
}

.guide-steps p,
.guide-help p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.guide-help {
  max-width: 880px;
  margin-top: 36px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-stats {
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}

.hero-stats div {
  min-width: 118px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 25px;
  font-weight: 900;
}

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

.phone-stage {
  position: relative;
  min-height: 660px;
}

.phone {
  overflow: hidden;
  background: var(--ink);
  border: 10px solid var(--ink);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-main {
  position: absolute;
  right: 15%;
  width: min(340px, 65vw);
  height: 650px;
}

.phone-side {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: min(230px, 42vw);
  height: 430px;
  transform: rotate(8deg);
  border-width: 8px;
}

.phone-top {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 0 0 16px 16px;
}

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #111;
  border-radius: 25px;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.camera-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px) 0 33.333% / 100% 33.333%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px) 33.333% 0 / 33.333% 100%;
  opacity: 0.7;
}

.overlay-card,
.style-chip {
  position: absolute;
  z-index: 3;
  color: var(--white);
  background: rgba(24, 23, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.overlay-card {
  left: 22px;
  right: 22px;
  bottom: 105px;
  padding: 16px;
  border-radius: 8px;
}

.overlay-card span,
.style-chip {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.overlay-card strong {
  display: block;
  margin-top: 5px;
  font-size: 26px;
}

.capture-bar {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  height: 86px;
  background: rgba(0, 0, 0, 0.54);
}

.capture-bar button {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
}

.capture-bar span {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
}

.style-chip {
  right: 16px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 8px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 32px;
  align-items: end;
}

.feature-grid,
.review-grid,
.qr-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.review-card,
.qr-card,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card {
  min-height: 330px;
  padding: 26px;
}

.active-feature {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.status {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.available {
  color: #96e0c0;
}

.soon {
  color: var(--sage);
}

.feature-card p:last-child,
.review-card p,
.qr-card p {
  color: var(--muted);
  line-height: 1.65;
}

.active-feature p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-controls {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.resource-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.resource-item img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.resource-item:hover img {
  transform: scale(1.035);
}

.resource-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px;
  color: var(--white);
  background: rgba(24, 23, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.resource-label strong {
  display: block;
  font-size: 14px;
}

.resource-label span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

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

.review-card {
  padding: 26px;
  background: var(--white);
}

.stars {
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 17px;
  letter-spacing: 0;
}

.review-card span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 28px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.download-copy {
  color: var(--white);
}

.download-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qr-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--white);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-card a {
  color: var(--coral-dark);
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .hero,
  .download-panel,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 600px;
  }

  .phone-main {
    right: auto;
    left: 6%;
  }

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

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

  .nav-links {
    display: none;
  }

  .feature-grid,
  .review-grid,
  .guide-layout,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 43px;
  }

  .phone-stage {
    min-height: 590px;
  }

  .phone-main {
    left: 0;
    width: min(306px, 82vw);
    height: 560px;
  }

  .phone-side {
    right: 24px;
    width: 178px;
    height: 330px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-item,
  .resource-item img {
    min-height: 420px;
  }

  .hero-stats div {
    flex: 1 1 130px;
  }
}


/* SEO content blocks: use cases + FAQ */
#use-cases,
#faq {
  scroll-margin-top: 90px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.use-case-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.use-case-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.2vw, 24px);
}

.use-case-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 4px 18px 4px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 17px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--coral-dark);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .use-case-grid {
    grid-template-columns: 1fr;
  }
}
