:root {
  --bg: #f5f0e8;
  --surface: #ede8df;
  --text: #0f0f0f;
  --accent: #ff4d00;
  --muted: #8a8278;
  --border: #c8c2b8;
  --header-height: 48px;
  --header-offset: calc(var(--header-height) + 1rem);
  --marquee-gap: 1.25rem;
  --container-padding: clamp(1rem, 2.2vw, 2rem);
  --section-gap: clamp(4rem, 8vw, 8rem);
  --about-image: url("assets/002.webp");
  --process-image: url("assets/003.webp");
  --advantage-image: url("assets/004.webp");
  --portfolio-one: url("assets/005.webp");
  --portfolio-two: url("assets/006.webp");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 0, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bot-check {
  position: absolute;
  left: -100vw;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}

main {
  padding-top: var(--header-height);
}

.site-header,
.site-footer,
.section,
.marquee,
.cta {
  padding-inline: var(--container-padding);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
  background: rgba(245, 240, 232, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 240, 232, 0.98);
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
}

.site-header__brand,
.site-header__nav,
.hero__eyebrow,
.hero__kicker,
.work-card__year,
.marquee,
.cta__contacts span,
.site-footer {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.site-header__brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 1.6vw, 1.75rem);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.site-header__nav a,
.site-footer__nav a {
  position: relative;
}

.site-header__nav a::after,
.site-footer__nav a::after,
.works__note a::after,
.work-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-header__nav a:hover::after,
.site-footer__nav a:hover::after,
.works__note a:hover::after,
.work-card__link:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100svh - var(--header-height));
  border-bottom: 1px solid var(--border);
}

.hero__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.hero__eyebrow,
.hero__kicker,
.work-card__year,
.pricing__features,
.cta__note {
  color: var(--muted);
  letter-spacing: 0.05em;
}

.hero__eyebrow {
  align-self: start;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero__copy {
  align-self: end;
  max-width: 46rem;
}

.hero__kicker {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.hero h1,
.section__heading h2,
.work-card h3,
.pricing h3,
.cta h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 12vw, 9.5rem);
  line-height: 0.99;
  max-width: 7ch;
}

.hero__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero__footer p {
  max-width: 24rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 2px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

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

.button--outline {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

.button--outline:hover,
.button--solid:hover {
  background: var(--accent);
  color: var(--bg);
}

.button--solid {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.button--invert {
  color: var(--text);
  border-color: var(--bg);
  background: var(--bg);
}

.button--invert:hover {
  color: var(--bg);
  background: transparent;
}

.why__portrait,
.compare__visual,
.work-card__media {
  min-height: 100%;
  background-color: var(--surface);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-form-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top left, rgba(255, 77, 0, 0.08), transparent 34%),
    var(--surface);
}

.hero-form,
.prices-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.hero-form {
  max-width: 400px;
}

.form-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-group {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.field-group:focus-within {
  border-color: var(--accent);
}

.field-group:focus-within .field-label {
  color: var(--accent);
}

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.hero-form input[type="text"],
.hero-form input[type="tel"],
.hero-form textarea,
.prices-form input[type="text"],
.prices-form input[type="tel"],
.prices-form textarea {
  width: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font: 500 1.125rem/1.35 "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  resize: none;
  caret-color: var(--accent);
  appearance: none;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder,
.prices-form input::placeholder,
.prices-form textarea::placeholder {
  color: var(--border);
  font-weight: 400;
}

.field-group--textarea textarea {
  min-height: 4rem;
}

.form-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.95rem 1.5rem;
  border: none;
  background: var(--text);
  color: var(--bg);
  font: 700 0.78rem/1 "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.form-btn:hover {
  background: var(--accent);
}

.form-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-loading {
  display: none;
}

.form-btn.is-loading .btn-text {
  display: none;
}

.form-btn.is-loading .btn-loading {
  display: inline;
}

.form-success,
.form-error {
  display: none;
  margin-top: 0.75rem;
  padding: 0.65rem 0.7rem 0.65rem 0.75rem;
  border-left: 3px solid;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: space-between;
}

.form-success {
  color: #3a8c4a;
  border-color: #3a8c4a;
}

.form-error {
  color: var(--accent);
  border-color: var(--accent);
}

.form-success.visible,
.form-error.visible {
  display: flex;
}

.form-message__text {
  min-width: 0;
}

.form-message__close {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.15rem -0.2rem -0.15rem 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.form-message__close:hover,
.form-message__close:focus-visible {
  opacity: 1;
}

.form-message__close:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.field-group.has-error {
  border-color: var(--accent);
}

.field-group.has-error .field-label::after {
  content: " *";
  color: var(--accent);
}

.marquee {
  overflow: hidden;
  background: var(--text);
  color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  text-transform: uppercase;
  font-size: 0.78rem;
  width: max-content;
  will-change: transform;
}

.marquee.is-ready .marquee__track {
  animation: marquee-loop var(--marquee-duration, 24s) linear infinite;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--marquee-gap);
  padding-block: 0.7rem;
  padding-right: var(--marquee-gap);
  white-space: nowrap;
}

.marquee__group span::after {
  content: "·";
  margin-left: var(--marquee-gap);
}

@keyframes marquee-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--marquee-distance, -50%), 0, 0);
  }
}

.section {
  padding-block: var(--section-gap);
}

.section__heading {
  margin-bottom: 2rem;
}

.section__heading--light {
  color: var(--bg);
}

.section__heading h2,
.cta h2 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 1.012;
}

.section__intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.45;
}

.why__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 320px);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.why__aside {
  position: sticky;
  top: calc(var(--header-offset) + 0.5rem);
}

.why__portrait {
  min-height: 22rem;
  border: 1px solid var(--border);
  filter: grayscale(1);
  background-image:
    linear-gradient(180deg, rgba(15, 15, 15, 0.1), rgba(15, 15, 15, 0.28)),
    linear-gradient(135deg, rgba(255, 77, 0, 0.08), transparent 40%),
    var(--about-image);
}

.why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.why__list li {
  display: grid;
  grid-template-columns: minmax(4rem, 5.5rem) 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.05;
}

.why__list--interactive li {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  transition: color 0.3s ease;
}

.why__list--interactive .why__index {
  color: var(--muted);
  transition: color 0.3s ease;
}

.why__list--interactive li.is-passed {
  color: var(--text);
}

.why__list--interactive li.is-passed .why__index {
  color: var(--text);
}

.why__index {
  color: var(--accent);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
}

.process {
  color: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.88), rgba(15, 15, 15, 0.94)),
    linear-gradient(120deg, rgba(255, 77, 0, 0.18), transparent 35%),
    var(--process-image);
  background-position: center;
  background-size: cover;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.process-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(13.5rem, 23vw, 17rem);
  gap: clamp(0.9rem, 2vw, 2rem);
  align-items: center;
}

.process-step--reverse {
  grid-template-columns: clamp(13.5rem, 23vw, 17rem) minmax(0, 1fr);
}

.process-step--reverse .process-step__scene {
  order: 2;
}

.process-step--reverse .process-note {
  order: 1;
}

.process-step--estimate .process-note {
  transform: translateX(calc(clamp(0.75rem, 1.8vw, 1.5rem) + 20px));
}

.process-step--handoff {
  grid-template-columns: clamp(11.5rem, 17vw, 14rem) minmax(0, 1fr);
}

.process-step__scene {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(18rem, 29vw, 22.5rem);
}

.process-step__surface {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.process-step__surface--call {
  justify-content: flex-start;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}

.process-step__surface--estimate {
  justify-content: flex-start;
  padding: clamp(0.4rem, 1vw, 1rem);
  background: radial-gradient(circle, rgba(245, 240, 232, 0.12), transparent 72%);
}

.process-step__surface--build {
  padding: clamp(0.85rem, 1.2vw, 1rem);
  border: 1px solid rgba(53, 42, 31, 0.14);
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(247, 241, 233, 0.98), rgba(232, 224, 213, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(255, 77, 0, 0.18),
    0 22px 46px rgba(20, 12, 7, 0.18);
}

.process-step__surface--handoff {
  justify-content: flex-end;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}

.process-step--handoff .process-step__scene,
.process-step--handoff .process-step__surface--handoff,
.process-step--handoff .process-handoff {
  width: 100%;
}

.process-device {
  position: relative;
  width: min(100%, clamp(12.75rem, 18vw, 14.5rem));
  aspect-ratio: 9 / 19;
  margin-left: clamp(0rem, 3vw, 2rem);
  padding: 0.72rem;
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 2.2rem;
  background:
    linear-gradient(180deg, rgba(51, 51, 51, 0.92), rgba(10, 10, 10, 0.98));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-device::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 50%;
  width: 34%;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.14);
  transform: translateX(-50%);
}

.process-note {
  width: min(100%, clamp(13.5rem, 23vw, 17rem));
  padding: 1.15rem 1.1rem 1.05rem;
  border: 1px solid rgba(53, 42, 31, 0.16);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    rgba(245, 240, 232, 0.96);
  color: var(--text);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.step-number {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-family: "Bebas Neue", "Anton", Impact, sans-serif;
  font-size: clamp(2.25rem, 2.7vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.step-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.step-desc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.process-call,
.process-handoff,
.step-demo,
.step-demo__grid {
  min-height: 100%;
}

.process-call {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 1rem 0.9rem 0.95rem;
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top, rgba(255, 77, 0, 0.2), transparent 36%),
    linear-gradient(180deg, #131313 0%, #0c0c0d 100%);
}

.process-call__meta,
.process-call__name,
.process-call__end-label,
.process-doc,
.demo-editor__bar,
.demo-preview__bar,
.demo-editor__filename,
.demo-preview__url,
.demo-preview__eyebrow,
.process-handoff {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

.process-call__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.78rem;
}

.process-call__indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 77, 0, 0.55);
}

.process-call__timer {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.process-call__center {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.process-call__avatar {
  overflow: hidden;
  width: 4.35rem;
  height: 4.35rem;
  border: 1px solid rgba(245, 240, 232, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 77, 0, 0.16), transparent 55%),
    rgba(245, 240, 232, 0.06);
}

.process-call__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-call__name {
  color: var(--bg);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.process-call__actions {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.process-call__end-button {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: #ff5f56;
  font-size: 1.28rem;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(255, 95, 86, 0.32);
  transform: rotate(12deg);
}

.process-call__end-button svg {
  width: 0.76rem;
  height: 0.76rem;
  fill: currentColor;
  color: #fff8f7;
}

.process-call__end-label {
  color: rgba(245, 240, 232, 0.76);
  font-size: 0.67rem;
}

.process-doc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  width: min(100%, clamp(13rem, 23vw, 15rem));
  aspect-ratio: 210 / 297;
  margin-inline: auto;
  align-self: center;
  padding: 1.05rem 0.95rem 1.15rem;
  border: 1px solid rgba(53, 42, 31, 0.14);
  box-shadow:
    0 28px 54px rgba(46, 32, 18, 0.24),
    0 6px 14px rgba(46, 32, 18, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(123, 105, 84, 0.05), transparent 14%),
    #fffdf8;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  overflow: hidden;
  transform: rotate(-3deg);
}

.process-doc::before {
  content: "";
  position: absolute;
  inset: 0.78rem 0.72rem auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 105, 84, 0.18), transparent);
}

.process-doc::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, rgba(223, 214, 201, 0.92), transparent 68%);
}

.process-doc__title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-doc__meta {
  color: rgba(56, 43, 31, 0.56);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.process-doc__rule {
  display: block;
  height: 1px;
  margin-block: 0.1rem 0.12rem;
  background: linear-gradient(90deg, rgba(53, 42, 31, 0.28), rgba(53, 42, 31, 0.05));
}

.process-doc__paragraph {
  margin: 0;
  color: rgba(25, 18, 14, 0.82);
  font-size: 0.74rem;
  line-height: 1.48;
  text-align: left;
  text-wrap: balance;
}

.process-doc__signature-row {
  display: grid;
  gap: 0.38rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.process-doc__signature-label {
  color: rgba(56, 43, 31, 0.58);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-doc__signature-field {
  position: relative;
  display: block;
  min-height: 2.3rem;
  border-bottom: 1px solid rgba(53, 42, 31, 0.32);
}

.process-doc__sign {
  position: absolute;
  left: 0.26rem;
  bottom: -0.16rem;
  display: inline-block;
  min-width: 5.2rem;
  color: transparent;
  font-family: "Caveat", "Comic Sans MS", cursive;
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.process-doc__sign.signed {
  color: #2360c9;
  transform: rotate(-4deg);
}

.step-demo {
  width: 100%;
}

.step-demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0.7rem;
  align-items: stretch;
  min-height: clamp(17rem, 27vw, 20.5rem);
}

.demo-editor,
.demo-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 1rem;
  overflow: hidden;
}

.demo-editor {
  background: #1a1a1a;
}

.demo-preview {
  background: var(--bg);
}

.demo-editor__bar,
.demo-preview__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(200, 194, 184, 0.18);
}

.demo-editor__dots,
.demo-preview__controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
}

.demo-editor__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.demo-editor__dot--red {
  background: #ff5f56;
}

.demo-editor__dot--yellow {
  background: #ffbd2e;
}

.demo-editor__dot--green {
  background: #27c93f;
}

.demo-editor__filename {
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.62rem;
}

.demo-editor__body,
.demo-preview__viewport {
  min-height: 0;
}

.demo-editor__body {
  padding: 0.7rem 0.8rem 0.85rem;
}

.demo-editor__code {
  display: grid;
  gap: 0.2rem;
  align-content: start;
  min-height: 100%;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
}

.demo-editor__line {
  min-height: 1.45em;
  white-space: pre-wrap;
  word-break: break-word;
}

.demo-editor__cursor {
  display: inline-block;
  margin-left: 1px;
  color: rgba(245, 240, 232, 0.92);
  animation: blink 1s steps(1, end) infinite;
}

.demo-code__tag {
  color: var(--accent);
}

.demo-code__attribute {
  color: var(--muted);
}

.demo-code__string {
  color: #27c93f;
}

.demo-code__text {
  color: rgba(245, 240, 232, 0.9);
}

.demo-preview__bar {
  justify-content: space-between;
  background: rgba(15, 15, 15, 0.03);
}

.demo-preview__nav {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(15, 15, 15, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.demo-preview__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.22rem;
  height: 0.22rem;
  border-top: 2px solid rgba(15, 15, 15, 0.42);
  border-right: 2px solid rgba(15, 15, 15, 0.42);
}

.demo-preview__nav--back::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.demo-preview__nav--forward {
  opacity: 0.6;
}

.demo-preview__nav--forward::before {
  transform: translate(-66%, -50%) rotate(45deg);
}

.demo-preview__url {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(15, 15, 15, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.56rem;
}

.demo-preview__viewport {
  padding: 0.7rem;
}

.demo-preview__site {
  position: relative;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 0.55rem;
  min-height: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(15, 15, 15, 0.08);
  color: #18120d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top left, rgba(255, 77, 0, 0.16), transparent 34%),
    linear-gradient(145deg, #fff7ec 0%, #f2e5d4 52%, #ebddc9 100%);
}

.demo-preview__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: stretch;
  min-height: 100%;
}

.demo-preview__copy {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
}

.demo-preview__eyebrow,
.demo-preview__title,
.demo-preview__text,
.demo-preview__button {
  opacity: 0;
  transform: translateY(0.6rem);
  filter: blur(6px);
  transition:
    opacity 0.36s ease,
    transform 0.36s ease,
    filter 0.36s ease;
}

.demo-preview__eyebrow.visible,
.demo-preview__title.visible,
.demo-preview__text.visible,
.demo-preview__button.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.demo-preview__eyebrow {
  color: rgba(24, 18, 13, 0.56);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-preview__title {
  max-width: 6ch;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 0.92;
  color: #17110c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.demo-preview__text {
  max-width: 9rem;
  color: rgba(24, 18, 13, 0.8);
  font-size: 0.68rem;
  line-height: 1.4;
}

.demo-preview__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0.4rem 0.55rem;
  border: 1.5px solid rgba(15, 15, 15, 0.92);
  background: rgba(15, 15, 15, 0.92);
  color: var(--bg);
  box-shadow: 0 8px 18px rgba(15, 15, 15, 0.12);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
  text-transform: uppercase;
}

.demo-preview__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  min-width: 0;
  padding: 0.2rem;
  opacity: 0;
  transform: translateX(0.55rem) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
}

.demo-preview__media.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.demo-preview__image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.process-handoff {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(53, 42, 31, 0.1);
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  box-shadow:
    0 18px 32px rgba(46, 32, 18, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
}

.process-step--handoff .process-note {
  width: 100%;
  max-width: 14rem;
}

.process-handoff__eyebrow {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-handoff__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.handoff-card {
  --handoff-card-idle-border: rgba(53, 42, 31, 0.08);
  --handoff-card-active-border: rgba(255, 77, 0, 0.22);
  --handoff-card-idle-shadow:
    0 10px 18px rgba(46, 32, 18, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --handoff-card-active-shadow:
    0 18px 28px rgba(46, 32, 18, 0.12),
    0 0 0 1px rgba(255, 77, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-height: 8.25rem;
  padding: 0.78rem;
  border: 1px solid rgba(53, 42, 31, 0.08);
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.82)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--handoff-card-idle-shadow);
  opacity: 0.26;
  transform: translateY(0.55rem) scale(0.985);
  overflow: hidden;
  will-change: opacity, transform, box-shadow, border-color;
}

.handoff-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2.7rem;
  background: linear-gradient(180deg, rgba(255, 77, 0, 0.08), transparent);
  pointer-events: none;
}

.handoff-card--domain {
  grid-column: 1 / -1;
  min-height: 6.75rem;
}

.handoff-card--domain .handoff-domain {
  gap: 0.6rem;
}

.handoff-card--domain .handoff-domain__bar {
  min-height: 2.7rem;
  padding-inline: 0.68rem;
}

.handoff-card--domain .handoff-domain__address {
  font-size: 0.7rem;
}

.handoff-card--domain .handoff-card__hint {
  font-size: 0.58rem;
}

.handoff-card__label {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-card__hint {
  color: rgba(56, 43, 31, 0.56);
  font-size: 0.54rem;
  line-height: 1.35;
}

.handoff-domain,
.handoff-ftp,
.handoff-admin,
.handoff-message {
  position: relative;
  z-index: 1;
}

.handoff-domain {
  display: grid;
  gap: 0.5rem;
}

.handoff-domain__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.44rem 0.55rem;
  border: 1px solid rgba(53, 42, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.handoff-domain__dots {
  display: inline-flex;
  gap: 0.18rem;
  flex-shrink: 0;
}

.handoff-domain__dots span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(138, 130, 120, 0.42);
}

.handoff-domain__address {
  min-width: 0;
  overflow: hidden;
  color: rgba(25, 18, 14, 0.76);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.handoff-ftp {
  display: grid;
  gap: 0.55rem;
}

.handoff-ftp__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.handoff-ftp__badge,
.handoff-ftp__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-ftp__badge {
  border: 1px solid rgba(53, 42, 31, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.handoff-ftp__status {
  background: rgba(39, 132, 78, 0.12);
  color: #1f6f46;
}

.handoff-ftp__rows {
  display: grid;
  gap: 0.24rem;
}

.handoff-ftp__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.42rem;
  align-items: center;
  padding: 0.34rem 0;
  border-bottom: 1px solid rgba(53, 42, 31, 0.07);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
}

.handoff-ftp__row:last-child {
  border-bottom: 0;
}

.handoff-ftp__type {
  color: var(--accent);
}

.handoff-ftp__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.handoff-ftp__meta {
  color: rgba(56, 43, 31, 0.48);
}

.handoff-admin {
  display: grid;
  gap: 0.48rem;
}

.handoff-admin__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: rgba(56, 43, 31, 0.58);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.handoff-admin__frame {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  min-height: 4.9rem;
  border: 1px solid rgba(53, 42, 31, 0.08);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.handoff-admin__nav {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  padding: 0.6rem 0.45rem;
  background:
    linear-gradient(180deg, rgba(25, 18, 14, 0.9), rgba(25, 18, 14, 0.78)),
    var(--text);
}

.handoff-admin__nav span {
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.28);
}

.handoff-admin__content {
  display: grid;
  align-content: start;
  gap: 0.38rem;
  padding: 0.58rem 0.55rem;
}

.handoff-admin__line {
  display: block;
  height: 0.42rem;
  width: 100%;
  border-radius: 999px;
  background: rgba(138, 130, 120, 0.18);
}

.handoff-admin__line--accent {
  width: 72%;
  background: rgba(255, 77, 0, 0.28);
}

.handoff-admin__line--medium {
  width: 88%;
}

.handoff-admin__line--small {
  width: 56%;
}

.handoff-message {
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.handoff-message__meta {
  justify-self: end;
  color: rgba(56, 43, 31, 0.52);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}

.handoff-message__bubble {
  position: relative;
  display: grid;
  gap: 0.36rem;
  padding: 0.68rem 0.75rem;
  border-radius: 1rem 1rem 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.94), rgba(255, 117, 62, 0.88));
  color: #fff9f5;
  box-shadow: 0 12px 22px rgba(255, 77, 0, 0.2);
}

.handoff-message__bubble::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: -0.28rem;
  width: 0.62rem;
  height: 0.62rem;
  background: rgba(255, 117, 62, 0.88);
  transform: rotate(45deg);
  border-radius: 0.08rem;
}

.handoff-message__line {
  display: block;
  font-size: 0.59rem;
  line-height: 1.45;
}

.handoff-message__line strong {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.53rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-visual--handoff.is-visible .handoff-card {
  animation-duration: 8.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.step-visual--handoff.is-visible .handoff-card--domain {
  animation-name: handoffCardStack1;
}

.step-visual--handoff.is-visible .handoff-card--hosting {
  animation-name: handoffCardStack2;
}

.step-visual--handoff.is-visible .handoff-card--admin {
  animation-name: handoffCardStack3;
}

.step-visual--handoff.is-visible .handoff-card--message {
  animation-name: handoffCardStack4;
}

@media (min-width: 1200px) {
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .process-step--build,
  .process-step--handoff {
    grid-column: 1 / -1;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes handoffCardStack1 {
  0%,
  5% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }

  10%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: var(--handoff-card-active-border);
    box-shadow: var(--handoff-card-active-shadow);
  }

  82%,
  100% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }
}

@keyframes handoffCardStack2 {
  0%,
  23% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }

  28%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: var(--handoff-card-active-border);
    box-shadow: var(--handoff-card-active-shadow);
  }

  82%,
  100% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }
}

@keyframes handoffCardStack3 {
  0%,
  41% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }

  46%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: var(--handoff-card-active-border);
    box-shadow: var(--handoff-card-active-shadow);
  }

  82%,
  100% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }
}

@keyframes handoffCardStack4 {
  0%,
  59% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }

  64%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: var(--handoff-card-active-border);
    box-shadow: var(--handoff-card-active-shadow);
  }

  82%,
  100% {
    opacity: 0.26;
    transform: translateY(0.55rem) scale(0.985);
    border-color: var(--handoff-card-idle-border);
    box-shadow: var(--handoff-card-idle-shadow);
  }
}

.works {
  padding-bottom: calc(var(--section-gap) - 1.5rem);
}

.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(24rem, 38vw, 31rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  background: transparent;
}

.work-card:hover .work-card__link::after {
  transform: scaleX(1);
}

.work-card__media--first {
  background: transparent;
}

.work-card__media--second {
  background: transparent;
}

.browser-frame {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: #f8f4ec;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.work-card:hover .browser-frame {
  transform: translateY(-4px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.13),
    0 8px 24px rgba(0, 0, 0, 0.1);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.browser-dot--red {
  background: #ff5f56;
}

.browser-dot--yellow {
  background: #ffbd2e;
}

.browser-dot--green {
  background: #27c93f;
}

.browser-url {
  flex: 1;
  max-width: 16rem;
  height: 22px;
  margin-left: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--muted);
  font: 11px/22px "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  padding-inline: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-screen {
  position: relative;
  height: clamp(15rem, 28vw, 20.5rem);
  overflow: hidden;
  background: transparent;
}

.browser-screen__image {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, 0, 0);
  transform-origin: top center;
  will-change: transform;
}

.browser-frame.is-static .browser-screen__image {
  transform: none !important;
}

.work-card__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  padding: clamp(1.2rem, 3vw, 2.6rem);
  min-height: clamp(24rem, 38vw, 31rem);
}

.work-card__year {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.work-card h3 {
  max-width: 9ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.012;
}

.work-card p:not(.work-card__year) {
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.55;
}

.work-card__link {
  position: relative;
  align-self: start;
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.works__note {
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.works__note a {
  position: relative;
  color: var(--text);
}

.pricing__list {
  border-top: 1px solid var(--border);
}

.pricing__intro {
  width: 60%;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-transform: none;
}

.pricing__row,
.pricing__custom {
  display: grid;
  grid-template-columns: minmax(18rem, 1.45fr) minmax(16rem, 1.15fr) auto auto;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing h3 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.012;
  overflow-wrap: anywhere;
}

.pricing__title-wrap,
.pricing__features {
  min-width: 0;
}

.pricing__title-wrap {
  grid-column: 1;
  grid-row: 1;
}

.pricing__features {
  grid-column: 2;
  grid-row: 1;
}

.pricing__title-wrap p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.pricing__features {
  font-size: 0.95rem;
  line-height: 1.55;
  text-transform: none;
}

.tariff-note {
  grid-row: 2;
  grid-column: 2 / 5;
  margin-top: 0;
  padding-left: 10px;
  border-left: 2px solid var(--border);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  line-height: 1.65;
  text-transform: none;
}

.pricing__price {
  grid-column: 3;
  grid-row: 1;
  color: var(--accent);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing__row > .button {
  grid-column: 4;
  grid-row: 1;
}

.pricing__custom {
  position: relative;
  isolation: isolate;
  align-items: end;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(4rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2.5rem)
    clamp(2.75rem, 5vw, 3.5rem);
  border-bottom: 0;
  color: var(--bg);
  background: var(--text);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.9fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 1.25rem;
  overflow: hidden;
}

.nonstandard-block__question,
.nonstandard-block__title-wrap,
.nonstandard-block__content {
  position: relative;
  z-index: 1;
}

.nonstandard-block__question {
  position: absolute;
  top: -16%;
  right: -2%;
  z-index: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(12rem, 40vw, 32rem);
  line-height: 0.82;
  color: var(--bg);
  opacity: 0.04;
  pointer-events: none;
}

.nonstandard-block__title-wrap {
  align-self: start;
}

.nonstandard-block__title {
  max-width: 8ch;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
}

.nonstandard-block__word {
  display: block;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.nonstandard-block__word.word-2 {
  margin-left: 8%;
}

.nonstandard-block__word.word-3 {
  margin-left: 4%;
  color: var(--accent);
}

.nonstandard-block__content {
  display: grid;
  gap: 1rem;
  align-self: end;
  justify-items: start;
  max-width: 24rem;
}

.nonstandard-block__body {
  color: rgba(245, 240, 232, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

.nonstandard-cta {
  display: inline-block;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid currentColor;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    letter-spacing 0.3s ease,
    color 0.2s ease;
}

.nonstandard-cta:hover {
  letter-spacing: 0.15em;
}

.nonstandard-block__caption {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.55;
  text-transform: none;
}

.compare__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: 1.5rem;
}

.compare__quote {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-height: 100%;
  padding: clamp(1.25rem, 2vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
}

.compare__mark {
  color: var(--accent);
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.8;
}

.compare__quote p:last-child {
  max-width: 22ch;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
}

.compare__visual {
  min-height: 21rem;
  border: 1px solid var(--border);
  filter: grayscale(1);
  background-image:
    linear-gradient(180deg, rgba(15, 15, 15, 0.12), rgba(15, 15, 15, 0.3)),
    linear-gradient(135deg, rgba(255, 77, 0, 0.08), transparent 35%),
    var(--advantage-image);
}

.compare__table-wrap {
  overflow-x: auto;
}

.compare__table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
}

.compare__table th,
.compare__table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.compare__table thead th {
  background: transparent;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.compare__table tbody th {
  width: 24%;
  font-weight: 500;
}

.compare__table-col--me {
  background: var(--surface);
}

.compare__good {
  color: var(--accent);
  font-weight: 700;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  padding-block: clamp(3rem, 7vw, 6rem);
  color: var(--bg);
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.08), transparent 32%),
    var(--text);
}

.cta__title {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.cta__intro {
  max-width: 24rem;
  margin: 0;
  color: rgba(245, 240, 232, 0.66);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta__form {
  max-width: 29rem;
  margin-top: 1rem;
}

.prices-form .field-group {
  border-bottom-color: #2a2a2a;
}

.prices-form .field-group:focus-within {
  border-color: var(--accent);
}

.prices-form .field-label {
  color: #4a4a4a;
}

.prices-form .field-group:focus-within .field-label {
  color: var(--accent);
}

.prices-form input[type="text"],
.prices-form input[type="tel"],
.prices-form textarea {
  color: var(--bg);
}

.prices-form input::placeholder,
.prices-form textarea::placeholder {
  color: #2e2e2e;
}

.prices-form .form-btn {
  background: var(--bg);
  color: var(--text);
}

.prices-form .form-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.cta__content {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.cta__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(245, 240, 232, 0.18);
}

.cta__contacts li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.18);
}

.cta__contacts span {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.cta__contacts a {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.cta__contact-value {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.work-hours-block {
  display: grid;
  gap: 0.45rem;
}

.work-hours {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  margin-top: 0.75rem;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.work-hours__icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.work-hours__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.6;
}

.cta__note {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.88rem;
}

.reveal-section {
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal-section.is-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.site-footer p:last-child {
  justify-self: end;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
    min-height: auto;
  }

  .why__aside {
    display: none;
  }

  .hero__content {
    min-height: clamp(24rem, 62svh, 34rem);
  }

  .why__layout,
  .compare__top,
  .cta {
    grid-template-columns: 1fr;
  }

  .pricing__row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pricing__intro {
    width: 100%;
  }

  .pricing__title-wrap,
  .pricing__features,
  .pricing__price,
  .pricing__row > .button,
  .tariff-note {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding-block: 0.55rem;
  }

  main {
    padding-top: 5.35rem;
  }

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

  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-step--reverse .process-step__scene,
  .process-step--reverse .process-note {
    order: initial;
  }

  .process-step--estimate .process-note {
    transform: none;
  }

  .process-step__scene {
    min-height: auto;
  }

  .process-step__surface {
    min-height: clamp(16rem, 58vw, 21rem);
  }

  .process-step__surface--call {
    justify-content: center;
  }

  .process-step__surface--handoff {
    justify-content: center;
  }

  .process-note {
    width: min(100%, 18rem);
    padding: 1rem;
  }

  .step-number {
    font-size: 2.6rem;
  }

  .process-device {
    margin-left: 0;
    width: min(100%, 13.5rem);
  }

  .process-call__avatar {
    width: 3.8rem;
    height: 3.8rem;
  }

  .process-doc {
    width: min(100%, 11.5rem);
    padding: 0.88rem 0.8rem 0.96rem;
    font-size: 11px;
  }

  .process-doc__paragraph {
    font-size: 0.66rem;
  }

  .process-doc__sign {
    font-size: 1.4rem;
  }

  .step-demo__grid {
    grid-template-columns: 1fr;
  }

  .demo-editor__body {
    padding: 0.55rem 0.65rem 0.7rem;
  }

  .demo-editor__code {
    font-size: 10px;
  }

  .demo-preview__viewport {
    padding: 0.55rem;
  }

  .demo-preview__site {
    padding: 0.65rem;
  }

  .demo-preview__title {
    font-size: 1.3rem;
  }

  .demo-preview__text {
    font-size: 0.62rem;
  }

  .demo-preview__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .demo-preview__image {
    max-width: none;
  }

  .demo-preview__button {
    min-height: 24px;
    padding-inline: 0.45rem;
  }

  .process-handoff {
    width: min(100%, 21rem);
    padding: 0.82rem;
    font-size: 11px;
  }

  .process-handoff__grid {
    grid-template-columns: 1fr;
  }

  .handoff-card {
    min-height: 7.2rem;
    padding: 0.72rem;
  }

  .handoff-admin__frame {
    min-height: 4.5rem;
  }

  .why__list li,
  .cta__contacts li {
    grid-template-columns: 1fr;
  }

  .work-hours {
    align-items: flex-start;
  }

  .pricing__custom {
    grid-template-columns: 1fr;
    clip-path: polygon(0 24px, 100% 0, 100% calc(100% - 24px), 0 100%);
    padding-top: clamp(3.25rem, 7vw, 4rem);
  }

  .nonstandard-block__content {
    max-width: 30rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer p:last-child {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
  }

  .hero-form-col {
    justify-content: center;
    padding: 24px 16px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .hero-form {
    max-width: 100%;
  }

  .form-lead {
    display: none;
  }

  .cta__form {
    max-width: 100%;
  }

  .pricing__custom {
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
    padding:
      clamp(2.75rem, 10vw, 3.5rem)
      1.15rem
      clamp(2.1rem, 7vw, 2.75rem);
  }

  .nonstandard-block__title {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

  .nonstandard-block__question {
    top: auto;
    right: -4%;
    bottom: -10%;
    font-size: 52vw;
    opacity: 0.06;
  }
}

@media (max-width: 767px) {
  .work-card,
  .work-card--reverse {
    grid-template-columns: 1fr;
  }

  .work-card__media {
    min-height: auto;
    padding: 1rem 0 0;
  }

  .work-card__body {
    min-height: auto;
  }

  .browser-frame {
    box-shadow: none;
  }

  .work-card:hover .browser-frame {
    transform: none;
    box-shadow: none;
  }

  .browser-chrome {
    height: 34px;
    padding-inline: 10px;
  }

  .browser-dot {
    width: 10px;
    height: 10px;
  }

  .browser-url {
    margin-left: 10px;
    max-width: none;
  }

  .browser-screen {
    height: 220px;
  }

  .browser-screen__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .why__list--interactive li,
  .why__list--interactive .why__index,
  .browser-frame,
  .browser-screen__image,
  .reveal-section,
  .process-doc__sign,
  .demo-preview__eyebrow,
  .demo-preview__title,
  .demo-preview__text,
  .demo-preview__button,
  .nonstandard-cta {
    transition: none !important;
  }

  .marquee.is-ready .marquee__track {
    animation: none;
    transform: none;
  }

  .demo-editor__cursor {
    animation: none;
  }

  .step-visual--handoff.is-visible .handoff-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

}
