/* CSS adapter for the local HTML shell, using the official site's palette. */
:root {
  color-scheme: light;
  --ns-ink: #0f1624;
  --ns-muted: #6b7a99;
  --ns-paper: #fff;
  --ns-white: #fff;
  --ns-line: #7b72e923;
  --ns-accent: #7b72e9;
  --ns-accent-hover: #6358d4;
  --ns-lilac: #f3f4fc;
  --ns-radius: 24px;
  --ns-width: 1180px;
  --ns-font: Manrope, "Segoe UI", sans-serif;
  --ink: var(--ns-ink);
  --muted: var(--ns-muted);
  --paper: #f7f8fc;
  --accent: var(--ns-accent);
  --line: var(--ns-line);
  font-family: var(--ns-font);
  scroll-padding-top: 90px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body.guide-page { width: 100%; max-width: none; padding: 0; overflow-x: clip; }
body.guide-page img, body.guide-page video { max-width: 100%; }
body.guide-page h1, body.guide-page h2, body.guide-page h3 { text-wrap: balance; }
button, input, select, textarea { font: inherit; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7b72e9; outline-offset: 5px; }
::selection { background: #00d4b033; color: #0f1624; }
body.ui-page, body.guide-page {
  background: var(--ns-paper);
  color: var(--ns-ink);
  font-family: var(--ns-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.lf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 80px), var(--ns-width));
  min-height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ns-line);
}
.lf-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ns-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.8px;
  line-height: 1;
}
.lf-brand img { display: block; width: 178px; height: auto; }
.lf-brand::before {
  content: none;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ddd5ff 0%, #a99aea 30%, #6552d9 66%, #2e246e 100%);
  box-shadow: inset -3px -2px 5px #35237c33;
}
.lf-brand::after { content: none; }
.lf-button, .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: linear-gradient(135deg, #00bfa4, #7b72e9);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.lf-button::after, .button.primary::after { content: none; }
.lf-button:hover, .button.primary:hover { background: var(--ns-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px #6552d924; }
.lf-header .lf-button { min-height: 44px; padding: 10px 18px; font-size: 14px; border-radius: 50px; }
.ui-main { width: min(calc(100% - 80px), var(--ns-width)); margin: 0 auto; }
.ui-main > section, .guide-page section { scroll-margin-top: 40px; }
.ui-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  padding: 72px 0 88px;
}
.ui-hero h1 {
  max-width: 680px;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.ui-hero-copy > p { max-width: 550px; margin: 26px 0 30px; font-size: 17px; line-height: 1.7; color: var(--ns-muted); }
.ui-showcase {
  position: relative;
  min-width: 0;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #e3dff8;
  border-radius: 24px;
  background: #f7f8fc;
  flex-direction: column;
}
.ui-showcase video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ui-showcase::before {
  content: none;
  position: absolute;
  width: 245px;
  height: 245px;
  border-radius: 50%;
  top: 78px;
  left: calc(50% - 122.5px);
  background: radial-gradient(circle at 30% 24%, #f8f5ff 0, #cbbcef 21%, #a393de 40%, #6551c6 65%, #3b287e 84%, #291752 100%);
  box-shadow: inset -15px -16px 30px #3d246a44, 24px 44px 38px -16px #48358855;
}
.ui-showcase::after {
  content: none;
  position: absolute;
  width: 390px;
  height: 170px;
  left: calc(50% - 195px);
  top: 122px;
  border: 2px solid #ffffffdc;
  border-top-color: #fcfaff77;
  border-radius: 50%;
  transform: rotate(-29deg);
  box-shadow: 0 0 0 14px #ffffff19, 0 0 0 15px #ffffff33;
}
.ui-showcase figcaption { position: relative; z-index: 1; color: var(--ns-muted); font-size: 12px; text-align: center; width: 100%; padding: 14px 18px; }
.ui-scenario { position: relative; padding: 40px; border: 1px solid #dfd9f5; border-radius: var(--ns-radius); background: var(--ns-lilac); }
.ui-scenario figcaption { color: var(--ns-accent); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 35px; }
.ui-scenario h2 { font-size: 32px; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 20px; }
.ui-scenario p { color: #615e77; font-size: 16px; }
.ui-scenario-check { display: flex; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #d8d1ec; }
.ui-scenario-check > span { color: var(--ns-accent); font-size: 24px; }
.ui-scenario-check p, .ui-scenario .ui-service-note { font-size: 13px; line-height: 1.7; }
.ui-scenario .ui-service-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid #d8d1ec; }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 20px; background: var(--ns-ink); color: white; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 15px; }
@media (max-width: 1000px) {
  .ui-hero { gap: 30px; }
  .ui-showcase { height: auto; }
  .ui-scenario { padding: 28px; }
}
@media (max-width: 760px) {
  .lf-header, .ui-main { width: calc(100% - 40px); }
  .lf-header { min-height: 82px; }
  .lf-brand { font-size: 20px; gap: 8px; }
  .lf-brand img { width: 155px; }
  .lf-brand::before { width: 26px; height: 26px; flex-basis: 26px; }
  .lf-header .lf-button { padding: 9px 12px; gap: 9px; font-size: 12px; min-height: 40px; }
  .ui-hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 60px; }
  .ui-hero h1 { font-size: clamp(36px, 7.5vw, 54px); }
  .ui-hero-copy > p { margin: 22px 0 26px; font-size: 16px; }
  .ui-showcase { height: auto; border-radius: 22px; }
  .ui-showcase::before { top: 50px; width: 210px; height: 210px; left: calc(50% - 105px); }
  .ui-showcase::after { top: 93px; width: 310px; height: 140px; left: calc(50% - 155px); }
  .ui-scenario h2 { font-size: 28px; }
}
@media (max-width: 380px) {
  .lf-header, .ui-main { width: calc(100% - 28px); }
  .lf-brand { font-size: 18px; }
  .lf-brand img { width: 140px; }
  .lf-header .lf-button::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
