.saf-standalone-body {
  margin: 0;
}
.saf-page {
  background: #fff6dc;
  color: #253044;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, sans-serif;
  margin: 0 calc(50% - 50vw);
  min-height: 100vh;
  padding-bottom: 42px;
  width: 100vw;
}
.saf-top-nav {
  background: #ff8509;
  padding: 16px 16px 0;
  text-align: center;
}
.saf-top-nav a {
  background: #fff;
  border: 2px solid rgba(66, 66, 66, .82);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(133, 68, 0, .18);
  color: #253044;
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  min-width: 138px;
  padding: 12px 20px;
  text-decoration: none;
}
.saf-top-nav a:focus,
.saf-top-nav a:hover {
  background: #fff9e7;
}
.saf-hero-band {
  background: #ff8509;
  padding: 18px 16px 64px;
  text-align: center;
}
.saf-hero-band h1 {
  color: #fff;
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-shadow: 0 2px 0 rgba(147, 77, 0, .18);
}
.saf-shell {
  box-sizing: border-box;
  margin: -42px auto 0;
  max-width: 760px;
  padding: 0 16px;
}
.saf-main-visual,
.saf-steps-visual {
  background: #fff;
  border: 2px solid #3d3d3d;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(76, 51, 11, .08);
  box-sizing: border-box;
  display: block;
  height: auto;
  margin: 0 auto 26px;
  max-width: 100%;
  width: 100%;
}
.saf-main-visual {
  padding: 0;
}
.saf-card {
  background: #fff;
  border: 2px solid #424242;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(77, 59, 23, .12);
  padding: 28px clamp(16px, 4vw, 38px) 34px;
}
.saf-section-title {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 28px 0 16px;
}
.saf-section-title span {
  align-items: center;
  background: #ff8509;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 15px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  box-shadow: 0 2px 0 #c55f00;
}
.saf-section-title h2 {
  color: #29313c;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}
.saf-files {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.saf-file,
.saf-field {
  display: block;
}
.saf-file span,
.saf-field span {
  color: #2f3744;
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 7px;
}
.saf-field em {
  background: #ffe0ec;
  border-radius: 999px;
  border: 1px solid #f5a9c4;
  color: #a5164b;
  font-size: 11px;
  font-style: normal;
  margin-left: 5px;
  padding: 2px 7px;
}
.saf-field-error {
  color: #d11919;
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  margin-left: 8px;
}
.saf-file {
  background: #eefaff;
  border: 1px solid #cfe9f4;
  border-radius: 7px;
  cursor: pointer;
  padding: 12px;
}
.saf-file input {
  inline-size: 1px;
  opacity: 0;
  position: absolute;
}
.saf-file b {
  background: #fff;
  border: 1px dashed #9ecbdd;
  border-radius: 6px;
  color: #637284;
  display: block;
  font-size: 13px;
  font-weight: 600;
  min-height: 22px;
  overflow: hidden;
  padding: 9px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.saf-field {
  margin: 0 0 14px;
}
.saf-field input,
.saf-field textarea {
  background: #eefaff;
  border: 1px solid #cfe9f4;
  border-radius: 6px;
  box-sizing: border-box;
  color: #253044;
  font: inherit;
  line-height: 1.6;
  padding: 13px 14px;
  width: 100%;
}
.saf-field textarea {
  resize: vertical;
}
.saf-field input:focus,
.saf-field textarea:focus {
  border-color: #32a9d6;
  box-shadow: 0 0 0 3px rgba(50, 169, 214, .17);
  outline: none;
}
.saf-check {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}
.saf-submit {
  background: #ffe300;
  border: 3px solid #2d2d2d;
  border-radius: 8px;
  box-shadow: 0 5px 0 #c8a600;
  color: #1d2733;
  cursor: pointer;
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 28px auto 0;
  max-width: 520px;
  min-height: 68px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.saf-submit:disabled {
  cursor: wait;
  opacity: .72;
}
.saf-anim-scale {
  animation: saf-scale 1.7s ease-in-out infinite;
}
.saf-anim-shine::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  width: 35%;
  animation: saf-shine 2s ease-in-out infinite;
}
.saf-package {
  background: #fff7cf;
  border-radius: 7px;
  margin: 56px auto 0;
  max-width: 560px;
  padding: 22px 18px;
  text-align: center;
}
.saf-package p {
  font-weight: 700;
  margin: 0 0 14px;
}
.saf-package a {
  background: #ff8a00;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-weight: 800;
  padding: 13px 22px;
  text-decoration: none;
}
.saf-notice {
  border-radius: 7px;
  font-weight: 700;
  margin: 18px auto 0;
  max-width: 100%;
  padding: 13px 16px;
}
.saf-notice p {
  margin: 0;
}
.saf-notice-error {
  background: #fff0f0;
  border: 1px solid #ffb8b8;
  color: #9b1c1c;
}
.saf-notice-success {
  background: #eefbf1;
  border: 1px solid #a8dfb6;
  color: #16602a;
}
.saf-custom-html {
  margin-top: 18px;
}
.saf-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  padding: 30px 4px 0;
}
.saf-footer-links a {
  color: #3f392c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
@keyframes saf-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes saf-shine {
  0% { left: -45%; }
  55%, 100% { left: 115%; }
}
@media (max-width: 560px) {
  .saf-hero-band {
    padding-top: 18px;
  }
  .saf-card {
    padding: 20px 14px 26px;
  }
  .saf-files {
    grid-template-columns: 1fr;
  }
  .saf-section-title span {
    flex-basis: 38px;
    height: 38px;
  }
  .saf-section-title h2 {
    font-size: 18px;
  }
  .saf-submit {
    font-size: 17px;
    min-height: 62px;
  }
}
