:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --white: #fffefa;
  --ink: #142c24;
  --muted: #47584f;
  --accent: #2b624e;
  --soft: #e8efe3;
  --border: #d5dfd3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

main {
  flex: 1;
}

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

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

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

:focus-visible {
  outline: 3px solid #9a562a;
  outline-offset: 4px;
}

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

.container {
  width: min(100% - 3.5rem, 72rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  transform: translateY(-150%);
  border-radius: .4rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
  color: white;
}

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

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner {
  min-height: 4.65rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  flex: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-icon {
  display: block;
  width: 2.125rem;
  height: 2.125rem;
  flex: none;
  border-radius: .5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .15rem 1.6rem;
  font-size: .875rem;
  font-weight: 650;
}

.main-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .25rem .1rem;
  text-decoration: none;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  text-decoration: underline;
}

.main-nav .nav-contact {
  padding: .25rem .95rem;
  border: 1px solid #b6c8b9;
  border-radius: .4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .48rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 690;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  width: .53rem;
  height: .53rem;
  border-radius: 50%;
  background: #42775b;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  margin-block: 1rem 1.15rem;
  font-size: clamp(3.4rem, 6.15vw, 6rem);
  letter-spacing: -.075em;
  line-height: .99;
}

.hero h1 em {
  color: var(--accent);
  font-weight: inherit;
}

.hero-description {
  max-width: 28rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.15rem;
  border: 1px solid #204435;
  border-radius: .43rem;
  background: #204435;
  color: #fffefa;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #30634e;
  color: #fffefa;
}

.hero-figure {
  min-width: 0;
}

.hero-figure figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font-size: .875rem;
  text-align: right;
}

.illustration {
  position: relative;
  display: grid;
  min-height: 18rem;
  aspect-ratio: 1.16;
  align-items: center;
  overflow: hidden;
  padding: 12% 9% 12% 8%;
  border: 1px solid #ccd9c8;
  border-radius: 1.6rem;
  background:
    radial-gradient(ellipse at 80% 19%, #f5f1ce 0%, transparent 52%),
    radial-gradient(ellipse at 15% 95%, #90b9a2 0%, transparent 61%),
    linear-gradient(138deg, #e7eed5, #b9d1ba);
  isolation: isolate;
}

.illustration::before, .illustration::after {
  position: absolute;
  z-index: -1;
  width: 80%;
  aspect-ratio: 1;
  inset: -32% -17% auto auto;
  border: 1px solid #f9faebcc;
  border-radius: 50%;
  content: "";
}

.illustration::after {
  inset: -36% -13% auto auto;
}

.document-window {
  overflow: hidden;
  border: 1px solid #fffefa;
  border-radius: .85rem;
  background: #fcfdf9;
  box-shadow: 0 1rem 2.75rem #17372b30;
}

.window-bar {
  display: flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: .8rem;
  border-bottom: 1px solid #dee7da;
}

.window-brand {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.window-brand .wordmark-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: .3rem;
}

.window-controls {
  display: flex;
  gap: .24rem;
}

.window-controls i {
  width: .33rem;
  height: .33rem;
  border-radius: 50%;
  background: #92a795;
}

.window-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  background: #eef2ec;
}

.mock-sidebar {
  min-width: 0;
  padding: 1rem .45rem;
  border-right: 1px solid #dee7da;
  background: #f9faf5;
}

.mock-heading {
  margin: 0 .4rem .55rem;
  color: #44584b;
  font-size: .7rem;
  font-weight: 720;
}

.mock-file {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .35rem;
  overflow: hidden;
  padding: .44rem .4rem;
  border-radius: .3rem;
  color: #465b4f;
  font-size: clamp(.49rem, .82vw, .77rem);
  line-height: 1.1;
  white-space: nowrap;
}

.mock-file.selected {
  background: #e1ebdf;
  color: var(--ink);
  font-weight: 650;
}

.mock-file-icon {
  width: .53rem;
  height: .67rem;
  flex: none;
  border: 1px solid #72907a;
  border-radius: .12rem;
}

.mock-reader {
  min-width: 0;
  padding: 9% 10% 10% 9%;
}

.mock-page {
  min-width: 0;
  padding: 8% 8% 12%;
  border: 1px solid #e4eae0;
  border-radius: .22rem;
  background: white;
  box-shadow: 0 .4rem 1.25rem #28473613;
}

.mock-category, .mock-title {
  display: block;
  line-height: 1.15;
}

.mock-category {
  color: #53675b;
  font-size: clamp(.44rem, .68vw, .64rem);
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.mock-title {
  margin: .28rem 0 .6rem;
  font-family: var(--serif);
  font-size: clamp(.77rem, 1.55vw, 1.35rem);
  letter-spacing: -.065em;
}

.mock-landscape {
  position: relative;
  aspect-ratio: 1.82;
  margin-bottom: .7rem;
  overflow: hidden;
  border-radius: .16rem;
  background: linear-gradient(#d1e6d2, #f4edc8 90%);
}

.mock-landscape::before {
  position: absolute;
  width: 14%;
  aspect-ratio: 1;
  inset: 13% 20% auto auto;
  border-radius: 50%;
  background: #f5d48e;
  content: "";
}

.mock-landscape i {
  position: absolute;
  inset: 29% 0 0;
  background: #aac8ad;
  clip-path: polygon(0 30%, 13% 39%, 31% 14%, 44% 0, 56% 25%, 63% 30%, 69% 44%, 83% 19%, 100% 37%, 100% 100%, 0 100%);
}

.mock-landscape i:nth-child(2) {
  inset-block-start: 44%;
  background: #7fa88d;
  clip-path: polygon(0 39%, 11% 48%, 23% 25%, 42% 29%, 57% 47%, 66% 34%, 84% 55%, 100% 18%, 100% 100%, 0 100%);
}

.mock-landscape i:nth-child(3) {
  inset-block-start: 49%;
  background: #4c8066;
  clip-path: polygon(0 9%, 14% 20%, 32% 64%, 44% 43%, 58% 65%, 85% 42%, 100% 45%, 100% 100%, 0 100%);
}

.mock-landscape i:nth-child(4) {
  inset-block-start: 59%;
  background: #295844;
  clip-path: polygon(0 55%, 10% 28%, 12% 41%, 21% 15%, 33% 56%, 45% 72%, 62% 79%, 78% 64%, 84% 31%, 90% 47%, 98% 13%, 100% 18%, 100% 100%, 0 100%);
}

.mock-line {
  height: .19rem;
  margin: .22rem 0;
  border-radius: .2rem;
  background: #e0e8df;
}

.mock-line.short {
  width: 65%;
}

.illustration-sheet {
  position: absolute;
  right: 4.5%;
  bottom: 9%;
  width: 14.5%;
  aspect-ratio: .81;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .34rem;
  padding: 3.2%;
  transform: rotate(8deg);
  border: 1px solid #e5e9d7;
  border-radius: .49rem;
  background: #faf9e9;
  box-shadow: 0 .7rem 1.7rem #1f48312a;
}

.illustration-sheet span {
  height: .2rem;
  border-radius: 1rem;
  background: #a5b99f;
}

.illustration-sheet span:last-child {
  width: 63%;
}

.workflows {
  padding-block: 2.1rem 2.45rem;
  border-block: 1px solid var(--border);
  background: #f0f4ec;
}

.workflows h2, .subscription h2 {
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  letter-spacing: -.055em;
  line-height: 1.12;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.feature {
  padding-right: 1.15rem;
}

.feature + .feature {
  padding-left: 1.45rem;
  border-left: 1px solid var(--border);
}

.feature h3 {
  margin-top: .65rem;
  font-size: 1.1rem;
  font-weight: 680;
}

.feature p, .page-heading > p:last-child {
  color: var(--muted);
}

.feature-symbol {
  position: relative;
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  flex: none;
  border: 1px solid #cdded0;
  border-radius: .5rem;
  background: #e3eee2;
  color: #2b624e;
}

.feature-symbol i {
  position: relative;
  width: 1.03rem;
  height: .76rem;
  border: 1.5px solid currentColor;
  border-radius: .08rem;
}

.folder i::before {
  position: absolute;
  width: .43rem;
  height: .24rem;
  top: -.29rem;
  left: -.095rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: .08rem .08rem 0 0;
  content: "";
}

.book i {
  height: .95rem;
  border-radius: .13rem;
}

.book i::before {
  position: absolute;
  inset: 0 auto 0 48%;
  border-left: 1.5px solid currentColor;
  content: "";
}

.devices i {
  margin: -.19rem .25rem 0 0;
}

.devices i::before {
  position: absolute;
  width: .44rem;
  height: .74rem;
  bottom: -.29rem;
  right: -.29rem;
  border: 1.5px solid currentColor;
  border-radius: .1rem;
  background: #e3eee2;
  content: "";
}

.envelope i::before {
  position: absolute;
  width: .45rem;
  height: .45rem;
  inset: -.14rem auto auto .21rem;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
}

.subscription {
  padding-block: 3.55rem;
}

.subscription-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem 3rem;
  padding: clamp(1.5rem, 5vw, 3.1rem);
  border-radius: 1rem;
  background: #1d3c30;
  color: #f9faf3;
}

.subscription-panel .eyebrow, .subscription-panel a {
  color: #d7e8c4;
}

.subscription-panel a {
  display: inline-block;
  margin-top: .85rem;
  font-weight: 650;
}

.subscription-panel a:hover {
  color: white;
}

.subscription-panel h2 {
  margin-block: .45rem .65rem;
}

.subscription-panel p:not(.eyebrow, .price) {
  color: #e6eee2;
}

.price {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.price strong {
  font-family: var(--serif);
  font-size: clamp(3.15rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: 1;
}

.price span {
  color: #e6eee2;
}

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

.footer-inner {
  min-height: 6rem;
  padding-block: 1.15rem;
}

.footer-inner .wordmark {
  font-size: 1.62rem;
}

.footer-inner .wordmark-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-inner nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .48rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-inner nav a {
  color: var(--muted);
  font-size: .875rem;
  text-decoration: none;
}

.footer-inner nav a:hover, .footer-inner nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

.legal-main, .contact-main {
  padding-block: clamp(2.4rem, 5.4vw, 4.6rem) 4rem;
}

.page-heading {
  max-width: 53rem;
  margin-bottom: 1.5rem;
}

.page-heading h1 {
  margin-block: .6rem .85rem;
  font-size: clamp(2.45rem, 6vw, 5rem);
  letter-spacing: -.067em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.page-heading > p:last-child {
  max-width: 44rem;
  font-size: 1.1rem;
}

.notice {
  max-width: 62rem;
  margin-bottom: 2.2rem;
  padding: .9rem 1.15rem;
  border: 1px solid #d8d9b7;
  border-left: .3rem solid #8b803e;
  border-radius: .4rem;
  background: #f3f2dd;
}

.notice p {
  margin-top: .18rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 2.5fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4.8rem);
}

.contents-nav {
  position: sticky;
  top: 1.2rem;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: var(--soft);
}

.contents-nav p {
  font-weight: 690;
}

.contents-nav ul {
  margin: .32rem 0 0;
  padding: 0;
  list-style: none;
}

.contents-nav a {
  display: inline-block;
  padding-block: .22rem;
  color: #285240;
  font-size: .875rem;
}

.contents-nav a:hover {
  color: var(--ink);
}

.legal-article {
  max-width: 72ch;
}

.legal-article section {
  padding-bottom: 1.45rem;
}

.legal-article section + section {
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.legal-article h2, .contact-card h2 {
  margin-bottom: .48rem;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  letter-spacing: -.04em;
  line-height: 1.2;
}

.legal-article p + p {
  margin-top: .68rem;
}

.legal-article strong {
  font-weight: 690;
}

.legal-article a {
  color: #285240;
}

.reference-links ul {
  margin: .35rem 0 0;
  padding-left: 1.2rem;
}

.reference-links li + li {
  margin-top: .32rem;
}

.facts {
  display: grid;
  grid-template-columns: minmax(8.75rem, .85fr) minmax(0, 1.7fr);
  gap: .65rem 1.1rem;
  margin: .75rem 0 0;
}

.facts dt {
  font-weight: 680;
}

.facts dd {
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 39rem;
  padding: clamp(1.05rem, 4vw, 1.7rem);
  border: 1px solid var(--border);
  border-radius: .65rem;
  background: var(--white);
}

.contact-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 54rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 7.3vw, 4.6rem);
  }

  .illustration {
    min-height: 0;
  }

  .window-bar {
    min-height: 1.9rem;
  }
}

@media (max-width: 43rem) {
  .container {
    width: calc(100% - 2.25rem);
  }

  .header-inner {
    gap: .75rem;
  }

  .main-nav {
    gap: .12rem .75rem;
  }

  .main-nav .nav-contact {
    padding-inline: .58rem;
  }

  .hero, .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    max-width: 35rem;
    padding-block: 2.55rem 2.25rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 11vw, 5.3rem);
  }

  .hero-description {
    margin-bottom: 1.25rem;
  }

  .illustration {
    max-height: 26rem;
    border-radius: 1.15rem;
  }

  .mock-file {
    font-size: clamp(.58rem, 1.7vw, .76rem);
  }

  .mock-category {
    font-size: clamp(.5rem, 1.52vw, .63rem);
  }

  .mock-title {
    font-size: clamp(.9rem, 3.3vw, 1.4rem);
  }

  .subscription {
    padding-block: 2.35rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }

  .legal-grid {
    gap: 1.5rem;
  }

  .contents-nav {
    position: static;
  }
}

@media (max-width: 33rem) {
  .header-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: .35rem;
    padding-block: .8rem .35rem;
  }

  .main-nav {
    justify-content: flex-start;
    column-gap: .95rem;
  }

  .main-nav .nav-contact {
    min-height: 2.35rem;
  }

  .feature-grid, .subscription-panel, .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .1rem .75rem;
    padding-right: 0;
  }

  .feature-symbol {
    grid-row: span 2;
  }

  .feature h3 {
    margin-top: 0;
  }

  .feature + .feature {
    margin-top: .8rem;
    padding: .8rem 0 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .subscription-panel .price {
    grid-row: 1;
  }

  .facts {
    gap: .15rem;
  }

  .facts dd + dt {
    margin-top: .55rem;
  }
}

@media (max-width: 23rem) {
  .main-nav {
    column-gap: .48rem;
  }

  .main-nav .nav-contact {
    padding-inline: .4rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.1rem);
  }

  .mock-file {
    padding-inline: .23rem;
  }
}

@media print {
  body {
    display: block;
    background: white;
    color: black;
  }

  .site-header, .site-footer, .skip-link, .contents-nav {
    display: none;
  }

  .legal-grid {
    display: block;
  }

  .container {
    width: 100%;
  }

  .legal-article {
    max-width: none;
  }

  .legal-main {
    padding: 0;
  }

  .legal-article h2 {
    break-after: avoid;
  }
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.legal-table th, .legal-table td {
  padding: .6rem .65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-table thead {
  background: var(--soft);
}
