:root {
  --ink: #102033;
  --ink-soft: #24364b;
  --muted: #64748b;
  --line: #d8e1ec;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --teal: #0f8a83;
  --blue: #2f6fed;
  --amber: #f2ad3f;
  --green: #45a46b;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(47, 111, 237, 0.11), transparent 28rem),
    linear-gradient(180deg, #f8fbfe 0%, #ffffff 45%, #eef6f5 100%);
  line-height: 1.55;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(216, 225, 236, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.08);
}

.brand,
.site-header nav,
.hero-actions,
.trust-row,
.window-bar,
.form-top,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 10px 22px rgba(15, 138, 131, 0.24);
}

.site-header nav {
  gap: 6px;
}

.site-header nav a {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a:hover {
  background: var(--mist);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 18px 40px rgba(47, 111, 237, 0.24);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-soft {
  color: var(--ink);
  background: #eaf2f8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1fr);
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 74px auto 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.lead {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 28px;
}

.trust-row {
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.product-stage {
  position: relative;
}

.product-stage::before {
  position: absolute;
  inset: -26px 42px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(242, 173, 63, 0.44), rgba(69, 164, 107, 0.26));
  content: "";
  transform: rotate(12deg);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 236, 0.95);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.window-bar {
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #cbd7e3;
}

.window-bar span:first-child {
  background: #ff6f61;
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar strong {
  margin-left: 10px;
  font-size: 14px;
}

.builder-grid {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 180px;
  min-height: 430px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: #f1f6fa;
}

.tool {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.tool.active,
.tool:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.form-preview,
.inspector {
  padding: 22px;
}

.form-preview {
  border-right: 1px solid var(--line);
}

.form-top {
  gap: 10px;
  margin-bottom: 20px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(69, 164, 107, 0.12);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
}

select {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: none;
}

.logic-card {
  padding: 16px;
  border: 1px solid rgba(15, 138, 131, 0.22);
  border-radius: 18px;
  background: #effaf8;
}

.logic-card span,
.mini-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.logic-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.inspector {
  background: #fbfdff;
}

.packet-line {
  height: 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #dbe6ef;
}

.packet-line.long {
  width: 100%;
}

.packet-line:not(.long):not(.short) {
  width: 78%;
}

.packet-line.short {
  width: 58%;
}

.signature-box {
  margin-top: 28px;
  padding: 16px;
  border: 1px dashed var(--blue);
  border-radius: 16px;
  color: var(--blue);
  background: rgba(47, 111, 237, 0.07);
  font-size: 13px;
  font-weight: 900;
}

.metric-strip,
.use-case-grid,
.feature-layout,
.security-panel,
.pricing,
.workflow-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
}

.metric-strip article {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
}

.metric-strip strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section-head {
  width: min(780px, calc(100% - 32px));
  margin: 110px auto 30px;
  text-align: center;
}

.section-head.align-left {
  width: auto;
  margin: 0;
  text-align: left;
}

.use-case-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.use-case-grid article,
.feature-list article,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
}

.use-case-grid article {
  padding: 24px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.use-case-grid p,
.feature-list p,
.workflow-band p,
.security-panel p,
.pricing-card p,
footer span {
  color: var(--muted);
}

.workflow-band,
.security-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 94px;
  padding: 42px;
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.94), rgba(15, 138, 131, 0.88)),
    linear-gradient(90deg, var(--ink), var(--teal));
  box-shadow: var(--shadow);
}

.workflow-band .eyebrow,
.security-panel .eyebrow {
  color: #9bf3ea;
}

.workflow-band p,
.security-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.workflow-steps span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
  margin-top: 110px;
  align-items: start;
}

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

.feature-list article {
  padding: 24px;
}

.security-panel {
  background:
    linear-gradient(135deg, rgba(47, 111, 237, 0.94), rgba(16, 32, 51, 0.94)),
    var(--blue);
}

.security-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-panel li {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.pricing {
  margin-top: 100px;
}

.pricing .section-head {
  margin-top: 0;
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.pricing-card strong {
  font-size: 34px;
}

footer {
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: min(1180px, calc(100% - 32px));
  margin: 100px auto 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    overflow: visible;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero,
  .workflow-band,
  .feature-layout,
  .security-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 48px;
  }

  .use-case-grid,
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 18px;
  }

  .hero,
  .metric-strip,
  .use-case-grid,
  .feature-layout,
  .security-panel,
  .pricing,
  .workflow-band {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .builder-grid,
  .use-case-grid,
  .feature-list,
  .metric-strip,
  .workflow-steps,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .form-preview {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pricing-card {
    align-items: stretch;
  }
}
