:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --border: #e4e7ec;
  --red: #e5322d;
  --red-dark: #c9211d;
  --pink: #e1306c;
  --blue: #2764d9;
  --ink: #111827;
  --green: #159947;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0, #f7f8fb 340px, var(--bg) 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand,
.top-nav a,
.tool-card {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  font-size: 19px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.top-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.top-nav a:hover {
  background: #fff1f0;
  color: var(--red-dark);
}

.home-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.tool-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.13);
  border-color: #cfd4dc;
}

.tool-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.instagram .tool-icon {
  background: var(--pink);
}

.words .tool-icon {
  background: var(--blue);
}

.tiktok .tool-icon {
  background: var(--ink);
}

.video .tool-icon {
  background: var(--green);
}

.extension .tool-icon {
  background: #7c3aed;
}

.tiktok-link .tool-icon {
  background: #0f766e;
}

.tool-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tool-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card strong {
  font-size: 22px;
  line-height: 1.16;
}

.tool-content span:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

@media (max-width: 960px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .home-shell {
    padding-top: 38px;
  }

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

  .tool-card {
    min-height: 152px;
    padding: 20px;
  }

}

@media (max-width: 440px) {
  .home-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 17px;
  }

  .tool-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .tool-icon {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .tool-card strong {
    font-size: 20px;
  }
}

.extension-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.extension-hero {
  max-width: 760px;
  margin-bottom: 32px;
}

.extension-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
}

.extension-hero p:last-of-type {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.download-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.download-button:hover {
  background: var(--red-dark);
}

.extension-section {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.extension-section h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.extension-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.final-download .download-button {
  margin-top: 18px;
}

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

.feature-grid article {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafbff;
}

.feature-grid strong {
  font-size: 17px;
}

.feature-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.setup-list {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.setup-list strong {
  color: var(--text);
}

.real-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cfd7e6;
  border-radius: 8px;
  background: #202124;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.setup-flow {
  display: grid;
  gap: 18px;
}

.setup-step {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfcff;
}

.setup-step-split {
  grid-template-columns: 290px auto;
  justify-content: start;
}

.setup-step-search {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.setup-step-search .step-copy h3 {
  font-size: 25px;
  line-height: 1.25;
}

.setup-step-search .step-copy p {
  font-size: 18px;
  line-height: 1.65;
}

.setup-step-search .step-points {
  font-size: 17px;
  line-height: 1.6;
}

.setup-step-search .step7-shot {
  justify-self: end;
  margin-left: 0;
  margin-right: 72px;
}

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

.step-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e5322d;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.step-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.step-points {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.step-points li + li {
  margin-top: 6px;
}

.step-copy strong {
  color: var(--text);
}

.compact-shot,
.menu-shot {
  width: auto;
  max-width: 100%;
}

.pin-shot {
  width: 317px;
  max-width: 100%;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .setup-step,
  .setup-step-split {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .setup-step-search .step7-shot {
    justify-self: start;
    margin-left: 0;
    margin-right: 0;
  }

  .extension-section {
    padding: 22px;
  }
}
