:root {
  --navy: #05132f;
  --navy-2: #0a1d48;
  --blue: #0d6df2;
  --blue-2: #25a5ff;
  --sky: #ecf6ff;
  --paper: #f6fbff;
  --paper-2: #ffffff;
  --line: #d9e6f5;
  --ink: #09172f;
  --muted: #60708d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(5, 19, 47, 0.12);
  --shadow-soft: 0 12px 32px rgba(5, 19, 47, 0.08);
  --success: #0d9488;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
span,
strong,
li {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 230, 245, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 166px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-weight: 800;
}

.site-nav a {
  opacity: 0.74;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.header-action,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 28px rgba(13, 109, 242, 0.24);
  border: 0;
}

.button.ghost {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.button svg,
.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero,
.page-hero,
.section,
.site-footer {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: clamp(52px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 98px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(37, 165, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #ffffff, #f6fbff);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% 0 auto;
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  background: linear-gradient(135deg, rgba(13, 109, 242, 0.18), rgba(37, 165, 255, 0.04));
  clip-path: polygon(18% 0, 100% 0, 72% 100%, 0 84%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.14rem;
  line-height: 1.28;
}

.hero-copy > p:not(.eyebrow),
.page-hero p,
.section-intro p,
.feature-card p,
.timeline-grid p,
.use-case-grid p,
.faq-item p,
.contact-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions,
.hero-proof,
.section-cta-row,
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  margin-top: 32px;
}

.hero-proof span {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.hero-proof strong {
  color: var(--blue);
}

.hero-visual {
  min-height: 540px;
}

.visual-panel,
.visual-chip,
.feature-card,
.domain-card,
.stat-card,
.use-case-grid article,
.faq-item,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.visual-panel {
  position: absolute;
  inset: 18% 8% auto 0;
  padding: clamp(24px, 4vw, 40px);
}

.visual-panel span,
.stat-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.visual-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.04;
}

.visual-panel p {
  margin: 16px 0 0;
}

.visual-chip {
  position: absolute;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 900;
}

.chip-a {
  top: 2%;
  right: 4%;
}

.chip-b {
  left: 4%;
  bottom: 20%;
}

.chip-c {
  right: 0;
  bottom: 6%;
}

.visual-line {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 210px;
  height: 210px;
  border-top: 10px solid var(--blue);
  border-right: 10px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 86% 86%, 86% 16%, 16% 16%);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.metrics-band div {
  display: grid;
  gap: 6px;
  padding: 26px clamp(18px, 4vw, 40px);
  background: var(--white);
}

.metrics-band strong {
  color: var(--navy);
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 900;
}

.metrics-band span {
  color: var(--muted);
  font-weight: 800;
}

.page-hero,
.section {
  padding-top: clamp(72px, 10vw, 126px);
  padding-bottom: clamp(72px, 10vw, 126px);
}

.page-hero {
  max-width: 1100px;
}

.page-hero p {
  max-width: 64ch;
  margin: 22px 0 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(236, 246, 255, 0.82), rgba(246, 251, 255, 0.86)),
    var(--sky);
}

.section-dark {
  background: var(--navy);
}

.section-intro,
.top-grid,
.feature-grid,
.split-showcase,
.timeline-grid,
.use-case-grid,
.faq-list,
.contact-layout,
.portfolio-toolbar,
.domain-grid {
  max-width: 1220px;
  margin: 0 auto;
}

.section-intro {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.section-intro.light h2,
.section-intro.light p {
  color: var(--white);
}

.section-intro.light .eyebrow {
  color: var(--blue-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 8px;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.domain-card {
  display: grid;
  gap: 18px;
  min-height: 210px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 109, 242, 0.42);
}

.domain-card.featured {
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(13, 109, 242, 0.12), transparent 44%),
    var(--white);
}

.domain-card.is-hidden {
  display: none;
}

.domain-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.domain-tag,
.domain-rank {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.domain-tag {
  color: var(--blue);
  background: var(--sky);
}

.domain-rank {
  color: var(--white);
  background: var(--navy);
}

.domain-name {
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.56rem);
  font-weight: 950;
  line-height: 1.08;
}

.domain-card p {
  margin: 0;
}

.domain-card button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.domain-card button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.section-cta-row {
  justify-content: space-between;
  align-items: center;
  max-width: 1220px;
  margin: 24px auto 0;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.bullet-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.8;
  font-weight: 700;
}

.showcase-panel {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.3;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-grid span {
  color: var(--blue-2);
  font-size: 2rem;
  font-weight: 900;
}

.timeline-grid h3 {
  margin-top: 14px;
  color: var(--white);
}

.timeline-grid p {
  color: rgba(255, 255, 255, 0.74);
}

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

.use-case-grid article,
.faq-item,
.contact-card {
  padding: 24px;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  font-weight: 900;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 14px 0 0;
}

.contact-card h3,
.faq-item h3,
.contact-card h3 {
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 1fr);
  gap: 22px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(13, 109, 242, 0.18);
  border-color: var(--blue);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 900;
}

.portfolio-toolbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(160px, 0.6fr) minmax(220px, 0.8fr);
  gap: 22px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 36px;
  color: var(--white);
  background: var(--navy);
}

.site-footer img {
  width: 150px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--white);
}

.site-footer p {
  max-width: 34ch;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-weight: 800;
}

@media (max-width: 1120px) {
  .top-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .domain-grid,
  .feature-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }

  .hero,
  .split-showcase,
  .contact-layout,
  .feature-grid,
  .use-case-grid,
  .timeline-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 400px;
  }

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

  .domain-grid,
  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 136px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero-actions .button,
  .portfolio-toolbar .button {
    width: 100%;
  }

  .metrics-band,
  .domain-grid,
  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: grid;
  }

  .hero-visual {
    min-height: 330px;
  }

  .visual-panel {
    inset: 10% 0 auto 0;
  }
}
