/* Sample-inspired presentation, scoped to the public information and contract entry pages. */
[data-design-page] {
  --sample-ink: #191d23;
  --sample-muted: #465267;
  --sample-gold: #ffdc37;
  --sample-warm: radial-gradient(ellipse at 88% 0%, #efd79b 0%, transparent 50%), linear-gradient(115deg, #f5ebd6 0%, #fffaf0 52%, #f2e3c3 100%);
  font-family: system-ui, "Noto Sans KR", sans-serif;
  color: var(--sample-ink);
}
[data-design-page] > section > .max-w-7xl,
[data-design-page] > footer > .max-w-7xl {
  max-width: 1320px;
  padding-inline: clamp(22px, 6vw, 86px);
}
[data-design-page] > section h2 { letter-spacing: -.035em; }
[data-design-page] > section p { word-break: keep-all; overflow-wrap: anywhere; }
[data-design-page] .text-muted-foreground { color: var(--sample-muted); }

/* Keep the existing navigation links and mobile menu controls. */
[data-design-page] [data-testid="navigation"] {
  background: #fff;
  border-bottom: 1px solid #eef0f2;
  box-shadow: none;
  backdrop-filter: none;
}
[data-design-page] [data-testid="navigation"] > div {
  max-width: 972px;
  padding-inline: 21px;
}
[data-design-page] [data-testid="navigation"] > div > .flex { height: 55px; }
[data-design-page] [data-testid="navigation"] .items-baseline { align-items: center; }
[data-design-page] [data-testid="navigation"] a:not([data-testid="link-home"]) {
  color: #242a32;
  font-size: 13px;
  font-weight: 600;
}
[data-design-page] [data-testid="navigation"] a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
[data-design-page] [data-testid="link-home"] {
  position: relative;
  display: flex;
  align-items: center;
  width: 106px;
  min-height: 44px;
}
[data-design-page] [data-testid="link-home"] h1 {
  width: 106px;
  height: 29px;
  filter: none;
  mix-blend-mode: normal;
}
[data-design-page] [data-testid="button-menu-toggle"] { min-width: 44px; min-height: 44px; }
[data-design-page] :is(a, button):focus-visible { outline: 2px solid #b88621; outline-offset: 4px; }

/* Use the sample photographs with the original carousel and its controls. */
[data-design-page="home"] [data-testid="hero-carousel"] { background: #171717; }
[data-design-page="home"] [data-testid="hero-carousel"] .hero-gradient {
  min-height: clamp(350px, 47vw, 510px);
  padding: 44px 14px 74px;
  background: #171717;
  isolation: isolate;
}
[data-design-page="home"] [data-testid^="slide-"] > .opacity-30 { opacity: 1; }
[data-design-page="home"] [data-testid="slide-0"] > .opacity-30 {
  background-position: 50% 56% !important;
  filter: sepia(.05) saturate(1.46) brightness(1.06) contrast(1.08);
}
[data-design-page="home"] [data-testid="slide-1"] > .opacity-30 { filter: grayscale(.05) sepia(.12) saturate(1.22) brightness(.81) contrast(1.08); }
[data-design-page="home"] [data-testid="slide-2"] > .opacity-30 { filter: grayscale(.22) sepia(.2) saturate(1.27) brightness(1.07) contrast(1.08); }
[data-design-page="home"] [data-testid="hero-carousel"] .hero-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 76% at 50% 48%, #090b0de6 0%, #090b0d9c 45%, #090b0d24 82%, transparent 100%), linear-gradient(0deg, #08090bc2, transparent 28%);
}
[data-design-page="home"] [data-testid="hero-carousel"] h1 {
  font-size: clamp(25px, 4.9vw, 55px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
  margin: 0;
  text-shadow: 0 2px 4px #000, 0 6px 21px #000b;
}
[data-design-page="home"] [data-testid="hero-carousel"] .text-yellow-400 { color: var(--sample-gold); }
[data-design-page="home"] [data-testid^="slide-subtitle-"] {
  margin: 23px 0 0;
  color: #fff;
  font-size: clamp(11px, 1.5vw, 15px);
  font-weight: 600;
  letter-spacing: .105em;
  text-shadow: 0 2px 5px #000;
}
[data-design-page="home"] [data-testid="hero-carousel"] > .absolute {
  bottom: 9px;
  z-index: 20;
  gap: 0;
}
[data-design-page="home"] [data-testid^="carousel-dot-"] {
  position: relative;
  margin: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  opacity: 1;
  transform: none;
}
[data-design-page="home"] [data-testid^="carousel-dot-"]::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #302d29b3;
  box-shadow: 0 1px 4px #0009;
}
[data-design-page="home"] [data-testid^="carousel-dot-"].opacity-100::after {
  background: var(--sample-gold);
  border-color: var(--sample-gold);
  box-shadow: 0 0 0 3px #ffdc3730;
}
[data-design-page="home"] [data-testid="fund-search-section"] { padding-block: 38px 41px; }
[data-design-page="home"] [data-testid="fund-search-section"] .text-center.mb-12 { margin-bottom: 26px; }
[data-design-page="home"] [data-testid="search-title"] { font-size: clamp(22px, 2.7vw, 32px); margin-bottom: 10px; }
[data-design-page="home"] [data-testid="search-subtitle"] { font-size: 14px; }
[data-design-page="home"] [data-testid="fund-search-section"] .max-w-2xl { max-width: 520px; }
[data-design-page="home"] [data-testid="input-fund-search"] {
  height: 44px;
  padding: 9px 56px 9px 13px;
  border: 1px solid #e0e5ee;
  border-radius: 6px;
  background: #f4f6f9;
  font-size: 14px;
  color: #354055;
}
[data-design-page="home"] :is([data-testid="button-search"], [data-testid="button-clear"]) { width: 44px; height: 44px; right: 3px; padding: 0; color: #245dc0; }
[data-design-page="home"] [data-testid="fund-search-section"] .relative.mb-8 { margin-bottom: 17px; }
[data-design-page="home"] [data-testid="recommended-tags-label"] { font-size: 12px; margin-bottom: 3px; }
[data-design-page="home"] [data-testid^="tag-"] {
  background: transparent;
  color: #5d6875;
  padding: 4px 6px;
  min-height: 36px;
  font-size: 12px;
}
[data-design-page="home"] [data-testid^="tag-"]:hover { background: #edf1f6; color: #225597; }
[data-design-page="home"] [data-testid="fund-search-section"] .gap-3 { gap: 0; }
[data-design-page="home"] [data-testid="representative-funds-section"] { background: #edf1f6; padding-block: clamp(36px, 5vw, 66px); }
[data-design-page="home"] [data-testid="funds-title"] { font-size: clamp(22px, 2.7vw, 32px); font-weight: 800; }
[data-design-page="home"] [data-testid="funds-subtitle"] { font-size: 16px; }
[data-design-page="home"] [data-testid="representative-funds-section"] .mb-12 { margin-bottom: 36px; gap: 14px; }
[data-design-page="home"] [data-testid="button-view-all-funds"] { color: #225597; flex: none; }
[data-design-page="home"] [data-testid="business-areas-section"] { padding-block: clamp(36px, 5vw, 66px); }
[data-design-page="home"] [data-testid="business-areas-title"] { font-size: clamp(22px, 2.7vw, 32px); font-weight: 800; }
[data-design-page="home"] [data-testid="business-areas-subtitle"] { font-size: 16px; }
[data-design-page="home"] [data-testid^="business-area-"] { min-width: 0; }
[data-design-page="home"] [data-testid^="business-area-title-"] { font-size: 18px; }
[data-design-page="home"] .uprise-stats { background: #0a0a0a; padding: clamp(36px, 6vw, 85px) clamp(22px, 6vw, 86px); }
[data-design-page="home"] .uprise-stats-inner { max-width: 1148px; }
[data-design-page] .uprise-stats h2 { font-size: clamp(22px, 2.7vw, 32px); margin-bottom: 28px; font-weight: 800; }
[data-design-page] .uprise-stats-grid { gap: clamp(10px, 1.65vw, 22px); }
[data-design-page] .uprise-stat { border: 1px solid #252525; border-radius: 9px; padding: 15px 8px; min-height: 146px; }
[data-design-page] .uprise-stat-icon { width: 32px; height: 32px; margin-bottom: 6px; }
[data-design-page] .uprise-stat-value { font-size: clamp(17px, 2.16vw, 28px); margin-bottom: 5px; font-weight: 800; letter-spacing: -.04em; }
[data-design-page] .uprise-stat-label { font-size: 13px; }
[data-design-page] .uprise-stat-date { font-size: 12px; }

/* Company and services retain their existing copy and data. */
:is([data-design-page="company"], [data-design-page="services"], [data-design-page="contracts"]) > section:first-of-type {
  background: var(--sample-warm);
  box-shadow: inset 0 -1px #b99a644d;
  padding: clamp(38px, 7vw, 85px) 20px;
  color: var(--sample-ink);
}
:is([data-design-page="company"], [data-design-page="services"], [data-design-page="contracts"]) > section:first-of-type > .absolute { background: transparent; }
:is([data-design-page="company"], [data-design-page="services"], [data-design-page="contracts"]) > section:first-of-type h1 {
  margin: 0;
  font-size: clamp(30px, 4.7vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
}
:is([data-design-page="company"], [data-design-page="services"], [data-design-page="contracts"]) > section:first-of-type p {
  margin-top: 12px;
  color: #403426;
  opacity: 1;
  font-size: clamp(14px, 1.85vw, 19px);
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
}
[data-design-page="company"] > section.py-16 { padding-block: clamp(32px, 6vw, 66px); }
[data-design-page="company"] > section:nth-of-type(2) > div { max-width: 1160px; }
[data-design-page="company"] .animate-slide-in-left h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 15px; }
[data-design-page="company"] .animate-slide-in-left p { font-size: clamp(13px, 1.5vw, 16px); line-height: 1.72; color: #4a5668; }
[data-design-page="company"] .animate-slide-in-left .space-y-4 > * + * { margin-top: 12px; }
[data-design-page="company"] .animate-slide-in-right img { height: auto; aspect-ratio: 1.53; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 14px #18253b19; }
[data-design-page="company"] .uprise-stats {
  background: linear-gradient(158deg, #f8f1e4, #eee1c9);
  padding: clamp(36px, 6vw, 85px) clamp(22px, 6vw, 86px);
  color: var(--sample-ink);
}
[data-design-page="company"] .uprise-stats-inner { max-width: 1148px; }
[data-design-page="company"] .uprise-stat { background: #fffdf8; border-color: #d8c392; box-shadow: 0 8px 18px #84633014; }
[data-design-page="company"] .uprise-stat-icon { color: #855c17; }
[data-design-page="company"] .uprise-stat-label { color: #3e3528; font-weight: 600; }
[data-design-page="company"] .uprise-stat-date { color: #514638; }
[data-design-page="company"] > section:nth-of-type(4) .text-center {
  background: none;
  padding: 0;
  border-radius: 0;
}
[data-design-page="company"] > section:nth-of-type(4) svg { width: 35px; height: 35px; color: #2360e5; margin-bottom: 9px; }
[data-design-page="company"] > section:nth-of-type(4) h3 { font-size: 23px; margin-bottom: 8px; }
[data-design-page="company"] > section:nth-of-type(4) p { font-size: 16px; line-height: 1.72; color: #4a5668; }
[data-design-page="company"] > section:last-of-type { background: #edf2f7; }
[data-design-page="company"] > section:last-of-type h2 { font-size: 30px; margin-bottom: 26px; }
[data-design-page="company"] > section:last-of-type .relative > .space-y-8 { max-width: 980px; margin: auto; }
[data-design-page="company"] > section:last-of-type .bg-white { padding: 15px 17px; border-radius: 9px; }
[data-design-page="company"] > section:last-of-type h4 { color: #1659e6; font-size: 24px; }
[data-design-page="company"] > section:last-of-type p { font-size: 15px; line-height: 1.55; }

[data-design-page="services"] > section.py-16 { padding-block: clamp(36px, 6vw, 68px); }
[data-design-page="services"] > section.py-16 h2 { font-size: clamp(22px, 3vw, 33px); font-weight: 800; }
[data-design-page="services"] > section.py-16 .text-center.mb-12 { margin-bottom: 27px; }
[data-design-page="services"] > section.py-16 .text-center.mb-12 h2 { margin-bottom: 10px; }
[data-design-page="services"] > section.py-16 .text-center.mb-12 p { font-size: 16px; line-height: 1.6; }
[data-design-page="services"] > section:nth-of-type(2) .grid { gap: 15px; }
[data-design-page="services"] > section:nth-of-type(2) .grid > div {
  --card-bg: #edf2ff;
  --card-icon: #2657c5;
  padding: 25px;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: var(--card-bg);
  transform: none;
  box-shadow: none;
}
[data-design-page="services"] > section:nth-of-type(2) .grid > div:nth-child(2) { --card-bg: #edf8f1; --card-icon: #26724a; }
[data-design-page="services"] > section:nth-of-type(2) .grid > div:nth-child(3) { --card-bg: #f5effd; --card-icon: #6742ad; }
[data-design-page="services"] > section:nth-of-type(2) .grid > div:nth-child(4) { --card-bg: #fff1e7; --card-icon: #a45023; }
[data-design-page="services"] > section:nth-of-type(2) .grid > div:nth-child(5) { --card-bg: #fdf0f2; --card-icon: #a8425d; }
[data-design-page="services"] > section:nth-of-type(2) .grid > div:nth-child(6) { --card-bg: #eaf7f8; --card-icon: #1d6874; }
[data-design-page="services"] > section:nth-of-type(2) svg { width: 28px; height: 28px; color: var(--card-icon); margin-bottom: 8px; }
[data-design-page="services"] > section:nth-of-type(2) h3 { font-size: 23px; margin-bottom: 7px; }
[data-design-page="services"] > section:nth-of-type(2) p { font-size: 15px; line-height: 1.62; margin-bottom: 10px; }
[data-design-page="services"] > section:nth-of-type(2) li { font-size: 15px; line-height: 1.7; color: #354055; align-items: baseline; }
[data-design-page="services"] > section:nth-of-type(2) ul > * + * { margin-top: 0; }
[data-design-page="services"] > section:nth-of-type(2) li > div { background: #354055; width: 4px; height: 4px; flex: none; }
[data-design-page="services"] > section:nth-of-type(3) { background: #f1f5fa; }
[data-design-page="services"] > section:nth-of-type(3) .grid { gap: 14px; }
[data-design-page="services"] > section:nth-of-type(3) .rounded-full { width: 47px; height: 47px; font-size: 16px; background: #2460db; transform: none; }
[data-design-page="services"] > section:nth-of-type(3) .relative.mb-6 { margin-bottom: 8px; }
[data-design-page="services"] > section:nth-of-type(3) .absolute { display: none; }
[data-design-page="services"] > section:nth-of-type(3) h3 { font-size: 23px; margin-bottom: 7px; }
[data-design-page="services"] > section:nth-of-type(3) .grid p { font-size: 15px; line-height: 1.62; }
[data-design-page="services"] > section:last-of-type { padding-block: clamp(31px, 5vw, 55px); }
[data-design-page="services"] > section:last-of-type .bg-gradient-to-r {
  background: var(--sample-warm);
  border: 1px solid #b99a644d;
  border-radius: 12px;
  color: var(--sample-ink);
  padding: clamp(25px, 4vw, 46px) 12px;
}
[data-design-page="services"] > section:last-of-type h2 { margin-bottom: 23px; }
[data-design-page="services"] > section:last-of-type .grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-design-page="services"] > section:last-of-type .text-4xl { font-size: clamp(22px, 4vw, 40px); font-weight: 800; letter-spacing: -.055em; }
[data-design-page="services"] > section:last-of-type .text-lg { color: #403426; font-size: clamp(12px, 1.5vw, 15px); font-weight: 600; opacity: 1; }

/* Shared footer styling is limited to the selected pages. */
[data-design-page] [data-testid="footer"] { background: #10141c; color: #b8c1cd; }
[data-design-page="company"] [data-testid="footer"] { background: radial-gradient(ellipse at 95% 0%, #65503238, transparent 58%), linear-gradient(115deg, #181c23, #10141c 72%, #1c1a18); box-shadow: inset 0 1px #cfa65533; }
[data-design-page] [data-testid="footer"] > div { padding-block: 43px 24px; }
[data-design-page] [data-testid="footer-company-name"] { width: 135px; height: 37px; mix-blend-mode: normal; filter: none; }
[data-design-page] [data-testid="footer"] h4 { font-size: 14px; margin-bottom: 11px; font-weight: 800; }
[data-design-page] [data-testid="footer"] p,
[data-design-page] [data-testid="footer"] li { font-size: 12px; color: #b8c1cd; }
[data-design-page] [data-testid="footer"] .border-t { margin-top: 24px; padding-top: 13px; border-color: #3a414b; }
[data-design-page] [data-testid="footer"] a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1023px) and (min-width: 621px) {
  [data-design-page="services"] > section:nth-of-type(2) .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-design-page="services"] > section:nth-of-type(2) .grid > div { padding: 18px; }
  [data-design-page="services"] > section:nth-of-type(2) h3 { font-size: 20px; }
  [data-design-page="company"] > section:nth-of-type(2) .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 767px) {
  [data-design-page] > section > .max-w-7xl,
  [data-design-page] > footer > .max-w-7xl { padding-inline: 22px; }
  [data-design-page] .uprise-stat-value { font-size: clamp(17px, 4.7vw, 26px); }
  [data-design-page] .uprise-stat { min-height: 146px; }
  [data-design-page="company"] > section:nth-of-type(4) .grid { gap: 32px; }
  [data-design-page="company"] > section:last-of-type .relative > .absolute { left: 8px; }
  [data-design-page="company"] > section:last-of-type .space-y-8 > .flex { position: relative; padding-left: 24px; }
  [data-design-page="company"] > section:last-of-type .space-y-8 > .flex > .w-1\/2:first-child { width: 100%; padding: 0; text-align: left; }
  [data-design-page="company"] > section:last-of-type .space-y-8 > .flex > .relative { position: absolute; left: 0; }
  [data-design-page="company"] > section:last-of-type .space-y-8 > .flex > .w-1\/2:last-child { display: none; }
  [data-design-page="services"] > section:nth-of-type(3) .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  [data-design-page="services"] > section:nth-of-type(3) h3 { font-size: 19px; }
  [data-design-page="services"] > section:nth-of-type(3) .grid p { font-size: 13px; }
  [data-design-page="home"] [data-testid="representative-funds-section"] .mb-12 { flex-wrap: wrap; }
  [data-design-page="home"] [data-testid="funds-subtitle"],
  [data-design-page="home"] [data-testid="business-areas-subtitle"] { font-size: 14px; }
}
@media (max-width: 620px) {
  [data-design-page="services"] > section:nth-of-type(2) .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-design-page="services"] > section:nth-of-type(2) .grid > div { padding: 16px; }
  [data-design-page="services"] > section:nth-of-type(2) h3 { font-size: 19px; }
  [data-design-page="services"] > section:nth-of-type(2) :is(p, li) { font-size: 13px; }
}
@media (max-width: 540px) {
  [data-design-page] [data-testid="navigation"] > div { padding-inline: 11px; }
  [data-design-page] [data-testid="link-home"],
  [data-design-page] [data-testid="link-home"] h1 { width: 96px; }
  [data-design-page="home"] [data-testid="hero-carousel"] h1 { font-size: clamp(25px, 6.4vw, 34px); line-height: 1.28; }
  [data-design-page="home"] [data-testid="hero-carousel"] .hero-gradient { padding-inline: 0; }
  [data-design-page="home"] [data-testid="hero-carousel"] .hero-gradient::after { background: radial-gradient(ellipse 90% 74% at 50% 47%, #070e1be6 0%, #09111ca6 49%, #09111c12 100%), linear-gradient(0deg, #070a1190, transparent 30%); }
  [data-design-page="home"] [data-testid^="slide-subtitle-"] { font-size: 10px; letter-spacing: .07em; }
  :is([data-design-page="company"], [data-design-page="services"], [data-design-page="contracts"]) > section:first-of-type { padding-inline: 0; }
  [data-design-page="company"] > section:last-of-type h2 { font-size: 24px; }
}
@media (max-width: 400px) {
  [data-design-page="services"] > section:nth-of-type(2) .grid { grid-template-columns: 1fr; }
}

/* Match the public page canvas while retaining the contract form and activity cards. */
[data-design-page="contracts"] { background: #fff; }
