/* front.MeldID/public/seo.css */

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f7ff;
  background: #06101d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #06101d;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 211, 238, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.17), transparent 28rem),
    linear-gradient(180deg, #06101d 0%, #081426 54%, #091122 100%);
  color: #f4f7ff;
  line-height: 1.6;
}

a {
  color: #a5f3fc;
}

.seo-header,
.seo-page,
.seo-footer {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(160, 185, 224, 0.18);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f7ff;
  text-decoration: none;
}

.seo-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.seo-brand small {
  color: rgba(183, 197, 224, 0.78);
  font-size: 0.72rem;
}

.seo-brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
  background: #080b3f;
  box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.1), 0 10px 24px rgba(3, 7, 18, 0.28);
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.seo-nav a {
  color: rgba(244, 247, 255, 0.86);
  font-size: 0.92rem;
  text-decoration: none;
}

.seo-nav a:hover,
.seo-footer a:hover {
  color: #67e8f9;
}

.seo-page {
  display: grid;
  gap: 24px;
  padding: 42px 0 60px;
}

.seo-hero,
.seo-section {
  border: 1px solid rgba(160, 185, 224, 0.18);
  border-radius: 28px;
  background: rgba(15, 27, 47, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.seo-hero {
  padding: clamp(26px, 5vw, 56px);
}

.seo-section {
  padding: clamp(24px, 4vw, 42px);
}

.seo-eyebrow,
.seo-kicker,
.seo-index {
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-kicker {
  margin: 0 0 10px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.2;
}

p {
  color: rgba(183, 197, 224, 0.86);
}

.seo-lead {
  max-width: 72ch;
  margin-bottom: 12px;
  color: rgba(244, 247, 255, 0.9);
  font-size: 1.14rem;
}

.seo-section-lead {
  max-width: 76ch;
  margin-bottom: 22px;
}

.seo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0 6px;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid rgba(103, 232, 249, 0.44);
  border-radius: 13px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #04101a;
  font-weight: 800;
  text-decoration: none;
}

.seo-button:hover {
  filter: brightness(1.08);
}

.seo-button-small {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 0.82rem;
}

.seo-button-muted {
  background: rgba(255, 255, 255, 0.05);
  color: #f4f7ff;
}

.seo-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.seo-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-list {
  display: grid;
  gap: 0;
}

.seo-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(160, 185, 224, 0.14);
}

.seo-list > .seo-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.seo-list > .seo-item:last-child {
  padding-bottom: 0;
}

.seo-grid .seo-item {
  display: block;
  padding: 18px;
  border: 1px solid rgba(160, 185, 224, 0.14);
  border-radius: 18px;
  background: rgba(19, 34, 58, 0.64);
}

.seo-grid .seo-index {
  display: block;
  margin-bottom: 15px;
}

.seo-item p {
  margin-bottom: 0;
}

.seo-list-scopes .seo-item {
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
}

.seo-faq {
  display: grid;
  gap: 10px;
}

.seo-faq details {
  padding: 16px 18px;
  border: 1px solid rgba(160, 185, 224, 0.14);
  border-radius: 16px;
  background: rgba(19, 34, 58, 0.64);
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 750;
}

.seo-faq p {
  margin: 12px 0 0;
}

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

.seo-store-card {
  padding: 22px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 20px;
  background: rgba(19, 34, 58, 0.64);
}

.seo-store-card .seo-button {
  width: 100%;
}

.seo-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 0 28px;
  color: rgba(183, 197, 224, 0.72);
  font-size: 0.86rem;
}

.seo-footer a {
  color: rgba(244, 247, 255, 0.86);
}

@media (max-width: 820px) {
  .seo-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-nav {
    justify-content: flex-start;
  }

  .seo-grid-three,
  .seo-download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .seo-header,
  .seo-page,
  .seo-footer {
    width: min(100% - 24px, 1280px);
  }

  .seo-page {
    padding-top: 24px;
  }

  .seo-list-scopes .seo-item,
  .seo-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
