html.home-document,
html.home-document body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html.boot-editor,
html.boot-editor body {
  height: 100%;
  overflow: hidden;
}

html.boot-editor #home-view {
  display: none !important;
}

html.boot-editor #editor-view,
html.boot-editor #editor-view[hidden] {
  display: block !important;
  height: 100%;
}

body.home-mode {
  background:
    radial-gradient(circle at 92% 4%, rgb(32 180 134 / 10%), transparent 28rem),
    radial-gradient(circle at 4% 0%, rgb(11 99 246 / 10%), transparent 30rem),
    #f7faff;
}

#editor-view {
  height: 100%;
}

.home-shell {
  min-height: 100vh;
  overflow: hidden;
  color: #10233f;
}

.home-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.home-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgb(220 231 245 / 80%);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #10233f;
  text-decoration: none;
}

.home-brand__mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border: 1px solid #b9d5fb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 5px 5px 0 rgb(11 99 246 / 13%);
  transform: rotate(-3deg);
}

.home-brand__mark svg {
  width: 29px;
  height: 29px;
  fill: #eff6ff;
  stroke: #0b63f6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.home-brand strong {
  display: block;
  font-family: "Google Sans", "Kanit", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.home-brand strong span {
  color: #0b63f6;
}

.home-brand small {
  display: block;
  margin-top: 3px;
  color: #8796aa;
  font-size: 11px;
}

.home-nav__actions,
.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: 8px;
  color: #5f7189;
  font-size: 12px;
}

.home-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20a464;
  box-shadow: 0 0 0 4px rgb(32 164 100 / 12%);
}

.home-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid #dce7f5;
  border-radius: 11px;
  color: #0b63f6;
  background: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.home-button:hover {
  border-color: #b9d5fb;
  background: #f8fbff;
  box-shadow: 0 10px 24px rgb(16 35 63 / 9%);
  transform: translateY(-2px);
}

.home-button--primary {
  border-color: #0b63f6;
  color: #ffffff;
  background: #0b63f6;
  box-shadow: 0 10px 24px rgb(11 99 246 / 20%);
}

.home-button--primary:hover {
  border-color: #0849b8;
  color: #ffffff;
  background: #0849b8;
}

.home-button--quiet {
  border-color: transparent;
  background: transparent;
}

.home-button--outline {
  background: rgb(255 255 255 / 62%);
}

.home-button--large {
  min-height: 49px;
  padding-inline: 20px;
}

.home-button--white {
  border-color: #ffffff;
  color: #0b63f6;
  background: #ffffff;
  box-shadow: 0 10px 24px rgb(3 55 142 / 16%);
}

.home-button--white:hover {
  border-color: #dce7f5;
  color: #0849b8;
  background: #f7faff;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: 58px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 84px;
}

.home-hero__copy {
  position: relative;
  z-index: 1;
}

.home-eyebrow {
  margin: 0;
  color: #0b63f6;
  font-family: Inter, "Kanit", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-eyebrow::before {
  display: inline-block;
  width: 25px;
  height: 2px;
  margin: 0 9px 3px 0;
  background: #20b486;
  content: "";
}

.home-hero h1 {
  max-width: 610px;
  margin: 18px 0 20px;
  font-family: "Google Sans", "Kanit", sans-serif;
  font-size: clamp(46px, 5.4vw, 70px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.11;
}

.home-hero h1 span {
  position: relative;
  color: #0b63f6;
}

.home-hero h1 span::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 2%;
  z-index: -1;
  height: 9px;
  border-radius: 99px;
  background: rgb(32 180 134 / 26%);
  content: "";
  transform: rotate(-1deg);
}

.home-hero__lead {
  max-width: 560px;
  margin: 0;
  color: #5f7189;
  font-size: 17px;
  line-height: 1.8;
}

.home-hero__actions {
  flex-wrap: wrap;
  margin-top: 29px;
}

.home-hero__note {
  display: flex;
  max-width: 520px;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #71839a;
  font-size: 12px;
  line-height: 1.6;
}

.home-note-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  color: #168765;
  background: #dff8ef;
  font-weight: 800;
}

.home-visual {
  position: relative;
  display: grid;
  min-height: 445px;
  place-items: center;
}

.home-visual__backdrop {
  position: absolute;
  inset: 25px 1px 14px 20px;
  border: 1px solid #c8dcf7;
  border-radius: 35px;
  background: linear-gradient(145deg, rgb(255 255 255 / 85%), rgb(220 235 255 / 45%));
  transform: rotate(-2.3deg);
}

.home-preview {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  overflow: hidden;
  border: 1px solid #d6e3f3;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: 0 30px 64px rgb(38 76 124 / 18%);
}

.home-preview__topbar {
  display: grid;
  min-height: 55px;
  grid-template-columns: 18px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid #e5edf7;
  color: #5f7189;
  font-size: 10px;
}

.home-preview__back {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #dce7f5;
  border-radius: 6px;
  color: #2f80d0;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
}

.home-preview__brand {
  color: #10233f;
  font-family: "Google Sans", "Kanit", sans-serif;
  font-size: 15px;
  letter-spacing: -.04em;
}

.home-preview__brand span { color: #0b63f6; }

.home-preview__project {
  display: grid;
  min-width: 0;
  gap: 1px;
  padding-left: 10px;
  border-left: 1px solid #e5edf7;
}

.home-preview__project b {
  overflow: hidden;
  color: #10233f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-preview__project small {
  color: #20a464;
  font-size: 8px;
}

.home-preview__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.home-preview__tools span,
.home-preview__tools b {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid #dce7f5;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 700;
}

.home-preview__tools b {
  border-color: #0b63f6;
  color: #ffffff;
  background: #0b63f6;
}

.home-preview__workspace {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) 192px;
}

.home-preview__canvas-panel {
  display: grid;
  min-width: 0;
  grid-template-rows: 31px minmax(0, 1fr) 91px;
}

.home-preview__canvas-toolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 0 9px;
  border-bottom: 1px solid #e5edf7;
  color: #5f7189;
  background: rgb(247 250 255 / 92%);
  font-size: 8px;
}

.home-preview__canvas-toolbar > span:first-child {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.home-preview__canvas-toolbar small {
  color: #7d8ea4;
  font-size: 7px;
}

.home-preview__canvas-toolbar b {
  color: #10233f;
  font-size: 9px;
}

.home-preview__canvas-toolbar em {
  padding-left: 5px;
  border-left: 1px solid #dce7f5;
  color: #7d8ea4;
  font-size: 7px;
  font-style: normal;
}

.home-preview__zoom { white-space: nowrap; }

.home-preview__canvas {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: #f7faff;
  background-image: radial-gradient(circle, rgb(47 128 208 / 18%) 1px, transparent 1.2px);
  background-size: 14px 14px;
}

.home-preview__connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-preview__connection {
  fill: none;
  stroke: #98b1ce;
  stroke-width: 2.25;
}

.home-preview__connections marker path { fill: #98b1ce; }

.home-preview__flow-node {
  position: absolute;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  color: #10233f;
  text-align: center;
}

.home-preview__flow-node--terminal {
  width: 51px;
  height: 23px;
  border: 1.5px solid #10233f;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgb(45 74 112 / 8%);
  font-size: 8px;
  font-weight: 800;
}

.home-preview__flow-node--end {
  border-color: #b9cbe0;
  color: #5f7189;
}

.home-preview__flow-node--start { top: 10px; left: 50%; transform: translateX(-50%); }
.home-preview__flow-node--end { right: auto; bottom: 8px; left: 50%; transform: translateX(-50%); }

.home-preview__flow-node--declare {
  top: 58px;
  left: 50%;
  width: 132px;
  height: 32px;
  padding: 3px 8px;
  border: 1.5px solid #2f80d0;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgb(45 74 112 / 8%);
  transform: translateX(-50%);
}

.home-preview__flow-node small {
  position: relative;
  z-index: 1;
  color: #2f80d0;
  font-size: 6px;
  font-weight: 800;
  line-height: 1.1;
}

.home-preview__flow-node b {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  font-family: Consolas, monospace;
  font-size: 7px;
  line-height: 1.25;
}

.home-preview__flow-node em {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  color: #5f7189;
  font-size: 5.5px;
  font-style: normal;
  line-height: 1.15;
}

.home-preview__flow-node--vector {
  width: 144px;
  height: 48px;
}

.home-preview__flow-node--vector svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-preview__flow-node--vector polygon {
  fill: #fff7ed;
  stroke: #b45309;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.home-preview__flow-node--input {
  top: 108px;
  left: 50%;
  transform: translateX(-50%);
}

.home-preview__flow-node--decision {
  top: 177px;
  left: 50%;
  width: 150px;
  height: 59px;
  transform: translateX(-50%);
}

.home-preview__flow-node--decision polygon {
  fill: #f4ecff;
  stroke: #6d5bd0;
}

.home-preview__flow-node--decision small { color: #6d5bd0; }

.home-preview__flow-node--output {
  top: 265px;
  width: 109px;
  height: 41px;
}

.home-preview__flow-node--output small { color: #b45309; }
.home-preview__flow-node--false { left: 22%; transform: translateX(-50%); }
.home-preview__flow-node--true { left: 78%; transform: translateX(-50%); }

.home-preview__branch-label {
  position: absolute;
  top: 253px;
  z-index: 2;
  padding: 2px 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #ffffff;
  font-size: 7px;
  font-weight: 800;
}

.home-preview__branch-label--false { left: 30%; color: #d34f58; }
.home-preview__branch-label--true { right: 30%; color: #168765; }

.home-preview__dock {
  display: grid;
  min-width: 0;
  grid-template-rows: 25px minmax(0, 1fr);
  border-top: 1px solid #dce7f5;
  background: #ffffff;
}

.home-preview__dock-tab {
  display: flex;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid #253b59;
  color: #dce9f9;
  background: #10233f;
  font-size: 7px;
  font-weight: 700;
}

.home-preview__dock-tab::after {
  width: 34px;
  height: 2px;
  margin-left: 7px;
  background: #0b63f6;
  content: "";
}

.home-preview__dock pre {
  min-width: 0;
  margin: 0;
  padding: 6px 9px;
  overflow: hidden;
  color: #dce9f9;
  background: #10233f;
  font-family: Consolas, monospace;
  font-size: 6.5px;
  line-height: 1.5;
  white-space: nowrap;
}

.home-preview__dock code span { color: #9fc5f5; }
.home-preview__dock code em { color: #8fe1c3; font-style: normal; }
.home-preview__dock code b { color: #f7cc88; font-weight: 500; }

.home-preview__runtime {
  display: grid;
  min-width: 0;
  grid-template-rows: 42% 58%;
  border-left: 1px solid #dce7f5;
  background: #ffffff;
}

.home-preview__runtime-pane {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-preview__runtime-pane + .home-preview__runtime-pane { border-top: 1px solid #b9cbe0; }

.home-preview__runtime-pane header {
  display: grid;
  min-height: 39px;
  gap: 1px;
  padding: 6px 8px;
  border-bottom: 1px solid #e5edf7;
  background: #f8fbff;
}

.home-preview__runtime-pane header small {
  color: #7d8ea4;
  font-family: Inter, sans-serif;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-preview__runtime-pane header b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #10233f;
  font-size: 8px;
}

.home-preview__runtime-pane header i {
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  color: #10233f;
  background: #eff6ff;
  font-size: 6px;
  font-style: normal;
  place-items: center;
}

.home-preview__watch {
  align-self: start;
  margin: 8px;
  overflow: hidden;
  border: 1px solid #c9d5e7;
  border-radius: 6px;
}

.home-preview__watch span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 5px 6px;
  color: #ffffff;
  background: #1769c2;
  font-family: Consolas, monospace;
  font-size: 7px;
}

.home-preview__watch span small { color: #dfeaff; font-size: 5px; }
.home-preview__watch > b { display: block; padding: 7px; font-family: Consolas, monospace; font-size: 9px; }

.home-preview__runtime-pane > p {
  display: grid;
  margin: 0;
  padding: 10px;
  color: #5f7189;
  place-items: center;
  text-align: center;
  font-size: 7px;
  line-height: 1.5;
}

.home-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  color: #10233f;
  background: #ffffff;
  box-shadow: 0 14px 30px rgb(16 35 63 / 13%);
  font-size: 11px;
  font-weight: 700;
}

.home-float span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #168765;
  background: #dff8ef;
  font-family: Inter, sans-serif;
  font-size: 10px;
}

.home-float--one { right: -12px; bottom: 57px; }
.home-float--two { top: 50px; left: -16px; }
.home-float--two span { color: #0b63f6; background: #eff6ff; }

.home-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

.home-section--white {
  width: min(1200px, calc(100% - 20px));
  padding-inline: max(20px, calc((100vw - 1160px) / 2));
  border: 1px solid #e5edf7;
  border-radius: 28px;
  background: #ffffff;
}

.home-section__heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 35px;
}

.home-section__heading h2,
.home-workflow__copy h2,
.home-cta h2 {
  margin: 11px 0 0;
  font-family: "Google Sans", "Kanit", sans-serif;
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.home-section__heading > p {
  max-width: 470px;
  margin: 0;
  color: #5f7189;
  font-size: 15px;
  line-height: 1.75;
}

.home-section__heading--compact { margin-bottom: 28px; }

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.home-feature-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid #dce7f5;
  border-radius: 17px;
  background: #f8fbff;
  box-shadow: 0 14px 35px rgb(45 74 112 / 5%);
}

.home-feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aabc0;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.home-feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.home-feature-icon--blue { color: #0b63f6; background: #eff6ff; }
.home-feature-icon--mint { color: #168765; background: #dff8ef; }
.home-feature-icon--purple { color: #6d5bd0; background: #f4ecff; }

.home-feature-card h3 {
  margin: 25px 0 8px;
  font-size: 19px;
}

.home-feature-card p {
  margin: 0;
  color: #5f7189;
  font-size: 13px;
  line-height: 1.75;
}

.home-workflow {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: 70px;
  align-items: center;
}

.home-workflow__copy > p:not(.home-eyebrow) {
  max-width: 530px;
  margin: 19px 0 0;
  color: #5f7189;
  font-size: 15px;
  line-height: 1.8;
}

.home-steps {
  display: grid;
  gap: 15px;
  margin-top: 29px;
}

.home-steps > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.home-steps b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #b9d5fb;
  border-radius: 10px;
  color: #0b63f6;
  font-family: Inter, sans-serif;
  font-size: 11px;
}

.home-steps strong,
.home-steps small {
  display: block;
}

.home-steps strong {
  margin-top: 3px;
  font-size: 14px;
}

.home-steps small {
  margin-top: 2px;
  color: #5f7189;
  font-size: 12px;
  line-height: 1.6;
}

.home-workflow__panel {
  padding: 20px;
  border: 1px solid #cfe0f4;
  border-radius: 24px;
  background: #eff6ff;
}

.home-workflow__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6d83a0;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.home-pill {
  padding: 5px 8px;
  border-radius: 99px;
  color: #168765;
  background: #dff8ef;
  font-family: "Kanit", sans-serif;
  font-size: 10px;
  letter-spacing: 0;
}

.home-loop-diagram {
  position: relative;
  height: 280px;
  margin-top: 8px;
}

.home-loop-diagram > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.workflow-line {
  fill: none;
  stroke: #9fc1ec;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.workflow-arrow {
  fill: #6d9edb;
}

.workflow-center {
  fill: #0b63f6;
  stroke: #ffffff;
  stroke-width: 5;
}

.home-loop-node {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 106px;
  height: 47px;
  align-content: center;
  justify-items: center;
  border: 1px solid #b9d5fb;
  border-radius: 13px;
  color: #10233f;
  background: #ffffff;
  box-shadow: 0 8px 18px rgb(45 74 112 / 8%);
  font-size: 12px;
  font-weight: 700;
}

.home-loop-node--top { top: 14px; left: 50%; transform: translateX(-50%); }
.home-loop-node--right { top: 50%; right: 4%; transform: translateY(-50%); }
.home-loop-node--bottom { bottom: 14px; left: 50%; border-color: #a7d8c3; background: #f4fcf8; transform: translateX(-50%); }
.home-loop-node--left { top: 50%; left: 4%; border-color: #d7caf4; background: #fbf8ff; transform: translateY(-50%); }

.home-loop-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
}

.home-loop-center small {
  color: #dbeafe;
  font-size: 10px;
  font-weight: 400;
}

.home-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.home-template-card {
  position: relative;
  display: block;
  min-height: 216px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #dce7f5;
  border-radius: 17px;
  color: #10233f;
  background: #f8fbff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-template-card::after {
  position: absolute;
  top: -42px;
  right: -40px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--template-soft);
  content: "";
}

.home-template-card:hover {
  border-color: var(--template-color);
  box-shadow: 0 18px 40px rgb(45 74 112 / 10%);
  transform: translateY(-4px);
}

.home-template-card--blue { --template-color: #0b63f6; --template-soft: #eff6ff; }
.home-template-card--mint { --template-color: #20a464; --template-soft: #dff8ef; }
.home-template-card--purple { --template-color: #6d5bd0; --template-soft: #f4ecff; }

.home-template-card__preview {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--template-soft);
  font-family: Consolas, monospace;
}

.home-template-card__preview i,
.home-template-card__preview b,
.home-template-card__preview em {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 42px;
  min-height: 30px;
  place-items: center;
  border: 1px solid var(--template-color);
  border-radius: 7px;
  color: var(--template-color);
  background: #ffffff;
  font-size: 10px;
  font-style: normal;
}

.home-template-card__preview b {
  min-width: 90px;
  color: #ffffff;
  background: var(--template-color);
  font-family: "Kanit", sans-serif;
  font-size: 12px;
}

.home-template-card__preview em {
  border-style: dashed;
}

.home-template-card > strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.home-template-card > small {
  display: block;
  margin-top: 3px;
  color: #5f7189;
  font-size: 11px;
}

.home-template-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: var(--template-color);
  font-size: 20px;
  line-height: 1;
}

.home-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 80px;
  padding: 42px 49px;
  overflow: hidden;
  border-radius: 25px;
  color: #ffffff;
  background: #0b63f6;
  box-shadow: 0 25px 55px rgb(11 99 246 / 21%);
}

.home-cta::after {
  position: absolute;
  width: 250px;
  height: 250px;
  margin: -150px 0 0 780px;
  border: 35px solid rgb(255 255 255 / 9%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-cta .home-eyebrow { color: #bcd9ff; }
.home-cta .home-eyebrow::before { background: #8fe1c3; }
.home-cta h2 { position: relative; margin-top: 10px; }
.home-cta > div > p:last-child { position: relative; margin: 8px 0 0; color: #dbeafe; font-size: 14px; }
.home-cta > a { position: relative; z-index: 1; flex: none; }

.home-footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8493a7;
  font-size: 11px;
}

.home-footer a {
  color: #0b63f6;
  font-weight: 700;
  text-decoration: none;
}

.home-footer a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .home-hero { grid-template-columns: minmax(0, .8fr) minmax(440px, 1.2fr); gap: 35px; }
  .home-status { display: none; }
  .home-preview__workspace { grid-template-columns: minmax(0, 1fr) 170px; }
  .home-float--one { right: -4px; }
  .home-float--two { left: -4px; }
}

@media (max-width: 860px) {
  .home-hero,
  .home-workflow { grid-template-columns: 1fr; }
  .home-hero { gap: 42px; padding-top: 56px; }
  .home-hero__copy { max-width: 700px; }
  .home-visual { width: min(680px, 100%); margin-inline: auto; }
  .home-section__heading { grid-template-columns: 1fr; gap: 14px; }
  .home-workflow { gap: 35px; }
  .home-workflow__panel { width: min(620px, 100%); margin-inline: auto; }
}

@media (max-width: 650px) {
  .home-container { width: min(calc(100% - 28px), 1160px); }
  .home-nav { min-height: 70px; gap: 8px; overflow: hidden; }
  .home-nav > * { min-width: 0; }
  .home-brand { min-width: 0; }
  .home-brand > span:last-child { min-width: 0; }
  .home-brand strong { font-size: 18px; }
  .home-brand small,
  .home-nav__actions .home-button--quiet { display: none; }
  .home-nav__actions { gap: 0; }
  .home-nav__actions .home-button { min-height: 38px; padding-inline: 12px; font-size: 12px; }
  .home-hero { padding-top: 48px; padding-bottom: 65px; }
  .home-hero > * { min-width: 0; }
  .home-hero h1 { overflow-wrap: anywhere; font-size: clamp(42px, 13vw, 58px); }
  .home-hero__lead { font-size: 15px; }
  .home-hero__actions { display: grid; grid-template-columns: 1fr; }
  .home-hero__actions .home-button { width: 100%; }
  .home-hero__note { align-items: flex-start; font-size: 11px; }
  .home-visual { min-height: 425px; }
  .home-visual__backdrop { inset: 13px -5px 12px 5px; }
  .home-preview { border-radius: 18px; }
  .home-preview__topbar { min-height: 43px; grid-template-columns: 16px auto minmax(0, 1fr) auto; gap: 8px; padding-inline: 12px; font-size: 8px; }
  .home-preview__back { width: 16px; height: 16px; font-size: 15px; }
  .home-preview__brand { font-size: 13px; }
  .home-preview__project { padding-left: 7px; }
  .home-preview__project b { font-size: 8px; }
  .home-preview__project small { display: none; }
  .home-preview__tools span { display: none; }
  .home-preview__tools b { min-height: 21px; padding: 3px 6px; font-size: 7px; }
  .home-preview__workspace { display: block; min-height: 485px; }
  .home-preview__runtime { display: none; }
  .home-preview__canvas-panel { height: 485px; grid-template-rows: 30px minmax(0, 1fr) 76px; }
  .home-preview__canvas-toolbar { padding-inline: 8px; }
  .home-preview__zoom { font-size: 7px; }
  .home-preview__dock { grid-template-rows: 23px minmax(0, 1fr); }
  .home-preview__dock pre { font-size: 6px; }
  .home-float { padding: 7px 9px; font-size: 10px; }
  .home-float span { width: 22px; height: 22px; }
  .home-float--one { right: 4px; bottom: 20px; }
  .home-float--two { top: 25px; left: 3px; }
  .home-section { padding-top: 62px; padding-bottom: 62px; }
  .home-section--white { width: calc(100% - 14px); padding-inline: 14px; border-radius: 22px; }
  .home-section__heading h2,
  .home-workflow__copy h2 { font-size: 32px; }
  .home-feature-grid,
  .home-template-grid { grid-template-columns: 1fr; }
  .home-feature-card { min-height: 0; }
  .home-workflow__panel { padding: 13px; border-radius: 18px; }
  .home-loop-diagram { height: 260px; }
  .home-loop-node { width: 94px; height: 43px; font-size: 11px; }
  .home-cta { align-items: flex-start; flex-direction: column; margin-top: 60px; padding: 32px 25px; border-radius: 21px; }
  .home-cta h2 { font-size: 32px; }
  .home-footer { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 110px; padding-block: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-feature-card,
  .home-template-card { transition-duration: .01ms !important; }
}
