:root {
  --ivory: #f3ede1;
  --surface: #f8f4ec;
  --sand: #e7ddce;
  --divider: #d8cfc0;
  --forest: #0c3b2e;
  --grove: #315e4d;
  --sage: #6d9773;
  --pale: #d7e0d5;
  --cool: #9eb6b0;
  --clay: #bb8a52;
  --gold: #c9a65b;
  --ink: #153c32;
  --muted: #65736c;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 20;
  padding: 8px 14px;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 12;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.mark-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: inset 0 -3px 0 rgba(109, 151, 115, 0.35);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 8px 20px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 32px 56px;
  min-height: 0;
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 34rem;
  padding-bottom: 12px;
}

.kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grove);
}

.kicker.light,
.lede.light {
  color: #cfd9d2;
}

.poster {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.poster.light {
  color: var(--ivory);
}

.lede {
  margin: 22px 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 32px;
}

.quiet {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.btn small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.btn.forest {
  background: var(--forest);
  color: var(--ivory);
}

.btn.clay {
  background: var(--clay);
  color: var(--ivory);
}

.btn.is-disabled {
  pointer-events: none;
  opacity: 0.48;
}

.stage {
  position: relative;
  isolation: isolate;
  height: 720px;
  overflow: visible;
}

.orb {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 18%;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.32;
}

.slab {
  position: absolute;
  z-index: 0;
  right: 6%;
  top: 88px;
  width: min(268px, 48%);
  height: 460px;
  border-radius: 32px;
  background: var(--forest);
}

.clay {
  position: absolute;
  z-index: 2;
  right: 7%;
  top: 62%;
  width: 78px;
  height: 78px;
  border-radius: 10px;
  background: var(--clay);
  transform: rotate(11deg);
}

.scribble {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: 22%;
  width: 220px;
  height: 70px;
  opacity: 0.55;
}

.giant {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 8%;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(128px, 16vw, 208px);
  font-weight: 500;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "opsz" 144;
  line-height: 0.72;
  letter-spacing: -0.07em;
  color: var(--forest);
  pointer-events: none;
}

.phone {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 72%;
  width: 286px;
  transform: translateX(-18%) rotate(-3.2deg);
}

.bezel {
  padding: 11px;
  border-radius: 42px;
  background: #183f34;
  box-shadow:
    0 40px 80px rgba(12, 59, 46, 0.16),
    0 8px 18px rgba(12, 59, 46, 0.06);
}

.screen {
  position: relative;
  overflow: hidden;
  height: 572px;
  padding: 6px 12px 10px;
  border-radius: 32px;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
}

.phone-grain {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 6px 8px;
}

.nub {
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #183f34;
}

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.home-brand {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.gear {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.home-hero {
  margin: 10px 0 0;
  max-width: 11rem;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.home-prompt {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 0;
  padding: 8px 6px 8px;
  border: 1px solid #e4dccf;
  border-radius: 16px;
  background: var(--surface);
}

.mini-visual {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.mini-visual::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12%;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}

.mini-mark {
  width: 100%;
  height: 100%;
}

.mini span {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15px;
  text-align: center;
}

.home-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.home-call svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.home-call strong {
  color: var(--ink);
  font-weight: 600;
}

.tools,
.promise {
  position: relative;
  z-index: 6;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 32px 96px;
  background: var(--ivory);
}

.section-title {
  margin: 0 0 44px;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool {
  min-height: 260px;
  padding: 26px 26px 28px;
  border: 1px solid color-mix(in srgb, var(--divider) 48%, var(--ivory));
  border-radius: 28px;
  background: var(--surface);
}

.tool-mark {
  width: 100%;
  max-width: 160px;
  height: 86px;
  margin-bottom: 20px;
}

.tool h3,
.promise h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.tool p,
.promise p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.num {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--clay);
}

.shelf {
  position: relative;
  padding: 72px 28px 88px;
  overflow: hidden;
  scroll-margin-top: 12px;
}

.shelf-bg {
  position: absolute;
  inset: 0;
  background: var(--forest);
}

.shelf-bg::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.22;
}

.shelf-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.file {
  display: grid;
  gap: 22px;
  padding: 28px 26px 26px;
  border-radius: 28px;
  background: var(--ivory);
}

.file-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 46%, #6d9773 0 28%, #0c3b2e 29% 100%);
}

.file-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.file-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.file-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 28px 64px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.foot-meta {
  margin-top: 18px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 24px;
    overflow: hidden;
  }

  .stage {
    height: 620px;
    margin-right: 0;
    overflow: hidden;
  }

  .phone {
    left: 66%;
    top: 24px;
    transform: translateX(-28%) rotate(-3deg);
  }

  .giant {
    left: 0;
    bottom: 8%;
    top: auto;
    font-size: 132px;
    z-index: 4;
  }

  .tool-grid,
  .promise-grid,
  .shelf-inner {
    grid-template-columns: 1fr;
  }

  .promise-grid {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 16px 18px 0;
  }

  .hero,
  .tools,
  .promise,
  .shelf,
  .foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .poster {
    font-size: 48px;
  }

  .lede {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
  }

  .stage {
    height: 520px;
    margin: 8px -18px 0;
  }

  .phone {
    width: 214px;
    top: 16px;
    left: 56%;
  }

  .screen {
    height: 430px;
    padding: 6px 10px 10px;
  }

  .home-hero {
    font-size: 22px;
  }

  .slab {
    width: 180px;
    height: 300px;
    right: 8%;
    top: 48px;
  }

  .orb {
    width: 108px;
    height: 108px;
  }

  .clay {
    width: 52px;
    height: 52px;
    top: 58%;
  }

  .giant {
    font-size: 86px;
    left: 4%;
    bottom: 6%;
  }

  .scribble {
    width: 140px;
    bottom: 18%;
    top: auto;
  }

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

  .tool {
    min-height: 0;
    padding: 16px;
  }

  .tool-mark {
    width: 88px;
    height: 52px;
    margin-bottom: 16px;
  }

  .file-actions {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}

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

  .phone {
    transform: translateX(-18%);
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .phone {
    transform: translateX(-28%);
  }
}
