:root {
  color-scheme: light;
  --bg: #f7f2ea;
  --bg-2: #f4ddcf;
  --bg-3: #dfeaff;
  --paper: rgba(255, 255, 255, 0.72);
  --paper-strong: rgba(255, 255, 255, 0.9);
  --paper-tint: rgba(255, 250, 244, 0.82);
  --line: rgba(54, 38, 31, 0.12);
  --line-strong: rgba(54, 38, 31, 0.18);
  --text: #231a16;
  --muted: rgba(35, 26, 22, 0.7);
  --soft: rgba(35, 26, 22, 0.48);
  --blue: #4f8cff;
  --blue-soft: rgba(79, 140, 255, 0.16);
  --gold: #ef9f5f;
  --gold-soft: rgba(239, 159, 95, 0.18);
  --teal: #4ac3b1;
  --teal-soft: rgba(74, 195, 177, 0.18);
  --shadow: 0 24px 70px rgba(69, 45, 31, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
  --pointer-x: 50%;
  --pointer-y: 30%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    "Avenir Next",
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 196, 156, 0.58), transparent 24%),
    radial-gradient(circle at 84% 22%, rgba(127, 182, 255, 0.28), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f5e4d7 54%, #f1d0bf 100%);
  overflow-x: hidden;
}

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 26, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 26, 22, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  transform: translateZ(0);
}

.ambient-a {
  width: 360px;
  height: 360px;
  top: -110px;
  left: -70px;
  background: rgba(255, 198, 141, 0.4);
}

.ambient-b {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -120px;
  background: rgba(127, 182, 255, 0.25);
}

.ambient-c {
  width: 320px;
  height: 320px;
  bottom: -90px;
  left: 50%;
  background: rgba(74, 195, 177, 0.18);
}

.canvas-glow {
  position: fixed;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 204, 153, 0.44), transparent 18%),
    radial-gradient(circle at 68% 18%, rgba(127, 182, 255, 0.15), transparent 24%),
    radial-gradient(circle at 30% 80%, rgba(255, 175, 115, 0.18), transparent 22%);
  filter: blur(72px) saturate(108%);
  opacity: 0.88;
}

.site-header,
.page,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(var(--container), calc(100% - 32px));
  margin: 22px auto 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  border-radius: 26px;
  border: 1px solid rgba(54, 38, 31, 0.1);
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(54, 38, 31, 0.1);
  box-shadow: 0 10px 24px rgba(69, 45, 31, 0.1);
  overflow: hidden;
}

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

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(35, 26, 22, 0.72);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: rgba(79, 140, 255, 0.14);
  color: #2249af;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(54, 38, 31, 0.12);
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible,
.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  background: linear-gradient(135deg, #4f8cff, #74b3ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(79, 140, 255, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, #4f8cff, #74b3ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(79, 140, 255, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: #332722;
}

.page {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 84px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
  padding: 34px 0 8px;
}

.hero-home {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  padding-top: 22px;
}

.hero-home .hero-copy {
  max-width: 1080px;
  text-align: center;
}

.hero-home h1 {
  margin-inline: auto;
  max-width: 14ch;
}

.hero-home .lede {
  margin-inline: auto;
}

.hero-home .hero-actions,
.hero-home .hero-meta {
  justify-content: center;
}

.hero-home .hero-panel {
  width: min(100%, 1140px);
  margin-top: 8px;
}

.hero-copy {
  position: relative;
  padding: 74px 0 18px;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0 0 18px;
  color: rgba(150, 86, 40, 0.88);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
.display-serif {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Georgia,
    serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: #231813;
  text-wrap: balance;
}

.hero-home h1 {
  width: fit-content;
  max-width: none;
  font-size: clamp(2.9rem, 5.6vw, 5.7rem);
  line-height: 0.92;
  text-wrap: unset;
}

.hero-home h1 span {
  display: block;
}

.lede {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions,
.hero-meta,
.chip-row,
.card-actions,
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-meta {
  margin-top: 22px;
  color: rgba(35, 26, 22, 0.64);
  font-size: 0.94rem;
}

.hero-meta span,
.chip,
.label {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(54, 38, 31, 0.1);
}

.hero-panel,
.card,
.section,
.callout,
.simple-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  align-self: center;
  background: rgba(255, 252, 247, 0.88);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 204, 153, 0.48), transparent 20%),
    radial-gradient(circle at 70% 15%, rgba(127, 182, 255, 0.18), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(74, 195, 177, 0.14), transparent 24%);
  filter: blur(24px);
  opacity: 0.95;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.12);
  color: #2249af;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-panel p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.app-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.app-overview {
  display: block;
  color: inherit;
  text-decoration: none;
  min-height: 250px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 242, 0.88)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 38, 31, 0.09);
  box-shadow:
    0 18px 42px rgba(69, 45, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-overview h3 {
  margin-top: 12px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.app-overview p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.72;
}

.app-overview:hover,
.app-overview:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(54, 38, 31, 0.14);
  box-shadow:
    0 24px 52px rgba(69, 45, 31, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  outline: none;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 38, 31, 0.08);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0;
}

.stat span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--muted);
}

.section {
  margin-top: 24px;
  padding: 26px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-head h2 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head h2.keep-inline {
  max-width: none;
  white-space: nowrap;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
  max-width: none;
}

.section-intro {
  margin-top: 8px;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.grid-2,
.grid-3,
.app-grid,
.shot-grid,
.link-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  padding: 22px;
}

.card h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  line-height: 1.8;
}

.card-soft {
  background: rgba(255, 255, 255, 0.84);
}

.app-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 253, 249, 0.9)),
    rgba(255, 255, 255, 0.72);
}

.app-card + .app-card {
  margin-top: 18px;
}

.app-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.app-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(54, 38, 31, 0.1);
  background: rgba(79, 140, 255, 0.12);
  color: #2249af;
  font-size: 0.82rem;
  font-weight: 700;
}

.app-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.app-card .app-lead {
  color: var(--muted);
  line-height: 1.85;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(54, 38, 31, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: rgba(54, 38, 31, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.app-media {
  display: grid;
  gap: 12px;
}

.shot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot {
  margin: 0;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 38, 31, 0.1);
  box-shadow: 0 16px 40px rgba(69, 45, 31, 0.08);
}

.shot-large {
  grid-column: 1 / -1;
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(180deg, #f9f8f6, #f4efe9);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.shot img.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

.shot-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.timeline-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-soft), var(--gold-soft));
  color: #2d63d7;
  font-weight: 800;
}

.timeline-step h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  letter-spacing: 0;
}

.timeline-step p {
  color: var(--muted);
  line-height: 1.75;
}

.callout {
  margin-top: 18px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(239, 159, 95, 0.08));
}

.callout strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.callout p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 70ch;
}

.footer {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 14px 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer strong {
  color: var(--text);
  margin-right: 10px;
}

.footer-row {
  align-items: center;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin-right: 2px;
  box-shadow: 0 8px 18px rgba(69, 45, 31, 0.1);
}

.simple-shell {
  width: min(920px, calc(100% - 32px));
  margin: 84px auto 40px;
}

.simple-card {
  padding: 30px;
}

.doc-head {
  display: grid;
  gap: 10px;
}

.doc-head h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  letter-spacing: 0;
}

.doc-body {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.doc-actions {
  margin-top: 18px;
}

.doc-grid {
  margin-top: 18px;
}

.screen-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 28vw);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(54, 38, 31, 0.28) transparent;
}

.screen-strip::-webkit-scrollbar {
  height: 12px;
}

.screen-strip::-webkit-scrollbar-track {
  background: transparent;
}

.screen-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(54, 38, 31, 0.22);
  border: 3px solid transparent;
  background-clip: padding-box;
}

.screen-card {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 38, 31, 0.1);
  box-shadow: 0 16px 40px rgba(69, 45, 31, 0.08);
  scroll-snap-align: start;
}

.screen-card-tall {
  min-width: 320px;
}

.screen-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9f8f6, #f2ede7);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.screen-card img.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

.screen-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.chip-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-note {
  color: var(--soft);
  font-size: 0.92rem;
}

@media (max-width: 1060px) {
  .hero,
  .app-card,
  .grid-2,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .panel-stats,
  .grid-3,
  .link-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screen-strip {
    grid-auto-columns: minmax(84vw, 1fr);
  }

  .app-overview-grid {
    grid-template-columns: 1fr;
  }

  .app-overview {
    min-height: 220px;
  }

  .screen-card img {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .page,
  .footer {
    width: min(var(--container), calc(100% - 20px));
  }

  .site-header {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .site-nav {
    justify-content: center;
  }

  .nav-cta {
    justify-self: stretch;
    width: 100%;
  }

  .hero-copy {
    padding-top: 34px;
  }

  .section,
  .card,
  .app-card,
  .hero-panel,
  .simple-card,
  .callout {
    border-radius: 22px;
  }

  .hero-panel,
  .section,
  .card,
  .app-card,
  .simple-card {
    padding: 18px;
  }

  .section-head h2.keep-inline {
    white-space: normal;
  }

  .screen-card img {
    height: 280px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .canvas-glow,
  .ambient {
    display: none;
  }

  .shot img,
  .screen-card img,
  .button,
  .card-link,
  .site-nav a,
  .nav-cta {
    transition: none;
  }
}
