html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  bottom: -0.25em;
}

sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
}

select {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}
:root {
  --bg: #0a0a0afa;
  --surface: #ffffff;
  --ink: #ffffff;
  --muted: #cbcbcb;
  --line: #ded4cf;
  --line-strong: #1a1621;
  --accent: #bf2942;
  --accent-2: #b4223a;
  --success: #117f53;
  --danger: #bf2942;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #242323;
    backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.logo {
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent);
}

.header-nav {
  justify-self: end;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.header-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.header-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

.header-nav a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-nav a.active,
.header-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.language {
  position: relative;
}

.language .current {
  border: none;
  border-radius: 10px;
  background: #181818;
  min-height: 40px;
  min-width: 148px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  color: #ffffff;
  cursor: pointer;
}

.language .dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 184px;
  max-width: 220px;
  border-radius: 10px;
  background: #181818;
  display: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.language.open .dropdown {
  display: block;
}

.language .dropdown a {
  display: block;
  border-radius: 8px;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  white-space: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
}

.language .dropdown a:hover {
  background: #242323;
  text-decoration: none;
}

.page-main {
  padding: 30px 0 50px;
  flex: 1 0 auto;
}

.hero {
  margin-bottom: 16px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
    margin: 30px auto;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.55;
}

.input-card {
  border: 2px solid #181818;
  border-radius: 14px;
  background: #181818;
  padding: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.download-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px;
}

.download-form input {
    border: none;
    border-radius: 10px;
    min-height: 50px;
    background: #242323;
    padding: 0 14px;
    font-size: 16px;
    color: #ffffff;
}

.download-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 40, 79, 0.18);
}

.btn {
  border: none;
  border-radius: 10px;
  min-height: 60px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: #ffffff;
}

.btn-icon {
  width: 60px;
  min-width: 60px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon span[hidden] {
  display: none !important;
}

.btn-primary {
  background: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible {
  background: var(--accent-2);
}

.btn-ghost {
    background: #242323;
    color: #bf2942;
    font-size: 20px;
}

.loading {
  margin: 16px 0;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
}

.loading-bar {
  margin-top: 8px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #1a1621;
  background: #fff5ee;
  overflow: hidden;
}

.loading-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.error-message {
  margin: 16px 0;
  border: 2px solid #1a1621;
  background: #242323;
  color: var(--danger);
  border-radius: 10px;
  padding: 10px 12px;
}

.page-copy {
  margin-top: 42px;
  display: grid;
  gap: 36px;
}

.page-copy article {
    border-radius: 14px;
    background: #242323;
    padding: 30px;
}

.page-copy article.page-copy-about {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.page-copy article.page-copy-about .about-inline {
  max-width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-copy h2 {
    margin: 0 0 20px;
    font-size: 25px;
}

.page-copy p {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 15px;
}

.page-copy-list {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-copy-list li {
  line-height: 1.55;
}

.page-copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.page-copy-subcard {
  border-radius: 14px;
  padding: 30px;
  margin: 15px 0 0;
  background: #2e2b2b;
}

.page-copy-subcard h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-copy-subcard .page-copy-list {
  margin-top: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.step-item {
  border-radius: 14px;
  padding: 20px;
  background: #2e2b2b;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #0e0e0e;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.step-item p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 15px;
}

.faq-list details {
  border-radius: 10px;
  padding: 20px;
  background: #2e2b2b;
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding-right: 28px;
  cursor: pointer;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 12px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.16s ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.faq-list details p {
  margin-top: 20px;
}

.site-footer {
  background: #242323;
}

.footer-inner {
  padding: 30px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-language {
  padding: 0 0 18px;
  display: flex;
  justify-content: center;
}

.footer-language .language .dropdown {
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a.active,
.footer-links a:hover {
  color: #ffffff;
}

.static-page {
  border: 2px solid #1a1621;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.not-found-page {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: clamp(36px, 8vw, 72px) clamp(20px, 5vw, 48px);
  text-align: center;
}

.not-found-page h1 {
  margin: 0 0 16px;
  font-size: clamp(58px, 11vw, 110px);
  line-height: 0.9;
}

.not-found-page p {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 22px);
}

.not-found-page p + p {
  margin-top: 20px;
}

.static-page h1 {
  margin-top: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.static-page h2 {
  margin: 18px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.static-page .updated {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
}

.contact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  border: 2px solid #1a1621;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form input {
  border: 2px solid #1a1621;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.contact-form textarea {
  border: 2px solid #1a1621;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  min-height: 130px;
  resize: vertical;
}

@supports (-webkit-touch-callout: none) {
  .download-form input,
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

.contact-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  border: 2px solid #1a1621;
}

.contact-alert.success {
  background: #effaf3;
  color: var(--success);
}

.contact-alert.error {
  background: #fff2f4;
  color: #b22136;
}

@media (max-width: 940px) {
  .site-header {
    position: static;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    padding: 10px 0;
    gap: 12px;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .header-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    flex-direction: column;
  }

  .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 4px;
  }

  .site-header.menu-open .header-nav {
    display: grid;
  }

  .header-nav a {
    text-align: left;
    padding: 10px 8px;
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .download-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .download-form .btn-primary {
    grid-column: 1 / -1;
  }

  .steps-grid,
  .page-copy-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1080px, calc(100% - 20px));
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .page-copy {
    margin-top: 32px;
  }

  .language .current {
    min-width: 140px;
  }

  .language .dropdown {
    min-width: 180px;
    max-width: 200px;
  }

  .input-card,
  .page-copy article,
  .static-page {
    border-radius: 12px;
  }

  .not-found-page {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 34px 18px;
  }

  .not-found-page p + p {
    margin-top: 16px;
  }
}
.media-results {
  margin-top: 18px;
}

.result-summary {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.media-list {
  display: grid;
  gap: 14px;
}

.media-list-item {
  border-radius: 14px;
  background: #242323;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 25px;
  align-content: start;
}

.media-col-preview {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.media-preview {
  border-radius: 10px;
  overflow: hidden;
  background: #242323;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #2e2b2b;
}

.media-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.media-preview-fallback {
  padding: 10px;
  color: #2d2734;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-col-content {
  display: grid;
  gap: 8px;
  align-content: start;
}

.media-title {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.media-meta {
    border-radius: 10px;
    background: #2e2b2b;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.media-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.media-meta-label {
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.media-meta-value {
  text-align: right;
  overflow-wrap: anywhere;
}

.media-post {
  border-top: 2px dashed #ccbfb7;
  padding-top: 8px;
  display: grid;
  gap: 4px;
}

.media-post-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.media-actions {
  align-self: stretch;
  display: flex;
  width: 100%;
}

.media-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  color: #181420;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 54px;
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.media-btn:hover,
.media-btn:focus,
.media-btn:focus-visible {
  text-decoration: none;
  background: #181420;
  color: #fff;
}

.media-actions a.media-btn,
.media-actions a.media-btn:hover,
.media-actions a.media-btn:focus,
.media-actions a.media-btn:focus-visible,
.media-actions a.media-btn:active,
.media-actions a.media-btn:visited {
  text-decoration: none !important;
}

.media-btn.primary {
  background: var(--accent);
  color: #fff;
}

.media-btn.primary:hover,
.media-btn.primary:focus,
.media-btn.primary:focus-visible {
  background: var(--accent-2);
}

@media (max-width: 920px) {
  .media-preview {
    aspect-ratio: 3 / 4;
    min-height: 250px;
  }
}

@media (min-width: 1180px) {
  .media-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}
