@font-face {
  font-family: "Scope Sans";
  src: url("/assets/hero/general-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Scope Sans";
  src: url("/assets/hero/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
.scope-page {
  --scope-edge: clamp(22px,5.15vw,90px);
  --scope-line: #37303a;
  --scope-copy: #cec8cf;
  margin: 0;
  color: var(--brand-stone);
  color-scheme: dark;
  font: 400 16px/1.45 "Scope Sans",Arial,sans-serif;
  background: var(--brand-matte);
}
.scope-page *, .scope-page *::before, .scope-page *::after { box-sizing: border-box; }
.scope-page [hidden] { display: none !important; }
.scope-page a { color: inherit; text-underline-offset: .24em; }
.scope-page :focus-visible { outline: 2px solid var(--brand-lime); outline-offset: 4px; }
.scope-mast, .scope-layout, .scope-footer {
  width: min(1510px,calc(100% - 2 * var(--scope-edge)));
  margin-inline: auto;
}
.scope-mast {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  border-bottom: 1px solid var(--scope-line);
}
.scope-mast a { text-decoration: none; }
.scope-brand { font: 600 clamp(24px,2.35vw,35px)/1 "Scope Sans",sans-serif; letter-spacing: -.09em; }
.scope-mast nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(18px,2.5vw,42px); }
.scope-mast nav a { font-size: 15px; color: var(--scope-copy); }
.scope-mast nav a:hover { color: var(--brand-white); text-decoration: underline; }
.scope-layout {
  min-height: min(680px,calc(100svh - 148px));
  padding-block: clamp(38px,6vw,100px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.98fr);
  align-items: start;
  gap: clamp(36px,7vw,122px);
}
.scope-intro { min-width: 0; position: relative; padding-block: clamp(9px,1.2vw,21px) 0; }
.scope-intro h1 {
  color: var(--brand-stone);
  font-size: clamp(62px,8.4vw,146px);
  font-weight: 600;
  line-height: .89;
  letter-spacing: -.084em;
  margin: 0 0 .32em -.052em;
}
.scope-intro h1 em { display:block; font-style:normal; color: var(--brand-magenta-soft); }
.scope-intro p {
  max-width: 32ch;
  margin: 0;
  color: var(--scope-copy);
  font-size: clamp(19px,2vw,29px);
  font-weight: 400;
  line-height: 1.43;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.scope-graph {
  width: 100%;
  height: clamp(150px,19.25vw,292px);
  margin-top: clamp(24px,3.1vw,44px);
  display: grid;
  position: relative;
  place-items: center;
  isolation: isolate;
}
.scope-graph::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 3%;
  background: radial-gradient(ellipse at center,#f2f0ec0a,transparent 68%);
}
.scope-graph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
}
.scope-graph canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.scope-graph.is-drawn canvas { visibility: visible; }
.scope-graph.is-drawn img { visibility: hidden; }
.scope-card {
  position: relative;
  border: 1px solid #413743;
  border-radius: 12px;
  border-top-color: #775164;
  min-width: 0;
  padding: clamp(23px,3.4vw,53px);
  background: #18151b;
}
.scope-card h2 {
  margin: 0 0 clamp(22px,3vw,34px);
  font-size: clamp(26px,2.8vw,44px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -.052em;
  text-wrap: pretty;
}
.scope-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
.scope-wide { grid-column: 1 / -1; }
.scope-field { display: grid; gap: 7px; }
.scope-field label { font-size: 15px; font-weight: 600; }
.scope-field :is(input, textarea) {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  font: inherit;
  color: var(--brand-white);
  background: #121015;
  border: 1px solid #4e4551;
  border-radius: 5px;
}
.scope-field :is(input, textarea)::placeholder { color: #a59aa6; opacity: 1; }
.scope-field :is(input, textarea):focus { border-color: var(--brand-magenta-soft); outline: 1px solid var(--brand-magenta-soft); outline-offset: 0; }
.scope-field :is(input, textarea)[aria-invalid="true"] { border-color: #ffa4bd; }
.scope-field textarea { min-height: 115px; resize: vertical; }
.scope-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 27px;
  margin-top: 23px;
  font: 600 16px/1.3 "Scope Sans",sans-serif;
  color: var(--brand-matte);
  border: 1px solid var(--brand-lime);
  border-radius: 5px;
  background: var(--brand-lime);
  cursor: pointer;
}
.scope-submit:hover { background: #dbff64; border-color: #dbff64; }
.scope-submit:disabled { opacity: .65; cursor: wait; }
.scope-note, .scope-footer p { margin: 14px 0 0; color: var(--scope-copy); font-size: 14px; }
.scope-note a:hover, .scope-footer a:hover, .scope-return:hover { color: var(--brand-lime); }
.scope-error { margin: 17px 0 0; color: #ffa4bd; }
.scope-error:not([hidden]) { padding-left: 12px; border-left: 2px solid #ffa4bd; }
.scope-success { padding-block: max(35px,4vw); }
.scope-success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 23px;
  border: 1px solid #a9c22d85;
  border-radius: 50%;
  color: var(--brand-lime);
  font-size: 22px;
  background: #c9f22715;
}
.scope-success h2 { margin-bottom: 13px; }
.scope-success p { max-width: 36ch; margin: 0 0 21px; color: var(--scope-copy); font-size: 18px; }
.scope-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 22px;
  padding-block: 22px 29px;
  border-top: 1px solid var(--scope-line);
}
.scope-footer p { margin: 0; }
.scope-return { font-size: 14px; }
@media (max-width: 850px) {
  .scope-layout { grid-template-columns: minmax(0,1fr); gap: 29px; max-width: 690px; }
  .scope-intro { padding: 0; }
  .scope-intro h1 { font-size: clamp(55px,12vw,90px); }
  .scope-intro h1 em { display: inline; }
  .scope-intro p { max-width: 38ch; }
  .scope-graph { display: none; }
}
@media (max-width: 450px) {
  .scope-mast { min-height: 64px; }
  .scope-mast nav { gap: 13px; }
  .scope-mast nav a { font-size: 13px; }
  .scope-form-grid { grid-template-columns: 1fr; gap: 15px; }
  .scope-card { padding: 21px 18px; }
  .scope-submit { width: 100%; }
}
