/* ============================================================
   PAGES — page hero, about, prices, 404, success
   ВікнаДім · loaded after base.css on inner pages
   ============================================================ */

/* ---- Breadcrumb ------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb__sep { color: var(--muted-2); font-size: 11px; }
.breadcrumb__cur { color: var(--ink-2); }

/* ---- Page Hero (shared across About, Contacts, Prices) ---- */
.page-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 860px) { .page-hero { padding-block: 88px; } }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(26,77,143,.5) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(26,77,143,.3) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .breadcrumb a,
.page-hero .breadcrumb { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb__sep { color: rgba(255,255,255,.3); }
.page-hero .breadcrumb__cur { color: rgba(255,255,255,.8); }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7fb3f5;
  margin-bottom: 14px;
}
.page-hero__eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: #7fb3f5;
  border-radius: 2px;
}
.page-hero__title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 6vw, 58px);
  letter-spacing: -.03em;
  line-height: 1.0;
  color: #fff;
  max-width: 18ch;
}
.page-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 48ch;
  margin-top: 16px;
}
.page-hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Story section */
.story { background: #fff; }
.story__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 860px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}
.story__img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.story__img .ph { width: 100%; height: 100%; }
.story__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.story__badge__num {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.story__badge__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  max-width: 10ch;
}
.story__copy h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 20px;
}
.story__copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.story__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.story__list__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.story__list__item::before {
  content: "";
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%231a4d8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
  flex-shrink: 0;
}

/* Timeline section */
.timeline { background: var(--surface); }
.timeline__grid {
  display: grid;
  gap: 0;
  margin-top: 10px;
}
@media (min-width: 760px) {
  .timeline__grid { grid-template-columns: repeat(2, 1fr); }
}
.timeline__item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 760px) {
  .timeline__item:nth-child(odd) { padding-right: 40px; }
  .timeline__item:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
}
.timeline__year {
  flex-shrink: 0;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  background: var(--surface-2);
  border: 1px solid rgba(26,77,143,.15);
  border-radius: 8px;
  padding: 6px 10px;
  height: fit-content;
  letter-spacing: .04em;
}
.timeline__text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.timeline__text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Certificates / partners strip */
.partners { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding-block: 40px;
}
.partners__item {
  height: 36px;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s;
}
.partners__item:hover { opacity: .85; filter: none; }

/* Values grid */
.values__grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.value-card:hover { border-color: rgba(26,77,143,.25); box-shadow: var(--shadow-sm); }
.value-card__num {
  font-family: "Sora", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--surface-2);
  line-height: 1;
  -webkit-text-stroke: 2px rgba(26,77,143,.18);
}
.value-card h3 { font-size: 17px; font-weight: 700; margin-top: -4px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   PRICES PAGE
   ============================================================ */
.prices-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.prices-nav__btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  transition: all .22s var(--ease);
  cursor: pointer;
}
.prices-nav__btn:hover { border-color: var(--blue); color: var(--blue); }
.prices-nav__btn.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(26,77,143,.25);
}
.prices-nav__btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.price-panel { display: none; }
.price-panel.is-active { display: block; }

.price-cards {
  display: grid;
  gap: 22px;
}
@media (min-width: 620px) { .price-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-cards { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .28s var(--ease), border-color .28s;
}
.price-card:hover { box-shadow: var(--shadow-md); border-color: rgba(26,77,143,.2); }
.price-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,77,143,.1), var(--shadow-sm);
}

.price-card__tag {
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

.price-card__head {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.price-card__profile {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.price-card__title {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.price-card__price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.price-card__price small { font-size: 12px; color: var(--muted); }
.price-card__price b {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}
.price-card__price span { font-size: 13px; color: var(--muted); }

.price-card__body { padding: 18px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 18px; }
.price-card__list { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.price-card__list li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%231a4d8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 7px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Price included section */
.price-include {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
}
@media (min-width: 860px) { .price-include { padding: 52px 52px; } }
.price-include__title {
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
}
.price-include__sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 46ch;
  margin-bottom: 32px;
  line-height: 1.6;
}
.price-include__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) { .price-include__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .price-include__grid { grid-template-columns: repeat(3, 1fr); } }
.price-include__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.price-include__ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.price-include__ico img { width: 22px; height: 22px; }
.price-include__text h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.price-include__text p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   404 PAGE — Split layout: dark visual panel + light copy panel
   ============================================================ */
.e404 {
  min-height: calc(100svh - 78px);
  display: grid;
}
@media (min-width: 960px) {
  .e404 { grid-template-columns: 1fr 1fr; }
}

/* Left: dark visual */
.e404__visual {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 36px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  gap: 20px;
}
.e404__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.e404__visual::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(26,77,143,.25);
  pointer-events: none;
}
.e404__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.e404__win {
  width: min(220px, 60vw);
  height: min(220px, 60vw);
  filter: drop-shadow(0 24px 48px rgba(26,77,143,.5));
}
.e404__win-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

/* Right: copy panel */
.e404__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
  background: var(--surface);
}
@media (min-width: 960px) { .e404__copy { padding: 64px 60px; } }

.e404__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.e404__eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.e404__title {
  font-family: "Sora", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.0;
  margin-bottom: 14px;
}
.e404__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: 32px;
}
.e404__shortcuts { margin-bottom: 32px; }
.e404__shortcuts-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}
.e404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.e404__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color .2s, color .2s, background .2s;
}
.e404__link:hover { border-color: var(--blue); color: var(--blue); background: var(--surface-2); }
.e404__link svg { width: 14px; height: 14px; flex-shrink: 0; }
.e404__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   SUCCESS PAGE — Split layout: dark left + light right
   ============================================================ */
.thankyou {
  min-height: calc(100svh - 78px);
  display: grid;
}
@media (min-width: 960px) {
  .thankyou { grid-template-columns: 5fr 7fr; }
}

/* Left: dark confirmation */
.thankyou__left {
  background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  gap: 0;
  min-height: 300px;
}
.thankyou__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(47,158,106,.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Subtle window grid overlay */
.thankyou__left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.thankyou__ring {
  position: relative;
  z-index: 1;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(47,158,106,.35);
  background: rgba(47,158,106,.1);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  animation: tyRing .5s var(--ease) both;
}
@keyframes tyRing {
  0% { transform: scale(.5); opacity: 0; }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}
.thankyou__checkmark {
  width: 52px; height: 52px;
  overflow: visible;
}
.thankyou__checkmark path {
  stroke: #3ab87d;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 68;
  stroke-dashoffset: 68;
  animation: drawCheck .55s .35s var(--ease) forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
.thankyou__status {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(58,184,125,.8);
  margin-bottom: 10px;
}
.thankyou__heading {
  position: relative;
  z-index: 1;
  font-family: "Sora", sans-serif;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  line-height: .95;
  margin-bottom: 12px;
}
.thankyou__tagline {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: rgba(255,255,255,.45);
  line-height: 1.55;
  max-width: 24ch;
  margin-bottom: 28px;
}
.thankyou__ordernum {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}
.thankyou__ordernum span { color: rgba(255,255,255,.55); }

/* Right: timeline + actions */
.thankyou__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
  background: #fff;
}
@media (min-width: 960px) { .thankyou__right { padding: 64px 56px; } }

.thankyou__right-heading {
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
}
.thankyou__right-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 44ch;
}

/* Vertical timeline */
.ty-timeline {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.ty-step {
  display: flex;
  gap: 18px;
}
.ty-step__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.ty-step__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2f6fc0);
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,77,143,.25);
}
.ty-step__line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: var(--line);
  margin-block: 5px;
}
.ty-step:last-child .ty-step__line { display: none; }
.ty-step__body {
  padding-top: 7px;
  padding-bottom: 28px;
}
.ty-step:last-child .ty-step__body { padding-bottom: 0; }
.ty-step__body h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.ty-step__body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Manager card */
.ty-manager {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.ty-manager__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2f6fc0);
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.ty-manager__info small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.ty-manager__info b { display: block; font-size: 14px; font-weight: 700; }
.ty-manager__info a { font-size: 13.5px; color: var(--blue); font-weight: 600; }

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

/* ============================================================
   404 PAGE v3 — Terminal / CLI
   ============================================================ */
.term404 {
  min-height: calc(100svh - 78px);
  background: #0d1117;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}
/* Subtle scanline overlay */
.term404::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,255,70,.012) 3px,
    rgba(0,255,70,.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Terminal window card */
.term404__window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 8px 32px rgba(0,0,0,.6),
    0 32px 80px rgba(0,0,0,.5),
    0 0 60px rgba(0,200,60,.04);
}

/* macOS-style chrome bar */
.term404__chrome {
  background: #1c1c1e;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.term404__traffic {
  display: flex;
  gap: 6px;
}
.term404__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.term404__dot--close  { background: #ff5f57; }
.term404__dot--min    { background: #ffbd2e; }
.term404__dot--max    { background: #28c840; }
.term404__title {
  flex: 1;
  text-align: center;
  font-family: "Manrope", monospace;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: .02em;
  margin-right: 54px; /* balance the dots */
}

/* Terminal screen */
.term404__screen {
  background: #0d1117;
  padding: 24px 28px 32px;
  font-family: "Courier New", "Menlo", "Monaco", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #c9d1d9;
  overflow-x: auto;
}
@media (max-width: 479px) {
  .term404__screen { padding: 16px 16px 24px; font-size: 11.5px; }
}

/* Prompt line */
.term404__prompt { color: #3fb950; font-weight: 700; }
.term404__cmd    { color: #e6edf3; }
.term404__dim    { color: rgba(255,255,255,.28); }

/* HTTP response block */
.term404__http-key  { color: #79c0ff; }
.term404__http-val  { color: #a5d6ff; }

/* Error block */
.term404__err-icon { color: #f85149; }
.term404__err-msg  { color: #ff7b72; font-weight: 700; }
.term404__err-sub  { color: rgba(255,255,255,.4); padding-left: 4ch; display: block; }

/* Progress bar */
.term404__progress {
  display: inline-block;
  font-family: inherit;
  color: #3fb950;
  letter-spacing: -.04em;
}

/* Route links */
.term404__routes { margin-top: 4px; }
.term404__route {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  transition: color .15s;
  color: inherit;
  padding: 1px 0;
}
.term404__route:hover .term404__route-path { color: #58a6ff; text-decoration: underline; }
.term404__route:hover .term404__route-label { color: #e6edf3; }
.term404__route-arrow { color: #3fb950; margin-right: 1ch; }
.term404__route-path  { color: #d2a8ff; min-width: 18ch; display: inline-block; }
.term404__route-label { color: rgba(255,255,255,.45); font-size: .9em; }

/* Blinking cursor */
.term404__cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: #3fb950;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: termBlink 1.1s step-end infinite;
}
@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   404 PAGE v2 — Blueprint Room
   ============================================================ */
.bp404 {
  min-height: calc(100svh - 78px);
  background-color: #0c2d6b;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 24px 100px;
}

/* Subtle vignette over the grid */
.bp404::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(8,20,50,.6) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Blueprint canvas: window elevation + label */
.bp404__canvas {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Technical window elevation SVG */
.bp404__elevation {
  width: min(340px, 80vw);
  height: min(260px, 60vw);
  overflow: visible;
}

/* Annotation bubble (yellow callout) */
.bp404__callout {
  position: absolute;
  top: -24px; right: -8px;
  background: #f5c842;
  color: #0c2d6b;
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.bp404__callout::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 16px;
  border: 6px solid transparent;
  border-top-color: #f5c842;
  border-bottom: 0;
}

/* Headline below the drawing */
.bp404__label {
  margin-top: 36px;
  text-align: center;
}
.bp404__code {
  font-family: "Sora", sans-serif;
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: rgba(255,255,255,.08);
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.bp404__title {
  font-family: "Sora", sans-serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.bp404__sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  max-width: 36ch;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Nav pins — links with leader-line style */
.bp404__pins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.bp404__pin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  backdrop-filter: blur(4px);
}
.bp404__pin:hover {
  background: rgba(245,200,66,.12);
  border-color: rgba(245,200,66,.5);
  color: #f5c842;
}
.bp404__pin::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
}

/* Title block — bottom-left, like a real blueprint */
.bp404__titleblock {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  font-size: 10px;
  font-family: "Manrope", monospace;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  z-index: 2;
}
.bp404__titleblock-cell {
  padding: 9px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.bp404__titleblock-cell:last-child { border-right: none; }
.bp404__titleblock-cell strong {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 639px) {
  .bp404__titleblock { grid-template-columns: 1fr 1fr; }
  .bp404__titleblock-cell:nth-child(3),
  .bp404__titleblock-cell:nth-child(4) { display: none; }
}

/* ============================================================
   SUCCESS PAGE v3 — Boarding Pass
   ============================================================ */
.bpass-page {
  min-height: calc(100svh - 78px);
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(26,77,143,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(26,77,143,.04) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.bpass-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 720px;
}

/* The boarding pass card */
.bpass {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 600px) {
  .bpass { flex-direction: row; }
}

/* Top accent stripe */
.bpass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, #2f6fc0 60%, #3ab87d 100%);
  z-index: 1;
}

/* Main body (left / wide section) */
.bpass__main {
  flex: 1;
  padding: 36px 32px 32px;
  position: relative;
}
@media (max-width: 599px) { .bpass__main { padding: 32px 24px 24px; } }

/* Boarding label at top */
.bpass__type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

/* Company + headline */
.bpass__brand {
  font-family: "Sora", sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 4px;
}
.bpass__sub {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

/* Route strip: FROM → TO */
.bpass__route {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.bpass__city {
  flex: 1;
}
.bpass__city-code {
  font-family: "Sora", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 3px;
}
.bpass__city-name {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bpass__arrow {
  padding: 0 16px;
  color: var(--blue);
  font-size: 20px;
  flex-shrink: 0;
}
.bpass__city--right { text-align: right; }

/* Field grid */
.bpass__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
}
@media (max-width: 399px) { .bpass__fields { grid-template-columns: 1fr 1fr; } }
.bpass__field-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 4px;
}
.bpass__field-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

/* Tear line — vertical on desktop, horizontal on mobile */
.bpass__tear {
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 599px) {
  .bpass__tear {
    height: 0;
    margin-inline: 16px;
    border-top: 1.5px dashed rgba(0,0,0,.15);
  }
  .bpass__tear::before,
  .bpass__tear::after { display: none; }
}
@media (min-width: 600px) {
  .bpass__tear {
    width: 0;
    border-left: 1.5px dashed rgba(0,0,0,.15);
    margin-block: 16px;
  }
  /* Semicircle notches at top and bottom */
  .bpass__tear::before,
  .bpass__tear::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 10px;
    background: var(--surface);
    border-radius: 0 0 10px 10px;
  }
  .bpass__tear::before { top: -16px; border-radius: 0 0 10px 10px; }
  .bpass__tear::after  { bottom: -16px; border-radius: 10px 10px 0 0; }
}

/* Stub (right section) */
.bpass__stub {
  width: 100%;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
}
@media (min-width: 600px) {
  .bpass__stub {
    width: 180px;
    flex-shrink: 0;
    background: transparent;
  }
}

/* QR code placeholder */
.bpass__qr {
  width: 96px; height: 96px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.bpass__qr svg { width: 76px; height: 76px; opacity: .6; }

/* Order number on stub */
.bpass__stub-order {
  text-align: center;
}
.bpass__stub-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 4px;
}
.bpass__stub-num {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .04em;
}

/* Status pill on stub */
.bpass__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(58,184,125,.12);
  border: 1px solid rgba(58,184,125,.3);
  font-size: 11px;
  font-weight: 700;
  color: #1e8a52;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bpass__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1e8a52;
  flex-shrink: 0;
}

/* Actions below the card */
.bpass-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   SUCCESS PAGE v2 — Work Order Receipt
   ============================================================ */
.receipt-page {
  min-height: calc(100svh - 78px);
  background: #f7f4ee;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(0,0,0,.018) 18px,
      rgba(0,0,0,.018) 19px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.receipt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

/* The card itself */
.receipt {
  width: 100%;
  background: #fffef9;
  border-left: 1px solid rgba(0,0,0,.09);
  border-right: 1px solid rgba(0,0,0,.09);
  position: relative;
  box-shadow:
    0 2px 4px rgba(0,0,0,.06),
    0 8px 24px rgba(0,0,0,.08),
    0 24px 48px rgba(0,0,0,.05);
}

/* Perforated top / bottom edges */
.receipt__perf {
  height: 14px;
  background-image: radial-gradient(circle at 0 50%, #f7f4ee 7px, transparent 7px),
                    radial-gradient(circle at 100% 50%, #f7f4ee 7px, transparent 7px);
  background-color: #fffef9;
  background-size: 18px 14px;
  background-repeat: repeat-x;
  position: relative;
}
.receipt__perf--top {
  border-top: 1px solid rgba(0,0,0,.09);
  transform: scaleY(-1);
  margin-bottom: 0;
}
.receipt__perf--bottom {
  border-bottom: 1px solid rgba(0,0,0,.09);
  margin-top: 0;
}

.receipt__body {
  padding: 22px 32px;
}
@media (max-width: 479px) { .receipt__body { padding: 18px 20px; } }

/* Rubber stamp */
.receipt__stamp {
  position: absolute;
  top: 30px; right: 28px;
  width: 74px; height: 74px;
  border-radius: 50%;
  border: 3px solid #1e8a52;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-14deg);
  opacity: .82;
  pointer-events: none;
  z-index: 2;
}
.receipt__stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid #1e8a52;
}
.receipt__stamp-line1 {
  font-family: "Sora", sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1e8a52;
  line-height: 1.1;
}
.receipt__stamp-line2 {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1e8a52;
  line-height: 1.2;
  margin-top: 1px;
}

/* Header row */
.receipt__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-right: 80px; /* clear stamp */
}
.receipt__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.receipt__brand-name {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
}
.receipt__brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Dashed divider */
.receipt__divider {
  border: none;
  border-top: 1.5px dashed rgba(0,0,0,.15);
  margin-block: 16px;
}

/* Document type row */
.receipt__doctype {
  text-align: center;
  margin-bottom: 18px;
}
.receipt__doctype-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 4px;
}
.receipt__doctype-title {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .02em;
}

/* Line items */
.receipt__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.receipt__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
}
.receipt__row:last-child { border-bottom: none; }
.receipt__row-key {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .03em;
  flex-shrink: 0;
  font-size: 12px;
}
.receipt__row-val {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  font-size: 13px;
}
.receipt__row--highlight .receipt__row-val {
  color: #1e8a52;
}

/* Barcode area */
.receipt__barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}
.receipt__barcode-svg {
  width: 160px;
  height: 36px;
  opacity: .35;
}
.receipt__barcode-num {
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .25em;
  color: var(--muted-2);
}

/* Note below barcode */
.receipt__note {
  text-align: center;
  font-size: 10.5px;
  color: var(--muted-2);
  line-height: 1.5;
  font-style: italic;
  margin-top: 6px;
}

/* Actions below the receipt card */
.receipt-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

