:root {
  color-scheme: light;
  --paper: #f6f5f2;
  --ink: #272725;
  --muted: #777670;
  --purple: #7667d9;
  --purple-dark: #5a4bbb;
  --line: #e8e6e1;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: min(1320px, calc(100% - 96px));
  height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(39, 39, 37, .1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 21px/1 var(--display);
  letter-spacing: -1.2px;
}

.brand img { display: block; }
.brand-md { color: var(--purple); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 78px;
  color: #62615d;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a, .footer-links a { transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--purple-dark); }
.main-nav a span { color: #999791; }

.header-cta {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d9d6d0;
  border-radius: 6px;
  background: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}

.header-cta:hover { background: white; border-color: #bcb8b0; }

.hero {
  width: min(1320px, calc(100% - 96px));
  min-height: 675px;
  margin: auto;
  padding: 97px 0 92px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 54px;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 21px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #706f69;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #8c7be9;
  box-shadow: 0 0 0 4px rgba(140,123,233,.13);
}

h1, h2, h3, p { margin-top: 0; }

.hero h1 {
  margin: 25px 0 22px;
  font: 600 clamp(56px, 5.3vw, 75px)/1.07 var(--display);
  letter-spacing: -.075em;
}

.hero h1 span, .section-heading h2 span, .closing h2 span { color: var(--purple); }

.hero-description {
  max-width: 445px;
  margin-bottom: 29px;
  color: #73716b;
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.button {
  min-height: 51px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 15px rgba(96,78,193,.17); }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 8px 20px rgba(96,78,193,.24); }
.button-secondary { border: 1px solid #dedbd5; background: rgba(255,255,255,.45); color: #4a4945; }
.button-secondary:hover { background: #fff; }

.hero-note {
  margin-top: 22px;
  color: #8b8983;
  font-size: 11px;
}

.note-check { margin-right: 5px; color: var(--purple); font-weight: 700; }
.note-divider { padding: 0 6px; color: #c4c0b9; }

.hero-art {
  position: relative;
  min-width: 0;
  padding: 20px 0 25px 4px;
}

.art-glow {
  position: absolute;
  width: 78%;
  height: 83%;
  top: 8%;
  right: 3%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,173,237,.43), rgba(208,198,237,.14) 53%, transparent 72%);
  filter: blur(20px);
}

.editor-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #d9d7d4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 27px 70px rgba(43,38,70,.15), 0 3px 9px rgba(43,38,70,.07);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.window-topbar {
  height: 39px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeedeb;
  background: #faf9f8;
}

.window-controls { display: flex; gap: 5px; }
.window-controls i { width: 7px; height: 7px; border-radius: 50%; background: #d3d0cc; }
.window-controls i:first-child { background: #f2a59c; }
.window-controls i:nth-child(2) { background: #edcc7c; }
.window-controls i:nth-child(3) { background: #93c99c; }
.window-title { margin: auto; color: #77746f; font: 9px var(--sans); }
.title-mark { margin-right: 4px; color: #a399dc; }
.unsaved-dot { display: inline-block; width: 4px; height: 4px; margin-left: 4px; border-radius: 50%; background: #d8a76a; vertical-align: middle; }
.window-menu { color: #9c9993; font-size: 16px; line-height: 1; }

.editor-tabs {
  height: 34px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eeedeb;
  background: #f8f7f6;
  color: #8b8882;
  font-size: 9px;
}

.tab-active, .tab { padding: 0 12px; display: flex; align-items: center; gap: 6px; }
.tab-active { border-top: 2px solid #8e7ae4; background: #fff; color: #4e4b46; }
.tab-active b { margin-left: 8px; color: #a09d96; font-size: 11px; font-weight: 400; }
.file-mark { color: #a284d7; font: 10px var(--mono); }
.tab-plus { padding: 8px 11px; font-size: 12px; }

.editor-toolbar {
  height: 35px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 19px;
  border-bottom: 1px solid #eeedeb;
  color: #8b8883;
  font-size: 8px;
}

.toolbar-active { color: #6558bd; font-weight: 700; }
.toolbar-spacer { flex: 1; }
.toolbar-icon { font-size: 14px; }

.editor-body { height: 328px; display: flex; }
.file-rail { width: 36px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; border-right: 1px solid #efeeec; background: #faf9f8; }
.rail-icon { width: 24px; height: 24px; display: grid; place-items: center; color: #98958e; font-size: 12px; }
.rail-selected { border-radius: 4px; background: #eeeafb; color: #7164c5; }
.rail-bottom { margin-top: auto; color: #99968f; font-size: 11px; }

.file-tree { width: 142px; padding: 14px 0; flex: 0 0 142px; display: flex; flex-direction: column; background: #fbfaf9; color: #77746f; font-size: 8px; }
.tree-heading { padding: 0 11px 12px; color: #a09d97; font-size: 7px; font-weight: 700; letter-spacing: .09em; }
.tree-folder, .tree-file { min-height: 25px; padding: 6px 7px 6px 12px; white-space: nowrap; }
.tree-file { padding-left: 25px; }
.tree-current { border-left: 2px solid #8e7ae4; background: #efedf8; color: #504a69; }
.tree-current i { margin-right: 4px; color: #a284d7; font: 8px var(--mono); }
.tree-muted { color: #a6a39d; }

.editor-content { min-width: 0; flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
.editor-pane, .preview-pane { min-width: 0; overflow: hidden; }
.editor-pane { border-right: 1px solid #eeedeb; }
.pane-label { height: 31px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f1f0ee; color: #a09d97; font-size: 7px; letter-spacing: .08em; }
.pane-label > span:last-child { letter-spacing: 0; }
.preview-status { color: #7a9c7f; }
.preview-status i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #86b88e; }

.code-lines { padding: 13px 0 0; color: #5f5c57; font: 8px/1.95 var(--mono); }
.code-lines > div { display: flex; white-space: pre; }
.line-no { width: 31px; padding-right: 9px; flex: 0 0 31px; color: #c1beb8; text-align: right; }
.syntax-h1, .syntax-h2 { color: #6656bb; font-weight: 500; }
.syntax-comment { color: #8c9a89; }
.syntax-bold { color: #bd795c; }
.syntax-list { color: #69665f; }
.cursor { display: inline-block; width: 1px; height: 9px; margin-left: 2px; background: #8272d8; vertical-align: -1px; }

.preview-content { padding: 20px 19px; color: #514f4a; }
.preview-kicker { color: #aaa69f; font: 6px var(--mono); letter-spacing: .13em; }
.preview-content h2 { margin: 13px 0 10px; color: #302f2c; font: 700 20px/1.2 var(--display); letter-spacing: -.06em; }
.preview-quote { margin: 14px 0 16px; padding: 8px 9px; display: flex; gap: 7px; border-radius: 3px; background: #f6f4fb; color: #77736f; font-size: 7px; }
.preview-quote span { width: 2px; align-self: stretch; background: #9b8ddd; }
.preview-content h3 { margin: 14px 0 7px; color: #3c3b38; font: 700 9px var(--display); }
.preview-content p { margin: 0; color: #77746e; font-size: 7px; line-height: 1.8; }
.preview-content strong { color: #5d50ab; }
.preview-content ul { margin: 0; padding-left: 13px; color: #77746e; font-size: 7px; line-height: 1.9; }
.preview-content li::marker { color: #9383df; }
.preview-footer { margin-top: 15px; padding-top: 9px; border-top: 1px solid #eeece8; color: #aaa69f; font-size: 6px; }
.preview-footer span { margin-right: 4px; color: #a796db; }

.window-status { height: 24px; padding: 0 11px; display: flex; justify-content: space-between; align-items: center; background: #f7f6f5; color: #9b9891; font-size: 7px; }
.floating-note { position: absolute; z-index: 2; right: -17px; bottom: 56px; padding: 11px 15px 11px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #ebe8e2; border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: 0 8px 25px rgba(53,47,70,.12); }
.floating-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: #f0edfc; color: #7d6fd0; font-size: 14px; }
.floating-note b, .floating-note small { display: block; }
.floating-note b { color: #504e49; font-size: 9px; }
.floating-note small { margin-top: 3px; color: #99968f; font-size: 8px; }
.art-caption { position: absolute; bottom: -6px; left: 18px; display: flex; align-items: center; gap: 8px; color: #aaa69f; font: 7px var(--mono); letter-spacing: .1em; }
.caption-line { width: 20px; height: 1px; background: #aaa1d8; }

.ticker { min-height: 62px; padding: 0 max(48px, calc((100% - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #827f79; font: 9px var(--mono); letter-spacing: .065em; }
.ticker i { color: #a495df; font-size: 12px; font-style: normal; }

.section-wrap { width: min(1120px, calc(100% - 96px)); margin: auto; }
.features { padding-top: 115px; padding-bottom: 117px; }
.section-heading { margin-bottom: 43px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading h2, .workflow-copy h2, .closing h2 { margin: 20px 0 0; font: 600 clamp(39px, 4.2vw, 55px)/1.12 var(--display); letter-spacing: -.07em; }
.section-heading > p { max-width: 355px; margin-bottom: 8px; color: #797771; font-size: 13px; line-height: 1.85; }

.feature-grid { display: grid; grid-template-columns: 1.14fr 1fr 1fr; gap: 14px; }
.feature-card { min-height: 317px; padding: 23px 23px 19px; overflow: hidden; border: 1px solid #e8e6e1; border-radius: 8px; background: rgba(255,255,255,.55); }
.feature-topline { display: flex; align-items: center; justify-content: space-between; }
.feature-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 7px; font-size: 17px; }
.lavender { background: #efedfb; color: #786bc8; }
.peach { background: #fbf0e9; color: #cc8e69; }
.mint { background: #eaf3ec; color: #6c9878; }
.feature-index { color: #aaa69f; font: 8px var(--mono); letter-spacing: .07em; }
.feature-card h3 { margin: 18px 0 9px; color: #353431; font: 700 17px/1.35 var(--display); letter-spacing: -.04em; }
.feature-card p { margin: 0; color: #7b7973; font-size: 11px; line-height: 1.8; }

.mini-editor { min-height: 72px; margin-top: 18px; padding: 12px; display: flex; flex-direction: column; gap: 7px; border: 1px solid #ece9e6; border-radius: 5px; background: #fff; color: #77746f; font: 8px var(--mono); }
.mini-editor i { color: #7667d9; font-style: normal; }
.mini-editor em { color: #91a28d; font-style: normal; }
.mini-editor-line { width: 59%; height: 4px; border-radius: 2px; background: #f0efed; }
.mini-preview { height: 73px; margin-top: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border: 1px solid #ece9e6; border-radius: 5px; background: #fff; }
.mini-preview-title { width: 54%; height: 8px; margin-bottom: 2px; background: #e4e0f6; }
.mini-preview > span:not(.mini-preview-title):not(.mini-preview-heading) { width: 86%; height: 4px; background: #eeece9; }
.mini-preview > span:nth-child(3) { width: 68% !important; }
.mini-preview-short { width: 46% !important; }
.mini-preview-heading { width: 40%; height: 6px; margin-top: 4px; background: #f5e9e1; }
.mini-files { margin-top: 17px; padding: 8px 0; display: flex; flex-direction: column; border: 1px solid #ece9e6; border-radius: 5px; background: #fff; color: #88857e; font-size: 8px; }
.mini-files span { padding: 5px 10px; }
.mini-files .mini-file-active { background: #f1eff9; color: #6254b5; }

.workflow { position: relative; overflow: hidden; background: #292832; color: #fff; }
.workflow-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 96px)); min-height: 460px; margin: auto; padding: 92px 0; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 100px; }
.workflow-copy { max-width: 400px; }
.eyebrow-light { color: #bab8c4; }
.workflow-copy h2 { margin-top: 21px; color: #fff; }
.workflow-copy h2 span { color: #b8aaf5; }
.workflow-copy > p { margin: 21px 0 23px; color: #bcbbc4; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 10px; color: #d1c9ff; font-size: 11px; font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.workflow-cards { display: flex; flex-direction: column; gap: 10px; }
.workflow-card { min-height: 95px; padding: 16px 17px; display: grid; grid-template-columns: 36px 1fr 16px; align-items: start; gap: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; background: rgba(255,255,255,.055); }
.workflow-card-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: rgba(174,158,246,.13); color: #c3b7ff; font-size: 14px; }
.workflow-card h3 { margin: 1px 0 6px; color: #f5f4f8; font: 600 12px var(--display); }
.workflow-card p { max-width: 350px; margin: 0; color: #aaa9b4; font-size: 10px; line-height: 1.7; }
.card-arrow { color: #777584; font-size: 11px; }
.workflow-decoration { position: absolute; right: -5px; bottom: -150px; color: rgba(255,255,255,.025); font: 800 470px/.8 var(--display); letter-spacing: -.12em; pointer-events: none; }
.workflow-decoration span { color: rgba(176,160,245,.13); }

.closing { padding: 104px 24px 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing-spark { margin-bottom: 18px; color: #9788df; font-size: 25px; }
.closing .eyebrow { justify-content: center; }
.closing h2 { margin-top: 18px; }
.closing > p { margin: 17px 0 25px; color: #7a7872; font-size: 13px; line-height: 1.7; }
.closing .button { min-height: 49px; }
.closing-footnote { margin-top: 16px; color: #99968f; font-size: 10px; }
.closing-footnote span { padding: 0 5px; color: #c7c3bb; }

.site-footer { min-height: 79px; width: min(1320px, calc(100% - 96px)); margin: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.footer-brand { gap: 8px; font-size: 17px; }
.footer-copy { margin-left: -100px; color: #98958e; font-size: 10px; }
.footer-links { display: flex; gap: 23px; color: #716f69; font-size: 10px; font-weight: 600; }
.footer-links span { color: #a19e97; }

@media (min-width: 1500px) {
  .hero { min-height: 720px; }
  .editor-body { height: 355px; }
}

@media (max-width: 1050px) {
  .site-header, .hero, .site-footer { width: calc(100% - 56px); }
  .hero { min-height: 600px; grid-template-columns: .82fr 1.18fr; gap: 25px; padding: 70px 0; }
  .hero h1 { font-size: clamp(52px, 6vw, 67px); }
  .file-tree { width: 114px; flex-basis: 114px; }
  .editor-body { height: 300px; }
  .preview-content { padding: 18px 12px; }
  .workflow-inner, .section-wrap { width: calc(100% - 80px); }
  .workflow-inner { gap: 55px; }
  .feature-card { padding: 19px; }
  .footer-copy { margin-left: -40px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { width: calc(100% - 36px); height: 70px; }
  .brand { gap: 8px; font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .main-nav { display: none; }
  .header-cta { min-height: 38px; padding: 0 12px; gap: 8px; font-size: 11px; }
  .hero { width: calc(100% - 40px); min-height: 0; padding: 71px 0 72px; grid-template-columns: 1fr; gap: 45px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; }
  .hero h1 { margin: 21px 0 18px; font-size: clamp(53px, 12vw, 76px); }
  .hero-description { max-width: 490px; font-size: 14px; }
  .hero-art { padding: 5px 5px 25px; }
  .editor-window { transform: none; }
  .editor-body { height: 290px; }
  .file-tree { width: 111px; flex-basis: 111px; }
  .floating-note { right: -6px; bottom: 46px; }
  .art-caption { left: 8px; }
  .ticker { min-height: 57px; padding: 0 20px; justify-content: center; gap: 13px; overflow: hidden; white-space: nowrap; font-size: 8px; }
  .ticker span:nth-of-type(n+3), .ticker i:nth-of-type(n+2) { display: none; }
  .section-wrap { width: calc(100% - 40px); }
  .features { padding-top: 79px; padding-bottom: 79px; }
  .section-heading { margin-bottom: 30px; align-items: start; flex-direction: column; gap: 17px; }
  .section-heading h2, .workflow-copy h2, .closing h2 { font-size: clamp(40px, 10vw, 55px); }
  .section-heading > p { max-width: 490px; margin: 0; font-size: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { min-height: 260px; padding: 22px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card p { max-width: 400px; font-size: 12px; }
  .mini-editor, .mini-preview, .mini-files { max-width: 340px; }
  .workflow-inner { width: calc(100% - 40px); min-height: 0; padding: 75px 0; grid-template-columns: 1fr; gap: 38px; }
  .workflow-copy { max-width: 500px; }
  .workflow-decoration { right: -45px; bottom: -64px; font-size: 270px; }
  .closing { padding: 80px 20px 76px; }
  .closing > p { max-width: 360px; }
  .site-footer { width: calc(100% - 40px); min-height: 93px; flex-wrap: wrap; gap: 8px; padding: 17px 0; }
  .footer-brand { flex: 1; }
  .footer-copy { order: 3; width: 100%; margin: 0; font-size: 9px; }
  .footer-links { gap: 15px; }
}

@media (max-width: 470px) {
  .hero { width: calc(100% - 36px); padding-top: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .editor-body { height: 252px; }
  .file-rail { width: 29px; flex-basis: 29px; }
  .file-tree { display: none; }
  .editor-toolbar { gap: 12px; padding: 0 8px; }
  .editor-toolbar > span { font-size: 7px; }
  .pane-label { padding: 0 7px; font-size: 6px; }
  .line-no { width: 23px; flex-basis: 23px; padding-right: 6px; }
  .code-lines { font-size: 7px; }
  .preview-content { padding: 16px 9px; }
  .preview-content h2 { font-size: 16px; }
  .preview-quote { padding: 7px 6px; font-size: 6px; }
  .preview-content h3 { font-size: 8px; }
  .preview-content p, .preview-content ul { font-size: 6px; }
  .window-status { padding: 0 7px; font-size: 6px; }
  .window-status span:last-child { display: none; }
  .floating-note { right: -8px; padding: 8px 10px; }
  .floating-icon { width: 24px; height: 24px; }
  .floating-note b { font-size: 8px; }
  .floating-note small { font-size: 7px; }
  .ticker { gap: 9px; font-size: 7px; }
  .ticker i { font-size: 10px; }
  .closing .button { padding: 0 13px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
