:root {
  --ink: #111528;
  --ink-soft: #383d53;
  --paper: #fffdf7;
  --paper-2: #f4f1e8;
  --yellow: #ffd84d;
  --yellow-strong: #f6be22;
  --violet: #7765ed;
  --violet-dark: #5140c8;
  --mint: #84e6c3;
  --coral: #ff7b6f;
  --line: rgba(17, 21, 40, 0.14);
  --shadow-sm: 0 10px 30px rgba(17, 21, 40, 0.08);
  --shadow-md: 0 22px 70px rgba(17, 21, 40, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(17, 21, 40, 0.055) 0.75px, transparent 0.75px);
  background-size: 15px 15px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(17, 21, 40, 0.06);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-mark svg {
  width: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.button) {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
}

.nav-links a:not(.button):hover {
  color: var(--violet-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle svg {
  width: 22px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: #ffe470;
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button--dark {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--violet);
  color: #fff;
}

.button--dark:hover {
  background: #282d48;
  box-shadow: 2px 2px 0 var(--violet);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
}

.button--ghost:hover {
  border-color: var(--ink);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.button[aria-disabled="true"] {
  cursor: pointer;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 930;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 880;
}

.lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet-dark);
  font-weight: 820;
  text-underline-offset: 4px;
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
}

.section--tight {
  padding-block: clamp(60px, 8vw, 96px);
}

.section--ink {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.section--ink::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255, 216, 77, 0.12);
  border-radius: 50%;
  content: "";
}

.section--ink .lead,
.section--ink .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.section--violet {
  background: var(--violet);
  color: #fff;
}

.section--soft {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.section-heading {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 60px;
}

.section-heading > *:last-child {
  margin-bottom: 4px;
}

.section-copy {
  color: var(--ink-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(58px, 8vw, 112px) clamp(90px, 11vw, 150px);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -150px;
  width: 740px;
  height: 740px;
  border: 110px solid rgba(119, 101, 237, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.hero h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 5%;
  left: -2%;
  height: 23%;
  border-radius: 4px;
  background: var(--yellow);
  content: "";
  transform: rotate(-1.2deg);
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 690;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-note span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.scan-orbit {
  position: absolute;
  top: 6%;
  right: -8%;
  width: 115%;
  aspect-ratio: 1;
  border: 2px dashed rgba(17, 21, 40, 0.19);
  border-radius: 50%;
  animation: orbit 24s linear infinite;
}

.scan-orbit::before,
.scan-orbit::after {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.scan-orbit::before {
  top: 16%;
  left: 6%;
  background: var(--mint);
}

.scan-orbit::after {
  right: 3%;
  bottom: 22%;
  background: var(--coral);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 82%);
  margin: 20px auto 0;
  padding: 11px;
  border: 3px solid var(--ink);
  border-radius: 54px;
  background: var(--ink);
  box-shadow: 24px 32px 0 rgba(119, 101, 237, 0.22), var(--shadow-md);
  transform: rotate(4deg);
}

.phone::before {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  width: 32%;
  height: 25px;
  border-radius: 20px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 580px;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(160deg, #fffbef, #e9e4ff);
}

.mock-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 54px 24px 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-camera {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #272b48, #111528);
}

.mock-camera::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 0.72;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 19px;
  content: "";
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, 0.05);
}

.mock-camera::after {
  position: absolute;
  right: 13%;
  left: 13%;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 0 24px var(--mint);
  content: "";
  animation: scan 2.8s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateY(-110px); }
  50% { transform: translateY(110px); }
}

.mock-card-shape {
  width: 44%;
  aspect-ratio: 0.72;
  border: 5px solid #fff;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--yellow) 0 46%, var(--violet) 46% 100%);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.22);
  transform: rotate(-5deg);
}

.mock-result {
  margin: 20px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 19px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--yellow);
}

.mock-result__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
}

.mock-result__row + .mock-result__row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.mock-result__row strong {
  font-size: 0.88rem;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.84rem;
  font-weight: 830;
}

.floating-chip::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.floating-chip--one {
  top: 17%;
  left: -2%;
  transform: rotate(-5deg);
}

.floating-chip--two {
  right: -4%;
  bottom: 12%;
  transform: rotate(3deg);
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -36px;
}

.trust-strip__inner {
  display: grid;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 8px 8px 0 var(--ink);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 25px 22px;
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 3px;
  font-size: 0.96rem;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.steps-grid {
  display: grid;
  counter-reset: step;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 7px 7px 0 var(--ink);
  counter-increment: step;
}

.step-card::before {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  content: "0" counter(step);
  font-size: 0.8rem;
  font-weight: 950;
}

.step-card:nth-child(2)::before {
  background: var(--mint);
}

.step-card:nth-child(3)::before {
  background: #c9c1ff;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.screenshots-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.screen-card {
  min-width: 0;
}

.screen-card:nth-child(2) {
  transform: translateY(38px);
}

.screen-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.56;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 40px;
  background: var(--ink);
  box-shadow: 10px 10px 0 rgba(255, 216, 77, 0.8);
}

.screen-placeholder {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 44px 24px 26px;
  border-radius: 30px;
  background: linear-gradient(155deg, #fff9e4, #e8e2ff);
}

.screen-placeholder--dark {
  background: linear-gradient(155deg, #282c4b, #0f1221);
  color: #fff;
}

.screen-placeholder--mint {
  background: linear-gradient(155deg, #e5fff5, #a6ebd2);
}

.screen-kicker {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-card-art {
  position: relative;
  width: 62%;
  margin-inline: auto;
  aspect-ratio: 0.72;
  border: 7px solid #fff;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--violet), var(--coral));
  box-shadow: 0 20px 40px rgba(17, 21, 40, 0.24);
  transform: rotate(-5deg);
}

.screen-card-art::after {
  position: absolute;
  top: 12%;
  right: 10%;
  bottom: 12%;
  left: 10%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  content: "";
}

.screen-data {
  display: grid;
  gap: 9px;
}

.screen-data span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.18;
}

.screen-data span:nth-child(2) {
  width: 70%;
}

.screen-label {
  margin: 23px 10px 0;
}

.screen-label h3 {
  margin-bottom: 5px;
  font-size: 1.25rem;
}

.screen-label p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.asset-note {
  display: inline-flex;
  margin-top: 52px;
  padding: 8px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 7px 7px 0 var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.guide-card:hover {
  box-shadow: 11px 11px 0 var(--ink);
  transform: translate(-4px, -4px);
}

.guide-card::after {
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 160px;
  height: 160px;
  border: 35px solid rgba(119, 101, 237, 0.12);
  border-radius: 50%;
  content: "";
}

.guide-card:nth-child(2)::after {
  border-color: rgba(132, 230, 195, 0.26);
}

.guide-card:nth-child(3)::after {
  border-color: rgba(255, 123, 111, 0.18);
}

.guide-card:nth-child(4)::after {
  border-color: rgba(255, 216, 77, 0.32);
}

.guide-card__tag {
  margin-bottom: auto;
  color: var(--violet-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-card h3 {
  max-width: 430px;
  margin-top: 70px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.guide-card p {
  max-width: 480px;
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.guide-card__link {
  font-weight: 900;
}

.download-panel {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  padding: clamp(38px, 7vw, 84px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--ink);
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 50px;
}

.download-panel::after {
  position: absolute;
  right: -60px;
  width: 340px;
  height: 340px;
  border: 74px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.download-panel h2 {
  max-width: 700px;
}

.download-panel p {
  max-width: 620px;
}

.download-panel__art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 260px;
  place-items: center;
}

.app-icon-placeholder {
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 42px;
  background: linear-gradient(145deg, var(--violet), #4d3bbb);
  box-shadow: 12px 12px 0 var(--ink);
  color: #fff;
  transform: rotate(7deg);
}

.app-icon-placeholder svg {
  width: 90px;
}

.launch-note {
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 680;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  font-weight: 850;
  list-style: none;
}

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

.faq-item summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 780px;
  padding: 0 60px 28px 0;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding-block: 70px 34px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  padding-bottom: 54px;
  grid-template-columns: 1.5fr repeat(2, 0.7fr);
  gap: 60px;
}

.footer-copy {
  max-width: 500px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-title {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.footer-bottom p {
  max-width: 760px;
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  max-width: 390px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Guide article pages */
.article-hero {
  position: relative;
  overflow: hidden;
  padding-block: 74px 84px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.article-hero::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 74px solid rgba(119, 101, 237, 0.12);
  border-radius: 50%;
  content: "";
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--violet-dark);
}

.article-hero h1 {
  max-width: 1050px;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
}

.article-deck {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.article-layout {
  display: grid;
  padding-block: 72px 110px;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 80px;
}

.article-body {
  min-width: 0;
  font-size: 1.04rem;
}

.article-body > p:first-child {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 620;
  line-height: 1.58;
}

.article-body h2 {
  margin-top: 70px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.article-body h3 {
  margin-top: 38px;
  font-size: 1.45rem;
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}

.article-body strong {
  color: var(--ink);
}

.article-body a {
  color: var(--violet-dark);
  font-weight: 730;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 9px;
}

.answer-box,
.note-box,
.warning-box,
.source-box {
  margin-block: 34px;
  padding: 26px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 5px 5px 0 var(--ink);
}

.answer-box {
  background: #eefcf7;
}

.note-box {
  background: #f1efff;
}

.warning-box {
  background: #fff5dc;
}

.source-box {
  background: #fff;
}

.answer-box strong,
.note-box strong,
.warning-box strong,
.source-box strong {
  display: block;
  margin-bottom: 8px;
}

.answer-box p:last-child,
.note-box p:last-child,
.warning-box p:last-child,
.source-box p:last-child {
  margin-bottom: 0;
}

.checklist {
  display: grid;
  margin-block: 30px;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding: 15px 18px 15px 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.checklist li::before {
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 950;
}

.comparison-table {
  width: 100%;
  margin-block: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-radius: 16px;
  border-spacing: 0;
  background: #fff;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.article-sidebar {
  position: sticky;
  top: 104px;
}

.toc,
.sidebar-cta {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding-block: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--violet-dark);
}

.sidebar-cta {
  margin-top: 18px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
}

.sidebar-cta p {
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.sidebar-cta .button {
  width: 100%;
  margin-top: 7px;
  background: var(--ink);
  box-shadow: none;
  color: #fff;
}

.article-faq {
  margin-top: 74px;
}

.related-guides {
  display: grid;
  margin-top: 28px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-guide {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.related-guide span {
  display: block;
  margin-bottom: 8px;
  color: var(--violet-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-guide strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .step-card::before {
    margin-bottom: 28px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-panel__art {
    justify-content: start;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    grid-row: 1;
  }

  .sidebar-cta {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 20px;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: #fff;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links .button {
    width: 100%;
  }

  .hero {
    padding-top: 44px;
  }

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

  .phone-screen {
    min-height: 490px;
  }

  .mock-camera {
    min-height: 292px;
  }

  .floating-chip--one {
    left: 0;
  }

  .floating-chip--two {
    right: 0;
  }

  .screenshots-track {
    grid-template-columns: 82vw 82vw 82vw;
    margin-inline: -14px;
    padding: 8px 14px 58px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    scroll-snap-align: center;
  }

  .screen-card:nth-child(2) {
    transform: none;
  }

  .guide-grid,
  .footer-grid,
  .related-guides {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 290px;
  }

  .footer-bottom {
    display: grid;
  }

  .article-layout {
    padding-top: 44px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .comparison-table td {
    white-space: normal;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.12;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .phone {
    width: 270px;
  }

  .phone-screen {
    min-height: 430px;
  }

  .mock-camera {
    min-height: 248px;
  }

  .floating-chip {
    padding: 9px 11px;
    font-size: 0.7rem;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item,
  .trust-item:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-card,
  .guide-card {
    padding: 26px;
  }

  .download-panel {
    padding: 32px 24px;
  }

  .app-icon-placeholder {
    width: 150px;
    height: 150px;
  }

  .faq-answer {
    padding-right: 10px;
  }

  .article-hero h1 {
    font-size: 2.7rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .answer-box,
  .note-box,
  .warning-box,
  .source-box {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
