:root {
  --ink: #17252b;
  --ink-soft: #263943;
  --muted: #5a6b73;
  --paper: #f3efe4;
  --paper-light: #fffaf0;
  --blue: #cfe1ec;
  --mint: #d9eee4;
  --honey: #f4d56a;
  --coral: #d96c59;
  --teal: #245f56;
  --teal-dark: #143f39;
  --line: rgba(23, 37, 43, 0.14);
  --line-strong: rgba(23, 37, 43, 0.28);
  --shadow: 0 24px 70px rgba(18, 37, 43, 0.16);
  --shadow-light: 0 16px 36px rgba(18, 37, 43, 0.1);
  --content-width: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 37, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 43, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.page-shell--centered {
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-header,
.site-footer,
main {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow-light);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__text {
  font-size: 1rem;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow-light);
  backdrop-filter: blur(14px);
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--paper-light);
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 46px;
  align-items: center;
  isolation: isolate;
  margin: 8px auto 0;
  padding: 40px 0 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94) 0%, rgba(243, 239, 228, 0.96) 100%),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto calc(50% - 50vw) 0;
  z-index: -2;
  height: 190px;
  background:
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(23, 37, 43, 0.08) 32px 33px),
    linear-gradient(180deg, transparent, var(--paper));
}

.hero__copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: min(520px, 100%);
  padding-top: 0;
}

.hero__copy h1,
.section-heading h2,
.spotlight-copy h2,
.closing-callout h2,
.not-found h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero__copy h1 {
  max-width: 9ch;
  font-size: 4.15rem;
}

.hero--product .hero__copy h1 {
  max-width: 11ch;
}

.hero--policy {
  min-height: 360px;
  padding: 64px 0 82px;
}

.hero--policy::before {
  background:
    linear-gradient(112deg, rgba(255, 250, 240, 0.94) 0 56%, rgba(217, 238, 228, 0.78) 56% 100%),
    var(--paper);
}

.hero--policy::after {
  height: 100px;
}

.hero--policy .hero__copy {
  padding-top: 0;
}

.hero--policy .hero__copy h1 {
  max-width: 12ch;
  font-size: 4.4rem;
}

.hero__lede {
  max-width: 30rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button--primary {
  color: var(--paper-light);
  background: var(--teal-dark);
  box-shadow: var(--shadow-light);
}

.button--secondary {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--line-strong);
}

.hero__visual {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 430px;
  overflow: hidden;
  pointer-events: none;
}

.hero__visual::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 74%;
  height: 76%;
  border: 1px solid rgba(23, 37, 43, 0.16);
  background:
    linear-gradient(rgba(23, 37, 43, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 43, 0.045) 1px, transparent 1px),
    rgba(207, 225, 236, 0.64);
  background-size: 30px 30px;
  transform: rotate(-3deg);
}

.hero__screen {
  position: absolute;
  width: 282px;
  height: 370px;
  object-fit: cover;
  object-position: top;
  border: 10px solid var(--paper-light);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero__screen--today {
  right: 46px;
  top: 40px;
  transform: rotate(5deg);
}

.hero__screen--plan {
  right: 246px;
  top: 76px;
  transform: rotate(-7deg);
}

.hero__screen--quick {
  right: 46px;
  top: 40px;
  transform: rotate(4deg);
}

.hero__screen--focus {
  right: 246px;
  top: 76px;
  transform: rotate(-5deg);
}

.section {
  position: relative;
  padding: 86px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  border-top: 1px solid rgba(23, 37, 43, 0.08);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 820px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 34px;
  align-items: end;
  max-width: none;
}

.section-heading h2,
.spotlight-copy h2,
.closing-callout h2 {
  font-size: 3.1rem;
}

.section-heading p,
.spotlight-copy p,
.closing-callout p,
.feature-panel p,
.feature-row p,
.feature-rail p,
.process-grid p,
.detail-list p,
.policy-grid p,
.timeline-list p,
.theme-strip p,
.aside-panel p,
.not-found p {
  color: var(--muted);
}

.intro-band::before {
  background: rgba(255, 250, 240, 0.68);
}

.product-showcase::before,
.feature-stack::before,
.process-section::before,
.status-band::before {
  background: rgba(255, 250, 240, 0.34);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.screen-panel,
.feature-panel,
.feature-row,
.feature-rail article,
.process-grid > div,
.detail-list > div,
.policy-grid article,
.timeline-list > div,
.theme-strip > div,
.aside-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow-light);
}

.screen-panel {
  overflow: hidden;
  min-height: 360px;
}

.screen-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screen-panel--large {
  grid-row: span 2;
  min-height: 760px;
}

.screen-panel--crop {
  max-height: 470px;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 26px;
}

.feature-panel--accent {
  background: var(--blue);
}

.panel-number,
.process-grid__step,
.detail-list__label,
.theme-strip__name {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-panel h3,
.feature-row h3,
.feature-rail h3,
.process-grid h3,
.detail-list h3,
.feature-columns h2,
.policy-grid h2,
.timeline-list h3,
.theme-strip h3,
.aside-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.36rem;
  line-height: 1.15;
}

.feature-panel p {
  margin: 16px 0 0;
}

.section--ink {
  color: var(--paper-light);
}

.section--ink::before {
  background:
    linear-gradient(rgba(255, 250, 240, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.045) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
}

.section--ink .section-kicker,
.section--ink .feature-rail h3 {
  color: var(--honey);
}

.section--ink .section-heading p,
.section--ink .feature-rail p {
  color: rgba(255, 250, 240, 0.72);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.feature-rail article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.18);
  box-shadow: none;
}

.feature-rail p {
  margin: 16px 0 0;
}

.app-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.app-spotlight::before {
  background: var(--mint);
}

.spotlight-copy p {
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.focus-card {
  position: relative;
  height: 620px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.process-grid > div {
  padding: 24px;
  min-height: 240px;
}

.closing-callout {
  max-width: 720px;
}

.closing-callout::before {
  background:
    linear-gradient(90deg, rgba(244, 213, 106, 0.72) 0 24%, rgba(217, 238, 228, 0.78) 24% 68%, rgba(207, 225, 236, 0.82) 68% 100%);
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.feature-row p {
  margin: 0;
  font-size: 1.04rem;
}

.image-rhythm {
  display: grid;
  grid-template-columns: 0.78fr 1.08fr 0.78fr;
  gap: 16px;
  align-items: start;
}

.image-rhythm::before {
  background: rgba(255, 250, 240, 0.58);
}

.image-rhythm .screen-panel--large {
  min-height: 720px;
}

.status-band::before {
  background: var(--blue);
}

.detail-list,
.timeline-list {
  display: grid;
  gap: 14px;
}

.detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-list > div,
.policy-grid article,
.timeline-list > div,
.theme-strip > div,
.aside-panel {
  padding: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 32px 0 36px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

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

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.badge-row li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  color: var(--teal-dark);
  font-weight: 800;
}

.hero-aside {
  display: grid;
  gap: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.split-layout--compact {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
}

.feature-columns,
.theme-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-columns article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow-light);
}

.feature-columns p {
  color: var(--muted);
}

.not-found {
  max-width: 540px;
  text-align: center;
}

.not-found h1 {
  font-size: 3.2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__screen--today,
  .hero__screen--quick {
    animation: slow-rise 9s ease-in-out infinite;
  }

  .hero__screen--plan,
  .hero__screen--focus {
    animation: slow-rise-alt 10s ease-in-out infinite;
  }
}

@keyframes slow-rise {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

@keyframes slow-rise-alt {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 14px;
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: 500px;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 28px;
  }

  .hero__copy h1 {
    font-size: 3.65rem;
  }

  .hero__visual {
    height: 390px;
  }

  .hero__screen {
    width: 236px;
    height: 320px;
  }

  .hero__screen--today,
  .hero__screen--quick {
    right: 22px;
    top: 52px;
  }

  .hero__screen--plan,
  .hero__screen--focus {
    right: 170px;
    top: 74px;
  }

  .section-heading--split,
  .showcase-grid,
  .app-spotlight,
  .feature-row,
  .image-rhythm,
  .detail-list,
  .split-layout,
  .split-layout--compact {
    grid-template-columns: 1fr;
  }

  .image-rhythm .screen-panel,
  .screen-panel--large,
  .image-rhythm .screen-panel--large,
  .focus-card {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-footer,
  main {
    width: min(var(--content-width), calc(100% - 28px));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0 46px;
    align-items: start;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.96) 0%, rgba(243, 239, 228, 0.98) 100%),
      var(--paper);
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
    padding-top: 8px;
  }

  .hero__copy h1 {
    max-width: 8ch;
    font-size: 3rem;
  }

  .hero__lede {
    font-size: 1.04rem;
  }

  .hero__visual::before {
    right: auto;
    left: 8px;
    top: 8px;
    width: 92%;
    height: 220px;
  }

  .hero__visual {
    grid-column: 1;
    grid-row: 2;
    height: 300px;
  }

  .hero__screen {
    width: 188px;
    height: 252px;
    border-width: 7px;
    border-radius: 16px;
  }

  .hero__screen--today,
  .hero__screen--quick {
    right: 10px;
    top: 18px;
  }

  .hero__screen--plan,
  .hero__screen--focus {
    right: 144px;
    top: 48px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .spotlight-copy h2,
  .closing-callout h2,
  .not-found h1 {
    font-size: 2.32rem;
  }

  .feature-rail,
  .process-grid,
  .policy-grid,
  .feature-columns,
  .theme-strip {
    grid-template-columns: 1fr;
  }

  .screen-panel,
  .screen-panel--large,
  .screen-panel--crop,
  .image-rhythm .screen-panel,
  .image-rhythm .screen-panel--large,
  .focus-card {
    min-height: 430px;
    height: 430px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero__copy h1 {
    font-size: 2.75rem;
  }

  .button {
    width: 100%;
  }

  .hero__screen {
    width: 178px;
    height: 242px;
  }

  .hero__screen--today,
  .hero__screen--quick {
    right: -2px;
    top: 22px;
  }

  .hero__screen--plan,
  .hero__screen--focus {
    right: 116px;
    top: 50px;
  }

  .screen-panel,
  .screen-panel--large,
  .screen-panel--crop,
  .image-rhythm .screen-panel,
  .image-rhythm .screen-panel--large,
  .focus-card {
    min-height: 360px;
    height: 360px;
  }
}
