/* ==========================================================================
   Makran Battery — inner pages
   Loaded after style.css on every page except the home page. Same canvas:
   1rem == 10 design pixels at 1920, so every size below is "design px / 10".
   The sizes that change on tablet / mobile are tokens, redefined once in the
   media query at the end of this file.
   ========================================================================== */

/* ---------- Tokens ---------- */
.page-inner {
  --gutter: 20rem;        /* side margin of the 152rem content column */
  --gutter-wide: 2.7rem;  /* side margin of full-width grids (same as the home product grid) */
  --fs-h1: 7rem;
  --fs-h2: 5rem;
  --fs-h3: 3.5rem;
  --fs-body: 3rem;
  --fs-small: 2.5rem;
  --fs-fine: 2.03rem;
  --lh-body: 1.57;
  --lh-small: 1.65;
  --radius-xl: 5.05rem;
  --radius-lg: 3.05rem;
  --radius-md: 2.2rem;
  --section-gap: 10rem;
  --gap: 2.7rem;
  --glow: 0 0 2.9rem rgba(163, 72, 0, .57);
  --danger: #d40000;      /* error text and borders: the pure red of the badges is too light to read on white */
}

/* :where() keeps this reset weaker than any class, so .wrap can still set the margins of a list */
:where(.page-inner) ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Header: mark the current page ---------- */
.page-inner .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 54rem;
  margin-bottom: .9rem;
  padding: 18rem var(--gutter) 7.4rem;
  overflow: hidden;
  border-radius: 0 0 5rem 5rem;
  background: #0d1420 url("../img/hero-bg.jpg") center top / 100% auto no-repeat;
  color: #fff;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 32, .42) 0%, rgba(13, 20, 32, .64) 50%, rgba(13, 20, 32, .94) 100%);
}
.page-hero > * { position: relative; }
.page-hero--compact { min-height: 42rem; padding-bottom: 5.6rem; }
/* Brand page: tall enough to show the battery of the photo, text at the top */
.page-hero--brand { min-height: 100rem; justify-content: flex-start; padding-top: 22rem; }
.page-hero--brand::before { background: linear-gradient(180deg, rgba(13, 20, 32, .62) 0%, rgba(13, 20, 32, .5) 38%, rgba(13, 20, 32, 0) 62%); }
.page-hero .actions { justify-content: center; margin-top: 3.6rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: var(--fs-fine);
  font-weight: 300;
}
.crumbs li { display: flex; align-items: center; gap: 1.2rem; white-space: nowrap; }
.crumbs li + li::before {
  content: "";
  width: .8rem;
  height: .8rem;
  border: solid var(--orange);
  border-width: 0 0 .2rem .2rem;
  rotate: 45deg;
}
.crumbs a { opacity: .75; transition: opacity .2s, color .2s; }
.crumbs a:hover { opacity: 1; color: var(--orange); }

.page-hero__title {
  margin-top: 1.6rem;
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.25;
}
.page-hero__title::after {
  content: "";
  display: block;
  width: 11rem;
  height: .6rem;
  margin: 1.8rem auto 0;
  border-radius: .3rem;
  background: var(--orange);
}
.page-hero__lead {
  max-width: 118rem;
  margin-top: 2.4rem;
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.section { position: relative; padding-top: var(--section-gap); }
.section--last { padding-bottom: var(--section-gap); }
.section--tight { padding-top: 6rem; }
.section--band {
  margin-top: var(--section-gap);
  padding-block: 8rem;
  border-block: .1rem solid var(--gray-400);
  background: var(--surface);
}
/* Backdrops taken from the home page */
.section--battery { background: url("../img/cert-bg.jpg") left top / 115.1rem auto no-repeat; }
/* the drawing is taller than most sections, so let it fade out instead of ending in a hard cut */
.section--battery::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22rem;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.section--battery > * { position: relative; z-index: 1; }
.section--factory {
  margin-top: var(--section-gap);
  padding-block: 9rem 13rem;
  background: url("../img/about-bg.jpg") center bottom / 100% auto no-repeat;
}
/* the photo is cut where the section starts, so fade that edge into the page */
.section--factory::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 26rem;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
}
.section--factory > * { position: relative; }
.page-inner .stats { margin-top: var(--section-gap); }

.wrap { margin-inline: var(--gutter); }
.wrap--wide { margin-inline: var(--gutter-wide); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6rem;
  align-items: center;
}
.split--top { align-items: start; }

/* Photo frame cut from the hero artwork */
.media {
  min-height: 60rem;
  border-radius: var(--radius-xl);
  background: #0d1420 url("../img/hero-bg.jpg") 50% 100% / cover no-repeat;
}

/* ---------- Section head ---------- */
.head__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-700);
  font-size: var(--fs-body);
  font-weight: 500;
}
.head__eyebrow .icon { color: var(--ink); font-size: 1em; }
.head__title {
  margin-top: 1.4rem;
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.3;
}
.head__title--orange { color: var(--orange-soft); }
.head__lead {
  margin-top: 2.4rem;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-align: justify;
}
.head__lead strong { color: var(--orange); }
.head--center { text-align: center; }
.head--center .head__eyebrow { justify-content: center; }
.head--center .head__lead { text-align: center; }
.head + * { margin-top: 5rem; }

.prose { font-size: var(--fs-body); line-height: var(--lh-body); text-align: justify; }
.prose p + p { margin-top: 2.4rem; }
.prose strong { color: var(--orange); }
.prose + .actions,
.prose + .checks { margin-top: 4rem; }

/* Text written in the editor of the admin panel: headings, lists and links between the paragraphs */
.prose--rich > * + * { margin-top: 2.4rem; }
.prose--rich h2,
.prose--rich h3 { font-weight: 900; line-height: 1.4; text-align: start; }
.prose--rich h2 { font-size: var(--fs-h3); }
.prose--rich h3 { color: var(--orange); font-size: var(--fs-body); }
.prose--rich > * + h2,
.prose--rich > * + h3 { margin-top: 4.4rem; }
.prose--rich ul,
.prose--rich ol { display: grid; gap: 1rem; padding-inline-start: 4.4rem; }
.prose--rich ul { list-style: disc; }
.prose--rich ol { list-style: persian; }
.prose--rich li::marker { color: var(--orange); font-weight: 700; }
.prose--rich a { color: var(--orange); text-decoration: underline; text-underline-offset: .6rem; }
.prose--rich a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2.7rem; }
.actions--center { justify-content: center; }
.pill--auto { justify-content: center; width: auto; padding-inline: 4.4rem; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 5.8rem;
  padding: .3rem 3.6rem 0;
  border: .1rem solid var(--gray-700);
  border-radius: 2.9rem;
  font-size: var(--fs-body);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s, color .2s, translate .3s var(--ease-out);
}
.btn-outline:hover { background: var(--dark); color: #fff; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--orange);
  font-size: var(--fs-small);
  font-weight: 600;
}
.link-more::after {
  content: "";
  width: 1rem;
  height: 1rem;
  border: solid currentColor;
  border-width: 0 0 .25rem .25rem;
  rotate: 45deg;
  transition: translate .3s var(--ease-out);
}

/* ---------- Icons ---------- */
.icon { flex: none; width: 1em; height: 1em; }
.icon-tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 8.2rem;
  height: 8.2rem;
  border-radius: 2rem;
  background: #fef7e9;
  color: var(--orange);
  font-size: 4.4rem;
  transition: scale .4s var(--ease-spring), rotate .4s var(--ease-spring);
}
.icon-tile img { width: 4.2rem; height: 4.2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4.2rem;
  padding: .2rem 2rem 0;
  border-radius: 1.6rem;
  background: #2d4130;
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}
.badge--orange { background: var(--orange); }
.badge--red { background: var(--red); }
.badge--soft { background: #fef7e9; color: var(--orange); }

/* ==========================================================================
   Panels and cards
   ========================================================================== */
.panel {
  padding: 5rem 8.5rem 5.6rem;
  border: .1rem solid var(--gray-300);
  border-radius: var(--radius-xl);
  background: #fafafa;
}
.split .panel { padding: 4.4rem 5rem 5rem; }

.cards { display: grid; gap: var(--gap); }
.cards + .cards { margin-top: var(--gap); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.6rem 2.9rem 3.2rem;
  border: .1rem solid var(--gray-300);
  border-radius: 5rem;
  background: var(--surface);
  transition: box-shadow .3s, translate .4s var(--ease-out), border-color .3s, background-color .3s;
}
.card--white { border-color: transparent; background: #fff; }
.card__title {
  margin-top: 1.75rem;
  color: var(--orange-soft);
  font-size: var(--fs-body);
  font-weight: 900;
}
.card__text {
  margin-top: .93rem;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  text-align: justify;
}
.card__foot { margin-top: auto; padding-top: 2rem; }
a.card { color: inherit; }

/* Small centred tile (same proportions as the certificate tiles on the home page) */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.05rem; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 26.3rem;
  padding: 3.6rem 1.6rem 3rem;
  border: .1rem solid #b8b8b8;
  border-radius: var(--radius-xl);
  background: #eeeded;
  text-align: center;
  transition: translate .4s var(--ease-out), border-color .3s, background-color .3s, box-shadow .3s;
}
.tile__text { margin-top: .6rem; font-size: var(--fs-small); line-height: var(--lh-small); }
.tile__code {
  margin-top: 2.32rem;
  direction: ltr;
  font-family: "Shabnam Latin", "Peyda", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: var(--gap);
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.2rem;
  height: 8.2rem;
  margin-inline: auto;
  padding-top: .6rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 4rem;
  inset-inline-start: calc(50% + 5.6rem);
  width: calc(100% + var(--gap) - 11.2rem);
  border-top: .3rem dashed var(--gray-300);
}
.step__title { margin-top: 2.2rem; font-size: var(--fs-body); font-weight: 900; }
.step__text { margin-top: 1rem; font-size: var(--fs-small); line-height: var(--lh-small); }
.steps + .actions { margin-top: 6rem; }
.steps--3 { --steps: 3; }
.steps--5 { --steps: 5; }

/* ---------- Check lists ---------- */
.checks { display: grid; gap: 1.8rem; font-size: var(--fs-small); line-height: var(--lh-small); }
.checks li { position: relative; padding-inline-start: 4.6rem; }
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.6l4.1 4.1 8.9-9.2'/%3E%3C/svg%3E") center / 1.8rem no-repeat;
}
.checks--no li::before {
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}
.checks--lg { font-size: var(--fs-body); }
.card .checks { margin-top: 2.4rem; }

/* ---------- Questions and answers ---------- */
.qa {
  border: .1rem solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .25s, background-color .25s, box-shadow .3s;
}
.qa + .qa { margin-top: 1.8rem; }
.qa[open] { border-color: var(--orange-soft); background: #fff; box-shadow: 0 0 2.9rem rgba(163, 72, 0, .2); }
.qa__q {
  position: relative;
  display: block;
  padding: 2.5rem 3.6rem 2.2rem;
  padding-inline-end: 10rem;
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 3rem;
  width: 4.4rem;
  height: 4.4rem;
  border: .2rem solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 1.8rem .3rem no-repeat,
    linear-gradient(currentColor, currentColor) center / .3rem 1.8rem no-repeat;
  color: var(--orange);
  translate: 0 -50%;
  transition: rotate .35s var(--ease-out), background-size .25s;
}
.qa[open] .qa__q::after { rotate: 180deg; background-size: 1.8rem .3rem, .3rem 0; }
.qa__a {
  padding: 0 3.6rem 3rem;
  font-size: var(--fs-small);
  line-height: 1.75;
  text-align: justify;
}
.qa__a p + p { margin-top: 1.4rem; }

/* ---------- Specification list ---------- */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8rem; }
.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.1rem .4rem 1.8rem;
  border-bottom: .1rem solid var(--gray-300);
  font-size: var(--fs-small);
}
.spec__row dt { color: var(--gray-700); }
.spec__row dd { margin: 0; font-weight: 600; text-align: end; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5.6rem; }
.form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form .field,
.form .field--wide { width: auto; }
.field--full { grid-column: 1 / -1; }
/* style.css only resets the font of buttons and selects; text inputs need it too */
input.field__control,
textarea.field__control { font-family: var(--font); cursor: text; }
.field__control::placeholder { color: var(--gray-400); font-weight: 500; opacity: 1; }
.form .field__control:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 .3rem rgba(255, 102, 0, .16);
}
textarea.field__control {
  height: 17rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  line-height: 1.6;
  resize: vertical;
}
/* File picker: the real input covers the pill invisibly, so the button and file name can be styled */
.file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 4.4rem;
  margin-top: 1.08rem;
  padding-inline: .6rem 1.6rem;
  border: .1rem solid var(--ink);
  border-radius: 2.2rem;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.file:focus-within { border-color: var(--orange); box-shadow: 0 0 0 .3rem rgba(255, 102, 0, .16); }
.file__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file__btn {
  display: flex;
  flex: none;
  align-items: center;
  height: 3.2rem;
  padding: .2rem 1.8rem 0;
  border-radius: 1.6rem;
  background: var(--dark);
  color: #fff;
  font-size: var(--fs-fine);
  font-weight: 500;
}
.file__name {
  overflow: hidden;
  color: var(--gray-400);
  font-size: var(--fs-small);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file.has-file .file__name { color: var(--ink); direction: ltr; }
.field__control[dir="ltr"] { text-align: end; }
.field__hint {
  display: block;
  margin-top: .8rem;
  padding-inline-start: 1.02rem;
  color: var(--gray-500);
  font-size: var(--fs-fine);
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem; margin-top: 4rem; }
.form__note { color: var(--gray-500); font-size: var(--fs-fine); }
.form__done,
.form__alert {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3rem;
  padding: 2rem 2.6rem 1.8rem;
  border: .1rem solid var(--green);
  border-radius: var(--radius-md);
  background: #f1f9ea;
  color: #2d4130;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: var(--lh-small);
}
.form__done[hidden] { display: none; }
.form__done .icon,
.form__alert .icon { flex: none; color: var(--green-dark); font-size: 3.4rem; }

/* A sent form brings the visitor back to the form itself: the outcome stands above the fields */
.form { scroll-margin-top: 4rem; }
.form__done--top,
.form__alert { margin: 0 0 3.4rem; }
.form__alert { border-color: var(--danger); background: #fdf0f0; color: #5c1111; }
.form__alert .icon { color: var(--danger); }
.field__control.is-invalid,
.file.is-invalid { border-color: var(--danger); }
.field__error {
  display: block;
  margin-top: .8rem;
  padding-inline-start: 1.02rem;
  color: var(--danger);
  font-size: var(--fs-fine);
  font-weight: 600;
}
.form [type="submit"][disabled] { opacity: .6; cursor: progress; }
/* Trap for bots: an ordinary text field for a script, nothing at all for a person */
.form__trap { position: absolute; width: .1rem; height: .1rem; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Result block shown under a form (sample warranty result) */
.result {
  margin-top: 3.4rem;
  padding: 2.8rem 3.2rem 2.6rem;
  border: .1rem solid var(--gray-400);
  border-radius: var(--radius-lg);
  background: #fff;
}
.result[hidden] { display: none; }
.result__head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.result__title { font-size: var(--fs-body); font-weight: 900; }
.result .spec { grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
.result__note { margin-top: 2rem; color: var(--gray-700); font-size: var(--fs-fine); line-height: 1.7; }

.link-inline { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: .5rem; }

/* "Where is the serial number" card */
.guide { align-items: stretch; padding: 4rem 4.4rem 4.4rem; }
.guide__img { align-self: center; width: 30rem; max-width: 100%; margin-bottom: 1rem; }

.check { display: inline-flex; align-items: center; gap: 1.2rem; font-size: var(--fs-small); cursor: pointer; }
.check input {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0;
  border: .1rem solid var(--ink);
  border-radius: .8rem;
  background: #fff center / 1.8rem no-repeat;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input:checked {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.6l4.1 4.1 8.9-9.2'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Rescue banner (shared call to action)
   ========================================================================== */
.rescue {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48rem;
  margin-inline: var(--gutter-wide);
  padding: 5rem 7rem 5rem 100rem;
  overflow: hidden;
  border: .1rem solid var(--gray-400);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.rescue__van {
  position: absolute;
  bottom: 2.6rem;
  left: 2.4rem;
  width: 96rem;
  max-width: none;
}
.rescue__body { position: relative; }
.rescue__number { width: 34rem; }
.rescue__title { margin-top: 2.6rem; color: var(--orange); font-size: 4.58rem; font-weight: 900; }
.rescue__text { margin-top: 1.4rem; font-size: var(--fs-body); font-weight: 500; line-height: var(--lh-body); }
.rescue .actions { margin-top: 3.4rem; }

/* ---------- Orange call-to-action band ---------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem 6rem;
  margin-inline: var(--gutter-wide);
  padding: 5.4rem 7rem 5.6rem;
  border-radius: 5rem;
  background: var(--orange);
}
.cta__title { font-size: 4.58rem; font-weight: 900; }
.cta__text { margin-top: 1.2rem; color: #fff; font-size: var(--fs-body); font-weight: 500; line-height: var(--lh-body); }
.cta .actions { flex: none; flex-wrap: nowrap; }
.pill--light { background: var(--gray-200); color: var(--ink); }
.pill--light:hover { background: #fff; filter: none; }

/* ==========================================================================
   Products
   ========================================================================== */
.page-inner .products { padding-top: 9rem; }
/* A long summary must not run under the amp-hour tile */
.page-inner .product-card__desc { max-width: 28.4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.products__tab { display: flex; align-items: center; justify-content: center; }
.flagship__intro--plain { justify-content: center; padding-top: 0; }
.flagship__note { margin-top: 1.2rem; font-size: var(--fs-small); font-weight: 500; text-align: center; }
.products__empty {
  margin: 4rem var(--gutter) 0;
  padding: 6rem 4rem;
  border: .1rem dashed var(--gray-400);
  border-radius: var(--radius-xl);
  font-size: var(--fs-body);
  text-align: center;
}

/* ---------- Product page ---------- */
.product { padding-top: 9rem; }
.product__main {
  display: grid;
  grid-template-columns: 72rem minmax(0, 1fr);
  gap: 6rem;
  align-items: stretch;
}
.product__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66rem;
  border: .1rem solid var(--gray-400);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.product__visual .ah { --u: .2rem; }
.product__flags {
  position: absolute;
  top: 3rem;
  inset-inline: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.product__info { display: flex; flex-direction: column; padding-block: 1rem; }
.product__brand {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--gray-700);
  font-size: var(--fs-body);
  font-weight: 500;
}
.product__brand span[dir="ltr"] { font-family: "Shabnam Latin", "Peyda", sans-serif; font-weight: 700; font-size: .9em; }
.product__summary { margin-top: 1.4rem; font-size: var(--fs-h3); font-weight: 900; line-height: 1.4; }
.product__info .checks { margin-top: 3rem; }

.pricebox {
  margin-top: auto;
  padding: 2.6rem 3.4rem 2.8rem;
  border: .1rem solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: #fafafa;
}
.product__info .checks + .pricebox { margin-top: 3.6rem; }
.pricebox__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.pricebox__note {
  display: inline-flex;
  align-items: center;
  height: 4.67rem;
  padding: .3rem 1.6rem 0;
  border-radius: 1.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 1.89rem;
  font-weight: 500;
  white-space: nowrap;
}
.pricebox__old { display: flex; align-items: center; gap: 1rem; }
.pricebox__old del { color: #989898; font-size: var(--fs-body); font-weight: 600; }
.pricebox__row--price { margin-top: 1.6rem; }
.pricebox__price { display: flex; align-items: baseline; gap: 1rem; }
.pricebox__price strong { font-size: 6rem; font-weight: 900; line-height: 1.1; }
.pricebox__price small { font-size: var(--fs-small); font-weight: 600; }
.pricebox__buy { display: flex; align-items: center; gap: 2rem; margin-top: 2.4rem; }
.pricebox__buy .qty { position: static; flex: none; width: 15rem; height: 7.1rem; padding-inline: 1.2rem; border-radius: 2.3rem; }
.pricebox__buy .qty__btn { width: 3.4rem; height: 3.4rem; border-radius: 1rem; margin: 0; }
.pricebox__buy .qty__btn::before,
.pricebox__buy .qty__btn--plus::after { width: 1.5rem; height: .3rem; }
.pricebox__buy .btn-green { flex: 1; width: auto; gap: 1.2rem; }
.pricebox__buy .btn-green img { width: 3.4rem; height: 3.4rem; }

/* the "buy" form of the price box must not add a box of its own between the stepper and the button */
.pricebox__form { display: contents; }

/* ==========================================================================
   Cart, checkout and order
   ========================================================================== */
/* Wide column for the work, dark column for the sums */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50rem;
  gap: 4rem;
  align-items: start;
}
.checkout > .panel,
.checkout__main > .panel { padding: 4.4rem 5rem 4.6rem; }
/* the left column of an order page: one panel under the other */
.checkout__main { display: grid; gap: 4rem; }
.checkout .head__lead strong { color: var(--ink); font-family: "Shabnam Latin", "Peyda", sans-serif; }
.checkout .head__eyebrow .badge { margin-inline-end: .6rem; }

.cart-lines { margin-top: 3rem; }
.cart-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 2rem 3rem;
  padding-block: 3rem;
  border-top: .1rem solid var(--gray-300);
}
.cart-line:last-child { padding-bottom: 0; }
.cart-line__title { font-size: var(--fs-body); font-weight: 900; line-height: 1.4; }
.cart-line__title a { transition: color .2s; }
.cart-line__title a:hover { color: var(--orange); }
.cart-line__price { margin-top: .8rem; color: var(--gray-700); font-size: var(--fs-fine); }
.cart-line__total { min-width: 21rem; font-size: var(--fs-small); font-weight: 600; text-align: end; white-space: nowrap; }
.cart-line__total strong { font-size: var(--fs-h3); }
.cart-line__count { font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
/* the stepper of the product card, laid out in the flow instead of pinned to the card */
.cart-line .qty { position: static; width: 15rem; height: 5.8rem; padding-inline: 1.2rem; border-radius: 1.9rem; }
.cart-line .qty__btn { width: 3.2rem; height: 3.2rem; margin: 0; border-radius: 1rem; }
.cart-line .qty__btn::before,
.cart-line .qty__btn--plus::after { width: 1.4rem; height: .3rem; }

.summary {
  position: sticky;
  top: 3rem;
  padding: 4.4rem 5rem 5rem;
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: #fff;
}
.summary__title { color: var(--orange); font-size: var(--fs-h3); font-weight: 900; }
.summary__rows { margin: 2rem 0 0; }
.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.9rem 1.7rem;
  border-bottom: .1rem solid rgba(255, 255, 255, .16);
  font-size: var(--fs-small);
}
.summary__row dt { color: var(--gray-300); }
.summary__row dd { margin: 0; text-align: end; }
.summary__row strong { font-size: var(--fs-body); }
/* the amount to pay: too wide to share a line with its label */
.summary__row--total { flex-direction: column; align-items: stretch; gap: .4rem; border-bottom: 0; }
.summary__row--total dt { color: #fff; font-weight: 900; }
.summary__row--total dd { white-space: nowrap; }
.summary__row--total strong { color: var(--orange); font-size: var(--fs-h3); }
.summary__row--stack { flex-direction: column; align-items: stretch; gap: .6rem; }
.summary__row--stack dd { text-align: start; line-height: var(--lh-small); }
.summary__title--next { margin-top: 3.6rem; }
/* what is being ordered, above the sums of the order form */
.summary__items { margin-top: 2rem; font-size: var(--fs-small); }
.summary__items li { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-block: .9rem; }
.summary__items small { color: var(--gray-400); font-size: 1em; white-space: nowrap; }
.summary__items + .summary__rows { margin-top: 1rem; border-top: .1rem solid rgba(255, 255, 255, .16); }
.summary .btn-green { width: 100%; margin-top: 3rem; }
.summary__note { margin-top: 2.4rem; color: var(--gray-400); font-size: var(--fs-fine); line-height: 1.8; }
.summary__note a { color: var(--orange); font-weight: 600; white-space: nowrap; }

/* Card-to-card payment on the order page: the card to pay into, then the form for the receipt */
.pay { margin-top: 4.4rem; }
.pay__step { display: flex; align-items: center; gap: 1.6rem; font-size: var(--fs-body); font-weight: 900; }
.pay__step span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  padding-top: .4rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  line-height: 1;
}
.pay__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem 4rem;
  margin-block: 2.4rem 4.4rem;
  padding: 3.4rem 4rem 3.6rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #fff;
}
.pay__label { color: var(--gray-400); font-size: var(--fs-fine); }
.pay__number {
  margin-top: .6rem;
  font-family: "Shabnam Latin", "Peyda", sans-serif;
  font-size: 4.6rem;
  font-weight: 700;
  letter-spacing: .1rem;
  line-height: 1.3;
  text-align: end;
  white-space: nowrap;
}
.pay__holder { margin-top: .8rem; font-size: var(--fs-small); }
.pay__side { text-align: end; }
.pay__amount { margin-top: .4rem; font-size: var(--fs-small); white-space: nowrap; }
.pay__amount strong { color: var(--orange); font-size: var(--fs-h3); }
.pay__copy {
  height: 4.6rem;
  margin-top: 1.6rem;
  padding: .2rem 2.4rem 0;
  border: .1rem solid rgba(255, 255, 255, .5);
  border-radius: 2.3rem;
  color: #fff;
  font-size: var(--fs-fine);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pay__copy:hover { border-color: #fff; background: #fff; color: var(--ink); }
.pay__copy[hidden] { display: none; }
.pay .form { margin-top: 2.4rem; }
.pay__text { font-size: var(--fs-body); line-height: var(--lh-body); }
.pay .actions { margin-top: 2.6rem; }
.checkout .spec { margin-top: 3rem; column-gap: 5rem; }

/* What the company tells the buyer about the order: why a payment was turned down, how it was sent */
.checkout__note { margin: 3rem 0 0; font-weight: 400; }
.checkout__note strong { font-weight: 700; }

/* Nothing here yet (an empty cart) */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7rem 4rem 7.6rem;
  border: .1rem dashed var(--gray-400);
  border-radius: var(--radius-xl);
  text-align: center;
}
.empty__title { margin-top: 2.6rem; font-size: var(--fs-h3); font-weight: 900; }
.empty__text { margin-top: 1.2rem; color: var(--gray-700); font-size: var(--fs-body); line-height: var(--lh-body); }
.empty .actions { margin-top: 3.4rem; }

/* ==========================================================================
   Page pieces
   ========================================================================== */
/* Two big statement cards (mission / vision) */
.statement {
  padding: 4.4rem 5rem 5rem;
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: #fff;
}
.statement--orange { background: var(--orange); }
.statement .icon-tile { background: rgba(255, 255, 255, .12); color: #fff; }
.statement--orange .icon-tile { background: rgba(255, 255, 255, .22); }
.statement__title { margin-top: 2.4rem; font-size: 4.2rem; font-weight: 900; }
.statement:not(.statement--orange) .statement__title { color: var(--orange); }
.statement__text { margin-top: 1.4rem; font-size: var(--fs-body); line-height: var(--lh-body); text-align: justify; }

/* Contact / info rows */
.info { display: flex; align-items: flex-start; gap: 2.4rem; }
.info__label { color: var(--gray-700); font-size: var(--fs-small); font-weight: 500; }
.info__value { margin-top: .4rem; font-size: var(--fs-body); font-weight: 600; line-height: 1.5; }
.info-list { display: grid; gap: 3.4rem; }

/* The skyline of the artwork only: from above the clouds down to the ground line */
.cityscape {
  height: 52rem;
  margin-top: var(--section-gap);
  background: #fff url("../img/service-bg.jpg") center -19rem / 100% auto no-repeat;
}

/* Job list */
.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.6rem 4rem;
  padding: 3rem 4rem 3rem 3.4rem;
  border: .1rem solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .3s, box-shadow .3s, background-color .3s, translate .4s var(--ease-out);
}
.job + .job { margin-top: 1.8rem; }
.job__title { font-size: var(--fs-body); font-weight: 900; }
.job__meta { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 1rem; color: var(--gray-700); font-size: var(--fs-small); }
.job__meta li { display: flex; align-items: center; gap: .9rem; }
.job__meta .icon { color: var(--orange); font-size: 2.8rem; }

/* Sign-in panel */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70rem;
  overflow: hidden;
  border: .1rem solid var(--gray-300);
  border-radius: var(--radius-xl);
  background: #fafafa;
}
.auth__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 7rem;
  background: var(--dark);
  color: #fff;
}
.auth__aside .head__eyebrow { color: var(--gray-400); }
.auth__aside .head__title { color: var(--orange); }
.auth__aside .checks { margin-top: 3.4rem; }
.auth__form { padding: 6rem 7rem; }
.auth__form .form__grid { grid-template-columns: minmax(0, 1fr); }
.auth__form .btn-green { width: 100%; }
.auth__links { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2.6rem; font-size: var(--fs-small); }
.auth__links a { color: var(--orange); font-weight: 600; }

/* Error page */
.page-hero--error { min-height: 86rem; justify-content: center; padding-block: 16rem 8rem; margin-bottom: 0; }
.error__code {
  direction: ltr;
  color: var(--orange);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26rem;
  font-weight: 700;
  line-height: .9;
}
.page-hero--error .page-hero__title::after { display: none; }
.page-hero--error .actions { margin-top: 4.4rem; }

/* ==========================================================================
   Motion (same rules as the home page: individual transform properties,
   nothing changes the resting layout)
   ========================================================================== */
@keyframes qa-open { from { opacity: 0; translate: 0 -1rem; } }
.qa[open] .qa__a { animation: qa-open .4s var(--ease-out); }

.page-hero .crumbs { animation: reveal-up .7s var(--ease-out) .1s backwards; }
.page-hero__title { animation: reveal-up .8s var(--ease-out) .2s backwards; }
.page-hero__lead,
.page-hero .actions { animation: reveal-up .8s var(--ease-out) .32s backwards; }
.rescue__van.reveal.is-visible { animation: reveal-right 1.1s var(--ease-out) backwards; }

@media (hover: hover) and (pointer: fine) {
  .card:hover { translate: 0 -.8rem; border-color: transparent; background: #fff; box-shadow: var(--glow); }
  .card:hover .icon-tile,
  .tile:hover .icon-tile { scale: 1.1; rotate: -6deg; }
  .tile:hover {
    translate: 0 -.6rem;
    border-color: var(--orange-soft);
    background: #fff;
    box-shadow: 0 1.4rem 2.6rem -1.4rem rgba(0, 0, 0, .3);
  }
  .btn-outline:hover { translate: 0 -.3rem; }
  .link-more:hover::after { translate: -.5rem 0; }
  .qa:not([open]):hover { border-color: var(--orange-soft); }
  .job:hover { translate: 0 -.4rem; border-color: var(--orange-soft); background: #fff; box-shadow: 0 1.4rem 2.6rem -1.6rem rgba(0, 0, 0, .3); }
  .product__visual:hover .ah__img { scale: 1.04; translate: 0 -.6rem; }
}

/* ==========================================================================
   Tablet & mobile
   ========================================================================== */
@media (max-width: 1023.98px) {
  .page-inner {
    --gutter: 1.6rem;
    --gutter-wide: 1.6rem;
    --fs-h1: 3.4rem;
    --fs-h2: 2.6rem;
    --fs-h3: 2rem;
    --fs-body: 1.6rem;
    --fs-small: 1.5rem;
    --fs-fine: 1.3rem;
    --lh-body: 1.85;
    --lh-small: 1.8;
    --radius-xl: 3rem;
    --radius-lg: 2.4rem;
    --radius-md: 1.9rem;
    --section-gap: 5rem;
    --gap: 1.4rem;
  }

  /* ---- hero ---- */
  /* the photo is drawn taller than the banner, so only its dark upper half sits behind the text */
  .page-hero,
  .page-hero--compact {
    min-height: 30rem;
    padding: 10.5rem var(--gutter) 3.6rem;
    border-radius: 0 0 3rem 3rem;
    background-size: auto 64rem;
  }
  .crumbs,
  .crumbs li { gap: .8rem; }
  .crumbs li + li::before { width: .6rem; height: .6rem; border-width: 0 0 .15rem .15rem; }
  .page-hero__title { margin-top: 1rem; }
  .page-hero__title::after { width: 6rem; height: .4rem; margin-top: 1.1rem; }
  .page-hero__lead { margin-top: 1.4rem; }
  .page-hero .actions { margin-top: 2rem; }
  .page-hero--brand { min-height: 62rem; padding-top: 11rem; background-position: center bottom; background-size: cover; }
  .media { min-height: 28rem; }

  /* ---- layout ---- */
  .section--band { padding-block: 4rem; }
  .section--battery { background-size: 80rem auto; }
  .section--factory { padding-block: 4rem 6rem; background-size: cover; }
  .section--factory::before { height: 12rem; }
  .prose + .actions,
  .prose + .checks { margin-top: 2.4rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .head__title { margin-top: .6rem; line-height: 1.45; }
  .head__lead { margin-top: 1.2rem; }
  .head + * { margin-top: 2.4rem; }
  .prose p + p { margin-top: 1.4rem; }
  .prose--rich > * + * { margin-top: 1.4rem; }
  .prose--rich > * + h2,
  .prose--rich > * + h3 { margin-top: 2.6rem; }
  .prose--rich ul,
  .prose--rich ol { padding-inline-start: 2.6rem; }
  .actions { gap: 1rem; }
  .pill--auto,
  .actions .pill--purple,
  .actions .pill--orange { padding-inline: 2.4rem; }
  .btn-outline { height: 4.6rem; padding: .1rem 2.6rem 0; }

  /* ---- icons ---- */
  .icon-tile { width: 6rem; height: 6rem; border-radius: 1.6rem; font-size: 3.2rem; }
  .icon-tile img { width: 3rem; height: 3rem; }
  .badge { height: 3.2rem; padding: .1rem 1.2rem 0; border-radius: 1.2rem; }

  /* ---- panels and cards ---- */
  .panel,
  .split .panel { padding: 2.4rem 1.8rem; }
  .cards--3,
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 2rem; border-radius: 3rem; }
  .card__title { margin-top: 1.4rem; font-size: 2rem; }
  .card__text { margin-top: .8rem; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .tile { min-height: 0; padding: 2rem 1rem; }
  .tile__code { margin-top: 1.2rem; font-size: 2.2rem; }

  /* ---- steps ---- */
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.4rem; }
  .step:not(:last-child)::before { display: none; }
  .step__num { width: 6rem; height: 6rem; padding-top: .4rem; font-size: 2.8rem; }
  .step__title { margin-top: 1.4rem; font-size: 2rem; }
  .step__text { margin-top: .6rem; }
  .steps + .actions { margin-top: 3rem; }
  .card .checks { margin-top: 1.4rem; }

  /* ---- lists ---- */
  .checks { gap: 1.2rem; }
  .checks li { padding-inline-start: 3.4rem; }
  .checks li::before { top: .35rem; width: 2.2rem; height: 2.2rem; background-size: 1.3rem; }
  .qa + .qa { margin-top: 1.2rem; }
  .qa__q { padding: 1.7rem 2rem 1.6rem; padding-inline-end: 6.4rem; line-height: 1.6; }
  .qa__q::after { inset-inline-end: 1.8rem; width: 3rem; height: 3rem; background-size: 1.2rem .25rem, .25rem 1.2rem; }
  .qa[open] .qa__q::after { background-size: 1.2rem .25rem, .25rem 0; }
  .qa__a { padding: 0 2rem 2rem; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec__row { padding: 1.4rem .2rem 1.3rem; }

  /* ---- forms ---- */
  .form__grid,
  .form__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.4rem; }
  textarea.field__control { height: 14rem; padding: 1rem 1.4rem; }
  .file { margin-top: .6rem; padding-inline: .6rem 1.4rem; }
  .file__btn { padding: .1rem 1.4rem 0; }
  .field__hint { margin-top: .5rem; }
  .form__foot { margin-top: 2.4rem; }
  .form__done { margin-top: 2rem; padding: 1.4rem 1.6rem; }
  .form__done .icon { font-size: 2.6rem; }
  .check input { width: 2.2rem; height: 2.2rem; background-size: 1.4rem; }

  /* ---- rescue banner ---- */
  .rescue { flex-direction: column; min-height: 0; padding: 3rem 2rem 0; text-align: center; }
  .rescue__body { order: -1; }
  .rescue__number { width: 20rem; margin-inline: auto; }
  .rescue__title { margin-top: 1.6rem; font-size: 2.4rem; }
  .rescue__text { margin-top: .8rem; }
  .rescue .actions { justify-content: center; margin-top: 2rem; }
  .rescue .actions .pill { flex: 1; }
  .rescue__van { position: static; width: 100%; margin: 2.4rem 0 1.6rem; }

  /* ---- products ---- */
  .page-inner .products { padding-top: 4rem; }
  .flagship__note { margin: 0; }
  .products__empty { margin-top: 2rem; padding: 3rem 2rem; }

  /* ---- call to action ---- */
  .cta { flex-direction: column; align-items: stretch; padding: 3rem 2rem; border-radius: 3rem; text-align: center; }
  .cta__title { font-size: 2.4rem; }
  .cta__text { margin-top: .8rem; }
  .cta .actions { flex-wrap: wrap; justify-content: center; }
  .cta .actions .pill { flex: 1; }

  .product { padding-top: 4rem; }
  .product__main { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
  .product__visual { min-height: 0; padding: 7rem 0 3rem; }
  .product__visual .ah { --u: .11rem; }
  .product__flags { top: 1.6rem; inset-inline: 1.6rem; }
  .product__info { padding-block: 0; }
  .product__summary { margin-top: .8rem; }
  .product__info .checks { margin-top: 1.8rem; }
  .product__info .checks + .pricebox { margin-top: 2.4rem; }
  .pricebox { padding: 1.8rem; }
  .pricebox__note { height: 3.2rem; padding: .1rem 1.2rem 0; border-radius: 1.2rem; font-size: 1.3rem; }
  .pricebox__row--price { flex-wrap: wrap; margin-top: 1rem; }
  .pricebox__price strong { font-size: 3.4rem; }
  .pricebox__row--price .pill { flex: 1 1 100%; }
  .pricebox__buy { gap: 1rem; margin-top: 1.8rem; }
  .pricebox__buy .qty { width: 12rem; height: 5.4rem; border-radius: 1.8rem; }
  .pricebox__buy .btn-green { max-width: none; }

  /* ---- cart, checkout and order ---- */
  .checkout { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .checkout > .panel,
  .checkout__main > .panel { padding: 2.4rem 1.8rem; }
  .checkout__main { gap: 1.6rem; }
  .cart-lines { margin-top: 1.6rem; }
  /* the picture and the name on one row, the stepper and the line total on the next */
  .cart-line { grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem 1.6rem; padding-block: 1.8rem; }
  .cart-line .ah { --u: .0416rem; }
  .cart-line__price { margin-top: .4rem; }
  .cart-line__total { min-width: 0; }
  .cart-line .qty { width: 11.4rem; height: 4.6rem; padding-inline: .9rem; border-radius: 1.5rem; }
  .cart-line .qty__btn { width: 2.6rem; height: 2.6rem; border-radius: .8rem; }
  .cart-line .qty__btn::before,
  .cart-line .qty__btn--plus::after { width: 1.1rem; height: .25rem; }
  .cart-line .qty__value { padding-top: .5rem; font-size: 2rem; }
  .summary { position: static; padding: 2.4rem 2rem 2.6rem; }
  .summary__rows { margin-top: 1rem; }
  .summary__row { padding-block: 1.3rem 1.2rem; }
  .summary__title--next { margin-top: 2.4rem; }
  .summary__items { margin-top: 1rem; }
  .summary__items li { padding-block: .6rem; }
  .summary .btn-green { max-width: none; margin-top: 2rem; }
  .summary__note { margin-top: 1.6rem; }
  .pay { margin-top: 2.4rem; }
  .pay__step { gap: 1rem; }
  .pay__step span { width: 3.6rem; height: 3.6rem; padding-top: .3rem; }
  .pay__card { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; margin-block: 1.6rem 2.6rem; padding: 2rem; }
  .pay__number { font-size: 2.6rem; text-align: center; }
  .pay__holder { text-align: center; }
  .pay__card .pay__label:first-child { text-align: center; }
  .pay__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.6rem; padding-top: 1.6rem; border-top: .1rem solid rgba(255, 255, 255, .16); text-align: start; }
  .pay__side .pay__label { flex: 1 1 100%; }
  .pay__amount { margin: 0; }
  .pay__copy { height: 3.8rem; margin: 0; padding: .1rem 1.8rem 0; }
  .pay .form { margin-top: 1.6rem; }
  .pay .actions { margin-top: 1.8rem; }
  .checkout .spec { margin-top: 2rem; }
  .empty { padding: 4rem 2rem; }
  .empty__title { margin-top: 1.6rem; }
  .empty__text { margin-top: .8rem; }
  .empty .actions { margin-top: 2rem; }

  /* ---- page pieces ---- */
  .statement { padding: 2.4rem 2rem 2.6rem; }
  .statement__title { margin-top: 1.4rem; font-size: 2.4rem; }
  .statement__text { margin-top: .8rem; }
  .info { gap: 1.4rem; }
  .info-list { gap: 2rem; }
  .cityscape { height: 22rem; background-size: cover; background-position: center; }
  .job { grid-template-columns: minmax(0, 1fr); padding: 2rem; }
  .job + .job { margin-top: 1.2rem; }
  .job__meta { gap: .6rem 1.8rem; margin-top: .6rem; }
  .job__meta .icon { font-size: 2rem; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__aside,
  .auth__form { padding: 2.6rem 2rem; }
  .auth__aside .checks { margin-top: 2rem; }
  .auth__links { margin-top: 1.8rem; }
  .page-hero--error { min-height: 52rem; padding-block: 10rem 5rem; background-size: cover; }
  .error__code { font-size: 13rem; }
  .page-hero--error .actions { margin-top: 2.6rem; justify-content: center; }
}

@media (max-width: 599.98px) {
  .cards--2,
  .cards--3,
  .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__grid,
  .form__grid--3 { grid-template-columns: minmax(0, 1fr); }
  .product__visual .ah { --u: .1rem; }
}
