:root {
  --ink: #172126;
  --muted: #5e6a70;
  --paper: #ffffff;
  --soft: #f2f7f8;
  --line: rgba(23, 33, 38, 0.13);
  --teal: #1b8f86;
  --teal-dark: #0e625c;
  --sky: #dff4f7;
  --mint: #dff6eb;
  --sun: #f4c95d;
  --coral: #e7755d;
  --shadow: 0 26px 72px rgba(31, 86, 90, 0.16);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    linear-gradient(130deg, rgba(223, 244, 247, 0.82), rgba(255, 255, 255, 0.2) 38%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 48%, #eef8f1 100%);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 44px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 11px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--teal-dark);
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(34px, 6vw, 72px) 20px 76px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 70px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.9fr);
}

.hero-copy h1 {
  font-size: clamp(48px, 8vw, 88px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 30px rgba(27, 143, 134, 0.22);
}

.button.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.link-demo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  align-items: center;
  background: #223039;
  display: flex;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
}

.browser-bar span {
  background: #f2f7f8;
  border-radius: 50%;
  display: block;
  height: 10px;
  opacity: 0.78;
  width: 10px;
}

.demo-body {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(22px, 5vw, 38px);
}

.demo-body img {
  margin-bottom: 6px;
}

.url-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 7px;
  max-width: 100%;
  padding: 14px;
  width: 100%;
}

.url-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.url-card code {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.url-card.dirty {
  background: #fff6f1;
}

.url-card.clean {
  background: var(--mint);
}

.scrub-arrow {
  background: var(--sun);
  border-radius: 999px;
  height: 27px;
  margin-bottom: 5px;
  position: relative;
  width: 6px;
}

.scrub-arrow::after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--sun);
  bottom: -5px;
  content: "";
  left: -5px;
  position: absolute;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(44px, 8vw, 84px);
}

.feature-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.feature-grid h2 {
  font-size: 22px;
}

.feature-grid p,
.privacy-band p,
.policy p,
.policy li,
footer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.privacy-band {
  align-items: center;
  background: #223039;
  border-radius: 14px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 38px);
}

.privacy-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 760px;
}

.privacy-band h2 {
  margin-bottom: 10px;
}

.text-link {
  background: var(--paper);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 13px 16px;
  text-decoration: none;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px 34px;
  text-align: center;
}

footer p {
  margin: 0;
}

.policy {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(26px, 5vw, 44px);
}

.policy h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.96;
  margin: 0 0 18px;
}

.policy h2 {
  margin-top: 34px;
}

.policy ul {
  padding-left: 22px;
}

@media (max-width: 820px) {
  .hero,
  .feature-grid,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .privacy-band {
    align-items: start;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: flex-start;
    display: grid;
  }

  nav a {
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 45px;
  }

  .button {
    width: 100%;
  }
}
