:root {
  color-scheme: light;
  --ink: #151917;
  --muted: #53615b;
  --soft: #f7f7f1;
  --paper: #fffefa;
  --line: #deded1;
  --green: #12372c;
  --green-2: #1f5745;
  --coral: #cf4e3a;
  --blue: #335f8f;
  --sun: #f3cd6b;
  --shadow: 0 28px 80px rgba(28, 45, 38, 0.16);
  --radius: 8px;
  --content-max: 1120px;
  --page-gutter: clamp(56px, 8vw, 104px);
  font-family: ui-rounded, "Avenir Next", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(105deg, rgba(243, 205, 107, 0.24), rgba(255, 254, 250, 0) 38rem),
    linear-gradient(180deg, rgba(51, 95, 143, 0.07), rgba(255, 254, 250, 0) 34rem),
    var(--soft);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(21, 25, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 23, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(207, 78, 58, 0.38);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(247, 247, 241, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img,
.status-card img {
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(21, 25, 23, 0.16);
}

.brand > span {
  display: grid;
  line-height: 1.08;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-formula {
  white-space: nowrap;
}

.brand-formula sup {
  position: relative;
  top: -0.32em;
  font-size: 0.58em;
  line-height: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

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

.nav-download {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(18, 55, 44, 0.38);
  border-radius: var(--radius);
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 84px);
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: calc(100dvh - 80px);
  margin: 0 auto;
  padding: 52px 0 78px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11.8ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.16rem, 1.5vw, 1.42rem);
  font-weight: 650;
  line-height: 1.48;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.99);
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 55, 44, 0.24);
}

.button.primary:hover {
  background: var(--green-2);
}

.button .brand-formula {
  margin: 0 0.24em;
}

.button.secondary {
  width: 100%;
  border: 1px solid rgba(18, 55, 44, 0.28);
  color: var(--green);
  background: rgba(255, 254, 250, 0.7);
}

.button.secondary:hover {
  border-color: rgba(18, 55, 44, 0.58);
  background: #fff;
}

.download-note {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.hero-stage::before {
  position: absolute;
  inset: 90px 10px 70px 70px;
  z-index: -1;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(243, 205, 107, 0.62), rgba(207, 78, 58, 0.16)),
    #f5ead1;
  content: "";
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}

.hero-stage::after {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: -2;
  width: 62%;
  height: 38%;
  border-radius: 32px;
  background: rgba(51, 95, 143, 0.16);
  content: "";
  transform: rotate(6deg);
}

.app-window {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: min(92%, 690px);
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 254, 250, 0.92);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(28, 45, 38, 0.2);
}

.app-window img {
  width: 100%;
}

.desk-card {
  position: absolute;
  z-index: 2;
  border-radius: 16px;
  background: rgba(255, 254, 250, 0.88);
  box-shadow: 0 24px 70px rgba(28, 45, 38, 0.16);
  backdrop-filter: blur(18px);
}

.note-card {
  top: 74px;
  left: 24px;
  display: grid;
  gap: 4px;
  min-width: 170px;
  padding: 18px;
  transform: rotate(-7deg);
}

.note-card span {
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 900;
}

.note-card strong {
  font-size: 1.55rem;
  line-height: 1;
}

.status-card {
  right: 34px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 320px;
  padding: 14px 16px;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.3;
}

.reason {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 82px 0 48px;
}

.reason h2,
.section-heading h2,
.download-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading h2,
.download-panel h2 {
  margin-bottom: 12px;
}

.reason > p {
  align-self: end;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.28rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 1.34;
}

.how,
.download-panel {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.how {
  padding: 58px 0 86px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p:last-child,
.download-panel p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.55;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.workflow article {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 244px;
  padding: 24px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: inset 0 0 0 1px rgba(21, 25, 23, 0.08);
}

.workflow article:nth-child(2) {
  background: rgba(243, 205, 107, 0.34);
}

.workflow article:nth-child(3) {
  background: rgba(51, 95, 143, 0.12);
}

.workflow article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: auto;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.workflow h3 {
  margin-top: 44px;
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1;
}

.workflow p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.5;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 46px;
  align-items: start;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.download-box {
  padding: 26px;
  border-radius: 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 28px 72px rgba(18, 55, 44, 0.22);
}

.download-box h3 {
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.download-box ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  line-height: 1.45;
}

.download-box .button {
  background: #fff;
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .reason,
  .how,
  .download-panel,
  .site-footer {
    width: min(100% - 48px, 740px);
  }

  nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 34px;
  }

  h1 {
    max-width: 11.5ch;
    font-size: clamp(2.9rem, 9vw, 4.35rem);
  }

  .hero-stage {
    min-height: 500px;
  }

  .reason,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .workflow {
    display: flex;
    gap: 14px;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 24px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .workflow article {
    flex: 0 0 260px;
    width: 260px;
    height: 224px;
    scroll-snap-align: start;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .reason,
  .how,
  .download-panel,
  .site-footer {
    width: min(350px, calc(100% - 24px));
    margin-left: 12px;
    margin-right: 12px;
  }

  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small,
  nav {
    display: none;
  }

  .hero {
    padding-bottom: 48px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.25rem, 9vw, 2.9rem);
    line-height: 0.98;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    width: 100%;
    min-height: 360px;
  }

  .hero-stage::before {
    inset: 52px 4px 58px 22px;
    border-radius: 24px;
  }

  .app-window {
    bottom: 54px;
    width: 100%;
    border-width: 7px;
  }

  .note-card {
    top: 26px;
    left: 18px;
    min-width: 132px;
    padding: 13px;
  }

  .note-card strong {
    font-size: 1.18rem;
  }

  .status-card {
    right: 0;
    bottom: 0;
    max-width: 272px;
    padding: 12px;
  }

  .reason,
  .how,
  .download-panel {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .reason h2,
  .section-heading h2,
  .download-panel h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .reason > p,
  .section-heading p:last-child,
  .download-panel p {
    font-size: 1.08rem;
  }

  .workflow {
    margin-right: -12px;
    padding-right: 12px;
  }

  .workflow article {
    flex-basis: 248px;
    width: 248px;
    height: 218px;
  }
}
