:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #151922;
  --panel-strong: #1c2330;
  --text: #f7f8fb;
  --muted: #b4bdcb;
  --line: #293142;
  --blue: #1a73e8;
  --blue-soft: #a8c7fa;
  --green: #34a853;
  --yellow: #fbbc04;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(15, 17, 21, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(690px, calc(100vh - 116px));
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.96) 0%, rgba(15, 17, 21, 0.82) 42%, rgba(15, 17, 21, 0.22) 100%),
    linear-gradient(180deg, rgba(15, 17, 21, 0.10), rgba(15, 17, 21, 0.72)),
    url("chrome-web-store/assets/screenshot-table-1280x800.png") right center / cover no-repeat,
    var(--bg);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #07101f;
  background: var(--blue-soft);
}

.button.primary:hover {
  background: #d3e3fd;
}

.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  border-color: var(--blue-soft);
}

.screenshot-frame img {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section,
.screenshot-section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  background: var(--panel);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.intro p {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
}

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

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

.feature {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.feature:nth-child(2) {
  border-top-color: var(--green);
}

.feature:nth-child(3) {
  border-top-color: var(--yellow);
}

.screenshot-section {
  background: #11151d;
}

.screenshot-frame {
  margin: 0;
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  background: var(--panel-strong);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.privacy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
}

.footer span {
  color: var(--text);
  font-weight: 800;
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(15, 17, 21, 0.94) 0%, rgba(15, 17, 21, 0.82) 68%, rgba(15, 17, 21, 0.42) 100%),
      url("chrome-web-store/assets/screenshot-table-1280x800.png") center center / cover no-repeat,
      var(--bg);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .button {
    width: 100%;
  }

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

  .footer {
    flex-direction: column;
  }
}
