:root {
  --ink: #151515;
  --muted: #d7e7f2;
  --paper: #1c4b68;
  --panel: #f7fbff;
  --steel: #006f8f;
  --steel-dark: #064f72;
  --blue-1: #061a4a;
  --blue-2: #073b73;
  --blue-3: #00708e;
  --blue-4: #e9f3f8;
  --green: #43aa8b;
  --line: rgba(255, 255, 255, 0.22);
  --dark-line: rgba(21, 21, 21, 0.14);
  --shadow: 0 18px 42px rgba(5, 20, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter Tight", Arial, sans-serif;
  color: #fff;
  background:
    linear-gradient(180deg, var(--blue-1) 0, var(--blue-2) 42%, var(--blue-3) 100%);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 12px 16px 0;
  background: transparent;
  color: var(--ink);
}

.nav-shell {
  width: max-content;
  max-width: calc(100vw - 32px);
  min-height: 72px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 12px 34px rgba(5, 20, 31, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
}

.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo,
.brand-title {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
}

.brand-title {
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo img {
  width: 176px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--steel);
  border-radius: 999px;
  background: var(--steel);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--steel-dark);
  border-color: var(--steel-dark);
}

.button.secondary {
  background: transparent;
  color: var(--steel-dark);
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--steel-dark);
  color: #fff;
}

.nav-links .button {
  min-height: 44px;
  padding-inline: 22px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #111;
}

.hero iframe,
.hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.hero iframe {
  width: 177.78vh;
  min-width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bg-video,
.bg-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.bg-video {
  width: 177.78vh;
  min-width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero iframe.is-loaded,
.bg-video.is-loaded {
  opacity: 1;
}

.hero::after,
.page-hero::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero-content,
.page-hero .container,
.site-footer .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(960px, calc(100% - 32px));
}

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

h1 {
  margin-bottom: 20px;
  font-size: 5rem;
  line-height: 1;
}

h2 {
  margin-bottom: 24px;
  font-size: 3.8rem;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.15;
}

p,
li,
summary,
input,
textarea,
button {
  font-size: 1.25rem;
  line-height: 1.35;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
}

.hero .line-break {
  display: block;
}

section {
  padding: 86px 0;
}

main > section:nth-child(odd):not(.hero):not(.page-hero) {
  background: linear-gradient(180deg, var(--blue-2), #064f72);
}

main > section:nth-child(even):not(.hero):not(.page-hero) {
  background: linear-gradient(180deg, var(--blue-3), #095b83);
}

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

.narrow {
  width: min(920px, calc(100% - 32px));
}

.panel {
  overflow: hidden;
  border-radius: 24px;
  background: var(--blue-1);
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-content {
  padding: 44px;
}

.panel img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.media-grid,
.feature-grid,
.contact-grid,
.seo-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.media-card,
.feature-card,
.contact-card,
.seo-card,
.resource-card {
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-link {
  margin-top: 28px;
  margin-bottom: 0;
}

.blog-link .button.secondary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.blog-link .button.secondary:hover,
.blog-link .button.secondary:focus {
  border-color: #fff;
  background: #fff;
  color: var(--steel-dark);
}

.autoseo-blog-section .lead {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: 24px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover,
.blog-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(5, 20, 31, 0.24);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--blue-4);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.blog-card time {
  margin-bottom: 10px;
  color: var(--steel-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.blog-card h3 {
  font-size: 1.75rem;
}

.blog-card-link {
  margin-top: auto;
  color: var(--steel-dark);
  font-weight: 700;
}

.blog-empty {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
}

.article-page-hero .container {
  max-width: 980px;
}

.article-hero-image {
  display: block;
  width: min(100%, 920px);
  margin: 34px auto 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.autoseo-article-section {
  background: linear-gradient(180deg, var(--blue-3), #095b83);
}

.article-layout {
  max-width: 920px;
}

.article-meta {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

.article-content {
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
  font-size: 2rem;
  line-height: 1.15;
}

.article-content a {
  color: var(--steel-dark);
  font-weight: 700;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.article-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.article-keywords span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--steel-dark);
  font-weight: 700;
}

.article-infographic {
  margin-top: 34px;
}

.article-infographic img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.seo-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  min-height: 100%;
}

.seo-card:hover,
.seo-card:focus {
  transform: translateY(-3px);
}

.seo-card h3,
.seo-card p {
  text-align: center;
}

.seo-card .button {
  margin-top: auto;
  align-self: center;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}

.resource-card:hover,
.resource-card:focus {
  transform: translateY(-3px);
}

.resource-card .resource-link {
  margin-top: auto;
  color: var(--steel-dark);
  font-weight: 800;
  text-align: center;
}

.media-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.media-card {
  width: 100%;
}

.media-card p,
.feature-card .card-copy,
.contact-card,
.seo-card {
  padding: 22px;
}

.feature-card img,
.seo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.demo-preview img {
  display: block;
  width: 100%;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.play-badge span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.play-badge svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: var(--blue-1);
}

.center {
  text-align: center;
}

.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;
}

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

details {
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

summary {
  padding: 22px 26px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  padding: 0 26px 24px;
  color: #3d4d5d;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: inherit;
  background: #fff;
  color: #172635;
}

input::placeholder,
textarea::placeholder {
  color: #43566a;
  opacity: 1;
}

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

.form-note {
  color: var(--muted);
}

.contact-form-shell {
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-combined {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-form-shell,
.contact-info {
  min-height: 100%;
}

.contact-info {
  padding: 32px;
  display: flex;
  align-items: center;
}

.contact-info dl {
  display: grid;
  gap: 28px;
  margin: 0;
  width: 100%;
}

.contact-info dt {
  font-weight: 700;
  font-size: 1.65rem;
}

.contact-info dd {
  margin: 6px 0 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 42px 0 56px;
  text-align: center;
  background: #111;
}

.site-footer p {
  margin: 8px 0;
}

.footer-contact {
  font-size: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.social-row svg {
  width: 22px;
  height: 22px;
  fill: var(--blue-1);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 70px;
  background: #111;
  color: #fff;
}

.page-hero p {
  max-width: 760px;
}

.content-stack {
  display: grid;
  gap: 34px;
}

.content-stack img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.text-block {
  padding: 30px;
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 12, 20, 0.84);
}

.video-modal.open {
  display: flex;
}

.video-modal-panel {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -54px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-1);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 10px;
  }

  .nav-shell {
    width: min(100% - 8px, 620px);
    flex-wrap: nowrap;
    border-radius: 28px;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    width: min(300px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    box-shadow: 0 18px 44px rgba(5, 20, 31, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero {
    min-height: 100svh;
  }

  .page-hero {
    min-height: 72svh;
  }

  .hero iframe,
  .bg-video {
    width: 177.78svh;
    min-width: 100vw;
    height: 100svh;
    min-height: 56.25vw;
    max-width: none;
  }

  .media-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .media-grid,
  .feature-grid,
  .contact-grid,
  .contact-combined,
  .resource-grid,
  .seo-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    width: min(100% - 20px, 1160px);
  }

  .brand {
    font-size: 1rem;
  }

  .brand-logo img {
    width: 132px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  p,
  li,
  summary,
  input,
  textarea,
  button {
    font-size: 1.05rem;
  }

  section {
    padding: 58px 0;
  }

  .panel-content {
    padding: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
