* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--ff-color-surface);
  color: var(--ff-color-text);
  font: 16px/1.55 var(--ff-font-sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: none;
}
button,
a {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--ff-color-focus);
  outline-offset: 5px;
}
::selection {
  background: var(--ff-brand-sage);
  color: #172e24;
}
em {
  font-family: var(--ff-font-serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}
.wrap {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}
.eyebrow {
  font: 12px/1.6 var(--ff-font-mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 20;
  left: 20px;
  top: 12px;
  padding: 12px 20px;
  background: var(--ff-color-accent);
  color: var(--ff-color-on-accent);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.header {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--ff-color-border);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.8px;
  line-height: 1;
}
.wordmark-dot {
  margin-left: -10px;
}
.box-mark {
  width: 27px;
  height: 27px;
}
.header nav {
  margin-left: auto;
  display: flex;
  gap: 40px;
  align-items: center;
}
.header nav a {
  font-size: 14px;
  padding: 12px 0;
}
.header nav a:hover,
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.parent-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ff-color-border);
}
.theme-toggle:hover {
  background: var(--ff-color-hover);
}
.sun {
  display: none;
}
[data-ff-theme="dark"] .sun {
  display: block;
}
[data-ff-theme="dark"] .moon {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 70px;
  padding-top: 82px;
  padding-bottom: 76px;
  align-items: end;
}
.hero .eyebrow {
  margin-bottom: 26px;
  color: var(--ff-color-text-muted);
}
h1 {
  font-size: clamp(58px, 6.2vw, 94px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}
.hero-aside {
  padding-bottom: 7px;
  max-width: 370px;
  justify-self: end;
}
.hero-aside > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ff-color-text-muted);
  margin-bottom: 28px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 12px 19px;
  font-size: 15px;
}
.button span {
  font-size: 20px;
}
.primary {
  background: var(--ff-color-accent);
  color: var(--ff-color-on-accent);
  border: 1px solid var(--ff-color-accent);
}
.primary:hover {
  filter: brightness(1.12);
}
.development {
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 17px;
  color: var(--ff-color-text-muted);
}
.development i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ff-color-text-muted);
}
.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
}
.preview-note {
  font-size: 13px;
  color: var(--ff-color-text-muted);
}
.preview-shell {
  background: var(--ff-color-surface-raised);
  border: 1px solid var(--ff-color-border);
  box-shadow: 0 25px 65px -40px var(--ff-color-shadow);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 17px;
  gap: 20px;
  border-bottom: 1px solid var(--ff-color-border);
}
.preview-tabs {
  display: flex;
  align-self: stretch;
  gap: 5px;
}
.preview-tabs button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  padding: 0 19px;
  border-bottom: 2px solid transparent;
}
.preview-tabs button[aria-selected="true"] {
  background: var(--ff-color-selected);
  border-bottom-color: var(--ff-color-accent);
}
.preview-tabs button:hover {
  background: var(--ff-color-hover);
}
.expand-preview {
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 8px;
}
.expand-preview:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.preview-panel {
  background: var(--ff-color-chrome);
}
.workspace-image {
  width: 100%;
  aspect-ratio: 1440 / 900;
}
.workspace-caption {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 14px;
}
.workspace-caption > span {
  font: 11px/1.8 var(--ff-font-mono);
  color: var(--ff-color-text-muted);
  flex-shrink: 0;
}
.noscript-note {
  margin-top: 20px;
}
.noscript-note a {
  text-decoration: underline;
}
.workflow {
  padding-block: 105px 95px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 50px;
}
.section-heading .eyebrow {
  padding-top: 12px;
}
h2 {
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}
.material-image {
  background: #e8e5db;
  aspect-ratio: 1.4;
  overflow: hidden;
}
.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.workflow-grid h3 {
  font-size: 24px;
  letter-spacing: -0.035em;
  margin-top: 26px;
  margin-bottom: 13px;
}
.workflow-grid p {
  max-width: 360px;
  color: var(--ff-color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}
.shared-section {
  background: var(--ff-color-surface-inset);
  border-block: 1px solid var(--ff-color-border);
}
.shared {
  padding-block: 74px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
  align-items: center;
}
.shared .eyebrow,
.contact .eyebrow {
  margin-bottom: 26px;
  color: var(--ff-color-text-muted);
}
.shared-copy {
  max-width: 410px;
}
.shared-copy > p:first-child {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.shared-copy > p + p {
  color: var(--ff-color-text-muted);
  line-height: 1.75;
}
.text-link {
  display: inline-flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  border-bottom: 1px solid var(--ff-color-border-control);
  margin-top: 22px;
  font-size: 15px;
}
.text-link:hover {
  border-bottom-color: var(--ff-color-text);
}
.contact {
  padding-block: 100px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 90px;
  align-items: center;
}
.contact-copy {
  max-width: 370px;
}
.contact-copy p {
  color: var(--ff-color-text-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.footer {
  border-top: 1px solid var(--ff-color-border);
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.form-from {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1.8px;
}
.footer > span {
  font-size: 12px;
  color: var(--ff-color-text-muted);
  margin-left: auto;
}
.footer > a:last-child {
  font-size: 13px;
}
.preview-dialog {
  width: min(1580px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--ff-color-border);
  background: var(--ff-color-surface);
  color: var(--ff-color-text);
}
.preview-dialog::backdrop {
  background: #101110d9;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 22px;
}
.dialog-heading h2 {
  font: 16px/1.5 var(--ff-font-sans);
  letter-spacing: 0;
}
.close-preview {
  min-height: 44px;
  padding-inline: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.close-preview span {
  font-size: 24px;
}
.close-preview:hover {
  background: var(--ff-color-hover);
}
.dialog-image {
  overflow: auto;
  max-height: calc(100dvh - 195px);
  background: var(--ff-color-chrome);
}
.dialog-image img {
  width: 100%;
}
.preview-dialog > p {
  font-size: 12px;
  color: var(--ff-color-text-muted);
  padding: 14px 22px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 105px 95px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header {
    min-height: 90px;
  }
  .header nav {
    gap: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 58px;
  }
  h1 {
    font-size: clamp(60px, 8.5vw, 85px);
  }
  .hero-aside {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    max-width: none;
    gap: 0 45px;
    justify-self: stretch;
    align-items: start;
  }
  .hero-aside > p {
    grid-row: span 2;
    margin: 0;
    max-width: 410px;
  }
  .hero-aside .button {
    justify-self: stretch;
  }
  .hero-aside .development {
    margin-top: 12px;
  }
  .workspace-caption {
    display: block;
  }
  .workspace-caption > span {
    display: block;
    margin-top: 6px;
  }
  .workflow-grid {
    gap: 24px;
  }
  .workflow-grid h3 {
    font-size: 21px;
  }
  .shared,
  .contact {
    gap: 50px;
    grid-template-columns: 1.2fr 1fr;
  }
  .workflow,
  .contact {
    padding-block: 75px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 83px;
    gap: 15px;
  }
  .wordmark {
    font-size: 27px;
  }
  .box-mark {
    width: 23px;
    height: 23px;
  }
  .header nav > a:first-child {
    display: none;
  }
  .header nav .parent-link {
    font-size: 12px;
    gap: 5px;
  }
  .theme-toggle {
    border: 0;
    width: 38px;
    flex-shrink: 0;
  }
  .hero {
    padding-block: 46px 48px;
    gap: 25px;
  }
  h1 {
    font-size: clamp(46px, 10.4vw, 64px);
  }
  .eyebrow {
    font-size: 11px;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
  }
  .hero-aside {
    display: block;
  }
  .hero-aside > p {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .hero-aside .development {
    margin-top: 16px;
  }
  .workspace-top {
    padding-bottom: 12px;
  }
  .preview-note {
    font-size: 12px;
  }
  .preview-toolbar {
    min-height: 54px;
    padding-inline: 6px;
    gap: 5px;
  }
  .preview-tabs {
    gap: 0;
  }
  .preview-tabs button {
    padding-inline: 10px;
    font-size: 13px;
    gap: 6px;
  }
  .preview-tabs svg {
    width: 16px;
    height: 16px;
  }
  .expand-preview {
    font-size: 12px;
    gap: 6px;
  }
  .workspace-caption {
    font-size: 14px;
    padding-top: 15px;
  }
  .workspace-caption > span {
    font-size: 11px;
  }
  .workflow {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading .eyebrow {
    margin-bottom: 24px;
    padding: 0;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .workflow-grid h3 {
    margin-top: 20px;
    font-size: 24px;
  }
  .workflow-grid p {
    max-width: none;
  }
  .material-image {
    aspect-ratio: 1.4;
  }
  h2 {
    font-size: clamp(38px, 9vw, 50px);
  }
  .shared,
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 54px;
  }
  .shared-copy,
  .contact-copy {
    max-width: none;
  }
  .contact-copy p {
    font-size: 17px;
  }
  .footer {
    flex-wrap: wrap;
    min-height: 140px;
    padding-block: 25px;
    gap: 20px;
    justify-content: space-between;
  }
  .footer .form-from {
    width: 100%;
    font-size: 27px;
  }
  .footer > span {
    margin-left: 0;
  }
  .preview-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .dialog-heading {
    padding: 8px 12px;
    gap: 12px;
  }
  .dialog-heading h2 {
    font-size: 14px;
  }
  .dialog-image img {
    min-width: 1050px;
    max-width: none;
  }
  .preview-dialog > p {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
