:root {
  color-scheme: light;
  --bg: #f4f9fc;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #5b6b7f;
  --line: #b9dce8;
  --accent: #0f7c98;
  --accent-2: #22d3ee;
  --accent-3: #14b8a6;
  --soft: #ccf7fb;
  --soft-2: #e8fbff;
  --tech-ink: #0b1828;
  --danger: #8a3d1c;
  --note-soft: #e8fbff;
  --note-line: #9beaf4;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(34, 211, 238, 0.32) 0%, rgba(34, 211, 238, 0.14) 26%, rgba(244, 249, 252, 0) 48%),
    linear-gradient(125deg, rgba(20, 184, 166, 0.18) 0%, rgba(244, 249, 252, 0) 38%),
    linear-gradient(180deg, #eefbff 0%, #f8fbff 42%, #eef7fb 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-header {
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 255, 0.86);
  border-bottom: 1px solid rgba(15, 124, 152, 0.16);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 68px;
  padding: 0 20px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 850;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.brand-name {
  color: #0d2f4f;
  font-size: 1.03rem;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.band {
  background: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(15, 124, 152, 0.12);
}

main > .band:first-child {
  background:
    linear-gradient(118deg, #f7fcff 0%, #e4fbff 47%, #f4f7ff 100%);
  border-bottom-color: rgba(34, 211, 238, 0.22);
}

main > .band:nth-of-type(2n + 3) {
  background:
    linear-gradient(180deg, rgba(232, 251, 255, 0.76) 0%, rgba(255, 255, 255, 0.68) 100%);
}

.wrap {
  margin: 0 auto;
  max-width: 1120px;
  padding: 56px 20px;
}

.hero {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: 520px;
  align-items: center;
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.35rem);
  font-weight: 900;
  max-width: 16ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 850;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, #0f7c98 0%, #0891b2 48%, #14b8a6 100%);
  box-shadow: 0 14px 26px rgba(8, 145, 178, 0.18);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent);
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 32, 51, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 32, 51, 0.13);
  display: grid;
  gap: 16px;
  margin: 34px auto 18px;
  padding: 28px;
}

.contact-form-full {
  max-width: 860px;
  width: 100%;
}

.contact-head {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.contact-head .eyebrow {
  margin-bottom: 0;
}

.contact-head h1 {
  max-width: 15ch;
}

.contact-head .lead {
  margin: 0;
}

.form-note {
  color: #334155;
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid rgba(15, 32, 51, 0.13);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 124, 152, 0.58);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
  outline: none;
}

.contact-form ::placeholder {
  color: rgba(16, 32, 51, 0.52);
  font-weight: 650;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.check-row {
  align-items: start;
  display: grid;
  font-weight: 650;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  line-height: 1.45;
}

.check-row input {
  margin-top: 5px;
  width: auto;
}

.hidden-field {
  display: none;
}

.form-actions {
  display: flex;
}

.contact-inline-note {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 16px auto 0;
  max-width: 760px;
  text-align: center;
}

.contact-response {
  text-align: center;
}

.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-visual img {
  background: linear-gradient(145deg, #ffffff 0%, #e8fbff 100%);
  border: 1px solid rgba(15, 124, 152, 0.22);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(15, 32, 51, 0.14);
  display: block;
  width: 100%;
}

.split {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
}

.dark-band {
  background:
    linear-gradient(135deg, #102033 0%, #0b2a3b 52%, #0c3940 100%);
  color: #f8fafc;
}

.dark-band .lead {
  color: #cbd5e1;
}

.dark-band .eyebrow {
  color: var(--accent-2);
}

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

.tool-strip span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  min-height: 54px;
  padding: 14px 16px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.item {
  background: linear-gradient(180deg, #ffffff 0%, #f5fcff 100%);
  border: 1px solid rgba(15, 124, 152, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 32, 51, 0.05);
  min-height: 210px;
  padding: 22px;
}

.glossary {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.glossary .item {
  min-height: 0;
}

.glossary h2,
.glossary h3 {
  font-size: 1.18rem;
}

.glossary-page {
  display: grid;
  gap: 42px;
}

.glossary-section {
  display: grid;
  gap: 18px;
}

.section-head {
  max-width: 760px;
}

.group-title {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.item p,
.article-list p,
.note p {
  color: var(--muted);
}

.item-link {
  display: inline-flex;
  font-weight: 800;
  margin-top: 4px;
}

.article-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.article-row {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
  border: 1px solid rgba(15, 124, 152, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 32, 51, 0.055);
  display: grid;
  gap: 12px;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  padding: 20px;
}

.article-thumb {
  background: linear-gradient(145deg, #d9fbff 0%, #f7feff 100%);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 8px;
  display: block;
  height: 72px;
  object-fit: cover;
  width: 88px;
}

.tag {
  background: rgba(204, 247, 251, 0.9);
  border-radius: 999px;
  color: var(--accent);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
}

.article {
  background:
    radial-gradient(circle at 3% 13%, rgba(34, 211, 238, 0.34) 0%, rgba(34, 211, 238, 0.16) 24%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(112deg, rgba(204, 247, 251, 0.82) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(248, 251, 255, 0.98) 74%),
    linear-gradient(180deg, #eefbff 0%, #ffffff 46%, #f2f8fc 100%);
}

.article .wrap {
  max-width: 820px;
}

.article h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 18ch;
}

.article h2 {
  font-size: 1.55rem;
  margin-top: 36px;
}

.article pre {
  background: #101827;
  border-radius: 8px;
  color: #e5edf6;
  overflow-x: auto;
  padding: 18px;
}

.note {
  background: linear-gradient(135deg, var(--note-soft) 0%, #f6fdff 100%);
  border: 1px solid var(--note-line);
  border-radius: 8px;
  margin: 28px 0;
  padding: 18px;
}

.quick-path {
  background: linear-gradient(135deg, #dffcff 0%, #f3fbff 100%);
  border: 1px solid #a5eff7;
  border-radius: 8px;
  margin: 28px 0;
  padding: 18px;
}

.quick-path p {
  color: var(--muted);
}

.visual-slot {
  background: linear-gradient(135deg, #f8fafc 0%, #e5fbff 55%, #f4f7ff 100%);
  border: 1px solid rgba(15, 124, 152, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 28px 0;
  min-height: 190px;
  padding: 22px;
  place-content: center;
  text-align: center;
}

.visual-slot--image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ffffff 0%, #eefbff 100%);
  box-shadow: 0 18px 42px rgba(15, 32, 51, 0.12);
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.visual-slot strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.visual-slot span {
  color: var(--muted);
  display: block;
  font-size: 0.95rem;
  max-width: 560px;
}

.visual-slot img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tool-intro {
  background: linear-gradient(135deg, #dffcff 0%, #f4fcff 100%);
  border: 1px solid rgba(15, 124, 152, 0.2);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 32, 51, 0.055);
  margin: 28px 0;
  padding: 18px;
}

.tool-intro strong {
  color: var(--ink);
}

.tool-intro p {
  color: var(--muted);
  margin: 8px 0 0;
}

.verdict-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
}

.verdict-item {
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}

.verdict-item strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
}

.verdict-item p {
  color: var(--muted);
  margin: 5px 0 0;
}

.site-footer {
  background: #f6fbfd;
  border-top: 1px solid rgba(15, 124, 152, 0.14);
}

.site-footer .wrap {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 32px;
  padding-top: 32px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-notice {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 124, 152, 0.18);
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 20px 56px rgba(15, 32, 51, 0.2);
  color: #f8fafc;
  display: grid;
  gap: 12px;
  left: auto;
  max-width: min(380px, calc(100vw - 32px));
  padding: 16px 16px 14px;
  position: fixed;
  right: 22px;
  z-index: 40;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

.cookie-notice a {
  color: var(--accent);
  font-weight: 800;
}

.cookie-notice button {
  justify-self: start;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  min-height: 38px;
  padding: 8px 14px;
}

.cookie-notice::after {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 124, 152, 0.18);
  border-right: 1px solid rgba(15, 124, 152, 0.18);
  bottom: -7px;
  content: "";
  height: 14px;
  position: absolute;
  right: 28px;
  transform: rotate(45deg);
  width: 14px;
}

@media (max-width: 840px) {
  .hero,
  .grid,
  .article-row,
  .split {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    height: auto;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

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

  .contact-form {
    border-radius: 24px;
    padding: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .form-actions,
  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cookie-notice {
    bottom: 14px;
    left: 14px;
    max-width: none;
    right: 14px;
  }

  .cookie-notice::after {
    display: none;
  }

  .nav {
    gap: 14px;
  }

  .nav-links {
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .contact-head h1 {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }
}
