/* Heft product pages. Layers on the shared studio stylesheet (../styles.css),
   which supplies the colour tokens, the header, the cards and the footer. */

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 12px;
  background: var(--surface);
  color: var(--text) !important;
  font-weight: 600;
}

/* ------------------------------------------------------------------ hero */

.app-hero {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
}

.app-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.app-icon {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 22.37%;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.30);
}

.app-name {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app-name small {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.app-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.app-hero .lead { margin: 22px 0 0; max-width: 34rem; }
.app-hero .actions { justify-content: flex-start; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.93rem;
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* ----------------------------------------------------------- phone frame */

.phone {
  position: relative;
  width: min(300px, 100%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #0b0f1a;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28), inset 0 0 0 2px #2a3140;
}

.phone::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 22px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  background: #f2f2f7;
}

/* -------------------------------------------------------------- sections */

.section.tight { padding-bottom: 56px; }

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2 { margin-bottom: 0; }
.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card .detail {
  margin-top: 12px;
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.fineprint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.centered { text-align: center; }

/* --------------------------------------------------- photos vs. heft panel */

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 18px;
}

.compare .label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare .big {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.compare .card.heft {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.compare ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.compare li strong { color: var(--text); }

/* ------------------------------------------------------------ check list */

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.checks li strong { color: var(--text); }

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
}

.panel h2 { margin-bottom: 22px; }

/* ----------------------------------------------------------------- steps */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

/* --------------------------------------------------------------- gallery */

.shots {
  display: flex;
  gap: 26px;
  margin: 0 -6px;
  padding: 12px 6px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 20px;
}

.shot {
  flex: 0 0 auto;
  width: min(250px, 68vw);
  margin: 0;
  scroll-snap-align: center;
}

.shot .phone {
  width: 100%;
  padding: 8px;
  border-radius: 38px;
}

.shot .phone::before { top: 17px; height: 17px; }
.shot .phone img { border-radius: 30px; }

.shot figcaption {
  margin-top: 16px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shot figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

/* ------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  padding: 2px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ------------------------------------------------------------------- cta */

.cta-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.cta-card .app-icon { margin: 0 auto 20px; }
.cta-card p { max-width: 34rem; margin: 14px auto 0; color: var(--muted); }

/* ---------------------------------------------------------------- footer */

.footer-notes {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-notes p { margin: 4px 0; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .app-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; }
  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
}

/* Security page */
.content table.sec-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 0.97rem; }
.content table.sec-table th, .content table.sec-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid rgba(127, 127, 127, 0.25); }
.content table.sec-table th { width: 38%; font-weight: 600; }
.content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; padding: 1px 5px; border-radius: 5px; background: rgba(127, 127, 127, 0.14); }
.content .muted { opacity: 0.7; font-size: 0.92rem; margin-top: 32px; }
@media (max-width: 560px) { .content table.sec-table th { width: 44%; } }
