:root {
  color-scheme: light;
  --ink: #182d49;
  --muted: #51637a;
  --blue: #2358d6;
  --ice: #f1f5fb;
  --line: #d6dfec;
  --teal: #147d79;
  --lavender: #dddafa;
  --white: #fff;
  --display: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.65 var(--body);
}
a {
  color: var(--blue);
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.12;
}
h2 {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
figure {
  margin: 0;
}
.container {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 10;
  background: var(--white);
  padding: 12px 18px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font: 700 1.6rem/1 var(--display);
  letter-spacing: -0.05em;
}
.brand-period {
  color: var(--blue);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  margin-right: 10px;
}
.brand-mark span {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--white);
  margin-left: 3px;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 10px;
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--blue);
}
.site-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.header-login {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.header-login span {
  margin-left: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-block: 76px 84px;
}
.eyebrow {
  color: var(--blue);
  font: 600 0.75rem/1.5 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(3.7rem, 6.4vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.99;
  margin: 26px 0;
}
.hero h1 span {
  color: var(--blue);
}
.hero-description {
  color: var(--muted);
  max-width: 470px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  border-radius: 7px;
  padding: 14px 22px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.button:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.button span {
  font-size: 1.25rem;
  line-height: 1;
}
.text-link {
  font-size: 0.9rem;
  font-weight: 600;
}
.text-link span {
  margin-left: 6px;
}
.caption {
  font-size: 0.77rem;
  color: var(--muted);
}
.hero-copy > .caption {
  margin-top: 18px;
}
.editing-board {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 14px 18px 0 var(--ice);
  transform: rotate(1.5deg);
}
.board-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
}
.project-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.board-tag {
  margin-left: auto;
  color: var(--muted);
  font: 0.64rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.preview-frame {
  position: relative;
  height: 242px;
  background: var(--blue);
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.preview-frame::before,
.preview-frame::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
}
.preview-frame::before {
  left: -155px;
  bottom: -170px;
}
.preview-frame::after {
  right: -110px;
  top: -150px;
}
.frame-label {
  font: 500 1.65rem var(--display);
  letter-spacing: -0.035em;
}
.play-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ffffff66;
  margin-top: 20px;
}
.play-mark::after {
  content: "";
  display: block;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--white);
  margin: 15px 0 0 19px;
}
.frame-caption {
  position: absolute;
  bottom: 20px;
  font: 0.6rem var(--mono);
  letter-spacing: 0.13em;
}
.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #ffffff80;
  border-style: solid;
}
.corner-top {
  top: 18px;
  left: 18px;
  border-width: 1px 0 0 1px;
}
.corner-bottom {
  bottom: 18px;
  right: 18px;
  border-width: 0 1px 1px 0;
}
.timeline {
  padding: 20px 0;
}
.timeline-ruler {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 0.6rem var(--mono);
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px 53px;
  margin-bottom: 11px;
}
.track {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.track-label {
  flex: 0 0 48px;
  color: var(--muted);
  font: 0.62rem var(--mono);
}
.clip {
  min-width: 0;
  flex: 1;
  height: 33px;
  padding: 7px 11px;
  border-radius: 4px;
  font-size: 0.67rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.script-clip {
  color: var(--blue);
  background: #dce7ff;
  border-left: 3px solid var(--blue);
}
.visual-clip {
  background: var(--lavender);
  color: #514593;
  border-left: 3px solid #8072be;
}
.second-clip {
  flex: 0.75;
}
.audio-clip {
  background: #d4eeea;
  color: #126561;
  border-left: 3px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.waveform {
  height: 14px;
  width: 58px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--teal) 0 2px,
    transparent 2px 5px
  );
  clip-path: polygon(
    0 40%,
    10% 20%,
    20% 35%,
    30% 0,
    40% 20%,
    50% 5%,
    60% 35%,
    70% 15%,
    80% 30%,
    90% 0,
    100% 40%,
    100% 60%,
    90% 100%,
    80% 70%,
    70% 85%,
    60% 65%,
    50% 95%,
    40% 80%,
    30% 100%,
    20% 65%,
    10% 80%,
    0 60%
  );
}
.upload-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 12px;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.65;
}
.upload-strip strong {
  color: var(--ink);
  font-size: 0.78rem;
}
.upload-symbol {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #d4eeea;
  color: #126561;
  border-radius: 50%;
  font-size: 1.2rem;
}
.workflow {
  border-top: 1px solid var(--line);
  padding-block: 58px 70px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 40px;
}
.step {
  display: inline-block;
  color: var(--muted);
  font: 0.7rem var(--mono);
  padding-bottom: 20px;
}
.workflow-grid h3 {
  margin-bottom: 13px;
}
.workflow-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}
.connection {
  padding: 48px;
  background: var(--ice);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.connection h2 {
  margin-block: 16px 20px;
}
.connection p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 430px;
  margin-bottom: 22px;
}
.connection-list {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
}
.connection-list li {
  padding: 20px 0 20px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.connection-list li:last-child {
  border-bottom: 0;
}
.connection-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--teal);
  font-weight: 700;
}
.connection-list strong {
  display: block;
  font-size: 0.96rem;
}
.connection-list span {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 4px;
}
.closing {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-block: 70px;
}
.closing h2 {
  font-size: 2.2rem;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-block: 34px 42px;
}
.footer-brand {
  font-size: 1.25rem;
}
.site-footer p {
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.site-footer small {
  color: var(--muted);
  font-size: 0.7rem;
}
.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 12px 36px;
  padding-top: 4px;
}
.site-footer nav a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.document {
  padding-block: 64px 80px;
}
.document-heading {
  max-width: 820px;
  margin-bottom: 52px;
}
.document-heading h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  letter-spacing: -0.055em;
  margin-block: 20px;
  font-weight: 600;
}
.document-heading > p:not(.eyebrow, .caption) {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 690px;
}
.document-heading .caption {
  margin-top: 20px;
}
.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 740px);
  gap: 72px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
.document-index {
  align-self: start;
  position: sticky;
  top: 28px;
}
.document-index p {
  margin-bottom: 16px;
}
.document-index a {
  display: block;
  padding: 7px 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
}
.document-index a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.document-body section + section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.document-body h2 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}
.document-body p,
.document-body li {
  font-size: 0.96rem;
  color: var(--muted);
}
.document-body p + p {
  margin-top: 14px;
}
.document-body strong {
  color: var(--ink);
  font-weight: 600;
}
.document-body ul,
.document-body ol {
  padding-left: 22px;
  margin-block: 0 16px;
}
.document-body li + li {
  margin-top: 10px;
}
.document-body a {
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 56px);
  }
  .hero {
    gap: 36px;
    padding-block: 58px;
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .frame-label {
    font-size: 1.35rem;
  }
  .connection {
    gap: 36px;
    padding: 36px;
  }
  .document-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 16px;
  }
  .brand {
    font-size: 1.4rem;
  }
  .header-login {
    margin-left: auto;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 12px;
  }
  .site-nav a {
    font-size: 0.83rem;
    padding-block: 4px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 42px 64px;
  }
  .hero h1 {
    font-size: clamp(3.7rem, 12vw, 5.5rem);
  }
  .hero-description {
    max-width: 550px;
  }
  .editing-board {
    width: calc(100% - 12px);
    max-width: 490px;
    justify-self: center;
    transform: none;
    box-shadow: 8px 10px 0 var(--ice);
  }
  .preview-frame {
    height: 225px;
  }
  .frame-label {
    font-size: 1.7rem;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .workflow-grid article + article {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }
  .step {
    padding-bottom: 12px;
  }
  .workflow {
    padding-block: 42px;
  }
  .connection {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px;
  }
  .closing {
    align-items: start;
    flex-direction: column;
    padding-block: 48px;
  }
  .site-footer {
    flex-direction: column;
    gap: 24px;
  }
  .site-footer nav {
    gap: 16px 22px;
  }
  .document {
    padding-block: 40px 56px;
  }
  .document-heading {
    margin-bottom: 32px;
  }
  .document-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }
  .document-index {
    position: static;
    background: var(--ice);
    padding: 20px;
    border-radius: 8px;
  }
}
@media (max-width: 400px) {
  .container {
    width: calc(100% - 36px);
  }
  .actions {
    gap: 20px;
  }
  .editing-board {
    padding: 13px;
  }
  .frame-label {
    font-size: 1.45rem;
  }
  .board-tag {
    font-size: 0.56rem;
  }
  .connection {
    padding: 22px;
  }
  .upload-strip {
    gap: 8px;
    padding: 12px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
