@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  --paper: #f5f4ed;
  --ink: #111914;
  --muted: #687065;
  --body: #4d564a;
  --lime: #c4f36b;
  --line: #d8ddd2;
  --sage: #e9ece2;
  --font: 'DM Sans', Arial, sans-serif;
  --display: Manrope, 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #507620; outline-offset: 5px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
em { font-weight: 400; font-family: Georgia, serif; letter-spacing: -.045em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 10; background: var(--lime); padding: 12px; }
.skip:focus { top: 10px; }

/* Navigation */
.nav { height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand b { font-weight: 450; }
.brand-icon { display: grid; place-items: center; background: var(--ink); height: 36px; width: 36px; border-radius: 8px; }
.brand-icon img { width: 100%; height: 100%; border-radius: inherit; }
.nav nav { display: flex; gap: 32px; font-size: 14px; font-weight: 550; }
.nav nav a:hover { color: #547629; }

/* Buttons and links */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 17px 24px; border: 1px solid transparent; border-radius: 5px; font-size: 15px; font-weight: 600; min-height: 54px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 19px; line-height: 1; }
.button.dark { background: var(--ink); color: var(--paper); }
.button.dark:hover { background: #2a362c; }
.button.lime { background: var(--lime); color: var(--ink); }
.button.lime:hover { background: #d3f98c; }
.button.small { padding: 11px 18px; min-height: 44px; font-size: 14px; gap: 23px; }
.text-link { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 1px solid #99a08f; }
.text-link:hover { color: #507620; }

.eyebrow { font-size: 12px; letter-spacing: 1.8px; font-weight: 650; margin: 0 0 24px; line-height: 1.5; }
.cross { font-size: 22px; vertical-align: -2px; margin-right: 8px; font-weight: 400; }
.tag { display: inline-block; margin-left: 10px; background: #d5e6b9; border: 1px solid #b7cc95; padding: 3px 7px; font-size: 10px; letter-spacing: 1px; border-radius: 3px; vertical-align: 1px; }
h2 { text-wrap: balance; font-weight: 500; letter-spacing: -2px; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.14; margin-bottom: 20px; }

/* Hero: the headline sits in the sky of the illustration */
.hero { display: grid; }
.hero > * { grid-area: 1 / 1; }
.hero-copy { position: relative; z-index: 2; align-self: start; padding-top: clamp(4px, 1.4vw, 26px); }
h1 { font-size: clamp(54px, 5.4vw, 96px); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; margin-bottom: 26px; }
h1 em { font-size: 1.06em; }
.lede { font-size: 18px; line-height: 1.65; color: #4a5347; max-width: 500px; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin: 30px 0 22px; }
.micro { display: inline-block; font-size: 10px; letter-spacing: 1.1px; color: #4f584c; margin: 0 0 0 -10px; padding: 5px 10px; border-radius: 4px; background: rgba(245, 244, 237, .82); backdrop-filter: blur(3px); }
.micro span { padding: 0 10px; color: #aab09f; }
.hero-art { position: relative; margin-top: clamp(150px, 13vw, 250px); }
.hero-art img { width: 100%; height: auto; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; pointer-events: none; }
.hero-art::before { inset: 0 0 auto; height: 30%; background: linear-gradient(var(--paper), rgba(245, 244, 237, 0)); }
.hero-art::after { inset: 0; background: radial-gradient(ellipse 48% 44% at 21% 8%, rgba(245, 242, 234, .9), rgba(245, 242, 234, .55) 50%, rgba(245, 242, 234, 0) 100%); }
.hero-art figcaption { display: none; }

.projects { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.projects > span, .sheets > span { font-size: 10px; letter-spacing: 1.2px; color: var(--muted); white-space: nowrap; }
.projects ul { display: flex; flex: 1; justify-content: space-around; gap: 16px; }
.projects li { font-size: 15px; font-weight: 500; }
.projects li + li::before { content: '+'; color: #989e91; margin-right: clamp(16px, 4vw, 70px); }

/* Founder note */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 110px; }
.story h2 { font-size: clamp(32px, 3.1vw, 48px); max-width: 560px; }
.story-body p { font-size: 18px; line-height: 1.75; color: var(--body); max-width: 560px; }
.story-body .pull { font-family: var(--display); font-size: 23px; line-height: 1.45; font-weight: 600; letter-spacing: -.4px; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--lime); margin-block: 34px; }
.story-body .signature { display: flex; flex-direction: column; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 650; color: var(--ink); }
.signature span { font-size: 14px; font-weight: 400; color: var(--muted); }

/* Product */
.workspace { background: var(--sage); padding: 90px 0 70px; }
.section-intro { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 38px; }
.section-intro h2 { margin: 0; }
.section-intro > p { max-width: 380px; font-size: 16px; color: #5c6457; margin: 0 0 6px; }
.product-frame { background: #141c17; border: 1px solid #364237; border-radius: 9px; box-shadow: 0 22px 60px #283d1815; overflow: hidden; }
.product-top, .product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 23px; color: #b9c2b3; font-size: 10px; letter-spacing: 1.2px; }
.tiny-brand { color: var(--lime); font-size: 12px; letter-spacing: .5px; font-weight: 650; }
.product-content { margin: 0 14px; border: 1px solid #39423b; background: #0c0f14; overflow: hidden; }
.product-content img { width: 100%; height: auto; }
.product-bottom { padding: 13px 23px; font-size: 11px; letter-spacing: .2px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 50px; }
.feature-row article { border-top: 1px solid #c8cec0; padding-top: 19px; }
.feature-no { font-size: 12px; color: #70785f; }
.feature-row h3 { font-weight: 600; font-size: 21px; letter-spacing: -.6px; margin: 15px 0 11px; }
.feature-row p { font-size: 15.5px; color: #5c6457; max-width: 370px; margin: 0; }
.sheets { display: flex; align-items: center; gap: 28px; margin-top: 54px; padding-top: 24px; border-top: 1px solid #c8cec0; }
.sheets ul { display: flex; flex-wrap: wrap; gap: 10px; }
.sheets li { font-size: 14px; font-weight: 500; padding: 6px 13px; border: 1px solid #c3cab9; border-radius: 99px; background: #f1f3eb; }

/* Free + getting started */
.free { background: var(--ink); color: var(--paper); padding-block: 104px; }
.free-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.free .eyebrow { color: var(--lime); }
.free h2 { font-size: clamp(42px, 4.6vw, 72px); letter-spacing: -.05em; line-height: 1.03; margin-bottom: 26px; }
.free-lede { font-size: 19px; line-height: 1.6; color: #ccd5c6; max-width: 440px; margin-bottom: 36px; }
.start-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid #334030; }
.start-steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 12px; padding: 27px 0; border-bottom: 1px solid #334030; }
.start-steps li > span { grid-row: span 2; font-size: 13px; color: var(--lime); padding-top: 6px; }
.start-steps h3 { font-size: 23px; font-weight: 550; letter-spacing: -.6px; margin: 0 0 6px; }
.start-steps p { margin: 0; color: #a9b5a3; font-size: 16px; }

/* Engineering review, coming later */
.pro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; padding-block: 100px; align-items: start; }
.pro h2 { margin: 0; }
.pro p:not(.eyebrow) { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 600px; }
.pro p.muted { font-size: 15px; color: var(--muted); margin: 0; }

/* Support the project */
.support { background: var(--sage); padding-block: 104px; }
.support-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.support-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--body); max-width: 520px; }
.support-copy .button { margin-top: 12px; }
.support-copy p.fine { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: var(--ink); box-shadow: 0 22px 60px #283d1826; }
.video-facade { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-facade:hover img { transform: scale(1.02); }
.video-facade:focus-visible { outline-offset: -6px; }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.play::after { content: ''; position: absolute; left: 34px; top: 27px; border-left: 22px solid var(--lime); border-block: 15px solid transparent; }
.video-facade:hover .play { transform: scale(1.06); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.video figcaption span:first-child { color: var(--ink); font-weight: 550; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: 90px; padding-block: 104px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 22px 35px 22px 0; cursor: pointer; position: relative; list-style: none; font-weight: 550; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 3px; top: 17px; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); font-size: 15.5px; padding-right: 30px; margin-bottom: 24px; }

/* Closing and footer */
.closing { background: var(--ink); color: var(--paper); padding: 84px 0 70px; }
.closing h2 { font-size: clamp(54px, 6.5vw, 100px); line-height: 1.03; letter-spacing: -.05em; margin-bottom: 34px; }
.closing .eyebrow { color: #a8b5a1; }
.closing .wrap > p:last-child { font-size: 14px; color: #9ba893; margin: 24px 0 0; }
footer { min-height: 150px; display: flex; align-items: center; gap: 30px; font-size: 12px; color: var(--muted); }
footer > .brand { color: var(--ink); font-size: 19px; }
footer > p { margin: 0; }
footer > div { display: flex; gap: 22px; margin-left: auto; }
footer a:hover, footer button:hover { color: var(--ink); }
footer button { font: inherit; border: 0; padding: 0; background: transparent; color: inherit; }

/* Dialog */
dialog { border: 1px solid #bbc8ad; border-radius: 10px; background: var(--paper); color: var(--ink); padding: 42px; max-width: 550px; width: calc(100% - 32px); }
dialog::backdrop { background: #0b170cb3; backdrop-filter: blur(4px); }
dialog h2 { font-size: 32px; letter-spacing: -1px; }
dialog p { color: var(--muted); font-size: 16px; }
dialog .eyebrow { font-size: 11px; color: #6c824e; }
.dialog-close { position: absolute; top: 10px; right: 15px; font-size: 28px; border: 0; background: transparent; color: var(--ink); width: 40px; height: 40px; }
.dialog-done { margin-top: 12px; background: transparent; color: var(--ink); border-color: #b9c2ae; }
.dialog-done:hover { background: #e9ece2; }
.download-link { display: inline-flex; margin: 4px 12px 20px 0; }
.download-meta { font-size: 13px !important; overflow-wrap: anywhere; }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .nav nav { gap: 20px; }
  .story, .free-inner, .pro { gap: 60px; }
  .support-inner { gap: 50px; }
  .feature-row { gap: 30px; }
  footer { flex-wrap: wrap; padding-block: 35px; gap: 18px; }
  footer > span { width: 100%; }
}

/* Below this width the headline no longer fits the sky, so the art moves under the copy */
@media (max-width: 1080px) {
  .hero { display: block; }
  .hero-copy { padding-bottom: 12px; }
  .hero-art { margin-top: 0; }
  .hero-art::after { display: none; }
  .hero-art::before { height: 34%; }
}

@media (max-width: 850px) {
  .nav nav { display: none; }
  .projects { flex-direction: column; gap: 14px; }
  .projects ul { flex-wrap: wrap; justify-content: center; }
  .story, .free-inner, .pro, .support-inner, .faq { grid-template-columns: 1fr; gap: 36px; }
  .story, .pro, .faq { padding-block: 72px; }
  .free, .support { padding-block: 72px; }
  .section-intro { align-items: flex-start; gap: 30px; }
  .section-intro > p { max-width: 280px; font-size: 15px; }
  .sheets { flex-direction: column; align-items: flex-start; gap: 16px; }
  .product-top { font-size: 9px; }
  .product-top > span:last-child { display: none; }
  footer > p { display: none; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .nav { height: 80px; gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-icon { width: 30px; height: 30px; }
  .nav .button { font-size: 13px; gap: 10px; padding: 10px 14px; }
  .nav .button span { display: none; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 18px; }
  h1 { font-size: clamp(40px, 11.4vw, 54px); letter-spacing: -.05em; margin-bottom: 20px; }
  .lede { font-size: 17px; }
  .hero-actions { flex-wrap: wrap; gap: 18px; margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .micro { font-size: 9px; line-height: 2; margin-left: 0; padding: 0; background: none; }
  .micro span { padding: 0 6px; }
  .hero-art img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 33% 100%; }
  .hero-art::before { height: 26%; }
  .hero-art figcaption { display: block; position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: #2c342b; background: rgba(245, 244, 237, .8); padding: 2px 7px; border-radius: 3px; }
  .projects li { font-size: 14px; }
  .projects li + li::before { margin-right: 12px; }
  .projects ul { gap: 6px 12px; }
  h2 { font-size: 34px; letter-spacing: -1.4px; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .story-body p { font-size: 17px; }
  .story-body .pull { font-size: 20px; }
  .workspace { padding-block: 60px 50px; }
  .section-intro { display: block; margin-bottom: 28px; }
  .section-intro > p { max-width: none; margin-top: 18px; font-size: 16px; }
  .product-frame { margin-inline: -10px; border-radius: 6px; }
  .product-top { padding: 12px 10px; font-size: 8px; gap: 10px; }
  .tiny-brand { font-size: 10px; }
  .product-content { margin: 0 6px; }
  .product-bottom { padding: 10px; font-size: 9px; }
  .product-bottom > span:last-child { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .feature-row p { max-width: none; font-size: 16px; }
  .free h2 { font-size: 44px; }
  .free-lede { font-size: 17px; }
  .free .button, .support-copy .button, .closing .button { width: 100%; }
  .start-steps li { grid-template-columns: 44px 1fr; }
  .start-steps h3 { font-size: 20px; }
  .pro p:not(.eyebrow) { font-size: 17px; }
  .play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .play::after { left: 26px; top: 20px; border-left-width: 17px; border-block-width: 12px; }
  .video figcaption { font-size: 12px; }
  .faq h2 br { display: none; }
  summary { font-size: 16px; }
  details p { font-size: 16px; }
  .closing { padding: 62px 0 52px; }
  .closing h2 { font-size: 50px; letter-spacing: -2.5px; }
  footer { gap: 22px; align-items: flex-start; }
  footer > div { flex-wrap: wrap; width: 100%; margin: 0; gap: 18px; }
  dialog { padding: 35px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
