:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #174ea6;
  --blue-dark: #123a7a;
  --red: #b3261e;
}

@keyframes shaderDrift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate3d(4%, 3%, 0) scale(1.08) rotate(8deg);
  }

  100% {
    transform: translate3d(-3%, -2%, 0) scale(1) rotate(0deg);
  }
}

@keyframes shaderPulse {
  0%, 100% {
    opacity: 0.58;
    filter: blur(34px) saturate(1.15);
  }

  50% {
    opacity: 0.82;
    filter: blur(42px) saturate(1.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 13px 13px 16px 16px;
  background:
    linear-gradient(145deg, #2d7df0 0%, #174ea6 54%, #0f2f66 100%);
  clip-path: polygon(50% 0, 90% 13%, 90% 57%, 50% 100%, 10% 57%, 10% 13%);
  box-shadow:
    0 12px 26px rgba(23, 78, 166, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 9px 9px 13px 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  clip-path: inherit;
}

.logo-shackle {
  position: absolute;
  left: 12px;
  top: 9px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.logo-body {
  position: absolute;
  left: 10px;
  top: 19px;
  z-index: 2;
  width: 18px;
  height: 12px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.12);
}

.logo-body::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 3px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue-dark);
}

.modal-logo {
  display: block;
  margin: 0 auto;
}

.brand span span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: clamp(180px, 30vw, 500px);
  color: #334155;
  font-size: 14px;
  font-weight: 750;
}

.nav > .button {
  margin-left: auto;
}

.nav-support {
  margin-left: auto;
}

.nav-support + .button {
  margin-left: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(23, 78, 166, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.home-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.74) 44%, rgba(228, 237, 251, 0.88)),
    #f7f9fc;
}

.home-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.shader-field {
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(23, 78, 166, 0.2), transparent 26%),
    radial-gradient(circle at 76% 18%, rgba(179, 38, 30, 0.17), transparent 24%),
    radial-gradient(circle at 62% 78%, rgba(24, 125, 107, 0.18), transparent 30%);
}

.shader-field::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 48% 52% 42% 58%;
  background:
    conic-gradient(from 130deg at 50% 50%,
      rgba(23, 78, 166, 0.52),
      rgba(58, 119, 218, 0.26),
      rgba(255, 255, 255, 0.16),
      rgba(179, 38, 30, 0.36),
      rgba(24, 125, 107, 0.32),
      rgba(23, 78, 166, 0.52));
  animation: shaderDrift 18s ease-in-out infinite, shaderPulse 8s ease-in-out infinite;
  mix-blend-mode: multiply;
}

.shader-layer {
  position: absolute;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.72;
  animation: shaderDrift 16s ease-in-out infinite;
}

.layer-one {
  width: 46vw;
  height: 46vw;
  min-width: 360px;
  min-height: 360px;
  left: 1%;
  top: 4%;
  background: rgba(23, 78, 166, 0.32);
}

.layer-two {
  width: 36vw;
  height: 36vw;
  min-width: 280px;
  min-height: 280px;
  right: 6%;
  top: 12%;
  background: rgba(179, 38, 30, 0.24);
  animation-duration: 21s;
  animation-delay: -5s;
}

.layer-three {
  width: 40vw;
  height: 40vw;
  min-width: 300px;
  min-height: 300px;
  right: 22%;
  bottom: -12%;
  background: rgba(25, 127, 104, 0.22);
  animation-duration: 24s;
  animation-delay: -9s;
}

.home-hero {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.home-copy {
  max-width: 720px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(20px);
}

.chrome-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 22px;
  padding: 0 14px;
  border: 1px solid rgba(23, 78, 166, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

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

h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-copy h1 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 12px;
  color: #0f2f66;
  font-size: clamp(52px, 7.6vw, 92px);
  font-weight: 950;
  line-height: 0.9;
  text-wrap: balance;
  background:
    linear-gradient(118deg, #071a3a 0%, #123a7a 42%, #b3261e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 36px rgba(15, 47, 102, 0.12);
}

.home-copy h1::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 8%;
  bottom: 0;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red), rgba(23, 78, 166, 0.94), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 24px rgba(179, 38, 30, 0.2);
}

.home-copy h1::before {
  content: "Liberty Lock Plus";
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
  transform: translate(3px, 3px);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.55;
}

.install-button {
  width: 100%;
  min-height: 68px;
  padding: 0 clamp(24px, 5vw, 56px);
  border-radius: 16px;
  background:
    linear-gradient(135deg, #1a73e8, var(--blue-dark));
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0;
  box-shadow:
    0 18px 38px rgba(23, 78, 166, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.install-button:hover {
  background:
    linear-gradient(135deg, #155ab6, #0f2f66);
}

.cta-note {
  margin: 14px 0 0;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.extension-preview {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(22px);
}

.browser-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 16px 16px 0 0;
  background: #e8edf5;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}

.browser-bar span:nth-child(2) {
  background: #f59e0b;
}

.browser-bar span:nth-child(3) {
  background: #22c55e;
}

.browser-bar div {
  min-width: 0;
  margin-left: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-panel {
  padding: 24px;
  border-radius: 0 0 16px 16px;
  background: var(--white);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-header strong,
.preview-header small {
  display: block;
}

.preview-header strong {
  font-size: 18px;
}

.preview-header small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}

.status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 16px;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.status-line strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: #d7fbe8;
  color: #166534;
}

.filter-list {
  display: grid;
  gap: 10px;
}

.filter-list p {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #334155;
  font-weight: 750;
}

.preview-button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 900;
}

.support-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(216, 222, 232, 0.86);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.86)),
    var(--white);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.support-copy {
  align-self: center;
}

.support-copy h2 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.support-copy p:not(.eyebrow),
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.support-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(23, 78, 166, 0.16);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(23, 78, 166, 0.1);
}

.support-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e8f1ff;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 950;
}

.support-card strong {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.15;
}

.donate-button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  gap: 8px;
  background: #ffdd00;
  color: #111827;
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.14);
}

.donate-button:hover {
  background: #f4cc00;
  color: #111827;
}

.support-card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.page-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.page-header h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 22px;
}

.card p,
.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 34px 0 12px;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.15;
}

.example-panel {
  max-width: 900px;
  margin: 30px 0;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(23, 78, 166, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.9));
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.07);
}

.example-panel h2 {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
}

.example-panel p:not(.eyebrow) {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.example-panel p:last-child {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.note-panel {
  padding: 24px;
  border: 1px solid rgba(23, 78, 166, 0.16);
  border-radius: 14px;
  background: #eef5ff;
  color: #334155;
}

.note-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 20px;
}

.note-panel p {
  margin: 0;
  line-height: 1.65;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.detail-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.detail-grid h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 21px;
}

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

.callout-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(179, 38, 30, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f5, #ffffff);
}

.callout-band h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
}

.callout-band p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.compact {
  width: auto;
  min-width: 220px;
  padding: 0 22px;
}

.privacy-copy {
  margin-top: 34px;
}

.donation-page {
  width: min(1120px, calc(100% - 40px));
}

.donation-header {
  max-width: 820px;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.donation-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(23, 78, 166, 0.18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 62px rgba(15, 23, 42, 0.08);
}

.donation-panel h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 44px);
}

.donation-panel p,
.donation-panel small {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.donation-page-button {
  margin-top: 8px;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list article {
  padding: 24px;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.impact-list h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 22px;
}

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

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list div {
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  background: var(--white);
  border-radius: 10px;
  color: #334155;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
  z-index: 20;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(520px, 100%);
  padding: 32px;
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-card h2 {
  margin: 16px 0 8px;
  color: var(--blue-dark);
  font-size: 32px;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  margin-top: auto;
  padding: 26px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav .button {
    width: 100%;
  }

  .nav-support {
    margin-left: 0;
  }

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

  .split-section,
  .detail-grid,
  .donation-layout {
    grid-template-columns: 1fr;
  }

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

  .compact {
    width: 100%;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .install-button {
    width: 100%;
  }

  .extension-preview {
    padding: 12px;
    border-radius: 20px;
  }

  .preview-panel {
    padding: 18px;
  }

  .support-band {
    grid-template-columns: 1fr;
    margin-bottom: 42px;
  }
}
