.ihn-circle {
  --ihn-bg: #06192b;
  --ihn-bg-soft: #0d2a43;
  --ihn-line: rgba(236, 188, 102, .58);
  --ihn-accent: #efb85c;
  --ihn-accent-2: #ffe0a1;
  --ihn-text: #fffaf0;
  --ihn-muted: #ccd5df;
  --ihn-button-text: #251607;
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(32px, 7vw, 88px) auto;
  padding: clamp(22px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--ihn-line);
  border-radius: clamp(22px, 4vw, 44px);
  color: var(--ihn-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 148, 191, .24), transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(239, 184, 92, .20), transparent 42%),
    linear-gradient(145deg, var(--ihn-bg-soft), var(--ihn-bg) 60%);
  box-shadow: 0 24px 80px rgba(0, 15, 31, .27), inset 0 1px rgba(255, 255, 255, .09);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.ihn-circle *,
.ihn-circle *::before,
.ihn-circle *::after { box-sizing: border-box; }
.ihn-circle--automatic {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(16px, 4vw, 52px);
  place-items: center;
  overflow: auto;
  border: 0;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(20, 58, 91, .28), transparent 42%),
    rgba(1, 9, 18, .72);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: opacity .6s ease, visibility .6s ease, backdrop-filter .8s ease;
}
.ihn-circle--automatic.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ihn-circle--automatic.is-closing { opacity: 0; }
.ihn-circle--automatic .ihn-circle__card {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--ihn-line);
  border-radius: clamp(24px, 4vw, 42px);
  opacity: 0;
  background:
    radial-gradient(circle at 50% -5%, rgba(112, 182, 224, .22), transparent 40%),
    radial-gradient(circle at 50% 115%, rgba(239, 184, 92, .23), transparent 43%),
    linear-gradient(145deg, var(--ihn-bg-soft), var(--ihn-bg) 64%);
  box-shadow:
    0 45px 130px rgba(0, 0, 0, .66),
    0 0 70px rgba(239, 184, 92, .12),
    inset 0 1px rgba(255, 255, 255, .12);
  transform: translateY(34px) scale(.94);
  transition: transform .85s cubic-bezier(.2, .9, .2, 1), opacity .55s ease;
}
.ihn-circle--automatic.is-visible .ihn-circle__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ihn-circle--automatic .ihn-circle__card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: .42;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 81% 23%, rgba(255,224,161,.9) 0 1px, transparent 1.7px),
    radial-gradient(circle at 70% 72%, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 80%, rgba(162,218,255,.78) 0 1px, transparent 1.6px);
  background-size: 190px 170px, 230px 210px, 170px 230px, 260px 180px;
  animation: ihn-stars-drift 16s linear infinite alternate;
}
.ihn-circle--automatic .ihn-circle__card::after {
  position: absolute;
  z-index: 1;
  inset: 9px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: max(17px, calc(clamp(24px, 4vw, 42px) - 8px));
  pointer-events: none;
}
.ihn-circle--automatic .ihn-circle__card > * { position: relative; z-index: 2; }
.ihn-circle--automatic .ihn-circle__glow {
  position: fixed;
  z-index: 1;
  inset: auto 18% 4%;
  height: 90px;
  opacity: .36;
  filter: blur(55px);
}
.ihn-circle__close {
  position: absolute !important;
  z-index: 5 !important;
  top: 17px;
  right: 17px;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: var(--ihn-muted);
  background: rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.ihn-circle__close:hover,
.ihn-circle__close:focus-visible {
  color: var(--ihn-text);
  background: rgba(255, 255, 255, .11);
  transform: rotate(4deg) scale(1.05);
}
.ihn-circle__close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.ihn-circle__orbit {
  position: absolute !important;
  z-index: 0 !important;
  top: -250px;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(239, 184, 92, .18);
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(-50%);
  box-shadow: 0 0 90px rgba(239, 184, 92, .07);
}
.ihn-circle__orbit::before,
.ihn-circle__orbit::after {
  position: absolute;
  inset: 42px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: inherit;
}
.ihn-circle__orbit::after { inset: 92px; border-color: rgba(239, 184, 92, .09); }
.ihn-circle--automatic.is-visible .ihn-circle__mark { animation: ihn-mark-awaken 1.15s .25s both; }
.ihn-circle__glow {
  position: absolute;
  z-index: -1;
  inset: auto 15% -36px;
  height: 72px;
  background: var(--ihn-accent);
  opacity: .42;
  filter: blur(40px);
}
.ihn-circle__card { width: min(800px, 100%); margin: auto; text-align: center; }
.ihn-circle__mark {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid var(--ihn-line);
  border-radius: 50%;
  color: var(--ihn-accent-2);
  background: rgba(3, 18, 31, .66);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .035), 0 10px 32px rgba(0, 0, 0, .22);
}
.ihn-circle__mark svg { width: 51px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ihn-circle__copy h2 {
  margin: 0;
  color: var(--ihn-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.ihn-circle__eyebrow {
  margin: 0 0 11px;
  color: var(--ihn-accent-2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.ihn-circle__subtitle { margin: 14px 0 28px; color: var(--ihn-accent-2); font-size: clamp(1rem, 2vw, 1.28rem); }
.ihn-circle__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; width: min(690px, 100%); margin: auto; }
.ihn-circle__field { position: relative; }
.ihn-circle__field svg {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 23px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--ihn-accent-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.ihn-circle__field input {
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 0 20px 0 57px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  outline: none;
  color: var(--ihn-text);
  background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
  font: inherit;
  font-size: 1.05rem;
}
.ihn-circle__field input::placeholder { color: var(--ihn-muted); opacity: .82; }
.ihn-circle__field input:focus { border-color: var(--ihn-accent); box-shadow: 0 0 0 3px rgba(239, 184, 92, .18); }
.ihn-circle__form button {
  min-width: 168px;
  min-height: 62px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 13px;
  color: var(--ihn-button-text);
  background: linear-gradient(135deg, var(--ihn-accent-2), var(--ihn-accent));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.ihn-circle__form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ihn-circle__form button:disabled { cursor: wait; filter: saturate(.3); transform: none; }
.ihn-circle__trap { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.ihn-circle__status { min-height: 1.35em; margin: 13px 0 0; color: var(--ihn-accent-2); font-size: .92rem; font-weight: 700; }
.ihn-circle__status.is-error { color: #ffc7c7; }
.ihn-circle__promise {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--ihn-muted);
  font-size: .88rem;
}
.ihn-circle__promise svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ihn-circle__promise a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.ihn-circle--love { --ihn-bg: #4a1f2d; --ihn-bg-soft: #8f4658; --ihn-line: rgba(255, 190, 196, .65); --ihn-accent: #ec8290; --ihn-accent-2: #ffe1dc; --ihn-text: #fff9f5; --ihn-muted: #ffe1e2; --ihn-button-text: #43131d; }
.ihn-circle--research { --ihn-bg: #031d35; --ihn-bg-soft: #07517d; --ihn-line: rgba(91, 190, 245, .55); --ihn-accent: #2399d4; --ihn-accent-2: #bdeaff; --ihn-text: #f5fbff; --ihn-muted: #c6e1ef; --ihn-button-text: #031d35; }
.ihn-circle--shop { --ihn-bg: #2e281d; --ihn-bg-soft: #75613e; --ihn-line: rgba(234, 193, 114, .63); --ihn-accent: #d99a31; --ihn-accent-2: #ffe3a7; --ihn-text: #fffbf3; --ihn-muted: #eee1cc; --ihn-button-text: #2d1e09; }
.ihn-circle--author { --ihn-bg: #151518; --ihn-bg-soft: #42351f; --ihn-line: rgba(224, 170, 83, .60); --ihn-accent: #d89535; --ihn-accent-2: #ffdda0; --ihn-text: #fffaf0; --ihn-muted: #ded6c8; --ihn-button-text: #231604; }
.ihn-circle--international { --ihn-bg: #12334a; --ihn-bg-soft: #4b7890; --ihn-line: rgba(183, 228, 242, .60); --ihn-accent: #36a9c3; --ihn-accent-2: #d4f5ff; --ihn-text: #f8fdff; --ihn-muted: #d4e7ee; --ihn-button-text: #082634; }
.ihn-circle--china { --ihn-bg: #252016; --ihn-bg-soft: #62543d; --ihn-line: rgba(220, 192, 143, .65); --ihn-accent: #b8904e; --ihn-accent-2: #f0d7a6; --ihn-text: #fffaf1; --ihn-muted: #e8dcc8; --ihn-button-text: #211b12; }

@keyframes ihn-mark-awaken {
  0% { opacity: 0; transform: translateY(12px) scale(.72); box-shadow: 0 0 0 0 rgba(239,184,92,0); }
  62% { opacity: 1; transform: translateY(0) scale(1.06); box-shadow: 0 0 0 13px rgba(255,255,255,.025), 0 0 45px rgba(239,184,92,.23); }
  100% { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 0 0 7px rgba(255,255,255,.035), 0 10px 32px rgba(0,0,0,.22); }
}

@keyframes ihn-stars-drift {
  from { transform: translate3d(-5px, -4px, 0); opacity: .28; }
  to { transform: translate3d(7px, 5px, 0); opacity: .52; }
}

@media (max-width: 680px) {
  .ihn-circle { width: min(100% - 20px, 1120px); padding: 30px 16px 26px; border-radius: 24px; }
  .ihn-circle--automatic { width: 100%; padding: 12px; border-radius: 0; }
  .ihn-circle--automatic .ihn-circle__card { padding: 48px 18px 24px; border-radius: 24px; }
  .ihn-circle__close { top: 11px; right: 11px; width: 38px; height: 38px; }
  .ihn-circle__mark { width: 68px; height: 68px; }
  .ihn-circle__mark svg { width: 43px; }
  .ihn-circle__form { grid-template-columns: 1fr; }
  .ihn-circle__form button { min-width: 0; }
  .ihn-circle__promise { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .ihn-circle--automatic,
  .ihn-circle--automatic .ihn-circle__card,
  .ihn-circle__form button { transition: none; }
  .ihn-circle--automatic .ihn-circle__card::before,
  .ihn-circle--automatic.is-visible .ihn-circle__mark { animation: none; }
}
