/* ІНТАЛЄВ УКРАЇНА — unique block system, hue 248 */

:root {
  --bg: hsl(248, 32%, 7%);
  --bg-elevated: hsl(248, 28%, 11%);
  --text: hsl(45, 20%, 96%);
  --muted: color-mix(in srgb, var(--text) 58%, transparent);
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --accent: hsl(18, 92%, 58%);
  --accent-alt: hsl(168, 72%, 46%);
  --accent-deep: hsl(248, 68%, 62%);
  --radius: 14px;
  --max-w: 1180px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Syne", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --c1: hsl(18, 85%, 55%);
  --c2: hsl(168, 70%, 44%);
  --c3: hsl(248, 65%, 60%);
  --c4: hsl(42, 90%, 55%);
  --c5: hsl(330, 65%, 58%);
  --c6: hsl(200, 75%, 50%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ── Header: flat rail ── */

.header--rail {
  position: sticky;
  top: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  height: 64px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
}

.logo-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav--dots {
  display: flex;
  gap: 4px;
  justify-self: center;
}

.nav--dots a {
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav--dots a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.lang-toggle {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.lang-toggle:hover {
  border-color: color-mix(in srgb, var(--text) 30%, var(--line));
}

.header-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  transition: transform 0.2s, filter 0.2s;
}

.header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--glow {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 45%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--text) 25%, var(--line));
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

/* ── Main ── */

main {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 80px;
}

section {
  padding-top: 96px;
}

/* ── Hero: cascade + marquee ── */

.hero--cascade {
  padding-top: 56px;
  margin-left: calc(-1 * max(24px, (100vw - var(--max-w)) / 2 + 24px));
  margin-right: calc(-1 * max(24px, (100vw - var(--max-w)) / 2 + 24px));
  padding-left: max(24px, (100vw - var(--max-w)) / 2 + 24px);
  padding-right: max(24px, (100vw - var(--max-w)) / 2 + 24px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-deep) 18%, transparent) 0%, transparent 45%),
    linear-gradient(225deg, color-mix(in srgb, var(--accent-alt) 12%, transparent) 0%, transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: min(78vh, 680px);
  padding-bottom: 48px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-alt);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  background: linear-gradient(120deg, var(--text) 30%, color-mix(in srgb, var(--text) 70%, var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 110px;
}

.hero-badge em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.hero-badge span {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-stack {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stack-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero-stack-card {
  position: absolute;
  width: 240px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  transition: transform 0.3s;
}

.hero-stack-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.hero-stack-card--1 {
  top: 8%;
  right: 5%;
  transform: rotate(4deg);
  border-color: color-mix(in srgb, var(--c1) 40%, var(--line));
}

.hero-stack-card--1:hover { transform: rotate(4deg) translateY(-4px) scale(1.02); }

.hero-stack-card--2 {
  top: 38%;
  left: 0;
  transform: rotate(-3deg);
  border-color: color-mix(in srgb, var(--c2) 40%, var(--line));
}

.hero-stack-card--2:hover { transform: rotate(-3deg) translateY(-4px) scale(1.02); }

.hero-stack-card--3 {
  bottom: 6%;
  right: 12%;
  transform: rotate(2deg);
  border-color: color-mix(in srgb, var(--c3) 40%, var(--line));
}

.hero-stack-card--3:hover { transform: rotate(2deg) translateY(-4px) scale(1.02); }

.hero-stack-label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hero-stack-card code {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent-alt);
}

.hero-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg-elevated);
}

.hero-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.hero-marquee-track span {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero-marquee-track span::before {
  content: "◆";
  margin-right: 48px;
  color: var(--accent);
  font-size: 0.5rem;
  vertical-align: middle;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ── Profile: mosaic grid ── */

.profile--mosaic {
  position: relative;
  padding-top: 100px;
}

.profile-watermark {
  position: absolute;
  top: 60px;
  right: -20px;
  font-family: var(--display);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--text) 4%, transparent);
  pointer-events: none;
  user-select: none;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.profile-cell {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.profile-cell--title {
  grid-column: span 2;
  background: transparent;
  border: none;
  padding-left: 0;
  padding-bottom: 0;
}

.profile-cell--title h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
}

.profile-cell--text {
  grid-column: span 1;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  border-color: color-mix(in srgb, var(--accent-alt) 25%, var(--line));
}

.profile-cell--fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s;
}

.profile-cell--fact:hover {
  transform: translateY(-3px);
}

.profile-cell--fact strong {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
}

.profile-cell--fact span {
  font-size: 0.8rem;
  color: var(--muted);
}

.profile-cell--fact-1 { border-left: 3px solid var(--c1); }
.profile-cell--fact-2 { border-left: 3px solid var(--c2); }
.profile-cell--fact-3 { border-left: 3px solid var(--c3); }

.profile-cell--quote {
  grid-column: span 3;
  margin: 0;
  padding: 36px 40px;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--accent) 14%, var(--bg-elevated)),
    color-mix(in srgb, var(--accent-deep) 10%, var(--bg-elevated)));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.profile-cell--quote p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.profile-cell--quote cite {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ── Areas: zigzag rows ── */

.areas--zigzag {
  padding-top: 100px;
}

.areas-intro h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 40px;
}

.areas-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.area-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s;
}

.area-row:first-child {
  border-top: 1px solid var(--line);
}

.area-row:hover {
  padding-left: 12px;
  background: color-mix(in srgb, var(--text) 2%, transparent);
}

.area-row--1 .area-index { color: var(--c1); }
.area-row--2 .area-index { color: var(--c2); }
.area-row--3 .area-index { color: var(--c3); }
.area-row--4 .area-index { color: var(--c4); }
.area-row--5 .area-index { color: var(--c5); }
.area-row--6 .area-index { color: var(--c6); }

.area-row--2,
.area-row--4,
.area-row--6 {
  grid-template-columns: 1fr 80px;
}

.area-row--2 .area-index,
.area-row--4 .area-index,
.area-row--6 .area-index {
  order: 2;
  text-align: right;
}

.area-row--2 .area-body,
.area-row--4 .area-body,
.area-row--6 .area-body {
  order: 1;
  text-align: right;
}

.area-index {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
}

.area-body h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.area-body p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.area-row--2 .area-body p,
.area-row--4 .area-body p,
.area-row--6 .area-body p {
  margin-left: auto;
}

/* ── Process: horizontal pipeline ── */

.process--pipeline {
  padding-top: 100px;
}

.process-intro h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 48px;
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}

.pipeline-card {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.pipeline-card:hover {
  transform: translateY(-4px);
}

.pipeline-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.pipeline-card--1 { border-top: 3px solid var(--c1); }
.pipeline-card--1 .pipeline-num { background: color-mix(in srgb, var(--c1) 18%, transparent); color: var(--c1); }

.pipeline-card--2 { border-top: 3px solid var(--c2); }
.pipeline-card--2 .pipeline-num { background: color-mix(in srgb, var(--c2) 18%, transparent); color: var(--c2); }

.pipeline-card--3 { border-top: 3px solid var(--c4); }
.pipeline-card--3 .pipeline-num { background: color-mix(in srgb, var(--c4) 18%, transparent); color: var(--c4); }

.pipeline-card--4 { border-top: 3px solid var(--c5); }
.pipeline-card--4 .pipeline-num { background: color-mix(in srgb, var(--c5) 18%, transparent); color: var(--c5); }

.pipeline-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.pipeline-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--text) 25%, transparent);
  padding: 0 2px;
}

/* ── Contact: console terminal ── */

.contact--console {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
  padding-top: 100px;
}

.contact-rail h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-rail > p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-list li {
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list a,
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 16px 18px;
  transition: background 0.2s;
}

.contact-list a:hover {
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.contact-list-key {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-alt);
}

.contact-list-val {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-console {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: hsl(248, 30%, 9%);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--bg) 60%, transparent);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--text) 4%, var(--bg-elevated));
  border-bottom: 1px solid var(--line);
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 18%, transparent);
}

.console-dot:nth-child(1) { background: hsl(0, 70%, 58%); }
.console-dot:nth-child(2) { background: hsl(42, 85%, 55%); }
.console-dot:nth-child(3) { background: hsl(130, 55%, 48%); }

.console-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.console-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.console-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
}

.console-field--wide {
  grid-template-columns: 1fr;
}

.console-prompt {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent-alt);
  padding-top: 10px;
}

.console-field--wide .console-prompt {
  padding-top: 0;
  margin-bottom: 4px;
}

.console-field input,
.console-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.console-field input:focus,
.console-field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-alt) 50%, var(--line));
}

.console-field textarea {
  resize: vertical;
  min-height: 100px;
}

.btn--send {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.82rem;
}

/* ── Footer ── */

.footer--split {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .header--rail {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .nav--dots {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 20px;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    justify-self: stretch;
  }

  .nav--dots.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav--dots a {
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-stack {
    height: 300px;
    margin-top: 20px;
  }

  .hero-stack-card {
    width: 200px;
    padding: 14px 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-cell--title {
    grid-column: span 2;
  }

  .profile-cell--text {
    grid-column: span 2;
  }

  .profile-cell--quote {
    grid-column: span 2;
  }

  .pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pipeline-arrow {
    display: none;
  }

  .contact--console {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .logo-text {
    font-size: 0.7rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-cell--title,
  .profile-cell--text,
  .profile-cell--quote {
    grid-column: span 1;
  }

  .area-row,
  .area-row--2,
  .area-row--4,
  .area-row--6 {
    grid-template-columns: 56px 1fr;
  }

  .area-row--2 .area-index,
  .area-row--4 .area-index,
  .area-row--6 .area-index {
    order: 0;
    text-align: left;
  }

  .area-row--2 .area-body,
  .area-row--4 .area-body,
  .area-row--6 .area-body {
    order: 0;
    text-align: left;
  }

  .area-row--2 .area-body p,
  .area-row--4 .area-body p,
  .area-row--6 .area-body p {
    margin-left: 0;
  }

  .area-index {
    font-size: 1.5rem;
  }

  .pipeline {
    grid-template-columns: 1fr;
  }

  .console-field {
    grid-template-columns: 1fr;
  }

  .console-prompt {
    padding-top: 0;
  }

  .footer--split {
    flex-direction: column;
    align-items: flex-start;
  }
}
