:root {
  --ink: #17161c;
  --muted: #6d6a73;
  --soft: #f0ede7;
  --paper: #f8f6f1;
  --white: #ffffff;
  --line: rgba(23, 22, 28, 0.11);
  --line-strong: rgba(23, 22, 28, 0.18);
  --orange: #ff6945;
  --orange-dark: #e84d29;
  --violet: #7158f6;
  --green: #1f9d69;
  --red: #ce3f3f;
  --shadow-sm: 0 1px 2px rgba(26, 20, 33, 0.05), 0 6px 20px rgba(26, 20, 33, 0.06);
  --shadow-lg: 0 2px 3px rgba(27, 21, 33, 0.05), 0 24px 70px rgba(27, 21, 33, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.platform-facebook {
  --orange: #1877f2;
  --orange-dark: #0f5fc7;
  --violet: #4267b2;
}

.platform-facebook .ambient-one {
  background: radial-gradient(circle at 60% 50%, #4d9cff 0, rgba(77, 156, 255, 0) 68%);
}

.platform-facebook .ambient-two {
  background: radial-gradient(circle at 40% 50%, #7aa7e8 0, rgba(122, 167, 232, 0) 70%);
}

.platform-facebook .hero h1 span {
  background-image: linear-gradient(105deg, #1877f2 8%, #4267b2 88%);
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-grid {
  position: absolute;
  z-index: -3;
  inset: 0 0 auto;
  height: 760px;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(23, 22, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 28, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 18%, transparent 92%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.ambient-one {
  top: 125px;
  left: -170px;
  width: 420px;
  height: 420px;
  opacity: 0.16;
  background: radial-gradient(circle at 60% 50%, #ff7e58 0, rgba(255, 126, 88, 0) 68%);
}

.ambient-two {
  top: 60px;
  right: -180px;
  width: 480px;
  height: 480px;
  opacity: 0.13;
  background: radial-gradient(circle at 40% 50%, #7f67ff 0, rgba(127, 103, 255, 0) 70%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #514e57;
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 3px 16px rgba(30, 24, 36, 0.04);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 157, 105, 0.11);
}

.hero {
  padding: 82px 0 74px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(48px, 7.6vw, 88px);
  font-weight: 780;
  letter-spacing: -0.072em;
  line-height: 0.97;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--orange) 12%, #ee5b78 45%, var(--violet) 83%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 620px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-direct-answer {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 14px 17px;
  border: 1px solid rgba(24, 119, 242, 0.16);
  border-radius: 14px;
  color: #4e596b;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 28px rgba(24, 119, 242, 0.06);
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}

.hero-direct-answer strong {
  color: var(--ink);
}

.platform-instagram .hero-direct-answer {
  border-color: rgba(113, 88, 246, 0.16);
  box-shadow: 0 8px 28px rgba(113, 88, 246, 0.06);
}

.downloader-panel {
  max-width: 860px;
  margin: 46px auto 0;
  padding: 12px;
  border: 1px solid rgba(23, 22, 28, 0.09);
  border-radius: 27px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.downloader-panel form {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(23, 22, 28, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.downloader-panel label {
  display: block;
  margin: 0 0 9px 2px;
  color: #46434b;
  font-size: 13px;
  font-weight: 720;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.input-shell input {
  width: 100%;
  height: 58px;
  min-width: 0;
  padding: 0 105px 0 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: #fbfaf8;
  font-size: 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.platform-instagram .input-shell input {
  padding-right: 174px;
}

.input-shell input::placeholder {
  color: #a09da5;
}

.input-shell input:hover {
  border-color: rgba(23, 22, 28, 0.28);
}

.input-shell input:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(113, 88, 246, 0.11);
}

.input-shell input:disabled {
  cursor: wait;
  opacity: 0.68;
}

.input-icon {
  position: absolute;
  z-index: 1;
  left: 17px;
  color: #8a8790;
  pointer-events: none;
}

.input-icon svg,
.paste-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paste-button {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #5c5862;
  background: #eeece7;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: color 150ms ease, background-color 150ms ease;
}

.clear-button {
  position: absolute;
  z-index: 1;
  right: 83px;
  height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  color: #76727b;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color 150ms ease, background-color 150ms ease;
}

.clear-button:hover {
  color: var(--ink);
  background: rgba(23, 22, 28, 0.05);
}

.clear-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.paste-button:hover {
  color: var(--ink);
  background: #e5e2dc;
}

.paste-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.paste-button svg {
  width: 17px;
}

.primary-button {
  position: relative;
  display: flex;
  width: 100%;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 730;
  box-shadow: 0 8px 20px rgba(23, 22, 28, 0.15);
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.primary-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0) 80%);
  content: "";
  transform: translateX(-110%);
  transition: transform 500ms ease;
}

.primary-button:hover:not(:disabled) {
  background: #24222a;
  box-shadow: 0 10px 26px rgba(23, 22, 28, 0.21);
  transform: translateY(-1px);
}

.primary-button:hover::before {
  transform: translateX(110%);
}

.primary-button:active:not(:disabled) {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: wait;
}

.button-arrow {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

.primary-button:hover .button-arrow {
  transform: translateX(3px);
}

.button-loading {
  display: none;
  align-items: center;
  gap: 10px;
}

.primary-button.is-loading .button-label,
.primary-button.is-loading .button-arrow {
  display: none;
}

.primary-button.is-loading .button-loading {
  display: inline-flex;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

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

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 3px 0;
  color: #7d7982;
  font-size: 12px;
  line-height: 1.4;
}

.form-meta > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-meta svg {
  width: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-status {
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(206, 63, 63, 0.18);
  border-radius: 11px;
  color: #a62c2c;
  background: rgba(206, 63, 63, 0.07);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-info {
  border-color: rgba(113, 88, 246, 0.18);
  color: #5842ca;
  background: rgba(113, 88, 246, 0.07);
}

.feature-strip {
  display: grid;
  max-width: 720px;
  margin: 30px auto 0;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}

.feature-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  padding: 4px 20px;
}

.feature-strip > div + div {
  border-left: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--violet);
  background: rgba(113, 88, 246, 0.08);
}

.feature-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-strip strong,
.feature-strip small {
  display: block;
}

.feature-strip strong {
  font-size: 12px;
  font-weight: 750;
}

.feature-strip small {
  margin-top: 2px;
  color: #85818a;
  font-size: 10px;
  white-space: nowrap;
}

.result-section {
  scroll-margin-top: 24px;
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.08;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #55515b;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.source-link:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  transform: translateY(-1px);
}

.source-link svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-summary {
  max-width: 650px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.media-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.media-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.media-preview {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  color: #77727c;
  background:
    linear-gradient(135deg, rgba(255, 105, 69, 0.08), rgba(113, 88, 246, 0.09)),
    #efede9;
}

.media-preview img,
.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #121116;
}

.media-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 14, 18, 0.72);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.preview-fallback {
  display: grid;
  gap: 8px;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
}

.preview-fallback svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

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

.media-copy h3 {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-copy p {
  margin: 5px 0 0;
  color: #85818a;
  font-size: 11px;
}

.download-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.download-button:hover {
  background: #2d2a33;
  transform: translateY(-1px);
}

.download-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expiry-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #7d7982;
  font-size: 11px;
}

.expiry-note svg {
  width: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-it-works {
  padding: 150px 0 140px;
}

.steps {
  display: grid;
  margin: 50px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.steps li {
  position: relative;
  min-width: 0;
  padding: 0 44px;
}

.steps li:first-child {
  padding-left: 0;
}

.steps li:last-child {
  padding-right: 0;
}

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

.step-number {
  position: absolute;
  top: 0;
  right: 30px;
  color: #bbb7bf;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps li:last-child .step-number {
  right: 0;
}

.step-visual {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.steps h3 {
  margin: 24px 0 9px;
  font-size: 18px;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.steps p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.facebook-guide,
.instagram-guide,
.tiktok-guide {
  padding-bottom: 132px;
}

.guide-section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.guide-heading {
  max-width: 820px;
}

.guide-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.08;
}

.guide-takeaway {
  max-width: 760px;
  margin: 22px 0 0;
  color: #4f4c55;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.72;
}

.direct-answer {
  max-width: 880px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(24, 119, 242, 0.15);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.075), rgba(255, 255, 255, 0.86));
  box-shadow: 0 12px 35px rgba(24, 119, 242, 0.06);
}

.platform-instagram .direct-answer {
  border-color: rgba(113, 88, 246, 0.16);
  background: linear-gradient(135deg, rgba(113, 88, 246, 0.075), rgba(255, 255, 255, 0.86));
  box-shadow: 0 12px 35px rgba(113, 88, 246, 0.06);
}

.answer-label {
  margin: 0 0 8px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.direct-answer > :last-child {
  margin: 0;
  color: #55515b;
  font-size: 14px;
  line-height: 1.7;
}

.content-grid,
.device-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

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

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

.content-card,
.device-card,
.troubleshooting-list article {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.content-card h3,
.device-card h3,
.troubleshooting-list h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.content-card p,
.device-card li,
.troubleshooting-list p,
.guide-summary > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.content-card p,
.troubleshooting-list p {
  margin: 11px 0 0;
}

.content-card a {
  color: var(--orange-dark);
  font-weight: 700;
}

.device-icon {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--violet);
  background: rgba(24, 119, 242, 0.09);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-instagram .device-icon {
  background: rgba(113, 88, 246, 0.09);
}

.device-card h3 {
  margin-top: 15px;
}

.device-card ol {
  display: grid;
  gap: 11px;
  margin: 17px 0 0;
  padding-left: 21px;
}

.device-card li {
  padding-left: 2px;
}

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

.troubleshooting-list article {
  padding: 24px 26px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 940px;
  margin-top: 30px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 5px 18px rgba(26, 20, 33, 0.035);
}

.faq-list summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.guide-summary {
  padding-bottom: 0;
}

.guide-summary > p {
  max-width: 810px;
  margin: 22px 0 0;
}

.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 19px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 22, 28, 0.15);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.guide-cta:hover {
  background: #2d2a33;
  transform: translateY(-1px);
}

.guide-summary .guide-disclaimer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #65616a;
  font-size: 12px;
}

.link-visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px;
}

.link-visual span {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: #e6e2db;
}

.link-visual span:nth-child(1) { width: 48%; align-self: flex-start; background: rgba(255, 105, 69, 0.5); }
.link-visual span:nth-child(3) { width: 72%; align-self: flex-start; }

.scan-card {
  width: 36px;
  height: 42px;
  border: 1.5px solid rgba(113, 88, 246, 0.45);
  border-radius: 8px;
  background: rgba(113, 88, 246, 0.07);
}

.scan-line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 105, 69, 0.45);
  animation: scan 2.4s ease-in-out infinite;
}

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

.save-visual {
  color: var(--green);
  background: linear-gradient(145deg, rgba(31, 157, 105, 0.06), var(--white));
}

.save-visual svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  display: grid;
  min-height: 116px;
  align-items: center;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  color: #7b7780;
  font-size: 11px;
}

.footer-brand {
  justify-self: start;
  font-size: 15px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-brand .brand-mark-image {
  width: 100%;
}

.site-footer p {
  margin: 0;
}

.not-affiliated {
  justify-self: end;
}

:focus-visible {
  outline: 3px solid rgba(113, 88, 246, 0.35);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 62px;
  }

  .feature-strip {
    max-width: 600px;
  }

  .feature-strip > div {
    padding-inline: 10px;
  }

  .result-section {
    padding: 38px;
  }

  .steps li {
    padding-inline: 26px;
  }

  .content-grid-three,
  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    padding: 32px 0;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > p:not(.not-affiliated) {
    justify-self: end;
    text-align: right;
  }

  .not-affiliated {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

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

  .site-header {
    min-height: 74px;
  }

  .scope-pill {
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero {
    padding: 54px 0 58px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 66px);
    letter-spacing: -0.068em;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-direct-answer {
    margin-top: 17px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .downloader-panel {
    margin-top: 34px;
    padding: 7px;
    border-radius: 22px;
  }

  .downloader-panel form {
    padding: 16px;
    border-radius: 16px;
  }

  .input-shell input {
    height: 54px;
    padding-right: 48px;
    font-size: 14px;
  }

  .platform-instagram .input-shell input {
    padding-right: 100px;
  }

  .paste-button {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .clear-button {
    right: 46px;
    height: 38px;
    padding: 0 7px;
    font-size: 11px;
  }

  .paste-button span {
    display: none;
  }

  .primary-button {
    height: 54px;
  }

  .form-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .feature-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
  }

  .feature-strip > div {
    padding: 0;
  }

  .feature-strip > div + div {
    border: 0;
  }

  .feature-strip > div > span:last-child {
    display: none;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
  }

  .result-section {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .result-heading {
    position: relative;
    padding-right: 0;
  }

  .source-link {
    position: static;
  }

  .media-grid {
    margin-top: 24px;
  }

  .media-details {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-button {
    width: 100%;
    justify-content: center;
  }

  .expiry-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .how-it-works {
    padding: 108px 0 100px;
  }

  .facebook-guide,
  .instagram-guide,
  .tiktok-guide {
    padding-bottom: 88px;
  }

  .guide-section {
    padding: 62px 0;
  }

  .guide-heading h2 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .guide-takeaway {
    margin-top: 17px;
    font-size: 15px;
  }

  .direct-answer {
    margin-top: 22px;
    padding: 18px;
  }

  .content-grid-three,
  .content-grid-two,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .device-grid,
  .troubleshooting-list,
  .faq-list {
    margin-top: 22px;
  }

  .content-card,
  .device-card,
  .troubleshooting-list article {
    padding: 21px;
  }

  .steps {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:first-child,
  .steps li:last-child {
    padding: 28px 0 32px 96px;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-visual {
    position: absolute;
    top: 26px;
    left: 0;
    width: 70px;
    height: 70px;
  }

  .steps h3 {
    margin-top: 0;
  }

  .step-number,
  .steps li:last-child .step-number {
    top: 30px;
    right: 0;
  }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 34px 0;
  }

  .site-footer > p:not(.not-affiliated),
  .not-affiliated {
    align-self: flex-start;
    text-align: left;
  }
}

@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;
  }
}
