/* Page sections, in page order: hero, strip, focus, about, contact. */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 35px 0;
}

.hero h1 {
  margin: 30px 0 23px;
  font-size: clamp(45px, 5.2vw, 83px);
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-strong);
}

.hero-copy p {
  max-width: 440px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted-cool);
}

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 20px 55px #7060b315;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* Feature strip */
.strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);
  padding: 18px 24px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #655c88;
  background: linear-gradient(105deg, #ffffffb0, #eee9ffb0);
  border: 1px solid #e1dbfa;
  border-radius: 14px;
}

/* Focus (solutions) */
.intro {
  display: grid;
  gap: 16px;
  align-items: start;
  margin-bottom: 44px;
}

.intro h2 {
  max-width: 750px;
  font-size: clamp(40px, 5vw, 68px);
}

.intro p {
  max-width: 580px;
  margin-top: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 290px;
  padding: 30px;
  background: linear-gradient(145deg, #fff 20%, #f0ebff 100%);
  border: 1px solid #e4ddfc;
  border-radius: 24px;
  box-shadow: 0 14px 34px #6b4dff0b;
}

.tile::after {
  content: '';
  position: absolute;
  right: -55px;
  top: -65px;
  width: 160px;
  height: 160px;
  border-radius: 45%;
  background: linear-gradient(145deg, #fff0, #c8b9ff50);
  transform: rotate(-25deg);
  pointer-events: none;
}

.tile .num {
  font-size: 11px;
  letter-spacing: 1px;
  color: #6a5c9e;
}

.tile svg {
  width: 64px;
  height: 64px;
  padding: 12px;
  fill: none;
  stroke: #6845db;
  stroke-width: 1.6;
  background: linear-gradient(145deg, #fff, #dcd1ff);
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 0 6px 0 #b6a2fa80, 0 12px 24px #6b4dff20;
}

.tile h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.tile p {
  font-size: 14px;
}

/* About (dark band) */
.dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 95% 0%, #5b42aa 0, transparent 50%),
    linear-gradient(120deg, #15132e, #25204c);
}

.dark::before {
  content: '';
  position: absolute;
  width: 75%;
  height: 140px;
  right: -18%;
  top: -85px;
  border-radius: 50%;
  border: 1px solid #c8b8ff66;
  box-shadow: 0 25px 0 #ad94ff15, 0 50px 0 #ad94ff12;
  transform: rotate(12deg);
  pointer-events: none;
}

.dark p {
  color: #b7c2d6;
}

.dark .eyebrow {
  color: #c7baff;
}

.dark .eyebrow::before {
  background: #a99aff;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about h2 {
  margin: 24px 0;
  font-size: clamp(44px, 5vw, 72px);
}

.about p {
  max-width: 510px;
}

.diagram {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff16, #a995ff18);
  border: 1px solid #b2a1ff55;
  border-radius: 24px;
  box-shadow: 0 20px 50px #100d2940;
  backdrop-filter: blur(10px);
}

.diagram .eyebrow {
  margin-bottom: 24px;
}

.diagram .step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  font-size: 14px;
  background: linear-gradient(110deg, #ffffff13, #aa91ff30);
  border: 1px solid #c6b7ff55;
  border-radius: 12px;
  box-shadow: 0 4px 0 #7251e63d;
}

.diagram .step--highlight {
  border-color: #b09aff;
}

.diagram .step b {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #d7ccff;
}

.diagram .connector {
  height: 35px;
  line-height: 35px;
  text-align: center;
  color: #a89aff;
}

.diagram-note {
  margin-top: 18px;
  font-size: 11px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 45px;
  align-items: center;
  margin: 64px 0;
  padding: 54px 40px;
  background:
    radial-gradient(ellipse at 95% 5%, #dcd0ff85, transparent 60%),
    linear-gradient(120deg, #fff, #f0ebff);
  border: 1px solid #e1d9fc;
  border-radius: 28px;
  box-shadow: 0 14px 40px #6b4dff0c;
}

.contact h2 {
  margin: 20px 0;
  font-size: clamp(44px, 5vw, 76px);
}

.contact p {
  max-width: 490px;
}

.contact .button {
  margin-top: 28px;
}

.details {
  padding: 5px 22px;
  background: #ffffff80;
  border: 1px solid #fff;
  border-radius: 18px;
}

.details > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.details > div:last-child {
  border-bottom: 0;
}

.details small {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.details a:hover {
  text-decoration: underline;
}

/* 404 page */
.not-found {
  grid-template-columns: 1fr;
  min-height: 60vh;
}
