.site-header,
.site-footer {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 172px 1fr auto;
  align-items: center;
  min-height: 92px;
  margin-top: 14px;
  padding: 8px 24px;
  border: 1px solid var(--border-subtle);
  background: rgb(3 5 8 / 96%);
}

.site-header::before,
.site-header::after,
.section::before,
.section::after {
  position: absolute;
  width: 16px;
  height: 16px;
  content: "";
  pointer-events: none;
}

.site-header::before,
.section::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-cyan);
  border-left: 2px solid var(--color-cyan);
}

.site-header::after,
.section::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--color-violet);
  border-bottom: 2px solid var(--color-violet);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
  min-block-size: 44px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 900;
  text-decoration: none;
}

.brand-logo {
  width: 154px;
  height: auto;
}

#site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
}

#site-navigation a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: .04em;
  text-decoration: none;
}

#site-navigation a:hover { color: var(--color-cyan); }

.menu-toggle,
.locale-switcher {
  border: 1px solid rgb(0 217 232 / 70%);
  background: #05090d;
}

.menu-toggle {
  min-width: 44px;
  padding: 8px 12px;
  color: var(--color-text);
}

.locale-switcher {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--color-cyan);
}

.locale-switcher button {
  min-width: 36px;
  padding: 0 5px;
  border: 0;
  color: var(--color-muted);
  background: transparent;
}

.locale-switcher [aria-pressed="true"] { color: var(--color-cyan); }

.hero {
  display: grid;
  grid-template-columns: minmax(380px, .74fr) minmax(620px, 1.26fr);
  min-height: 548px;
  padding: 0;
  overflow: hidden;
  background: #030507;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 50px 54px;
  background: linear-gradient(90deg, #030507 0 78%, rgb(3 5 7 / 84%) 88%, transparent 100%);
}

.hero h1 {
  max-width: 8.6ch;
  font-size: clamp(54px, 5.3vw, 78px);
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .98;
  text-shadow: 3px 3px 0 rgb(255 255 255 / 10%);
}

.hero h1 > span { display: block; }

.hero .title-line { color: var(--color-text); }

.hero .title-accent {
  color: var(--color-cyan);
  text-shadow: 2px 2px 0 rgb(109 53 255 / 64%);
}

[lang="en"] .hero-copy { padding-block: 38px 34px; }

[lang="en"] .hero h1 {
  max-width: 12ch;
  font-size: clamp(46px, 4.25vw, 60px);
  line-height: 1.02;
}

[lang="en"] .hero-description {
  margin-top: 18px;
  line-height: 1.55;
}

[lang="en"] .hero-actions { margin-top: 22px; }

.hero-description {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  color: #d4d8df;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 430px);
  margin-top: 28px;
}

.hero-actions .button {
  gap: 12px;
  padding-inline: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 9px 20px;
  border: 1px solid transparent;
  color: var(--color-text);
  background: transparent;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
  transition: filter 120ms ease, transform 120ms ease;
}

.button:hover { filter: brightness(1.14); }
.button:active { transform: translateY(1px); }

.button.primary {
  border-color: #9effff;
  color: #041014;
  background: linear-gradient(180deg, #19eff5, #00c4d2);
  box-shadow: 0 0 0 3px #032f35, 4px 4px 0 #00191c;
}

.button.secondary {
  border-color: #9a73ff;
  background: linear-gradient(180deg, #38198f, #24105f);
  box-shadow: 0 0 0 3px #140b32, 4px 4px 0 #090514;
}

.hero-stage {
  position: relative;
  min-width: 0;
  min-height: 548px;
  overflow: hidden;
}

.hero-stage::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 22%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #030507, transparent);
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
  transition: filter 140ms ease;
}

.hero-quote {
  position: absolute;
  z-index: 4;
  left: 14%;
  right: 4%;
  bottom: 22px;
  display: grid;
  width: auto;
  min-height: 78px;
  place-items: center;
  padding: 14px 20px;
  border: 1px solid rgb(164 219 228 / 72%);
  color: var(--color-text);
  background: #05080c;
  font-size: clamp(20px, 2vw, 28px);
  font-style: normal;
  letter-spacing: .04em;
  text-align: center;
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / 4%);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 26px;
  background: linear-gradient(180deg, #080b10, #05070a);
}

.feature-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  min-width: 0;
  padding: 8px 18px;
}

.feature-item + .feature-item { border-left: 1px solid rgb(109 53 255 / 60%); }

.feature-item img {
  width: 78px;
  height: 78px;
  object-fit: cover;
}

.feature-item h2 {
  color: var(--color-cyan);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: .02em;
  line-height: 1.2;
}

.feature-item p {
  max-width: 23ch;
  margin-top: 10px;
  color: #d0d4db;
  font-size: 15px;
  line-height: 1.75;
}

.feature-item blockquote {
  margin-top: 10px;
  color: #aeb8c6;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.screenshots-section,
.feedback-section,
.privacy-content { padding: clamp(28px, 4vw, 54px); }

.section-heading {
  display: grid;
  gap: 7px;
}

.section-kicker {
  color: var(--color-violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

.section-heading h2,
.feedback-heading h2,
.privacy-content h1 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
}

.section-heading > p:last-child { color: var(--color-muted); }

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.screenshot-grid figure {
  position: relative;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--border-subtle);
  background: #030507;
}

.screenshot-grid figure::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 12px;
  color: var(--color-cyan);
  content: "REC";
  font: 800 10px/1 var(--font-body);
  letter-spacing: .16em;
}

.screenshot-grid .screenshot-primary { grid-row: span 2; }

.screenshot-grid img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  filter: saturate(.88) contrast(1.03);
}

.screenshot-primary img { min-height: 476px; }

.screenshot-grid figcaption {
  position: absolute;
  z-index: 2;
  left: 15px;
  bottom: 14px;
  padding: 5px 10px;
  color: var(--color-text);
  background: rgb(3 5 7 / 84%);
  font-size: 13px;
  font-weight: 700;
}

.feedback-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.feedback-private-notice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-muted);
  font-size: 14px;
}

.feedback-private-notice > span:first-child { color: var(--color-cyan); }

#feedback-form { margin-top: 26px; }

.feedback-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
}

#feedback-form label {
  padding-top: 9px;
  color: #e8ebef;
  font-weight: 650;
}

#feedback-form select,
#feedback-form textarea,
#feedback-form input[type="text"] {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid rgb(143 154 174 / 60%);
  border-radius: 0;
  color: var(--color-text);
  background: #05070b;
}

#feedback-form select,
#feedback-form input[type="text"] { max-width: 370px; }

#feedback-message {
  min-height: 104px;
  resize: vertical;
}

#feedback-form [aria-invalid="true"] {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 2px rgb(255 108 143 / 22%);
}

#feedback-form[aria-busy="true"] { opacity: .72; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding-top: 0 !important;
  color: var(--color-muted) !important;
  font-size: 14px;
}

.consent input {
  flex: 0 0 20px;
  width: 20px;
  min-block-size: 20px;
  height: 20px;
  margin: 2px 12px 0 0;
  appearance: none;
  border: 1px solid rgb(194 203 218 / 72%);
  background: #05070b;
}

.consent input:checked {
  border-color: var(--color-cyan);
  background: var(--color-cyan);
  box-shadow: inset 0 0 0 4px #071318;
}

.feedback-submit {
  display: flex;
  width: min(100%, 310px);
  margin: 22px auto 0;
}

#feedback-status {
  min-height: 1.7em;
  margin-top: 12px;
  color: var(--color-cyan);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  margin-top: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--color-muted);
  font-size: 14px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

.privacy-content {
  display: grid;
  gap: 24px;
  max-width: 960px;
}

.privacy-content section {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.privacy-content section h2 { font-size: 24px; }
.privacy-content section p { margin-top: 8px; color: var(--color-muted); }
.privacy-content > .button { width: max-content; }
