body.webDetail {
  --web-ink: #345488;
  --web-text: #435775;
  --web-line: #c7daf3;
  --web-glass: #eff6ff;
}

body.servicePage.webDetail main > .pageHero.webHero {
  background: radial-gradient(ellipse at 80% 28%,#dce7ff,transparent 51%),
    linear-gradient(125deg,#fafdff,#edf4ff 79%,#f1f7ff) !important;
}

body.servicePage.webDetail .webHero > .shell.webHeroGrid {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  align-items: center !important;
  gap: clamp(1.35rem,4vw,3.4rem) !important;
}

body.servicePage.webDetail .webHero > .shell.webHeroGrid::after { content: none !important; display: none !important; }

body.webDetail main .k,
body.webDetail main :is(h1,h2,h3) {
  color: var(--web-ink) !important;
  -webkit-text-fill-color: var(--web-ink) !important;
}

body.webDetail .webHeroCopy h1 {
  font-size: clamp(2.25rem,4.15vw,4.25rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

@supports (background-clip:text) {
  body.servicePage.webDetail main > .pageHero.webHero .webHeroCopy h1 {
    background: linear-gradient(100deg,#253f75,#4169a9 50%,#596ba4) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
}

body.webDetail main p:not(.k) { color: var(--web-text) !important; line-height: 1.58; }

body.webDetail main a:focus-visible { outline: 2px solid #446eb2; outline-offset: 3px; }

body.webDetail .webPreview {
  position: relative;
  margin: 0;
  min-width: 0;
  padding: clamp(.85rem,2.1vw,1.5rem);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 1.3rem;
  background: linear-gradient(155deg,rgba(255,255,255,.78),rgba(221,233,255,.49));
  box-shadow: 0 21px 48px rgba(55,82,139,.14),inset 0 1px 0 #fff;
  perspective: 900px;
}

body.webDetail .webBrowser {
  overflow: hidden;
  position: relative;
  border: 1px solid #c1d4eb;
  border-radius: .82rem;
  background: #fafdff;
  box-shadow: 0 6px 0 #d8e6f9,0 15px 27px rgba(55,82,139,.14);
}

body.webDetail .webBrowserBar {
  display: flex;
  align-items: center;
  gap: .28rem;
  padding: .5rem .68rem;
  color: #516987;
  font-size: .68rem;
}
body.webDetail .webBrowserBar i { width: .38rem; height: .38rem; border-radius: 50%; background: #839dcc; }
body.webDetail .webBrowserBar span { margin-inline-start: .4rem; }

body.webDetail .webBrowserCanvas {
  display: grid;
  align-items: center;
  min-height: clamp(8.7rem,17vw,14rem);
  padding: .85rem;
  background:
    linear-gradient(90deg,rgba(244,250,255,.96),rgba(226,239,255,.84) 46%,rgba(223,234,252,.19)),
    url("images/thun-digital.jpg") center / cover no-repeat;
}

body.webDetail .webBrowserCopy { display: grid; justify-items: start; gap: .32rem; color: #2e4f83; }
body.webDetail .webBrowserCopy small { letter-spacing: .09em; font-size: .59rem; font-weight: 850; }
body.webDetail .webBrowserCopy strong { font-size: clamp(1.32rem,2.8vw,2.45rem); line-height: 1.01; }
body.webDetail .webBrowserCopy span {
  margin-top: .18rem;
  padding: .3rem .5rem;
  border: 1px solid #bcd1ef;
  border-radius: .4rem;
  background: #eaf3ff;
  color: #355385;
  font-size: .67rem;
  font-weight: 750;
}

body.webDetail .webBrowserGrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .32rem;
  padding: .5rem;
}
body.webDetail .webBrowserGrid span {
  padding: .36rem .18rem;
  border-radius: .3rem;
  background: #edf4ff;
  color: #49617f;
  text-align: center;
  font-size: .66rem;
}

body.webDetail .webBrowser::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 32%,rgba(255,255,255,.6) 50%,transparent 68%);
  opacity: 0;
}

body.webDetail .webPreview figcaption { margin: 1rem 0 .55rem; color: var(--web-text); font-size: .78rem; }
body.webDetail .webPreviewLinks { display: flex; flex-wrap: wrap; gap: .4rem; }
body.webDetail .webPreviewLinks a {
  padding: .32rem .62rem;
  border-radius: 100px;
  border: 1px solid var(--web-line);
  background: rgba(255,255,255,.69);
  color: var(--web-ink);
  font-weight: 750;
  font-size: .78rem;
}

body.webDetail .webFormats { background: linear-gradient(#fff,#f4f8ff); }
body.webDetail .webServices { background: linear-gradient(140deg,#eff6ff,#fbfdff 74%); }
body.webDetail .webInquiry { background: linear-gradient(145deg,#f4f8ff,#e6eeff); }
body.webDetail .webIntro { max-width: 46rem; margin-bottom: 1.4rem; }
body.webDetail .webIntro h2 { margin: .35rem 0 .65rem; font-size: clamp(1.65rem,3.1vw,2.6rem); line-height: 1.16; }

body.webDetail :is(.webFormatGrid,.webServiceGrid) {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.7rem,1.7vw,1.2rem);
}
body.webDetail :is(.webFormatGrid,.webServiceGrid) article {
  min-width: 0;
  padding: clamp(.9rem,2vw,1.35rem);
  border: 1px solid var(--web-line);
  border-radius: .9rem;
  background: linear-gradient(140deg,#fff,#eef5ff);
  box-shadow: inset 0 1px 0 #fff,0 8px 18px rgba(55,82,139,.08);
}
body.webDetail :is(.webFormatGrid,.webServiceGrid) h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
body.webDetail :is(.webFormatGrid,.webServiceGrid) p { margin: 0; }
body.webDetail .webServiceGrid article { scroll-margin-top: 7rem; }
body.webDetail .webServiceGrid article:target { outline: 2px solid #6087c6; background: #eef5ff; }
body.webDetail .webServiceGrid a { display: inline-block; margin-top: .65rem; color: var(--web-ink); font-weight: 800; text-decoration: underline; }

body.webDetail .webInquiryGrid {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(1rem,4vw,3rem);
}

body.webDetail .webInquiryFlow { display: grid; gap: .52rem; margin: 0; padding: 0; list-style: none; }
body.webDetail .webInquiryFlow a {
  display: grid;
  gap: .22rem;
  padding: .7rem .9rem;
  border: 1px solid var(--web-line);
  border-inline-start: 3px solid #93adde;
  border-radius: .68rem;
  background: var(--web-glass);
  color: var(--web-ink);
}
body.webDetail .webInquiryFlow a span { color: var(--web-text); font-size: .87rem; }
body.webDetail :is(.webPreviewLinks,.webInquiryFlow) a:is(:hover,:focus-visible) { background: #fff; }
body.webDetail .webNext .ctaBand { background: linear-gradient(130deg,#fafdff,#eaf1ff) !important; border-color: var(--web-line) !important; }
body.webDetail .webNext .ctaBand::before { background: linear-gradient(90deg,#a7c5ee,#7596d0,#c2cafa) !important; }

@media (max-width:900px) {
  body.servicePage.webDetail .webHero > .shell.webHeroGrid,
  body.webDetail .webInquiryGrid { grid-template-columns: minmax(0,1fr) !important; }

  body.webDetail :is(.webFormatGrid,.webServiceGrid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  body.webDetail :is(.webFormatGrid,.webServiceGrid) { grid-template-columns: minmax(0,1fr); }
}

@media (prefers-reduced-motion:no-preference) {
  body.webDetail .webBrowser { animation: webPreviewIn .95s cubic-bezier(.2,.7,.3,1) both; }
  body.webDetail .webBrowser::after { animation: webPreviewLight 2.1s .35s ease-out both; }
  body.webDetail .webBrowserGrid span { animation: webPreviewLabel .6s .45s ease-out both; }
  body.webDetail .webBrowserGrid span:nth-child(2) { animation-delay: .59s; }
  body.webDetail .webBrowserGrid span:nth-child(3) { animation-delay: .73s; }
  @keyframes webPreviewIn {
    from { transform: rotateX(9deg) translateY(12px); opacity: .72; }
    to { transform: rotateX(0) translateY(0); opacity: 1; }
  }
  @keyframes webPreviewLight {
    0% { transform: translateX(-68%); opacity: 0; }
    28% { opacity: .57; }
    100% { transform: translateX(70%); opacity: 0; }
  }
  @keyframes webPreviewLabel {
    from { transform: translateY(4px); opacity: .62; }
    to { transform: translateY(0); opacity: 1; }
  }
}

@supports (animation-timeline:view()) {
  @media (prefers-reduced-motion:no-preference) {
    body.webDetail .webInquiryFlow li {
      animation: webPreviewLabel linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }
  }
}

@media (forced-colors:active) {
  body.servicePage.webDetail main > .pageHero.webHero .webHeroCopy h1 { -webkit-text-fill-color: CanvasText !important; }
}


body.servicePage.webDetail main > .webHero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.webDetail .webHero::before,
body.webDetail .webCms::before {
  content: "";
  position: absolute;
  inset: 0 -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 24%,rgba(147,180,246,.38),transparent 47%),
    radial-gradient(ellipse at 29% 76%,rgba(176,222,251,.37),transparent 44%);
}

body.webDetail .webFormatGrid article { padding: 0; }
body.webDetail .webFormatGrid article a {
  display: grid;
  align-content: start;
  position: relative;
  height: 100%;
  padding: clamp(.9rem,2vw,1.35rem);
  border-radius: inherit;
}
body.webDetail .webFormatGrid article a > span { margin-top: .5rem; color: var(--web-ink); }

body.webDetail :is(.webFormatGrid,.webServiceGrid) article:is(:hover,:focus-within,:target) {
  border-color: #8aafe8;
  background: linear-gradient(140deg,#fff,#e3eeff);
  box-shadow: inset 0 1px 0 #fff,0 8px 22px rgba(77,122,193,.20);
}

body.webDetail .webCms {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 7rem;
  background: linear-gradient(145deg,#edf6ff,#f3f2ff);
}
body.webDetail .webCmsGrid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1rem,4vw,3rem);
  align-items: center;
}
body.webDetail .webCmsLink { color: var(--web-ink); text-decoration: underline; text-underline-offset: .2em; font-weight: 800; }
body.webDetail .webCmsPreview {
  padding: clamp(.8rem,2.4vw,1.45rem);
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 1rem;
}
body.webDetail .webCmsPreviewTitle { margin: 0 0 .65rem; font-weight: 800; }
body.webDetail .webCmsPreview ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
body.webDetail .webCmsPreview li {
  display: grid;
  gap: .16rem;
  padding: .62rem .78rem;
  border: 1px solid var(--web-line);
  border-inline-start: 3px solid #8eace0;
  border-radius: .65rem;
  background: rgba(255,255,255,.68);
  color: var(--web-ink);
}
body.webDetail .webCmsPreview li span { font-size: .87rem; }
body.webDetail .webServiceGrid .webDnsExample {
  display: grid;
  gap: .16rem;
  margin-top: .65rem;
  padding: .55rem;
  border: 1px solid var(--web-line);
  border-radius: .5rem;
  background: #edf5ff;
  font-size: .82rem;
}
body.webDetail .webDnsExample code { overflow-wrap: anywhere; }

@media (max-width:760px) {
  body.webDetail .webCmsGrid { grid-template-columns: minmax(0,1fr); }
}

@media (prefers-reduced-motion:no-preference) {
  body.webDetail .webHero::before { animation: webAmbientLight 4.7s ease-out both; }
  body.webDetail .webCms.web-in-view::before { animation: webAmbientLight 4.7s ease-out both; }
  body.webDetail :is(.webFormatGrid,.webServiceGrid) article {
    transition: border-color .24s ease,box-shadow .24s ease;
  }

  @keyframes webAmbientLight {
    from { transform: translate3d(-9%,0,0); opacity: .38; }
    to { transform: translate3d(6%,1%,0); opacity: 1; }
  }

}
