@font-face {
  font-family: Plex;
  src: url("/fonts/plex-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/plex-500.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/plex-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/plex-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Naskh;
  src: url("/fonts/naskh-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  --red: #bb1c29;
  --deep: #951520;
  --ink: #1c1c1b;
  --muted: #626361;
  --line: #d9d9d4;
  --wash: #f6f6f3;
  --rose: #fcf2f2;
  --serif: Naskh, "Noto Naskh Arabic", Georgia, serif;
  --sans: Plex, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #af3a44;
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
svg {
  flex-shrink: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  width: min(calc(100% - clamp(44px, 9.6vw, 168px)), 1350px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  right: 1rem;
  top: -7rem;
  z-index: 20;
  background: #fff;
  padding: 0.7rem 1.3rem;
}
.skip:focus {
  top: 0.5rem;
}
.topline {
  background: #212220;
  color: #eeefec;
  font-size: 0.8rem;
}
.topline .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topline span,
.edition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topline svg {
  color: #c5c5be;
}
.mast {
  background: #fff;
  border-bottom: 1px solid #d8d8d4;
  position: relative;
  z-index: 4;
}
.mast > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 21px;
}
.identity,
.header-actions,
.footer-mark,
.footlinks {
  display: flex;
  align-items: center;
}
.identity {
  gap: 18px;
}
.logo {
  width: 118px;
  height: auto;
  display: block;
}
.brand-purpose {
  border-inline-start: 1px solid #d8d8d4;
  padding-inline-start: 17px;
  color: #535552;
  line-height: 1.4;
  font-size: 0.87rem;
  font-weight: 500;
}
.nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 42px);
}
.nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
}
.nav a.current,
.nav a:hover {
  color: var(--red);
}
.nav a.current:after {
  content: "";
  background: var(--red);
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  min-height: 48px;
  padding: 8px 24px;
  line-height: 1.5;
  transition:
    background 0.16s,
    color 0.16s,
    border 0.16s;
}
.red {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.red:hover {
  background: var(--deep);
  border-color: var(--deep);
}
.light {
  background: white;
  color: var(--ink);
  border-color: #c5c6c0;
}
.light:hover {
  background: var(--wash);
  border-color: #858680;
}
.header-apply {
  min-height: 42px;
  padding: 7px 20px;
  font-size: 0.96rem;
}
.menu {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
}
.hero {
  background: #f7f7f4;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 6.4vw, 112px);
  align-items: center;
  padding-block: clamp(43px, 4.25vw, 75px);
}
.hero-copy {
  padding-block: 6px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--red);
  font-size: 0.95rem;
}
.kicker i {
  height: 2px;
  width: 32px;
  background: var(--red);
  display: inline-block;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.7rem, 5.7vw, 6.4rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 21px 0 15px;
  letter-spacing: -0.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero h1 em span {
  font-family: Georgia, serif;
  line-height: 0;
}
.hero-copy > p {
  font-size: clamp(1.04rem, 1.3vw, 1.3rem);
  line-height: 1.8;
  color: #50524f;
  max-width: 510px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .red {
  min-width: 132px;
}
.hero-frame {
  position: relative;
  margin: 0 0 5px 6px;
  isolation: isolate;
}
.hero-frame:before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: -7px 7px 7px -7px;
  border: 1px solid #b0b2ac;
}
.hero-frame:after {
  content: "";
  z-index: -2;
  position: absolute;
  bottom: -11px;
  right: -11px;
  width: 33%;
  height: 46%;
  background: radial-gradient(#aaaaa4 0.85px, transparent 1px);
  background-size: 5px 5px;
}
.photo-wrap {
  position: relative;
  aspect-ratio: 1.53;
  overflow: hidden;
  background: #d9d8d3;
}
.photo-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04);
}
.photo-label {
  position: absolute;
  bottom: 14px;
  right: 15px;
  color: white;
  background: #21211ff0;
  border-right: 3px solid #cd2534;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 500;
}
.frame-corner {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 5px;
  background: var(--red);
}
.photo-rule {
  width: 53px;
  height: 4px;
  position: absolute;
  bottom: -4px;
  right: 0;
  background: var(--red);
}
.section {
  padding-block: clamp(38px, 3.6vw, 58px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
  margin-top: 3px;
}
.heading-line {
  display: flex;
  align-items: center;
  gap: 13px;
}
.heading-line i {
  width: 5px;
  height: 32px;
  background: var(--red);
  display: block;
}
.heading-line h2,
.flow-title h1,
.receipt h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 3.2vw, 3.3rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.section-icon {
  color: #555a54;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.service-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 6px;
  min-height: 63px;
  font-size: 1.06rem;
  font-weight: 600;
  transition:
    background 0.16s,
    border 0.16s;
}
.service-tabs button:hover,
.chips button:hover,
.service-choices button:hover,
.kind-choices button:hover {
  border-color: #9e9995;
  background: #faf8f7;
}
.service-tabs button.selected,
.service-choices .selected,
.kind-choices .selected,
.chips .on {
  color: var(--red);
  background: #fcf3f3;
  border-color: var(--red);
}
.service-tabs button.selected {
  box-shadow: inset 0 -2px var(--red);
}
.service-panel {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: clamp(20px, 4vw, 75px);
  align-items: center;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  padding: 28px clamp(17px, 2.4vw, 38px);
  margin-top: 12px;
  border-top: 1px solid var(--line);
  min-height: 285px;
}
.service-info h3 {
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.35;
  margin-bottom: 6px;
}
.service-info > p,
.detail-bits p {
  color: #535650;
  font-size: 1rem;
  line-height: 1.8;
}
.detail-bits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 17px;
}
.detail-bits span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.detail-bits svg {
  color: var(--red);
}
.detail-bits p {
  font-size: 0.94rem;
  margin-top: 3px;
}
.text-action,
.edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 600;
  background: transparent;
  border: 0;
  padding: 0;
}
.text-action {
  margin-top: 18px;
  border-bottom: 1px solid #d6a3a8;
  padding-bottom: 2px;
}
.text-action:hover,
.edit:hover {
  color: var(--deep);
  border-color: var(--deep);
}
.example-art {
  background: #f0f0ec;
  border: 1px solid #e3e3dc;
  border-radius: 2px;
  overflow: hidden;
}
.service-art {
  height: 180px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: radial-gradient(#c4c4bc 1px, transparent 1px);
  background-size: 7px 7px;
}
.art-ring {
  width: 155px;
  height: 155px;
  position: absolute;
  border-radius: 50%;
  background: #dfc4c4;
  top: 27px;
  left: calc(50% - 80px);
}
.art-paper {
  width: 119px;
  height: 151px;
  background: #fff;
  border: 1.5px solid #494a45;
  position: absolute;
  box-shadow: 3px 3px #999a93;
}
.art-paper.back {
  background: #e3e2dc;
  transform: rotate(10deg) translate(-11px, 4px);
}
.art-paper.front {
  padding: 8px;
  transform: rotate(-9deg) translate(7px, 5px);
}
.ap-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 2px solid #484b46;
  padding-bottom: 3px;
}
.ap-head img {
  width: 57px;
  height: auto;
}
.ap-head i {
  width: 12px;
  border-block: 1px solid #666;
  height: 3px;
}
.ap-title {
  background: #4d4f49;
  height: 4px;
  margin-top: 7px;
  width: 100%;
}
.ap-title.short {
  margin-top: 3px;
  width: 62%;
}
.ap-story {
  display: flex;
  gap: 4px;
  margin-top: 5px;
  height: 41px;
}
.ap-story > span,
.ap-lines {
  background: repeating-linear-gradient(
    to bottom,
    #8c8d87 0 1px,
    transparent 1px 4px
  );
}
.ap-story > span {
  flex: 1;
}
.ap-photo {
  width: 43%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #e3dfd3;
  color: #51524b;
}
.ap-photo svg {
  width: 23px;
}
.ap-lines {
  margin-top: 5px;
  height: 28px;
}
.art-symbol {
  position: absolute;
  display: grid;
  place-items: center;
  left: calc(50% - 98px);
  bottom: 14px;
  width: 56px;
  height: 56px;
  border: 2px solid #3f423d;
  background: #fbf9f2;
  border-radius: 50%;
  box-shadow: 3px 3px #a9a99f;
  color: var(--red);
  transform: rotate(-8deg);
}
.art-symbol svg {
  width: 31px;
  height: 31px;
}
.example-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8f8f4;
  border-top: 1px solid #dedfd8;
  padding: 8px;
  font-size: 0.85rem;
}
.example-caption strong {
  color: var(--red);
  font-weight: 600;
}
.guide {
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.guide-grid h3 {
  font-size: 1.06rem;
  margin: 0 0 9px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button,
.service-choices button,
.kind-choices button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid #c9cac5;
  background: #fff;
  border-radius: 4px;
  font-size: 0.98rem;
  line-height: 1.5;
  min-height: 40px;
  padding: 7px 14px;
}
.guide-grid .chips + h3 {
  margin-top: 21px;
}
.guide-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 45px);
  border: 1px solid #d9dad4;
  background: #eeefea;
  padding: 18px;
  border-radius: 3px;
}
.guide-preview > div:last-child {
  display: grid;
  gap: 6px;
}
.guide-preview strong {
  font-family: var(--serif);
  font-size: 2rem;
}
.guide-preview small {
  color: #62665d;
}
.paper-map {
  width: 132px;
  height: 173px;
  background: white;
  border: 1px solid #a6a79f;
  padding: 9px;
  box-shadow: -3px 3px 0 #ddded7;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.minihead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 2px solid #57594f;
  margin-bottom: 4px;
}
.minihead img {
  height: 19px;
  width: auto;
}
.minihead span {
  font-size: 0.72rem;
}
.map-columns {
  position: relative;
  flex: 1;
  background-color: #fafaf8;
  background-image:
    repeating-linear-gradient(
      to right,
      transparent 0 calc(12.5% - 2px),
      #fafaf8 calc(12.5% - 2px) 12.5%
    ),
    repeating-linear-gradient(to bottom, #c8cbc3 0 1px, transparent 1px 4px);
}
.area {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #c83641d9;
  border: 1px solid #a31e29;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  background: none;
  border: 0;
  width: 100%;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.03rem;
}
.faq-item button svg {
  color: var(--red);
}
.faq-item p {
  color: var(--muted);
  padding: 0 0 18px;
  max-width: 800px;
}
.footer {
  border-top: 3px solid var(--ink);
  background: #f5f5f1;
}
.footer > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 23px;
}
.footer-mark {
  gap: 18px;
  color: #585b55;
  font-size: 0.9rem;
}
.footer .logo {
  width: 87px;
}
.footlinks {
  gap: 20px;
  font-size: 0.9rem;
  color: #53564f;
}
.footlinks a:hover {
  color: var(--red);
}
.flow-bg {
  background: var(--wash);
  min-height: 70vh;
}
.workflow {
  padding-block: 20px 54px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  color: #62655d;
  font-size: 0.87rem;
}
.breadcrumb b {
  font-weight: 400;
  color: #a4a59f;
}
.flow-title {
  margin-top: 22px;
}
.flow-title p,
.form-desc,
.receipt > p {
  color: var(--muted);
}
.stepper {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 22px 0 27px;
  position: relative;
}
.stepper:before {
  content: "";
  position: absolute;
  height: 1px;
  background: #c9c9c1;
  left: 10%;
  right: 10%;
  top: 15px;
}
.stepper li {
  flex: 1;
  text-align: center;
  position: relative;
}
.stepper button {
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  font-size: 0.94rem;
}
.stepper b {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  border-radius: 50%;
  border: 1px solid #bfc1b9;
  background: var(--wash);
  font-weight: 600;
}
.stepper .now b,
.stepper .done b {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.stepper .now span,
.stepper .done span {
  color: var(--red);
  font-weight: 600;
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 22px;
  align-items: start;
}
.form-card,
.summary,
.receipt {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: clamp(18px, 2.5vw, 38px);
}
.form-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.45;
  outline: none;
}
.form-desc {
  margin-bottom: 20px;
}
.service-choices,
.kind-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.service-choices button {
  padding: 7px 11px;
}
.kind-choices button {
  flex: 1;
  min-height: 54px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 17px;
}
.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.wide {
  grid-column: 1/-1;
}
.field > label {
  font-size: 1rem;
  font-weight: 600;
}
.field > label small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #bfc2b9;
  border-radius: 4px;
  min-height: 45px;
  width: 100%;
  padding: 8px 12px;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
  color: var(--ink);
}
.field textarea {
  resize: vertical;
}
.field select {
  appearance: none;
  padding-inline-end: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m4 7 6 6 6-6' fill='none' stroke='%23424742' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}
.field select:disabled {
  background-color: #f4f4f1;
  color: #71736c;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #b52b374d;
  border-color: var(--red);
}
.field [aria-invalid="true"] {
  border-color: var(--red);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #777b73;
}
.field > .chips {
  margin-bottom: 20px;
}
.note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #62665c;
  margin-top: 17px;
  font-size: 0.9rem;
}
.err {
  color: #a11926;
  font-size: 0.9rem;
}
.alert {
  padding: 10px 14px;
  background: #fbefef;
  color: #a21925;
  border-inline-start: 3px solid var(--red);
  margin-bottom: 15px;
}
.form-actions,
.receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.btn:disabled {
  opacity: 0.56;
}
.side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  margin-bottom: 14px;
}
.side-title svg {
  color: var(--red);
}
.side-title h3,
.summary > strong {
  font-size: 1.08rem;
}
.summary {
  padding: 20px;
  text-align: center;
}
.summary > p {
  color: var(--muted);
}
.summary .paper-map {
  margin: 16px auto 9px;
}
.empty-size {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px 5px;
  color: #75786e;
  font-size: 0.9rem;
}
.review-block {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.review-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-title h3,
.quote-box h3 {
  font-size: 1.1rem;
}
.edit {
  font-size: 0.9rem;
}
.review-block dl > div,
.receipt-dl > div {
  display: grid;
  grid-template-columns: minmax(80px, 0.35fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 6px;
}
.review-block dt,
.receipt-dl dt {
  color: var(--muted);
}
.review-block dd {
  overflow-wrap: anywhere;
  white-space: pre-line;
  text-align: start;
}
.quote-box {
  margin: 20px 0;
  border-inline-start: 3px solid var(--red);
  background: var(--rose);
  padding: 12px 17px;
}
.quote-box strong {
  color: var(--red);
  font-size: 1.5rem;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}
.receipt {
  max-width: 720px;
  margin: 32px auto;
  text-align: center;
}
.receipt > svg {
  color: var(--red);
}
.receipt h1 {
  margin-top: 14px;
  outline: none;
}
.reference {
  display: grid;
  justify-content: center;
  gap: 6px;
  background: var(--wash);
  margin: 20px 0;
  padding: 14px;
}
.reference strong {
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.receipt-dl {
  text-align: start;
}
.receipt-actions {
  justify-content: center;
}
@media (min-width: 1700px) {
  .hero-grid {
    gap: 110px;
  }
  .hero-frame {
    max-width: 620px;
  }
}
@media (max-width: 1000px) {
  .brand-purpose {
    display: none;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 6.3vw, 4.2rem);
  }
  .service-tabs button {
    gap: 7px;
  }
  .section-icon {
    width: 38px;
    height: 38px;
  }
  .nav {
    gap: 19px;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .photo-wrap {
    aspect-ratio: 1.3;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1fr) 215px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 38px);
  }
  .topline .wrap {
    min-height: 30px;
  }
  .topline {
    font-size: 0.72rem;
  }
  .topline span {
    gap: 5px;
  }
  .topline svg {
    width: 13px;
  }
  .mast > .wrap {
    min-height: 68px;
  }
  .logo {
    width: 99px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-apply {
    min-height: 37px;
    padding: 6px 12px;
  }
  .brand-purpose {
    display: block;
    font-size: 0.74rem;
    padding-inline-start: 10px;
  }
  .identity {
    gap: 10px;
  }
  .menu {
    display: grid;
    place-items: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    border-block: 1px solid var(--line);
    padding: 12px 20px;
    box-shadow: 0 4px 7px #0001;
  }
  .nav.open {
    display: grid;
    gap: 0;
  }
  .nav a {
    padding: 10px 3px;
  }
  .nav a.current:after {
    display: none;
  }
  .hero-grid {
    gap: 25px;
    padding-block: 31px;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 7vw, 3.7rem);
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 7px;
  }
  .hero-actions .btn {
    padding: 7px 10px;
    font-size: 0.9rem;
    min-height: 41px;
  }
  .hero-actions .red {
    min-width: 0;
  }
  .service-panel {
    grid-template-columns: 1.3fr 0.8fr;
    gap: 14px;
  }
  .service-tabs {
    gap: 5px;
  }
  .service-tabs button {
    flex-direction: column;
    font-size: 0.92rem;
    gap: 4px;
    min-height: 68px;
    padding: 9px 2px;
  }
  .guide-grid {
    gap: 15px;
  }
  .guide-preview {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .guide-preview > div:last-child {
    gap: 0;
  }
  .detail-bits {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-layout {
    display: block;
  }
  .summary {
    display: none;
  }
  .footer-mark {
    gap: 10px;
  }
  .footlinks {
    gap: 12px;
  }
  .flow-title h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 580px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .topline .edition {
    font-size: 0.72rem;
  }
  .mast > .wrap {
    gap: 7px;
  }
  .brand-purpose {
    line-height: 1.35;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 28px 31px;
  }
  .hero-copy {
    padding: 0;
  }
  .kicker {
    font-size: 0.88rem;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 12.7vw, 4.7rem);
    line-height: 1.07;
    margin: 15px 0 9px;
  }
  .hero-copy > p {
    line-height: 1.75;
    max-width: 420px;
  }
  .hero-actions {
    margin-top: 17px;
  }
  .hero-actions .btn {
    padding: 8px 16px;
    min-height: 42px;
  }
  .hero-frame {
    margin: 3px 0 0 5px;
  }
  .photo-wrap {
    aspect-ratio: 1.84;
  }
  .photo-wrap > img {
    object-position: center 47%;
  }
  .hero-frame:after {
    bottom: -6px;
    right: -6px;
  }
  .photo-label {
    bottom: 9px;
    right: 10px;
    font-size: 0.73rem;
  }
  .section {
    padding-block: 30px;
  }
  .heading-line h2 {
    font-size: 2.2rem;
  }
  .heading-line {
    gap: 9px;
  }
  .heading-line i {
    height: 25px;
    width: 4px;
  }
  .section-head {
    gap: 10px;
    margin-bottom: 16px;
  }
  .section-head p {
    font-size: 0.94rem;
    line-height: 1.6;
  }
  .section-icon {
    width: 33px;
    height: 33px;
  }
  .section-icon svg {
    width: 19px;
  }
  .service-tabs {
    gap: 4px;
  }
  .service-tabs button {
    font-size: 0.8rem;
    line-height: 1.35;
    min-width: 0;
    padding: 7px 3px;
  }
  .service-tabs svg {
    width: 20px;
    height: 20px;
  }
  .service-panel {
    grid-template-columns: 1fr;
    padding: 17px;
    gap: 18px;
  }
  .detail-bits {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .service-info h3 {
    font-size: 1.9rem;
  }
  .service-art {
    height: 147px;
  }
  .art-paper {
    scale: 0.87;
  }
  .example-caption {
    padding: 5px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-preview {
    flex-direction: row;
    gap: 25px;
  }
  .guide-preview .paper-map {
    width: 99px;
    height: 133px;
  }
  .chips {
    gap: 6px;
  }
  .chips button {
    padding: 6px 10px;
    min-height: 37px;
  }
  .footer > .wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-mark {
    font-size: 0.86rem;
  }
  .footlinks {
    flex-wrap: wrap;
  }
  .stepper {
    margin: 19px -5px;
  }
  .stepper span {
    line-height: 1.4;
    font-size: 0.77rem;
  }
  .stepper li {
    min-width: 0;
  }
  .stepper b {
    width: 28px;
    height: 28px;
  }
  .stepper:before {
    top: 14px;
  }
  .flow-title {
    margin-top: 15px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 16px;
  }
  .service-choices {
    gap: 6px;
  }
  .service-choices button {
    font-size: 0.9rem;
    min-height: 37px;
    padding: 5px 8px;
  }
  .form-desc {
    margin-bottom: 14px;
  }
  .receipt-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .brand-purpose {
    display: none;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .topline .edition svg {
    display: none;
  }
  .stepper span {
    font-size: 0.7rem;
  }
  .section-icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  .topline,
  .mast,
  .footer,
  .skip,
  .breadcrumb,
  .receipt-actions {
    display: none;
  }
  .flow-bg,
  .receipt {
    background: white;
    border: 0;
  }
  .wrap {
    width: 100%;
  }
  .workflow {
    padding: 0;
  }
  .receipt {
    margin: auto;
    box-shadow: none;
  }
  .receipt .logo {
    display: block;
  }
}
