:root {
  --ink: #0a1020;
  --ink-2: #111a31;
  --paper: #f6f3ed;
  --ice: #eef3f9;
  --white: #fff;
  --blue: #5b7cff;
  --blue-2: #90a5ff;
  --violet: #8d72ff;
  --green: #94e8bf;
  --line: rgba(11, 18, 34, .14);
  --muted: #687184;
  --radius: 28px;
  --shadow: 0 24px 80px rgba(9, 16, 31, .12);
  --container: 1240px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}
/* Generated by script */
@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 16, 32, .68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff
}

.brand-dot {
  color: var(--blue-2)
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 6px;
  transform: rotate(-6deg)
}

.brand-mark i {
  display: block;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-2), var(--violet))
}

.brand-mark i:nth-child(2) {
  transform: translateY(4px)
}

.brand-mark i:nth-child(3) {
  transform: translateY(-2px)
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #d9e0ee;
  font-size: .9rem
}

.main-nav>a {
  opacity: .84;
  transition: .2s
}

.main-nav>a:hover {
  opacity: 1;
  color: #fff
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 10px 16px !important;
  background: rgba(255, 255, 255, .07)
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 6px auto
}

.section {
  padding: 110px 0
}

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

.section-light {
  background: var(--paper)
}

.section-ice {
  background: var(--ice)
}

.section-ink {
  background: #0d1427;
  color: #fff
}

.hero {
  padding-top: 154px;
  position: relative;
  overflow: hidden
}

.hero:before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: -240px;
  top: -220px;
  background: radial-gradient(circle, rgba(91, 124, 255, .28), transparent 62%);
  filter: blur(20px)
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%)
}

.hero-layout {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  position: relative
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

.eyebrow {
  color: #b9c7e9
}

.kicker {
  color: #59698c
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(148, 232, 191, .1)
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 24px 0
}

.hero h1 em {
  font-style: normal;
  color: #aebdff
}

.hero-lead {
  max-width: 730px;
  color: #b9c3d7;
  font-size: 1.13rem
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 44px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 23px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 16px 44px rgba(91, 124, 255, .25)
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .17);
  color: #fff;
  background: rgba(255, 255, 255, .05)
}

.btn-small {
  padding: 9px 15px;
  font-size: .85rem
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.hero-proof div {
  display: flex;
  gap: 11px;
  align-items: flex-start
}

.hero-proof b {
  color: #8ea4ff;
  font-size: .72rem;
  letter-spacing: .08em
}

.hero-proof span {
  font-size: .8rem;
  color: #aeb7ca
}

.hero-visual {
  position: relative;
  height: 570px
}

.glass-card {
  background: rgba(18, 27, 51, .82);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px)
}

.terminal-card {
  position: absolute;
  inset: 75px 20px 85px 25px;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-2deg)
}

.terminal-top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.terminal-top>span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #51607f
}

.terminal-top small {
  margin-left: auto;
  color: #7e8baa;
  letter-spacing: .08em
}

.terminal-code {
  padding: 40px 34px;
  font-family: Consolas, monospace;
  font-size: 1rem;
  color: #dce4f8
}

.terminal-code p {
  margin: .6em 0
}

.code-muted {
  color: #53627e
}

.code-purple {
  color: #a994ff
}

.code-blue {
  color: #83a6ff
}

.code-green {
  color: #9ae8be
}

.terminal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: Consolas, monospace;
  font-size: .72rem;
  color: #8fa3c8
}

.terminal-footer span:first-child {
  color: #95e6bb
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  color: #c9d3e8;
  font: 700 .7rem Consolas, monospace;
  letter-spacing: .1em;
  background: rgba(10, 16, 32, .8);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .25)
}

.orbit span {
  display: block;
  padding: 10px 15px
}

.orbit-a {
  top: 35px;
  right: 0;
  transform: rotate(8deg)
}

.orbit-b {
  bottom: 105px;
  right: -5px;
  transform: rotate(-8deg)
}

.orbit-c {
  bottom: 42px;
  left: 5px;
  transform: rotate(5deg)
}

.hero-badge {
  position: absolute;
  top: 30px;
  left: 40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #f2efe7;
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  transform: rotate(-9deg)
}

.hero-badge strong {
  font-size: .9rem
}

.hero-badge small {
  font-size: .52rem;
  letter-spacing: .08em
}

.tech-ribbon {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 23px 0;
  color: #8d99b0;
  font: 800 .73rem Consolas, monospace;
  white-space: nowrap
}

.tech-ribbon i {
  color: #5d7df8;
  font-style: normal
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: end
}

.split-heading h2,
.section-head h2,
.ai-copy h2,
.why-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1.14;
  letter-spacing: -.04em;
  margin: 18px 0 0
}

.split-heading p,
.section-head-row p {
  color: var(--muted);
  max-width: 570px;
  margin: 0
}

.section-head {
  margin-bottom: 48px
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end
}

.section-head-row p {
  max-width: 430px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.service-card {
  position: relative;
  min-height: 420px;
  padding: 36px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: .25s
}

.service-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  z-index: 2
}

.service-index {
  font: 700 .72rem Consolas, monospace;
  color: #8a94a8
}

.service-icon {
  font-size: 1.7rem;
  margin: 48px 0 26px;
  color: #667fff
}

.service-eyebrow {
  font: 800 .66rem Consolas, monospace;
  letter-spacing: .13em;
  color: #7d88a0
}

.service-card h3 {
  font-size: 1.55rem;
  margin: 8px 0 14px
}

.service-card p {
  color: var(--muted);
  font-size: .94rem
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0
}

.service-card li {
  padding: 7px 0;
  border-top: 1px solid rgba(10, 16, 32, .08);
  font-size: .8rem;
  color: #48516a
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px
}

.work-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  overflow: hidden;
  background: #121b32
}

.work-wide {
  grid-column: span 2
}

.work-image-wrap {
  position: relative;
  background: #11182a;
  overflow: hidden
}

.work-image-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: .5s
}

.work-card:hover img {
  transform: scale(1.018)
}

.work-wide .work-image-wrap img {
  aspect-ratio: 2.2/1
}

.work-link {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111
}

.work-meta {
  padding: 27px
}

.work-meta>span {
  font: 800 .66rem Consolas, monospace;
  letter-spacing: .12em;
  color: #8795b4
}

.work-meta h3 {
  font-size: 1.8rem;
  margin: 7px 0
}

.work-meta p {
  color: #a9b4c9;
  margin: 0;
  max-width: 730px
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px
}

.tag-row span {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .67rem;
  color: #aebbd3
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line)
}

.process-step {
  min-height: 320px;
  padding: 32px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.process-step>span {
  font: 700 .74rem Consolas, monospace;
  color: #6178d8
}

.process-step h3 {
  margin-top: 90px;
  font-size: 1.35rem
}

.process-step p {
  color: var(--muted);
  font-size: .9rem
}

.ai-band {
  position: relative;
  overflow: hidden
}

.ai-band:after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -250px;
  top: -160px;
  background: radial-gradient(circle, rgba(141, 114, 255, .22), transparent 66%)
}

.ai-layout {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 1
}

.ai-copy p {
  color: #b5c0d4;
  font-size: 1.03rem;
  max-width: 650px
}

.ai-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.ai-points span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font: 700 .69rem Consolas, monospace;
  color: #c2cee5
}

.ai-diagram {
  display: grid;
  grid-template-columns: auto 28px auto 28px 1fr 28px auto;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .04);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  overflow: auto
}

.ai-diagram i {
  font-style: normal;
  color: #7188df
}

.node {
  border: 1px solid rgba(255, 255, 255, .13);
  background: #121d39;
  border-radius: 14px;
  padding: 14px 15px;
  text-align: center;
  color: #cbd6ee;
  font: 700 .7rem Consolas, monospace;
  white-space: nowrap
}

.node-group {
  display: grid;
  gap: 8px
}

.node-router {
  border-color: rgba(91, 124, 255, .45)
}

.node-output {
  background: #eef2ff;
  color: #17213c
}

.stack-board {
  margin-top: 52px;
  border-top: 1px solid var(--line)
}

.stack-group {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line)
}

.stack-group>span {
  font: 800 .68rem Consolas, monospace;
  color: #69748a
}

.stack-group>div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.stack-group b {
  font-size: clamp(1rem, 2vw, 1.45rem);
  background: #fff;
  border: 1px solid rgba(10, 16, 32, .08);
  border-radius: 999px;
  padding: 8px 16px
}

.why-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px
}

.why-copy {
  position: sticky;
  top: 130px;
  align-self: start
}

.why-copy p {
  color: var(--muted);
  max-width: 520px
}

.text-link {
  display: inline-flex;
  gap: 10px;
  font-weight: 800;
  margin-top: 18px
}

.why-list {
  border-top: 1px solid var(--line)
}

.why-item {
  display: grid;
  grid-template-columns: 60px .75fr 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start
}

.why-item b {
  font: 700 .73rem Consolas, monospace;
  color: #6d7fd0
}

.why-item h3 {
  margin: 0;
  font-size: 1.25rem
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

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

.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(10, 16, 32, .08);
  transition: .2s
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover
}

.blog-card div {
  padding: 24px
}

.blog-card span {
  font: 700 .68rem Consolas, monospace;
  color: #7b879a
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 8px 0 12px
}

.blog-card p {
  color: var(--muted);
  font-size: .88rem
}

.blog-card b {
  font-size: .78rem
}

.section-contact {
  background: #e8edff;
  position: relative;
  overflow: hidden
}

.section-contact:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #d4dcff;
  left: -240px;
  bottom: -300px;
  filter: blur(2px)
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  position: relative
}

.contact-copy p {
  color: #5e6980
}

.contact-direct {
  margin-top: 40px;
  display: grid;
  gap: 6px
}

.contact-direct>span {
  font-size: .72rem;
  color: #6a7892;
  font-weight: 800;
  margin-bottom: 8px
}

.contact-direct a {
  font: 800 1.05rem Consolas, monospace;
  width: max-content
}

.contact-form-wrap {
  background: #fff;
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow)
}

.project-form,
.admin-form,
.editor-form {
  display: grid;
  gap: 18px
}

.project-form label,
.admin-form label,
.editor-form label {
  display: grid;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: #374159
}

.project-form label small,
.editor-form label small {
  font-weight: 400;
  color: #8a94a8
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.project-form input,
.project-form textarea,
.project-form select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.editor-form input,
.editor-form textarea,
.editor-form select,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #dce1ec;
  background: #fbfcff;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  color: #1a2337;
  transition: .2s
}

.project-form input:focus,
.project-form textarea:focus,
.project-form select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus {
  border-color: #7b90f4;
  box-shadow: 0 0 0 4px rgba(91, 124, 255, .09)
}

.form-submit {
  display: flex;
  gap: 18px;
  align-items: center
}

.form-submit small {
  color: #818a9c;
  font-size: .72rem;
  max-width: 270px
}

.alert {
  padding: 13px 15px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: .84rem
}

.alert-success {
  background: #e9f9f1;
  color: #1c6d4c;
  border: 1px solid #bcebd5
}

.alert-error {
  background: #fff0f0;
  color: #943737;
  border: 1px solid #f1c5c5
}

.alert ul {
  margin: 7px 0 0
}

.site-footer {
  background: #080d19;
  color: #fff;
  padding: 72px 0 22px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 60px
}

.footer-grid>div {
  display: grid;
  align-content: start;
  gap: 8px
}

.footer-grid p {
  color: #939fb6;
  max-width: 500px
}

.footer-label {
  font: 800 .67rem Consolas, monospace;
  letter-spacing: .14em;
  color: #65718a;
  margin-bottom: 8px
}

.footer-grid a:not(.brand) {
  color: #aeb9ce;
  font-size: .88rem
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #68748b;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 55px;
  padding-top: 20px;
  font: 700 .66rem Consolas, monospace
}

.page-hero {
  padding: 180px 0 90px
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  max-width: 850px;
  margin: 20px 0
}

.page-hero p {
  color: #aeb9cc;
  max-width: 650px
}

.article-hero {
  padding: 165px 0 70px;
  background: #0b1223;
  color: #fff
}

.article-head {
  max-width: 900px
}

.article-head>span {
  color: #8290ab;
  font: 700 .7rem Consolas, monospace
}

.article-head h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
  margin: 18px 0
}

.article-head p {
  font-size: 1.1rem;
  color: #b7c1d3
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #7187e7
}

.article-layout {
  max-width: 960px;
  padding-top: 60px;
  padding-bottom: 90px
}

.article-cover {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 50px
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover
}

.article-content {
  max-width: 780px;
  margin: auto;
  font-size: 1.05rem
}

.article-content p {
  margin: 0 0 1.5em
}

.prose-box {
  max-width: 850px
}

.prose-box h2 {
  margin-top: 32px
}

.pagination-wrap {
  margin-top: 40px
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms)
}

.reveal.in-view {
  opacity: 1;
  transform: none
}

.delay-1 {
  --delay: 120ms
}

/* admin */
.admin-body {
  background: #eef1f6
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #09101f;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column
}

.admin-user {
  margin: 34px 0 18px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  display: grid
}

.admin-user small {
  color: #71809b
}

.admin-sidebar nav {
  display: grid;
  gap: 4px
}

.admin-sidebar nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #aab5c9;
  font-size: .88rem
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: #18223a;
  color: #fff
}

.admin-logout {
  margin-top: auto;
  background: none;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #aeb8cc;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer
}

.admin-main {
  padding: 34px;
  min-width: 0
}

.admin-top {
  display: flex;
  justify-content: space-between;
  color: #78849a;
  font: 700 .68rem Consolas, monospace;
  margin-bottom: 32px
}

.admin-menu-toggle {
  display: none
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px
}

.admin-heading h1 {
  margin: 4px 0 0;
  font-size: 2.3rem
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px
}

.stat-grid>div {
  background: #fff;
  border: 1px solid #e1e5ec;
  border-radius: 18px;
  padding: 20px;
  display: grid
}

.stat-grid span {
  color: #7b8698;
  font-size: .75rem
}

.stat-grid strong {
  font-size: 2rem
}

.admin-panel {
  background: #fff;
  border: 1px solid #e0e5ee;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 20px
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem
}

th,
td {
  text-align: right;
  padding: 13px 10px;
  border-bottom: 1px solid #edf0f5;
  white-space: nowrap
}

th {
  font-size: .7rem;
  color: #728097
}

.status-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font: 700 .67rem Consolas, monospace;
  background: #edf0f6;
  color: #596579
}

.status-new {
  background: #e9edff;
  color: #4258b5
}

.status-qualified {
  background: #e8f8f0;
  color: #267152
}

.status-spam {
  background: #fff0f0;
  color: #a44444
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  margin-bottom: 15px
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 20px
}

.detail-card dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 24px
}

.detail-card dt {
  color: #7b879a;
  font-size: .78rem
}

.detail-card dd {
  margin: 0;
  font-weight: 700
}

.request-message {
  white-space: pre-wrap;
  background: #f7f8fb;
  border-radius: 14px;
  padding: 16px
}

.danger-panel {
  border-color: #f0cccc
}

.danger-btn {
  border: 0;
  background: #9d3d3d;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer
}

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

.admin-media-card {
  background: #fff;
  border: 1px solid #e0e5ee;
  border-radius: 20px;
  overflow: hidden
}

.admin-media-card img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover
}

.admin-media-card>div {
  padding: 18px
}

.admin-media-card>div>span,
.admin-list-row>div>span {
  font: 700 .66rem Consolas, monospace;
  color: #7b8798
}

.admin-media-card h3 {
  margin: 5px 0
}

.admin-media-card p {
  color: #6e788a;
  font-size: .82rem
}

.admin-media-card .tag-row span {
  color: #5e6a7d;
  border-color: #e1e6ef
}

.card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px
}

.card-actions a,
.card-actions button {
  font-size: .76rem;
  border: 0;
  background: none;
  color: #5368c8;
  cursor: pointer;
  padding: 0
}

.card-actions button {
  color: #a14e4e
}

.admin-list {
  display: grid;
  gap: 12px
}

.admin-list-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border: 1px solid #e0e5ee;
  border-radius: 18px;
  padding: 20px
}

.admin-list-row h3 {
  margin: 5px 0
}

.admin-list-row p {
  margin: 0;
  color: #6e788b;
  font-size: .82rem;
  max-width: 750px
}

.editor-form {
  max-width: 900px
}

.editor-preview {
  width: 340px;
  border-radius: 16px;
  border: 1px solid #e2e5ed
}

.check-row {
  display: flex;
  gap: 20px
}

.check-row label {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center
}

.check-row input {
  width: auto
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 10%, #1a2850, #090f1e 48%);
  color: #fff;
  padding: 20px
}

.admin-login-card {
  width: min(100%, 480px);
  background: rgba(16, 25, 47, .9);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4)
}

.admin-login-card h1 {
  margin: 10px 0
}

.admin-login-card p {
  color: #9eabc1
}

.admin-login-card .admin-form {
  margin: 28px 0
}

.admin-login-card label {
  color: #bac4d6
}

.admin-login-card input {
  background: #111c34;
  border-color: #26334e;
  color: #fff
}

@media(max-width:1000px) {

  .hero-layout,
  .ai-layout,
  .contact-grid,
  .why-grid,
  .split-heading {
    grid-template-columns: 1fr
  }

  .hero-visual {
    height: 500px
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

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

  .why-copy {
    position: static
  }

  .admin-shell {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    position: fixed;
    right: -280px;
    width: 260px;
    z-index: 200;
    transition: .25s
  }

  .admin-sidebar.open {
    right: 0
  }

  .admin-menu-toggle {
    display: block
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-two-col {
    grid-template-columns: 1fr
  }
}

@media(max-width:760px) {
  .container {
    width: min(calc(100% - 28px), var(--container))
  }

  .site-header {
    background: rgba(9, 15, 29, .9)
  }

  .nav-toggle {
    display: block
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    padding: 18px;
    background: #111a30;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35)
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    padding: 10px 12px
  }

  .hero {
    padding-top: 120px
  }

  .hero-layout {
    gap: 25px;
    min-height: auto
  }

  .hero h1 {
    font-size: 3.2rem
  }

  .hero-visual {
    height: 430px
  }

  .terminal-card {
    inset: 55px 0 70px 0
  }

  .terminal-code {
    padding: 30px 18px;
    font-size: .78rem
  }

  .hero-proof {
    grid-template-columns: 1fr
  }

  .hero-badge {
    left: 5px
  }

  .section {
    padding: 78px 0
  }

  .split-heading {
    gap: 24px
  }

  .split-heading h2,
  .section-head h2,
  .ai-copy h2,
  .why-copy h2,
  .contact-copy h2 {
    font-size: 2.55rem
  }

  .services-grid,
  .process-grid,
  .work-grid,
  .blog-grid,
  .admin-cards {
    grid-template-columns: 1fr
  }

  .work-wide {
    grid-column: auto
  }

  .work-wide .work-image-wrap img,
  .work-image-wrap img {
    aspect-ratio: 16/10
  }

  .service-card {
    min-height: auto
  }

  .process-step {
    min-height: auto
  }

  .process-step h3 {
    margin-top: 50px
  }

  .stack-group {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .why-item {
    grid-template-columns: 42px 1fr
  }

  .why-item p {
    grid-column: 2
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .footer-bottom {
    gap: 14px;
    flex-direction: column
  }

  .contact-form-wrap {
    padding: 22px
  }

  .ai-diagram {
    grid-template-columns: 1fr
  }

  .ai-diagram i {
    transform: rotate(90deg);
    text-align: center
  }

  .page-hero {
    padding: 145px 0 70px
  }

  .article-hero {
    padding-top: 130px
  }

  .admin-main {
    padding: 20px
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr
  }

  .filter-bar {
    grid-template-columns: 1fr
  }

  .admin-list-row {
    flex-direction: column
  }

  .detail-card dl {
    grid-template-columns: 1fr
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .btn,
  .work-card img {
    transition: none
  }
}