:root {
  color-scheme: light;
  --paper: #faf6ef;
  --paper-deep: #f2e9dc;
  --white: #fffcf7;
  --ink: #29251e;
  --muted: #625b50;
  --rule: #ded2c2;
  --accent: #a1452c;
  --accent-dark: #803420;
  --heading: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.65 var(--body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 5px;
}

h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.14;
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3.15rem);
  letter-spacing: -0.043em;
}

h2 em {
  color: var(--accent);
}

code {
  font: 0.88em / 1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

[id] {
  scroll-margin-top: 1.75rem;
}

.wrap {
  width: min(100% - 3rem, 70rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  border-radius: 0.4rem;
  background: var(--white);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1rem 2rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.header-inner nav,
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem clamp(0.85rem, 3vw, 2.2rem);
}

.header-inner nav a,
.footer-inner nav a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.header-inner nav a:hover,
.footer-inner nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.header-inner .nav-download {
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 0.42rem;
}

.nav-download span,
.text-link span {
  margin-inline-start: 0.2em;
  color: var(--accent);
}

.hero {
  padding-block: clamp(3.5rem, 5.5vw, 5.2rem) clamp(2.6rem, 4vw, 3rem);
  text-align: center;
}

.hero h1 {
  font-size: clamp(3.25rem, 7.7vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.062em;
}

.hero h1 em {
  color: var(--accent);
  padding-inline-end: 0.08em;
}

.hero p {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.6rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.45rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button span,
.text-link span {
  font-size: 1.04rem;
  line-height: 1;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration-color: #bca99a;
}

.product-frame {
  padding: clamp(0.35rem, 1vw, 0.7rem);
  border: 1px solid #d5c5b3;
  border-radius: clamp(0.7rem, 1.5vw, 1.15rem);
  background: #eee4d6;
  box-shadow: 0 1.15rem 2.8rem -1.5rem #53402b5a;
}

.product-frame a {
  display: block;
  border-radius: clamp(0.42rem, 1vw, 0.65rem);
}

.product-image {
  width: 100%;
  height: auto;
  border: 1px solid #dbccbc;
  border-radius: inherit;
  background: var(--white);
}

.product figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.features {
  margin-block: clamp(3.8rem, 8vw, 6.5rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem clamp(1.3rem, 4vw, 3rem);
  margin-top: 1.7rem;
}

.feature-list article {
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}

.feature-list h3 {
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  letter-spacing: -0.025em;
}

.feature-list p,
.download p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.download {
  padding-block: clamp(3rem, 6vw, 5.4rem);
  border-block: 1px solid var(--rule);
  background: var(--paper-deep);
}

.download-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
  gap: 2rem clamp(2rem, 7vw, 6rem);
}

.download .button {
  margin-top: 1.25rem;
}

.platforms {
  border-top: 1px solid var(--rule);
}

.platforms div {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.platforms dt {
  font-weight: 650;
}

.platforms dd {
  color: var(--muted);
}

.footer-inner {
  min-height: 5.1rem;
}

.policy {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.policy + .site-footer {
  border-top: 1px solid var(--rule);
}

.policy-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.policy-header h1 {
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  letter-spacing: -0.055em;
}

.policy-header p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 42rem);
  gap: 1.75rem clamp(1.5rem, 5vw, 4.5rem);
  padding-top: 1.8rem;
}

.policy-nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.policy-nav a {
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.policy-intro {
  color: var(--muted);
  font-size: 1.125rem;
}

.policy-body section {
  margin-top: 1.85rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--rule);
}

.policy-body h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.7rem;
}

.policy-body p + p,
.policy-body li + li {
  margin-top: 0.85rem;
}

.policy-body ul {
  margin: 0;
  padding-inline-start: 1.3rem;
}

.policy-body a {
  color: var(--accent-dark);
}

@media (max-width: 44rem) {
  .feature-list,
  .download-inner,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.1rem;
  }

  .policy-nav a {
    text-decoration: underline;
  }
}

@media (max-width: 31rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .header-inner,
  .footer-inner {
    flex-wrap: wrap;
  }

  .header-inner nav {
    gap: 0.45rem 0.75rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.25rem);
  }
}
