:root {
  --ink: #152033;
  --muted: #68758a;
  --white: #ffffff;
  --cloud: #f6f9ff;
  --blue: #4d7cff;
  --violet: #9b7cff;
  --cyan: #2ac6df;
  --rose: #ffd9ea;
  --line: rgba(77, 124, 255, 0.13);
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 72px rgba(80, 109, 170, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(155, 124, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(42, 198, 223, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--cloud) 50%, #ffffff 100%);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
}

.brand {
  color: var(--ink);
  font-weight: 800;
}

.brand::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(77, 124, 255, 0.34);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  min-height: 740px;
  padding: 94px clamp(20px, 6vw, 96px) 94px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 860px;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 7.1rem);
}

h2 {
  font-size: clamp(2.4rem, 4.7vw, 5rem);
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.22rem;
}

.lead {
  max-width: 620px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(77, 124, 255, 0.22);
  font-weight: 800;
}

.primary-link:hover {
  transform: translateY(-2px);
}

.interface-frame {
  display: grid;
  gap: 18px;
  min-height: 500px;
  padding: 18px;
  background: transparent;
}

.frame-toolbar {
  display: flex;
  gap: 9px;
  width: fit-content;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(80, 109, 170, 0.1);
  backdrop-filter: blur(18px);
}

.frame-toolbar span {
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 50%;
}

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

.feature-module {
  min-height: 190px;
  padding: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature-module small {
  color: var(--muted);
  font-weight: 700;
}

.feature-module strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.feature-module p {
  margin-top: 18px;
  color: var(--muted);
}

.primary-module {
  grid-row: span 2;
  min-height: 398px;
  background:
    linear-gradient(180deg, rgba(233, 229, 255, 0.88), rgba(255, 255, 255, 0.74));
}

.accent-module {
  background:
    linear-gradient(180deg, rgba(221, 248, 255, 0.86), rgba(255, 255, 255, 0.74));
}

.systems-section,
.method-section,
.company-section,
.contact-section {
  padding: 96px clamp(20px, 6vw, 96px);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 86px);
  align-items: flex-end;
}

.section-title .eyebrow {
  flex: 0 0 180px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.systems-grid article {
  min-height: 270px;
  padding: 30px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(80, 109, 170, 0.1);
  backdrop-filter: blur(16px);
}

.systems-grid article:nth-child(2) {
  background: linear-gradient(180deg, rgba(221, 248, 255, 0.76), rgba(255, 255, 255, 0.72));
}

.systems-grid article:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 217, 234, 0.74), rgba(255, 255, 255, 0.72));
}

.systems-grid span {
  display: inline-block;
  margin-bottom: 66px;
  color: var(--blue);
  font-weight: 800;
}

.systems-grid p,
.method-list p,
.company-copy p {
  color: var(--muted);
}

.method-section {
  background:
    linear-gradient(135deg, rgba(233, 229, 255, 0.7), rgba(221, 248, 255, 0.62)),
    #ffffff;
}

.method-section > div:first-child {
  max-width: 760px;
  margin-bottom: 40px;
}

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

.method-list article {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.company-section {
  background: #ffffff;
}

.company-copy {
  max-width: 920px;
}

.company-copy p {
  max-width: 740px;
  margin-top: 24px;
  font-size: 1.12rem;
}

.contact-section {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 124, 255, 0.14), transparent 34%),
    #ffffff;
}

.contact-section h2 {
  margin: 0 auto 28px;
}

.mail-link {
  display: inline-flex;
  padding: 18px 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(77, 124, 255, 0.2);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 6vw, 96px);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero,
  .systems-grid,
  .method-list article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title .eyebrow {
    flex-basis: auto;
  }

  .interface-frame {
    min-height: auto;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .primary-module {
    grid-row: auto;
    min-height: 220px;
  }
}
