:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --ink: #1f2937;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --accent: #d97706;
  --accent-dark: #92400e;
  --accent-soft: #fff7ed;
  --green: #1f7a4d;
  --blue: #243447;
  --tag-bg: #eef2ff;
  --tag-text: #4338ca;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 16px 44px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --max-w: 1180px;
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

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

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

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(var(--max-w), calc(100% - 40px));
  min-height: var(--header-h);
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand,
.nav,
.actions,
.footer,
.author,
.mock-head,
.mock-tabs,
.store-row,
.video-cover,
.rating-card {
  display: flex;
  align-items: center;
}

.brand,
.nav a,
.header-cta,
.button,
.footer a,
.mock-head a,
.store-row a {
  text-decoration: none;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  white-space: nowrap;
  transition: color 0.2s;
}

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.5);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* ── Section container ── */

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

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 54px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-copy > p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 34px rgba(36, 52, 71, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #27231f;
}

.store-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.store-row a {
  display: grid;
  gap: 3px;
  min-width: 152px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-row strong {
  font-size: 14px;
  line-height: 1.2;
}

.store-row span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
}

.social-proof {
  max-width: 620px;
  margin-top: 20px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  position: relative;
}

.video-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.72)),
    #fff;
  box-shadow: var(--shadow);
}

.video-cover {
  position: relative;
  justify-content: center;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(150deg, rgba(192, 95, 26, 0.12), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(0deg, #fff, #fff 22px, #f4eee5 23px);
}

.video-cover::before,
.video-cover::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(215, 200, 182, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.video-cover::before {
  inset: 42px 42px auto;
  height: 118px;
}

.video-cover::after {
  right: 42px;
  bottom: 42px;
  width: 58%;
  height: 126px;
}

.video-cover img {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(192, 95, 26, 0.23);
}

.download-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 44px rgba(192, 95, 26, 0.3);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.rating-card {
  position: absolute;
  right: -16px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  width: min(260px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.rating-card span {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
}

.rating-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.rating-card em {
  color: var(--accent-dark);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

/* ── Browser strip ── */

.integrations {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.integrations > span {
  color: var(--muted);
  font-weight: 900;
  line-height: 1.45;
}

.integrations > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.integrations article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  transition: transform 0.2s;
}

.integrations b {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.integrations strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Feature sections ── */

.feature-story,
.download-section,
.install-section,
.local-data-section,
.recipes,
.letter,
.privacy-band,
.faq,
.final-cta {
  padding-top: 108px;
}

/* ── Download cards ── */

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

.download-card,
.steps-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.download-card.featured {
  border-color: rgba(217, 119, 6, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.88)),
    #fff;
}

.download-card > b,
.steps-grid b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.download-card p,
.steps-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.download-card .button {
  justify-self: start;
  margin-top: 6px;
}

.download-card > span:not(.store-badge) {
  margin-top: auto;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  word-break: break-all;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  border: 1px solid rgba(66, 133, 244, 0.22);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(66, 133, 244, 0.1);
  color: #2457b8;
  font-size: 12px;
  font-weight: 900;
}

.store-badge.edge {
  border-color: rgba(0, 120, 212, 0.22);
  background: rgba(0, 120, 212, 0.1);
  color: #0067b8;
}

.store-badge.firefox {
  border-color: rgba(217, 119, 6, 0.22);
  background: rgba(255, 247, 237, 0.95);
  color: var(--accent-dark);
}

.install-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 2px;
}

.zip-fallback {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.install-modal[hidden] {
  display: none;
}

.install-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 41, 55, 0.52);
}

.modal-open {
  overflow: hidden;
}

.install-modal__panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.install-modal__panel .eyebrow {
  margin-bottom: 0;
}

.install-modal__panel h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.install-modal__panel p {
  color: var(--muted);
  line-height: 1.7;
}

.install-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.feedback-copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.feedback-copy li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent-dark);
  font-weight: 900;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
  margin-top: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.02fr);
}

.mock-panel,
.mini-screen {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px;
  background: #f7f8fa;
  box-shadow: var(--shadow-soft);
}

.mock-head {
  gap: 10px;
}

.mock-head img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}

.mock-head div {
  flex: 1;
  min-width: 0;
}

.mock-head strong,
.mock-head span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-head span {
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
}

.mock-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.mock-search {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 11px;
  background: #fff;
  color: #9ca3af;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 3px;
}

.mock-tabs b,
.mock-tabs span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
}

.mock-tabs b {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.mock-tabs span {
  color: #6b7280;
  font-weight: 800;
}

.site-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.site-list article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-list em {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.site-list strong,
.site-list span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-list span {
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
}

.feature-copy {
  max-width: 480px;
}

.feature-copy > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.feature-copy p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.mini-screen {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, #fff, #f6f3ee);
}

.content-card,
.progress-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.content-card b {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
}

.content-card strong,
.progress-card strong {
  font-size: 22px;
  line-height: 1.2;
}

.content-card span,
.progress-card span {
  color: var(--muted);
  line-height: 1.65;
}

.import-screen {
  align-content: center;
  min-height: 260px;
}

.progress-card i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.progress-card i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
}

/* ── Local data cards ── */

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

.local-data-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.local-data-grid b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.local-data-grid p {
  color: var(--muted);
  line-height: 1.7;
}

/* ── Recipes ── */

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

.recipe-grid article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.recipe-grid button {
  justify-self: start;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* ── Letter ── */

.letter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 36px;
  align-items: start;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 244, 226, 0.8), rgba(255, 255, 255, 0.76)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.letter-card p {
  grid-column: 1 / -1;
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.author {
  gap: 12px;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.author img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.author strong,
.author span {
  display: block;
}

.author strong {
  font-size: 15px;
}

.author span {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

/* ── Privacy ── */

.privacy-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
  margin-top: 108px;
  padding: 44px;
  border-radius: var(--radius);
  background: #243447;
  color: #f3f4f6;
}

.privacy-band .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fed7aa;
}

.privacy-band p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

/* ── FAQ ── */

.faq {
  max-width: 920px;
}

.faq details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.3s;
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s;
}

.faq details[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Final CTA ── */

.final-cta {
  display: grid;
  place-items: center;
  padding-bottom: 98px;
  text-align: center;
}

.final-cta img {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 14px;
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.final-cta .button {
  margin-top: 26px;
}

/* ── Footer ── */

.footer {
  justify-content: center;
  gap: 18px;
  min-height: 74px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.feedback-panel {
  display: grid;
  gap: 16px;
}

.feedback-copy,
.feedback-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.feedback-copy {
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  align-items: start;
  background:
    linear-gradient(145deg, rgba(255, 247, 237, 0.86), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.feedback-copy h3,
.feedback-copy p {
  grid-column: 1;
}

.feedback-copy ul {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.feedback-fields-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  gap: 14px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}

.feedback-form textarea {
  min-height: 150px;
  resize: vertical;
}

#feedback-status {
  color: var(--muted);
  font-size: 13px;
}

/* ── Hover effects ── */

@media (hover: hover) {
  .nav a:hover,
  .footer a:hover {
    color: var(--accent-dark);
  }

  .button:hover,
  .header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(25, 23, 20, 0.22);
  }

  .store-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  }

  .feature-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .recipe-grid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
  }

  .recipe-grid button:hover,
  .mock-head a:hover {
    transform: translateY(-1px);
  }

  .integrations article:hover {
    transform: translateY(-2px);
  }

  .download-badge:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 22px 52px rgba(192, 95, 26, 0.38);
  }
}

/* ── Responsive: tablet ── */

@media (max-width: 980px) {
  .site-header,
  .section {
    width: min(100% - 28px, var(--max-w));
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .integrations,
  .feature-row,
  .feature-row.reverse,
  .letter-card,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 38px;
    padding-top: 36px;
  }

  .hero-media {
    max-width: 620px;
  }

  .video-card {
    min-height: 460px;
  }

  .video-cover {
    min-height: 340px;
  }

  .integrations > div,
  .recipe-grid,
  .local-data-grid,
  .download-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-copy {
    grid-template-columns: 1fr;
  }

  .feedback-copy h3,
  .feedback-copy p,
  .feedback-copy ul {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-story,
  .download-section,
  .install-section,
  .recipes,
  .letter,
  .privacy-band,
  .faq,
  .final-cta {
    padding-top: 76px;
  }

  .privacy-band {
    margin-top: 76px;
    padding: 32px;
  }

  .letter-card p {
    grid-column: auto;
  }

  .feature-copy {
    max-width: none;
  }
}

/* ── Responsive: mobile ── */

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 62px;
  }

  .hero-copy > p,
  .section-heading p,
  .final-cta p,
  .privacy-band p,
  .letter-card p {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .store-row,
  .store-row a {
    width: 100%;
  }

  .video-card {
    min-height: 400px;
    padding: 10px;
    border-radius: 22px;
  }

  .video-cover {
    min-height: 292px;
    border-radius: 16px;
  }

  .video-cover::before {
    inset: 28px 24px auto;
    height: 100px;
  }

  .video-cover::after {
    right: 24px;
    bottom: 32px;
    width: 64%;
    height: 100px;
  }

  .video-cover img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .download-badge {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .rating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 10px;
  }

  .integrations,
  .feature-row,
  .letter-card,
  .privacy-band {
    padding: 22px;
    border-radius: 20px;
  }

  .integrations > div,
  .recipe-grid,
  .local-data-grid,
  .download-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feedback-fields-row {
    grid-template-columns: 1fr;
  }

  .download-card,
  .steps-grid article {
    min-height: auto;
    padding: 22px;
  }

  .download-card .button {
    justify-self: stretch;
  }

  .feature-row {
    gap: 26px;
  }

  .mock-panel,
  .mini-screen {
    padding: 12px;
  }

  .mock-head {
    align-items: flex-start;
  }

  .mock-head a {
    padding: 0 10px;
  }

  .mock-search {
    white-space: normal;
  }

  .recipe-grid article {
    min-height: auto;
  }

  .author {
    align-self: start;
  }

  .faq details {
    padding: 18px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 18px;
  }
}

/* Product launch hero aligned with the ReFind extension UI */
.site-header {
  width: 100%;
  min-height: 58px;
  padding: 0 max(12px, calc((100vw - var(--max-w)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  text-decoration: none;
}
.header-actions .header-cta {
  min-height: 36px;
  border-color: var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.brand img {
  border-radius: var(--radius);
}
.nav {
  gap: 34px;
  color: var(--muted);
  font-weight: 600;
}
body {
  background: var(--bg);
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 52px;
  min-height: auto;
  padding: 70px 0 0;
  text-align: center;
}
.hero-copy {
  display: grid;
  justify-items: center;
  width: min(860px, 100%);
}
.hero h1 {
  max-width: 880px;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
}
.hero-copy > p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}
.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.hero-actions .button {
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 22px;
}
.hero-actions .button-primary {
  gap: 9px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(36, 52, 71, 0.2);
}
.chrome-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.chevron {
  margin-left: 2px;
  font-size: 16px;
  line-height: 1;
}
.hero-actions .button-secondary {
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
}
.social-proof {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.social-proof strong {
  color: var(--accent);
}
.hero-preview {
  width: min(760px, 100%);
  margin: 0 auto;
  padding-bottom: 0;
}
.preview-browser {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 190px;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  text-align: left;
}
.preview-sidebar,
.preview-panel {
  background: #f3f6fb;
  padding: 16px 12px;
}
.preview-sidebar {
  border-right: 1px solid #e5e7eb;
}
.preview-sidebar strong {
  display: block;
  margin-bottom: 22px;
  color: #374151;
  font-size: 14px;
  font-weight: 900;
}
.preview-sidebar button {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}
.preview-sidebar span {
  display: block;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.preview-sidebar b {
  display: block;
  margin-top: 8px;
  border-radius: 7px;
  padding: 8px;
  background: #dbeafe;
  color: #334155;
  font-size: 11px;
}
.preview-page {
  position: relative;
  background: #fff;
  padding: 18px 26px;
}
.preview-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 140px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.preview-toolbar em {
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef2ff;
  color: var(--tag-text);
  font-style: normal;
}
.preview-content {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 62px;
  color: var(--muted);
  font-size: 12px;
}
.preview-content i {
  display: block;
  width: min(340px, 80%);
  height: 10px;
  border-radius: 999px;
  background: #eef2f7;
}
.preview-content i:nth-child(2) { width: min(260px, 70%); }
.preview-content i:nth-child(3) { width: min(300px, 75%); }
.preview-panel {
  border-left: 1px solid #e5e7eb;
}
.preview-panel-head,
.preview-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.preview-panel-head strong {
  color: var(--ink);
  font-size: 12px;
}
.preview-panel-head button {
  border: 0;
  border-radius: var(--radius);
  padding: 6px 8px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.preview-stats {
  margin-top: 14px;
}
.preview-stats article {
  flex: 1;
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}
.preview-stats small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.preview-stats b {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 16px;
}
.preview-search {
  margin-top: 12px;
  border-radius: var(--radius);
  padding: 9px;
  background: #fff;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}
.preview-card {
  margin-top: 10px;
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.preview-card strong,
.preview-card span,
.preview-card em {
  display: block;
}
.preview-card strong {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
}
.preview-card span {
  margin-top: 8px;
  color: #10b981;
  font-size: 9px;
  font-weight: 800;
}
.preview-card em {
  margin-top: 6px;
  color: #64748b;
  font-size: 9px;
  font-style: normal;
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: auto auto; padding: 0 14px; }
  .header-actions .lang-switch { display: none; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: 42px; }
  .preview-browser { grid-template-columns: 1fr; min-height: auto; }
  .preview-sidebar { display: none; }
  .preview-panel { border-left: 0; border-top: 1px solid #e5e7eb; }
}

/* Detailed walkthrough video in hero preview */
.video-preview {
  width: min(860px, 100%);
}

.walkthrough-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.walkthrough-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  object-fit: cover;
}

.walkthrough-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  text-align: left;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.walkthrough-caption strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.walkthrough-caption span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .walkthrough-caption { display: grid; }
}
