:root {
  color-scheme: light;
  --ink: #073f46;
  --ink-2: #1e3f43;
  --muted: #5d6c6c;
  --teal: #006f72;
  --teal-deep: #00555d;
  --teal-soft: #d8f0eb;
  --aqua: #bcebe2;
  --cream: #fff9ee;
  --paper: #fffdf7;
  --line: #e2d9c8;
  --shadow: 0 24px 70px rgba(51, 42, 27, 0.14);
  --radius: 8px;
  font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-2);
  background:
    radial-gradient(circle at 15% 8%, rgba(178, 231, 224, 0.34), transparent 26rem),
    radial-gradient(circle at 86% 82%, rgba(244, 230, 199, 0.42), transparent 28rem),
    #eee9df;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1240px, calc(100% - 46px));
  margin: 24px auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 244, 238, 0.52), transparent 18rem),
    radial-gradient(circle at 82% 42%, rgba(252, 243, 221, 0.78), transparent 22rem),
    var(--paper);
  border: 1px solid rgba(112, 101, 82, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 52px rgba(32, 28, 20, 0.22);
}

.site-header,
.site-footer,
.hero,
.features,
.document {
  width: min(1080px, calc(100% - 84px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 18px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(0, 86, 91, 0.24);
}

.nav-wrap,
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 700;
}

nav a,
.button,
.footer-links a {
  text-decoration: none;
}

nav a {
  color: #1e2829;
  transition: color 160ms ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 22px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, #00777c, #00575e);
  box-shadow: 0 14px 26px rgba(0, 89, 94, 0.23);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.78);
  border-color: #d7cdbc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: 70px;
  padding: 30px 0 78px;
  position: relative;
}

.hero::before,
.hero::after,
.privacy-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 310px;
  height: 310px;
  left: -126px;
  top: -34px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(58, 181, 181, 0.2) 0 1px, transparent 2px 11px);
  opacity: 0.7;
}

.hero::after {
  width: 690px;
  height: 270px;
  right: -210px;
  bottom: -24px;
  background-image: radial-gradient(rgba(19, 103, 107, 0.16) 1px, transparent 1px);
  background-size: 10px 10px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 72%, transparent);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--teal-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(3.9rem, 6vw, 5.25rem);
  letter-spacing: -0.01em;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.05rem);
}

h3 {
  margin: 18px 0 12px;
  font-size: 1.42rem;
}

.lede {
  max-width: 445px;
  margin: 0;
  color: #41585b;
  font-size: 1.28rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.browser-demo {
  min-height: 560px;
  position: relative;
  filter: drop-shadow(0 22px 34px rgba(60, 50, 32, 0.14));
}

.browser-window {
  overflow: hidden;
  border: 1px solid #d7d0c5;
  border-radius: 16px;
  background: #f4f1ea;
}

.browser-titlebar,
.browser-urlbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid #ddd5ca;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdb8ad;
}

.fake-tab {
  width: 190px;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin-left: 10px;
  color: #5b5a55;
  background: #fffdf8;
  border: 1px solid #ddd6cb;
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  font-size: 0.76rem;
}

.browser-urlbar {
  height: 44px;
  background: #fbfaf7;
}

.url {
  width: 260px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d5a53;
  font-size: 0.84rem;
}

.article-view {
  min-height: 474px;
  padding: 64px 310px 50px 52px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 249, 232, 0.96), rgba(255, 247, 229, 0.7)),
    radial-gradient(circle at 38% 20%, #fff8df 0 12rem, transparent 23rem);
  color: #3e403b;
}

.article-view h2 {
  max-width: 360px;
  margin-bottom: 22px;
  color: #463c32;
  font-size: 2.45rem;
}

.article-view p {
  max-width: 350px;
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
}

.reading-ruler {
  position: absolute;
  left: 0;
  right: 200px;
  top: 238px;
  height: 3px;
  background: rgba(28, 157, 155, 0.82);
  box-shadow: 0 0 0 19px rgba(30, 158, 156, 0.11);
}

.reading-ruler::after {
  content: "";
  position: absolute;
  left: 48%;
  top: 3px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid rgba(28, 157, 155, 0.86);
}

.extension-panel {
  width: 236px;
  position: absolute;
  top: 7px;
  right: 6px;
  bottom: 8px;
  padding: 18px 16px;
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid #ddd7cc;
  border-radius: 14px;
  box-shadow: -15px 0 28px rgba(56, 45, 25, 0.08);
}

.panel-head,
.panel-tools,
.color-row,
.panel-row,
.local-card,
.footer-links {
  display: flex;
  align-items: center;
}

.panel-head {
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8dfd1;
}

.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 700;
}

.panel-brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.power {
  font-size: 1.85rem;
  line-height: 1;
  color: #1e2929;
}

.panel-label {
  margin: 18px 0 10px;
  color: #243d3e;
  font-size: 0.82rem;
  font-weight: 900;
}

.panel-row {
  justify-content: space-between;
}

.switch {
  width: 34px;
  height: 18px;
  position: relative;
  border-radius: 999px;
  background: #0b7778;
}

.switch::after {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  top: 2px;
  right: 2px;
  border-radius: 50%;
  background: #fff;
}

.color-row {
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e9dfd2;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(74, 84, 79, 0.16);
  border-radius: 50%;
  background: var(--swatch, #eadbc0);
}

.swatch.active {
  box-shadow: 0 0 0 3px #d1e8e2, inset 0 0 0 3px #fffdf8;
  background: #0b8c8b;
}

.panel-tools {
  justify-content: space-between;
  margin-top: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e9dfd2;
}

.tool-button {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #2d3432;
  background: #f1ece4;
  border-radius: 7px;
  font-weight: 900;
}

.tool-stack {
  width: 33.333%;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #202929;
  font-size: 0.68rem;
}

.local-card {
  gap: 12px;
  margin-top: 22px;
  padding: 13px 12px;
  background: linear-gradient(135deg, #d7eee7, #f2fbf6);
  border: 1px solid #c4ded7;
  border-radius: 13px;
}

.local-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.local-card span {
  display: block;
  color: #28565a;
  font-size: 0.68rem;
  font-weight: 700;
}

.badge-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #087f82;
  border-radius: 8px;
  flex: 0 0 auto;
}

.features {
  padding: 52px 0 36px;
  border-top: 1px solid rgba(209, 196, 174, 0.62);
}

.features h2 {
  text-align: center;
  margin-bottom: 36px;
}

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

.feature-card {
  min-height: 304px;
  position: relative;
  padding: 24px 22px 24px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid #ddd4c4;
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(65, 53, 33, 0.09);
}

.feature-card p {
  margin: 0;
  color: #415053;
}

.feature-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border-radius: 50%;
}

.feature-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.number {
  min-width: 48px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--teal-deep);
  background: #d2ece6;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.privacy-band {
  min-height: 226px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 38px 42px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 52%, rgba(255, 255, 255, 0.18), transparent 9rem),
    repeating-radial-gradient(circle at 91% 55%, rgba(193, 234, 229, 0.18) 0 1px, transparent 2px 10px),
    linear-gradient(135deg, #006d70, #005259);
}

.privacy-band::after {
  width: 220px;
  height: 220px;
  left: 70px;
  bottom: -70px;
  background: repeating-radial-gradient(circle, rgba(255, 244, 207, 0.35) 0 1px, transparent 2px 8px);
  border-radius: 50%;
}

.privacy-mark {
  width: 172px;
  height: 172px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(215, 244, 239, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.privacy-mark::before {
  content: "";
  width: 96px;
  height: 110px;
  background: rgba(216, 240, 235, 0.96);
  clip-path: polygon(50% 0, 95% 16%, 84% 82%, 50% 100%, 16% 82%, 5% 16%);
}

.privacy-mark .icon {
  width: 48px;
  height: 48px;
  position: absolute;
  color: var(--ink);
}

.privacy-band .eyebrow,
.privacy-band h2,
.privacy-band p {
  color: white;
}

.privacy-band h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.privacy-band p:last-child {
  margin: 15px 0 0;
  font-size: 1.08rem;
}

.privacy-band .button {
  position: relative;
  z-index: 1;
  color: var(--ink);
  background: #fffaf0;
  box-shadow: 0 14px 24px rgba(0, 30, 33, 0.16);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  padding: 34px 0 24px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  column-gap: 12px;
  max-width: 270px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.footer-brand p {
  grid-column: 2;
  margin: 7px 0 0;
  color: #536466;
}

.footer-links {
  justify-content: space-around;
  gap: 28px;
  border-left: 1px solid #e3d9c8;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #303d3e;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #80817d;
  text-align: center;
}

.document {
  max-width: 900px;
  padding: 42px 0 70px;
}

.document-hero {
  padding: 52px 0 30px;
}

.document h1 {
  font-size: clamp(3.4rem, 6vw, 5.6rem);
}

.document-card {
  padding: 42px;
  background: rgba(255, 253, 247, 0.76);
  border: 1px solid #ddd4c4;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.document-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #e5dac8;
}

.document-card h2 {
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.document-card p {
  margin: 0;
  color: #405255;
}

.document-card a {
  color: var(--teal-deep);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-header,
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-wrap,
  nav {
    width: 100%;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .browser-demo {
    min-height: 0;
  }

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

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

  .privacy-band .button {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    margin: 10px auto;
  }

  .site-header,
  .site-footer,
  .hero,
  .features,
  .document {
    width: min(100% - 34px, 1080px);
  }

  .brand {
    font-size: 1.35rem;
  }

  .nav-wrap,
  nav {
    gap: 14px;
  }

  .nav-wrap > .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 3.45rem);
  }

  .actions {
    gap: 12px;
  }

  .actions .button {
    width: 100%;
  }

  .article-view {
    min-height: 680px;
    padding: 42px 26px 320px;
  }

  .reading-ruler {
    top: 222px;
    right: 0;
  }

  .extension-panel {
    width: calc(100% - 24px);
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .grid,
  .privacy-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 250px;
  }

  .privacy-band {
    padding: 32px 24px;
  }

  .privacy-mark {
    width: 118px;
    height: 118px;
  }

  .privacy-band .button {
    grid-column: auto;
    width: 100%;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    border-left: 0;
    border-top: 1px solid #e3d9c8;
    padding-top: 24px;
  }

  .document-card {
    padding: 28px 22px;
  }
}
