:root {
  --ink: #111318;
  --muted: #5d6673;
  --soft: #f5f7fb;
  --line: #dfe6ef;
  --blue: #0478ff;
  --blue-dark: #0b4ec8;
  --mint: #2ccf9f;
  --coral: #ff765f;
  --yellow: #f8c84e;
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(24, 45, 76, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 229, 239, 0.7);
}

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

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

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.site-header nav a,
.site-footer nav a,
.policy-links a {
  text-decoration: none;
}

.header-action,
.button,
.cookie-actions button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
}

.header-action {
  color: var(--blue-dark);
  background: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 24px));
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-background.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 19, 39, 0.92), rgba(9, 19, 39, 0.58) 45%, rgba(9, 19, 39, 0.24)),
    linear-gradient(0deg, rgba(7, 12, 22, 0.42), transparent 45%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  min-height: inherit;
  padding: 54px 0 78px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  max-width: 610px;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.34;
  color: rgba(255, 255, 255, 0.84);
}

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

.button-primary {
  color: #061122;
  background: #fff;
  border-color: #fff;
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-device {
  position: relative;
  height: min(620px, 72svh);
  min-height: 520px;
}

.phone-shell,
.phone-shot {
  border: 10px solid #141820;
  border-radius: 42px;
  background: #141820;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shell {
  position: absolute;
  width: 280px;
  height: 570px;
}

.phone-shell-main {
  right: 12%;
  top: 14px;
  transform: rotate(2deg);
}

.phone-shell-back {
  right: 42%;
  top: 90px;
  transform: rotate(-7deg) scale(0.86);
  opacity: 0.86;
}

.phone-screen,
.shot-screen {
  height: 100%;
  background: #fff;
  color: var(--ink);
  padding: 18px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}

.address-pill,
.search-pill,
.mini-address,
.mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f1f4f9;
  color: #8791a0;
  font-size: 13px;
}

.address-pill {
  margin-top: 16px;
}

.address-pill.compact {
  margin-top: 4px;
}

.globe,
.lock,
.search-pill span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid currentColor;
}

.lock {
  width: 12px;
  height: 14px;
  border-radius: 4px;
}

.screen-start h2 {
  margin: 34px 0 8px;
  font-size: 44px;
}

.screen-start p {
  margin: 0 0 26px;
  color: #7b8492;
  font-size: 15px;
}

.search-pill {
  color: var(--ink);
  justify-content: space-between;
}

.search-pill b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
}

.screen-start h3 {
  margin: 34px 0 14px;
  font-size: 20px;
}

.bookmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bookmark-grid div {
  height: 74px;
  padding: 12px 8px;
  border-radius: 8px;
  background: #f2f4f9;
  font-size: 12px;
  font-weight: 760;
}

.toolbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
}

.toolbar i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--blue);
}

.article {
  margin-top: 56px;
  padding: 18px;
  border-radius: 8px;
  background: #f7f9fc;
}

.article small,
.web-card small {
  color: var(--blue-dark);
  font-weight: 800;
}

.article h3,
.web-card h3 {
  margin: 12px 0 14px;
}

.article p,
.web-card p {
  height: 10px;
  border-radius: 99px;
  background: #d8e0ea;
}

.trust-strip,
.section,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  transform: translateY(-40px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 35, 62, 0.12);
}

.trust-strip div {
  background: #fff;
  padding: 22px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p,
.privacy-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid #e7edf5;
}

.feature-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e5f7ff;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 13px;
}

.feature-grid h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.screenshots-section {
  background: linear-gradient(#fff, #f8fbff);
  width: 100%;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.phone-shot {
  margin: 0;
  height: 560px;
}

.phone-shot figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.shot-screen h3 {
  margin: 28px 0 8px;
  font-size: 34px;
}

.shot-screen > p {
  color: var(--muted);
}

.mini-search {
  margin-top: 28px;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 34px;
}

.mini-cards span,
.setting-line {
  border-radius: 8px;
  background: #f1f4f9;
  padding: 16px;
  font-weight: 760;
}

.web-card {
  margin-top: 90px;
  border-radius: 8px;
  background: #f5f8fc;
  padding: 24px;
}

.shot-settings h3 {
  margin-bottom: 28px;
}

.setting-line {
  margin-bottom: 10px;
}

.setting-line.danger {
  color: #c4352a;
  background: #fff1ef;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  margin-bottom: 42px;
  padding: 34px;
  border-radius: 8px;
  background: #101620;
  color: #fff;
}

.privacy-callout h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.privacy-callout p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
}

.policy-links {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.policy-links a {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-actions button {
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}

.cookie-actions button:last-child {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.legal-page {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 0.98;
}

.legal-date {
  color: var(--muted);
  margin: 14px 0 42px;
}

.legal-page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.support-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 740;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

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

.support-form button {
  min-height: 46px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.legal-page .form-note {
  font-size: 14px;
  line-height: 1.5;
}

.form-fallback-link {
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header nav {
    display: none;
  }

  .hero-content,
  .section-head,
  .privacy-callout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
    padding-top: 44px;
  }

  .hero-device {
    height: 360px;
    min-height: 360px;
  }

  .phone-shell {
    width: 205px;
    height: 420px;
  }

  .phone-shell-main {
    right: 6%;
  }

  .phone-shell-back {
    right: 42%;
  }

  .screen-start h2 {
    font-size: 32px;
  }

  .trust-strip,
  .feature-grid,
  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    transform: translateY(-18px);
  }

  .phone-shot {
    height: 520px;
    max-width: 310px;
    margin: 0 auto;
  }

  .site-footer,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 820px;
  }

  .hero-actions,
  .site-footer nav {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .header-action {
    width: 100%;
  }

  .hero-device {
    margin-top: 8px;
  }

  .phone-shell-back {
    display: none;
  }

  .phone-shell-main {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(1deg);
  }
}
