@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #101110;
  --text: #f2f3ee;
  --muted: #9b9e95;
  --line: #353830;
  --accent: #cbff70;
  --font: 'Golos Text',Arial,sans-serif;
  --display: 'Manrope','Golos Text',Arial,sans-serif
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55
}

body:has(dialog[open]) {
  overflow: hidden
}

::selection {
  background: var(--accent);
  color: var(--bg)
}

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

button, input, select, textarea {
  font: inherit
}

button {
  cursor: pointer
}

button, a {
  -webkit-tap-highlight-color: transparent
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px
}

.wrap {
  width: min(1320px,calc(100% - 96px));
  margin-inline: auto
}

.eyebrow {
  font-family: Consolas,'Courier New',monospace
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted)
}

.brand {
  font: 800 34px/.9 var(--display);
  letter-spacing: -2px;
  display: flex;
  align-items: flex-start;
  gap: 5px
}

.brand-mark {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--accent);
  margin-top: 4px
}

h1, h2, h3, p {
  margin: 0
}

h1 {
  font-family: var(--display);
  font-size: clamp(48px,6.6vw,100px);
  line-height: 1.08;
  letter-spacing: -.065em;
  font-weight: 600;
  margin: 48px 0 40px;
  max-width: 1150px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 19px 25px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  min-height: 58px;
  transition: background .2s,transform .2s
}

.primary {
  background: var(--accent);
  color: #11150c
}

.primary:hover {
  background: #dcff9b;
  transform: translateY(-2px)
}

h2 {
  font-family: var(--display);
  font-size: clamp(30px,3.4vw,48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  overflow: hidden
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  color: var(--muted);
  padding: 25px 0 34px
}

.footer-bottom>span {
  margin-right: auto
}

.footer-bottom a:hover {
  color: var(--accent)
}

[hidden] {
  display: none!important
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  padding: 15px;
  background: var(--accent);
  color: var(--bg);
  z-index: 9
}

.skip-link:focus {
  top: 10px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0
}

dialog {
  background: #191c16;
  color: var(--text);
  border: 1px solid #525b43;
  border-radius: 4px;
  padding: 0;
  width: min(680px,calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 40px 150px #0008
}

dialog::backdrop {
  background: #050704cc;
  backdrop-filter: blur(8px)
}

.dialog-shell {
  padding: 34px
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px
}

.close-dialog {
  font-size: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  width: 42px;
  height: 42px;
  line-height: 1;
  flex-shrink: 0
}

.close-dialog:hover {
  background: var(--accent);
  color: var(--bg)
}

dialog h2 {
  font-size: clamp(27px,5vw,42px);
  overflow-wrap: anywhere
}

.dialog-lead {
  font-size: 18px;
  color: #b6bea9;
  line-height: 1.65;
  margin: 20px 0 30px
}

#brief-form {
  display: flex;
  flex-direction: column;
  gap: 10px
}

#brief-form label {
  font-size: 14px;
  margin-top: 10px
}

select, textarea {
  width: 100%;
  background: #10130e;
  border: 1px solid #4b5540;
  border-radius: 2px;
  color: var(--text);
  padding: 13px;
  line-height: 1.5
}

textarea {
  resize: vertical;
  min-height: 130px
}

#brief-status {
  font-size: 14px;
  color: var(--accent)
}

@media(min-width:1600px) {
h1 {
  font-size: 103px
}
}

@media(max-width:1000px) {
.wrap {
  width: calc(100% - 56px)
}
}

@media(max-width:700px) {
.wrap {
  width: calc(100% - 36px)
}

.brand {
  font-size: 30px
}

.button {
  padding: 16px 20px;
  min-height: 54px
}

.eyebrow {
  font-size: 12px
}

.footer {
  padding-top: 22px
}

.footer-bottom {
  font-size: 11px;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0 27px
}

.dialog-shell {
  padding: 24px
}

.dialog-top {
  margin-bottom: 24px
}

.dialog-lead {
  font-size: 16px
}
}

@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior: auto
}

*, *:before, *:after {
  animation: none!important;
  transition: none!important
}
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0
}

.footer .brand {
  font-size: 30px
}

.footer-bottom {
  padding: 24px 0
}

.footer-bottom>span {
  margin-right: 20px
}

#brief-form input {
  width: 100%;
  background: #10130e;
  border: 1px solid #4b5540;
  border-radius: 2px;
  color: var(--text);
  padding: 13px
}

#brief-form>.button {
  margin-top: 14px
}

#brief-form button:disabled {
  cursor: wait;
  opacity: .6
}

#brief-status:empty {
  display: none
}

#brief-status[data-error=true] {
  color: #ffb5a8
}

@media(max-width:700px) {
.footer {
  align-items: flex-start;
  padding-top: 24px;
  gap: 15px
}

.footer .brand {
  font-size: 26px
}

.footer-bottom {
  padding: 0 0 25px;
  justify-content: flex-end;
  font-size: 11px;
  gap: 12px
}

.footer-bottom>span {
  width: 100%;
  margin: 0;
  text-align: right
}
}
