:root {
  --forma-bg: #eef6fa;
  --forma-panel: #ffffff;
  --forma-panel-2: #d9ebf2;
  --forma-line: rgba(37, 83, 107, 0.18);
  --forma-text: #172433;
  --forma-muted: #5d7081;
  --forma-cyan: #28a6bd;
  --forma-blue: #176b80;
  --forma-green: #2e9d73;
  --forma-violet: #6e72c9;
}

html { overflow-x: clip; }

.forma-page {
  margin: -28px calc(50% - 50vw) 0;
  color: var(--forma-text);
  background:
    radial-gradient(780px 480px at 80% 0%, rgba(56, 195, 214, 0.2), transparent 62%),
    radial-gradient(640px 420px at 8% 8%, rgba(128, 169, 196, 0.16), transparent 56%),
    linear-gradient(rgba(26, 86, 112, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 112, 0.055) 1px, transparent 1px),
    var(--forma-bg);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  overflow-x: clip;
}

.forma-shell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.forma-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--forma-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.forma-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.forma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.forma-btn:hover {
  transform: translateY(-2px);
}

.forma-btn-primary {
  color: #fff;
  background: var(--forma-blue);
  box-shadow: 0 16px 30px rgba(23, 107, 128, 0.18);
}

.forma-btn-primary:hover {
  color: #fff;
  background: #0f5a6d;
}

.forma-btn-secondary {
  color: var(--forma-text);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--forma-line);
}

.forma-btn-secondary:hover {
  color: var(--forma-text);
  background: rgba(255, 255, 255, 0.1);
}

.forma-hero {
  position: relative;
  min-height: auto;
  padding: clamp(52px, 7vw, 88px) 0 52px;
}

.forma-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 86, 112, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 112, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
  pointer-events: none;
}

.forma-hero .forma-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}

.forma-hero-copy h1 {
  max-width: 570px;
  margin: 0 0 18px;
  color: #172433;
  font-size: clamp(2.35rem, 4.5vw, 4.35rem);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.forma-hero-copy p {
  max-width: 560px;
  margin: 0 0 26px;
  color: #4f6375;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.62;
}

.forma-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.forma-product-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(154, 196, 219, 0.3);
  border-radius: 18px;
  background: #d8e6ef;
  box-shadow: none;
}

.forma-product-shot::after {
  content: none;
}

.forma-product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.025);
  transform-origin: center;
}

.forma-product-shot figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  max-width: 290px;
  padding: 12px 14px;
  border: 1px solid rgba(123, 164, 184, 0.38);
  border-radius: 10px;
  color: #172433;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(40, 79, 98, 0.18);
  backdrop-filter: blur(10px);
}

.forma-product-shot figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--forma-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.forma-product-shot figcaption strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.forma-metrics {
  border-top: 1px solid var(--forma-line);
  border-bottom: 1px solid var(--forma-line);
  background: rgba(255, 255, 255, 0.68);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-grid div {
  padding: 24px 24px;
  border-right: 1px solid var(--forma-line);
}

.metrics-grid div:last-child {
  border-right: 0;
}

.metrics-grid strong,
.metrics-grid span {
  display: block;
}

.metrics-grid strong {
  color: #172433;
  font-size: 1.18rem;
  font-weight: 620;
}

.metrics-grid span {
  margin-top: 5px;
  color: var(--forma-muted);
}

.forma-visuals {
  padding: 36px 0;
  border-bottom: 1px solid var(--forma-line);
  background: #f7fbfd;
}

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

.visual-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(154, 196, 219, 0.24);
  border-radius: 14px;
  background: #d8e6ef;
  box-shadow: none;
}

.visual-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  transform: scale(1.045);
  transform-origin: center;
}

.visual-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(123, 164, 184, 0.36);
  border-radius: 999px;
  color: #172433;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.forma-workbench {
  padding: clamp(58px, 7vw, 88px) 0;
  background: #eef6fa;
  color: #102033;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.workbench-heading .forma-kicker {
  color: var(--forma-blue);
}

.workbench-heading h2,
.forma-pricing h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.workbench-heading p,
.forma-pricing p {
  color: #516578;
  font-size: 1.08rem;
  line-height: 1.7;
}

.tool-panel {
  display: grid;
  gap: 10px;
}

.tool-row {
  display: grid;
  grid-template-columns: 56px 0.9fr 1.35fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid #c6d9e5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
}

.tool-row span {
  color: var(--forma-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-weight: 900;
}

.tool-row b {
  font-size: 1.05rem;
}

.tool-row p {
  margin: 0;
  color: #5c6f80;
  line-height: 1.45;
}

.forma-cards {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #dfeaf1;
  color: #102033;
}

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

.card-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid #bdd2df;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 249, 252, 0.72));
}

.card-grid span {
  color: var(--forma-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid h3 {
  margin: 44px 0 12px;
  font-size: 1.65rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.card-grid p {
  margin: 0;
  color: #53687a;
  line-height: 1.55;
}

.forma-pricing {
  padding: clamp(58px, 7vw, 88px) 0;
  color: #102033;
  background:
    radial-gradient(620px 360px at 78% 20%, rgba(94, 212, 255, 0.22), transparent 62%),
    #f7fbfd;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(32px, 8vw, 100px);
  align-items: center;
}

.forma-pricing .forma-kicker {
  color: var(--forma-blue);
}

.price-box {
  padding: 34px;
  border: 1px solid #bdd2df;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 34, 52, 0.12);
}

.price-box > span {
  color: var(--forma-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-box strong {
  display: block;
  margin-top: 18px;
  font-size: 4rem;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.price-box em {
  display: block;
  margin-top: 8px;
  color: #53687a;
  font-style: normal;
}

.price-box ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-box li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-box svg {
  width: 18px;
  height: 18px;
  color: var(--forma-blue);
}

@media (max-width: 960px) {
  .forma-hero {
    min-height: auto;
  }

  .forma-hero .forma-shell,
  .workbench-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }
.visual-grid {
    grid-template-columns: 1fr;
  }
.metrics-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-row {
    grid-template-columns: 48px 1fr;
  }

  .tool-row p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .forma-shell {
    width: min(100% - 28px, 1220px);
  }

  .forma-hero-copy h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .metrics-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--forma-line);
  }
}
