:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #102d61;
  background: #f8fbff;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(ellipse 72% 37% at 50% 38%, rgba(181, 223, 255, .45), transparent 73%),
    linear-gradient(150deg, #fbfcff 0%, #f4f8ff 50%, #fff 100%);
}
button, input { font: inherit; }
.guide-shell {
  width: min(100%, 640px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: min(8.7vw, 74px) clamp(22px, 7.4vw, 48px) 22px;
  display: flex;
  flex-direction: column;
}
.brand {
  padding: 0 0 clamp(11px, 1.45vw, 12px);
  border-bottom: 1px solid #d7dfeb;
}
.brand img {
  display: block;
  width: min(60vw, 480px);
  height: auto;
  mix-blend-mode: multiply;
}
.guide-content {
  width: 100%;
  flex: 1 0 auto;
  padding-bottom: 18px;
  text-align: center;
}
.safari-icon-frame {
  width: min(25.3vw, 216px);
  aspect-ratio: 1;
  margin: min(14.4vw, 56px) auto 0;
  filter: drop-shadow(0 10px 22px rgba(54, 142, 236, .16));
  padding: 0;
  overflow: hidden;
  border-radius: 22%;
  background: #fff;
  box-shadow: 0 6px 20px rgba(45, 125, 220, .12);
}
.safari-icon-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eyebrow {
  position: relative;
  display: table;
  margin: min(6.4vw, 36px) auto 0;
  color: #1677ed;
  font-size: clamp(17px, 4.25vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .08em;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(18px, 6.7vw, 38px);
  height: 2px;
  background: #2a84f0;
  transform: translateY(-50%);
}
.eyebrow::before { right: calc(100% + 12px); }
.eyebrow::after { left: calc(100% + 12px); }
.guide-content h1 {
  margin: min(2vw, 14px) 0 0;
  color: #08275a;
  font-size: clamp(40px, 13vw, 72px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.description {
  max-width: 100%;
  margin: min(3vw, 22px) auto 0;
  color: #52617a;
  font-size: clamp(17px, 4.7vw, 22px);
  line-height: 1.65;
  white-space: pre-line;
}
.requirement {
  margin: min(3.4vw, 20px) 0 0;
  color: #8793a7;
  font-size: clamp(13px, 3.6vw, 16px);
  line-height: 1.5;
}
.actions {
  width: calc(100% + 14px);
  margin: min(4.6vw, 24px) -7px 0;
}
.primary, .secondary {
  width: 100%;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.primary {
  min-height: clamp(56px, 14.3vw, 122px);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: linear-gradient(105deg, #177cf4, #0864eb);
  box-shadow: 0 8px 18px rgba(25, 105, 229, .2);
  font-size: clamp(20px, 4.6vw, 30px);
}
.primary img { width: clamp(20px, 4.8vw, 28px); height: auto; filter: brightness(0) invert(1); }
.primary:hover:not(:disabled) { background: linear-gradient(105deg, #0d6fe9, #075bd8); }
.primary:active:not(:disabled), .secondary:active:not(:disabled) { transform: translateY(1px); }
.primary:disabled, .secondary:disabled { cursor: not-allowed; }
.primary:disabled { background: #aab7c8; box-shadow: none; }
.address-row {
  min-height: clamp(50px, 13vw, 110px);
  margin-top: clamp(14px, 3.5vw, 24px);
  padding: 0 clamp(16px, 4.4vw, 34px);
  display: flex;
  align-items: center;
  gap: clamp(13px, 4vw, 25px);
  border: 1px solid #cbd4e1;
  border-radius: 14px;
  background: rgba(248, 250, 253, .82);
  color: #8491a7;
}
.address-row img { flex: 0 0 auto; width: clamp(23px, 6.2vw, 36px); height: auto; opacity: .83; }
.address-row input {
  width: 100%; min-width: 0; padding: 0; border: 0; outline: none;
  color: #7b879c; background: transparent; font-size: clamp(14px, 3.9vw, 22px);
  text-overflow: ellipsis; white-space: nowrap;
}
.secondary {
  min-height: clamp(52px, 13.4vw, 116px);
  margin-top: clamp(10px, 2.7vw, 18px);
  padding: 10px 18px;
  border: 1.5px solid #1673ef;
  color: #1268e8;
  background: rgba(255, 255, 255, .9);
  font-size: clamp(19px, 4.5vw, 29px);
}
.secondary:hover:not(:disabled) { background: #f1f7ff; }
.secondary:disabled { border-color: #adb9ca; color: #8793a5; }
.hint, .status {
  color: #8793a7;
  font-size: clamp(13px, 3.6vw, 18px);
  line-height: 1.55;
}
.hint { margin: clamp(17px, 4.2vw, 28px) 0 0; }
.status { min-height: 1.55em; margin: 8px 0 0; }
.status:empty { display: none; }
.guide-footer {
  flex: 0 0 auto;
  padding: clamp(18px, 4.5vw, 28px) 0 0;
  border-top: 1px solid #d7dfeb;
  color: #8793a7;
  text-align: center;
  font-size: clamp(14px, 3.8vw, 20px);
  letter-spacing: .02em;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.no-script { color: #5e6a7e; font-size: 14px; line-height: 1.6; }
button:focus-visible, input:focus-visible { outline: 3px solid #53a3ff; outline-offset: 3px; }
@media (max-width: 640px) {
  .brand { position: relative; height: 17.4vw; padding: 0; }
  .brand img {
    position: absolute;
    top: -2.3vw;
    left: -5vw;
    width: 62vw;
    clip-path: inset(0 7%);
    mix-blend-mode: darken;
  }
  .guide-content h1 { margin-top: min(4.1vw, 20px); }
}
@media (min-width: 641px) {
  .guide-shell { padding-left: 48px; padding-right: 48px; }
  .brand img { width: 480px; }
  .safari-icon-frame { width: 216px; margin-top: 56px; }
  .eyebrow { margin-top: 36px; }
  .guide-content h1 { font-size: 72px; }
  .description { font-size: 21px; }
  .requirement { font-size: 17px; }
  .primary { min-height: 122px; font-size: 38px; }
  .address-row { min-height: 110px; }
  .secondary { min-height: 116px; font-size: 38px; }
}
