:root {
  color-scheme: light;
  --cream: #fffaf4;
  --paper: #fffdf9;
  --peach: #f7cdbb;
  --peach-dark: #d87965;
  --sage: #b8d9c7;
  --sage-dark: #397360;
  --lavender: #c9c2e7;
  --ink: #2d3440;
  --muted: #68707c;
  --line: #ded7cf;
  --shadow: #3f4652;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 11%, rgb(247 205 187 / 55%), transparent 21rem),
    radial-gradient(circle at 94% 33%, rgb(184 217 199 / 48%), transparent 23rem),
    var(--cream);
  font-family: "Trebuchet MS", "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--sage-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--peach-dark);
}

a:focus-visible {
  outline: 4px solid var(--lavender);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 2px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 15px 15px 15px 5px;
  color: var(--ink);
  background: var(--peach);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.45rem;
}

nav,
footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--peach-dark);
  text-decoration-thickness: 3px;
}

main {
  padding: 64px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(270px, 0.72fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border: 2px solid var(--ink);
  border-radius: 38px 38px 38px 12px;
  background: rgb(255 253 249 / 88%);
  box-shadow: 12px 12px 0 var(--sage);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  color: var(--ink);
  background: var(--lavender);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2 {
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7.8vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--peach-dark);
}

.lede {
  max-width: 650px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.26rem);
  font-weight: 650;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 2px solid var(--ink);
  border-radius: 14px 14px 14px 5px;
  color: var(--ink);
  background: var(--peach);
  box-shadow: 6px 6px 0 var(--ink);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  color: var(--ink);
  background: #ffffff;
}

.restoration-card {
  rotate: 2deg;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 24px 24px 24px 8px;
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--lavender);
}

.card-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.object-demo {
  position: relative;
  min-height: 210px;
  margin: 14px 0 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: linear-gradient(90deg, #b7a69a 0 49.5%, var(--sage) 50.5% 100%);
}

.object-demo::before {
  position: absolute;
  inset: 56px 34px;
  border: 7px solid var(--ink);
  border-radius: 21px;
  background: linear-gradient(90deg, #796e68 0 49.5%, #fffaf4 50.5% 100%);
  box-shadow: inset 0 -17px 0 rgb(45 52 64 / 12%);
  content: "";
}

.object-demo::after {
  position: absolute;
  top: 89px;
  left: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--peach);
  content: "";
}

.device-line {
  position: absolute;
  z-index: 1;
  top: 57px;
  bottom: 57px;
  left: 50%;
  width: 3px;
  background: var(--paper);
}

.dust {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: #635a54;
  box-shadow: 18px 12px 0 #85776d, 36px -5px 0 #6d625b;
}

.dust-one {
  top: 73px;
  left: 52px;
  width: 9px;
  height: 9px;
}

.dust-two {
  bottom: 65px;
  left: 80px;
  width: 7px;
  height: 7px;
}

.clean-spark {
  position: absolute;
  z-index: 2;
  top: 63px;
  right: 48px;
  color: #ffffff;
  font-size: 2.25rem;
  text-shadow: 2px 2px 0 var(--sage-dark);
}

.restoration-card p {
  margin: 8px 0 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.feature-grid article,
.notice {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 24px 24px 24px 8px;
  background: var(--paper);
}

.feature-grid article:nth-child(1) { box-shadow: 7px 7px 0 var(--peach); }
.feature-grid article:nth-child(2) { box-shadow: 7px 7px 0 var(--sage); }
.feature-grid article:nth-child(3) { box-shadow: 7px 7px 0 var(--lavender); }

.feature-grid span {
  color: var(--sage-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-grid h2,
.notice h2 {
  margin: 18px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.feature-grid p,
.notice p {
  color: var(--muted);
}

.notice {
  margin-top: 50px;
  border-left: 9px solid var(--peach-dark);
  box-shadow: 7px 7px 0 var(--peach);
}

.notice .eyebrow {
  margin-bottom: 2px;
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 72px;
}

.legal h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 5.6rem);
}

.legal h2 {
  margin-top: 42px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  color: var(--sage-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.legal p,
.legal li {
  color: #4f5864;
  font-size: 1.03rem;
}

.legal li + li {
  margin-top: 9px;
}

.legal code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eee8e1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 48px;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .restoration-card {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding: 0 16px;
  }

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

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

  main {
    padding-top: 38px;
  }

  .hero {
    border-radius: 25px 25px 25px 8px;
    box-shadow: 7px 7px 0 var(--sage);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: translate 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
  }

  .button:hover {
    translate: 2px 2px;
    box-shadow: 4px 4px 0 var(--ink);
  }
}
