* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --page: #f6f4f0;
  --ink: #302b33;
  --muted: #706772;
  --accent: #64446b;
  --line: #d8d1d7;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #422b48;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.searchForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  width: min(640px, calc(100% - 48px));
  margin: clamp(100px, 36vh, 420px) auto 80px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(45, 31, 49, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.searchForm:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(100, 68, 107, .1);
}

.inputSearch {
  min-width: 0;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  line-height: normal;
}

.inputSearch::placeholder {
  color: #837a85;
  opacity: 1;
}

.searchButton {
  width: 64px;
  height: 56px;
  border: 0;
  border-radius: 10px;
  background: url("../images/magnifier.svg") center / 21px no-repeat var(--accent);
  cursor: pointer;
  transition: background-color .15s ease;
}

.searchButton:hover {
  background-color: #503456;
}

.searchButton:active {
  background-color: #422b48;
}

footer {
  width: min(640px, calc(100% - 48px));
  margin: auto auto 0;
  padding: 26px 0 30px;
  border-top: 1px solid #e1dce0;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  list-style: none;
}

footer a {
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .02em;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.document-page main {
  width: min(760px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 80px;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.document-page h1 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.035em;
}

.document-page .modified {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.document-page h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.015em;
}

.document-page p {
  margin-bottom: 18px;
}

.document-page a[name]:not([href]) {
  color: inherit;
  text-decoration: none;
}

.contact-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
}

.contact-page main {
  width: min(480px, 100%);
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-page p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-page main > a {
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.5;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .searchForm {
    grid-template-columns: minmax(0, 1fr) 56px;
    width: calc(100% - 32px);
    margin-top: 32vh;
    padding: 6px;
    gap: 4px;
    border-radius: 14px;
  }

  .inputSearch {
    height: 52px;
    padding: 0 12px;
    font-size: 16px;
  }

  .searchButton {
    width: 56px;
    height: 52px;
  }

  footer {
    width: calc(100% - 32px);
    padding-bottom: 22px;
  }

  footer ul {
    gap: 12px 24px;
  }

  .document-page main {
    width: calc(100% - 40px);
    padding: 40px 0 48px;
  }

  .document-page .modified {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .searchForm,
  .searchButton {
    transition: none;
  }
}

/* Existing interaction styles. */
[site-filter='1'] .switchButtons{opacity:0;pointer-events:none}.placeholder{margin:5% auto 0;height:135px;width:38%;position:relative}.placeholder:hover .hoveredPopup{opacity:1}.placeholder .selected{width:50%;margin:0 auto;opacity:1;transition:.1s ease-in-out}.placeholder .selected>div{height:100px}.placeholder:hover .selected{opacity:0}.selected>div{background-size:100%}.switchButtons{text-align:center;margin-bottom:5%}.searchIcon{display:inline-block;width:35px;height:35px;border-radius:50%;transition:.1s ease-in-out}.searchIcon:not(.active){cursor:pointer}.searchIcon.active,.searchIcon:hover{background-color:#e5e5e5}.overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:2}.uninstallPopUp{background-color:#fff;display:block;top:50%;left:50%;position:absolute;width:45%;height:255px;border-radius:5px;overflow:hidden;margin-top:-117.5px;margin-left:-22.5%}.closeIconUninstallPopUp{background:url("../images/closeIcon.png") right/contain no-repeat;width:30px;height:35px;float:right;cursor:pointer}.headerUninstallPopUp{height:35px;background-color:#06ae8e}.contentUninstallPopUp{text-align:center}.contentUninstallPopUp h2,.reEnableDescription{margin-top:15px}.contentUninstallPopUp h2{margin-bottom:10px}.uninstallDescription{margin-bottom:20px}.noButton,.yesButton{width:65px;height:35px;border-radius:5px;border:1px solid #c2c2c2;color:#000;background-image:linear-gradient(180deg,#fefefe,#eee)}.yesButton{margin-right:50px}.hidden{display:none}
