:root {
  color-scheme: light dark;
  --dashboard-top: #fbf4e4;
  --dashboard-middle: #f4e6c9;
  --dashboard-bottom: #edd7ae;
  --wash-green: rgba(173, 204, 148, 0.28);
  --wash-orange: rgba(240, 158, 87, 0.14);
  --text: #12110e;
  --muted: rgba(18, 17, 14, 0.64);
  --faint: rgba(18, 17, 14, 0.46);
  --panel: rgba(255, 255, 255, 0.42);
  --panel-strong: rgba(255, 255, 255, 0.66);
  --panel-border: rgba(255, 255, 255, 0.72);
  --divider: rgba(18, 17, 14, 0.1);
  --green: #336e2b;
  --orange: #ef9e57;
  --link: #2f661f;
  --shadow: rgba(82, 64, 41, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --dashboard-top: #07130e;
    --dashboard-middle: #13271d;
    --dashboard-bottom: #2b2114;
    --wash-green: rgba(40, 92, 74, 0.28);
    --wash-orange: rgba(196, 118, 65, 0.16);
    --text: #f7f1e6;
    --muted: rgba(247, 241, 230, 0.68);
    --faint: rgba(247, 241, 230, 0.5);
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --panel-border: rgba(255, 255, 255, 0.16);
    --divider: rgba(247, 241, 230, 0.12);
    --green: #9fd28b;
    --orange: #ffad6b;
    --link: #a7d98e;
    --shadow: rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 226, 158, 0.34), transparent 32rem),
    radial-gradient(circle at 86% 14%, var(--wash-green), transparent 28rem),
    radial-gradient(circle at 78% 100%, var(--wash-orange), transparent 24rem),
    linear-gradient(135deg, var(--dashboard-top), var(--dashboard-middle) 48%, var(--dashboard-bottom));
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

header,
main,
footer {
  width: 100%;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  min-height: 50px;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 96px;
}

.logo {
  display: block;
  width: clamp(96px, 16vw, 128px);
  height: auto;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

nav a,
.button-link,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 20px var(--shadow);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  justify-content: center;
  width: 42px;
  padding: 8px;
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

nav a[aria-current="page"] {
  border-color: rgba(51, 110, 43, 0.28);
  background: rgba(51, 110, 43, 0.1);
  color: var(--green);
}

.external-icon {
  display: inline-block;
  transform: translateY(-1px);
  font-size: 0.86em;
  line-height: 1;
}

.inline-external {
  white-space: nowrap;
}

section {
  margin: 22px 0;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 7vw, 58px);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

.panel {
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: 0 18px 54px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-panel {
  padding: clamp(22px, 4vw, 36px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  gap: clamp(22px, 4vw, 38px);
  align-items: center;
}

.home-intro {
  margin: 0;
}

.home-intro p {
  max-width: 52ch;
  font-size: 18px;
}

.app-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  justify-items: center;
  margin: 0 auto;
  width: min(100%, 350px);
}

.app-preview {
  margin: 0;
  width: 100%;
  text-align: center;
}

.app-preview img {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(82, 64, 41, 0.18);
}

.app-preview figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content {
  padding: clamp(20px, 4vw, 32px);
}

.content h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-grid section {
  margin: 0;
}

.meta {
  color: var(--faint);
  font-size: 14px;
}

.notice {
  padding: 18px;
  background: rgba(51, 110, 43, 0.08);
  border: 1px solid rgba(51, 110, 43, 0.18);
  border-radius: 8px;
}

footer {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  header {
    gap: 16px;
    margin-bottom: 26px;
  }

  nav {
    justify-content: flex-start;
  }

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

  .home-hero {
    grid-template-columns: 1fr;
  }

  .app-previews {
    width: min(100%, 340px);
  }

}

@media (max-width: 560px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  .js header {
    align-items: center;
    flex-direction: row;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10;
    min-width: 218px;
    padding: 8px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: linear-gradient(145deg, var(--panel-strong), var(--panel));
    box-shadow: 0 18px 54px var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .js header[data-menu-open="true"] nav {
    display: grid;
    gap: 4px;
  }

  .js nav a {
    justify-content: space-between;
    width: 100%;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .js nav a[aria-current="page"] {
    background: rgba(51, 110, 43, 0.1);
  }
}
