.network-panel {
  --panel-padding: 32px;
  --panel-gap: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  padding: var(--panel-padding);
  background: var(--sky);
}
.network-panel + .network-panel { margin-top: 48px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.panel-heading h2 { margin: 0; max-width: 870px; font-size: clamp(24px, 2.22vw, 32px); font-weight: 690; letter-spacing: -.045em; line-height: 1.1; }
.panel-heading h2 span, .feature-copy h3 span { color: var(--blue); }
.panel-heading .button { flex: 0 0 auto; }
.panel-heading .button span:last-child, .feature-copy .button span { font-size: 25px; font-weight: 420; line-height: .8; }
.panel-heading p { margin: 16px 0 0; font-size: 17px; line-height: 1.5; }

.network-intelligence {
  border: 3px solid transparent;
  background: linear-gradient(#081f43,#081f43) padding-box, linear-gradient(112deg,#116bff,#ad7ce8 57%,#9aabfb) border-box;
  box-shadow: inset 0 0 0 2px #edf2ff;
  color: #fff;
}
.network-intelligence .panel-heading h2 span { color: #9aabff; background: linear-gradient(95deg,#508dff,#c69bf6); background-clip: text; -webkit-text-fill-color: transparent; }
.network-carousel { margin-inline-end: calc(-1 * var(--panel-padding)); position: relative; }
:is(.rules-track, .examples-track) { display: grid; grid-auto-flow: column; overflow: auto hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
:is(.rules-track, .examples-track)::-webkit-scrollbar { display: none; }
.rules-track { grid-auto-columns: clamp(263px, 27vw, 360px); gap: 16px; padding-right: var(--panel-padding); }
.rule-card { min-width: 0; scroll-snap-align: start; }
.rule-art {
  --art-color: #bebdf2;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 1;
  padding: 9% 8%;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #ecf2fc;
  text-align: left;
}
.rule-art::before, .rule-art::after { content: ''; position: absolute; width: 22%; height: 39%; border-radius: 16px; background: var(--art-color); }
.rule-art::before { top: 8%; left: -16%; }
.rule-art::after { bottom: 8%; right: -17%; }
.rule-art img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 16px; }
.rule-art img:first-child { grid-row: 1 / -1; object-position: center 56%; }
.rule-art img:last-of-type { object-position: center 42%; }
.rule-art > span { position: absolute; bottom: 23%; left: 7%; max-width: 86%; padding: 13px 15px; border-inline-start: 6px solid var(--blue); border-radius: 8px; background: #fff; color: var(--navy); box-shadow: var(--soft-shadow); font-size: 14px; font-weight: 650; transition: transform .2s ease; }
.rule-art:hover > span { transform: translateY(-3px); }
.rule-card[data-theme="warm"] .rule-art { --art-color: #f1c6b6; background: #f9eee7; }
.rule-card[data-theme="violet"] .rule-art { --art-color: #c4aff0; background: #ebddfb; }
.rule-card[data-theme="blue"] .rule-art { --art-color: #93acf6; background: #dbeafd; }
.rule-card[data-theme="green"] .rule-art { --art-color: #b5dcb8; background: #ebf5e9; }
.rule-card h3 { margin: 23px 16px 8px; font-size: 16px; font-weight: 640; }
.rule-card p { margin: 0 16px; font-size: 14px; line-height: 1.5; color: #e9eef8; }
.rules-navigation { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 37px var(--panel-padding) 0 0; }
.rules-navigation button, .examples-navigation button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0 0 3px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-size: 28px; line-height: 1; }
.rules-navigation button:hover:not(:disabled), .examples-navigation button:hover:not(:disabled) { background: #0058df; }
.rules-navigation button:disabled, .examples-navigation button:disabled { opacity: .4; cursor: default; }
.rules-navigation progress { appearance: none; width: min(40%, 460px); height: 8px; overflow: hidden; border: 0; border-radius: 20px; color: var(--blue); background: #071226; }
.rules-navigation progress::-webkit-progress-bar { background: #071226; }
.rules-navigation progress::-webkit-progress-value { background: var(--blue); min-width: 24%; border-radius: 20px; }
.rules-navigation progress::-moz-progress-bar { background: var(--blue); border-radius: 20px; }

.distribution-grid, .production-grid { display: grid; gap: var(--panel-gap); }
.distribution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.production-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.network-feature-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--soft-shadow); }
.distribution-mosaic { position: relative; height: clamp(245px, 27vw, 373px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 12px; overflow: hidden; padding: 22px; background: #081f43; }
.distribution-mosaic > div { position: relative; overflow: hidden; border-radius: 14px; background: #c6c8fa; }
.distribution-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-campaign .mosaic-campaign-cover { grid-column: span 2; }
.mosaic-campaign-cover img { filter: brightness(.65); }
.mosaic-campaign-cover strong { position: absolute; top: 16%; left: 8%; color: #fff; font-size: clamp(24px, 2.7vw, 40px); line-height: .98; letter-spacing: -.045em; }
.mosaic-campaign .mosaic-screen { grid-column: span 2; padding: 9px; background: #e9f1fe; }
.mosaic-screen img { border-radius: 9px; object-position: left top; object-fit: cover; }
.mosaic-campaign .mosaic-status { position: absolute; z-index: 1; right: 7%; bottom: 14%; display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; box-shadow: var(--soft-shadow); }
.mosaic-status > span { color: var(--blue); }
.mosaic-status small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.mosaic-status strong { font-size: 13px; }
.mosaic-units .mosaic-local:first-child, .mosaic-units .mosaic-local:last-child { grid-row: span 2; }
.mosaic-local > span { position: absolute; left: 8px; bottom: 9px; background: #fff; padding: 6px 8px; border-radius: 8px; font-size: 11px; font-weight: 660; }
.mosaic-units .mosaic-local:nth-child(2) > img { object-position: 36% center; }
.mosaic-units .mosaic-fields { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 12px; background: #e0e8ff; font-size: clamp(10px, 1.1vw, 14px); }
.mosaic-fields span { background: #fff; color: #1650a0; border-radius: 5px; padding: 4px 6px; white-space: nowrap; }
.feature-copy { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.feature-copy h3 { margin: 0; font-size: clamp(21px, 2vw, 28px); font-weight: 690; line-height: 1.11; letter-spacing: -.04em; }
.feature-copy p { margin: 0; font-size: 17px; line-height: 1.52; }
.feature-copy .button { width: 100%; margin-top: auto; }

.network-production, .network-contact { background: var(--blue); }
.network-production .panel-heading { color: #fff; }
.production-art { position: relative; display: grid; isolation: isolate; aspect-ratio: 1.08; padding: 20px; overflow: hidden; background: #cacafb; }
.production-art > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.production-rules > img { object-position: 75% 45%; }
.production-logo { justify-self: end; align-self: start; background: #fff; border-radius: 8px; padding: 5px 8px; }
.production-logo img { width: 70px; }
.production-type { position: absolute; left: 10%; bottom: 14%; display: grid; gap: 2px; min-width: 82px; padding: 10px 13px; border-radius: 10px; background: #d8d5ff; }
.production-type strong { font-size: 33px; letter-spacing: -.09em; }
.production-type span { font-size: 11px; }
.production-approval { position: absolute; right: 7%; bottom: 9%; padding: 10px 11px; border-radius: 8px; background: #fff; color: #0e4cc9; box-shadow: var(--soft-shadow); font-size: 12px; font-weight: 670; }
.production-create > img { object-position: 25% 55%; }
.production-chat { align-self: end; max-width: 81%; margin-bottom: 39px; padding: 15px; background: #e8f0ff; border-radius: 13px 13px 4px 13px; box-shadow: var(--soft-shadow); }
.production-chat span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.production-chat strong { display: block; font-size: 15px; }
.production-review { background: linear-gradient(145deg,#d9e9ff,#789bff 58%,#b4a2f5); }
.production-activity { align-self: center; padding: 15px; border-radius: 14px; background: #fefefe; box-shadow: 0 14px 26px #29489b31; font-size: 13px; }
.production-activity > div { display: flex; justify-content: space-between; gap: 5px; padding: 10px 0; border-bottom: 1px solid #e0e6ed; }
.production-activity > div:last-child { border: 0; }
.production-activity b { white-space: nowrap; color: #1652bf; font-size: 11px; }
.production-grid .feature-copy { padding: 16px; }
.production-grid .feature-copy h3 { font-size: 21px; }
.production-grid .feature-copy p { font-size: 15px; }

.network-connections .panel-heading h2 { font-size: clamp(23px, 2vw, 29px); }
.connection-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 12px; }
.connection-grid > div { display: grid; place-items: center; align-content: center; gap: 7px; min-width: 0; min-height: 104px; padding: 9px 4px; border: 1px solid #fff; border-radius: 12px; background: #ffffffeb; color: #374155; font-size: clamp(9px, .85vw, 12px); font-weight: 650; }
.connection-grid img, .connection-symbol { width: 33px; height: 33px; object-fit: contain; }
.connection-symbol { display: grid; place-items: center; border-radius: 9px; background: #e7ebff; color: #123f8b; font-size: 23px; line-height: 1; }
.symbol-chatgpt { background: #d8f2e9; color: #0b6954; }
.symbol-claude { background: #f8eee8; color: #9d573a; }
.symbol-mcp { background: #e9dcff; color: #5a38ad; }

.network-examples::before, .network-examples::after { content: ''; position: absolute; z-index: -1; width: 30%; aspect-ratio: 1; right: 0; transform: rotate(24deg); border-radius: 32px; background: #9faff7; pointer-events: none; }
.network-examples::before { top: -28%; }
.network-examples::after { right: -10%; bottom: -27%; background: #ccc9fb; }
.examples-track { grid-auto-columns: clamp(242px, 25.4vw, 360px); gap: 16px; padding-right: var(--panel-padding); }
.example-card { display: block; position: relative; overflow: hidden; aspect-ratio: .73; scroll-snap-align: start; border: 0; border-radius: 18px; background: #27464d; text-align: left; }
.example-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .26s ease; }
.example-card:hover .example-photo { transform: scale(1.06); }
.example-logo { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 92px; min-height: 44px; border-radius: 8px; background: #fff; }
.example-logo img { width: 72px; }
.example-label { position: absolute; inset: auto 16px 16px; display: flex; flex-direction: column; justify-content: end; gap: 7px; min-height: 105px; padding: 17px; border-radius: 12px; background: #166ef5; color: #fff; }
.example-card:nth-child(3n + 2) .example-label { background: #ffdc47; color: var(--navy); }
.example-card:nth-child(3n) .example-label { background: #b990f4; color: var(--navy); }
.example-label strong { font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -.05em; line-height: .97; }
.example-label > span { font-size: 14px; font-weight: 640; }
.examples-navigation { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); display: flex; gap: 7px; }
.examples-navigation button { width: 42px; height: 49px; }

.network-contact { display: grid; grid-template-columns: 1.45fr minmax(290px, .74fr); gap: clamp(29px, 6vw, 95px); align-items: start; min-height: 610px; margin-bottom: 24px; padding: clamp(29px, 4vw, 48px); }
.network-contact::before, .network-contact::after { content: ''; position: absolute; z-index: -1; transform: rotate(27deg); pointer-events: none; }
.network-contact::before { height: 114%; width: 34%; bottom: -45%; right: 15%; border-radius: 19%; background: #ad7dea; box-shadow: -160px 195px 0 #cbc9fa; }
.network-contact::after { width: 36%; aspect-ratio: 1; top: -59%; right: -15%; border-radius: 90px; background: #ffda43; box-shadow: 36px 127px 0 #075e67; }
.contact-intro { max-width: 665px; padding-top: 14px; color: #fff; }
.contact-intro h2 { margin: 0; font-size: clamp(30px, 3.15vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.contact-intro p { max-width: 620px; margin: 22px 0 0; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; }
.contact-intro ul { display: grid; gap: 14px; list-style: none; margin: 38px 0 29px; padding: 0; }
.contact-intro li { display: flex; align-items: start; gap: 12px; font-size: 17px; line-height: 1.45; }
.contact-intro li::before { content: '✓'; flex: 0 0 20px; border-radius: 50%; background: #fff; color: #105adb; font-size: 14px; line-height: 20px; text-align: center; font-weight: 700; }
.contact-card { padding: 28px 24px; border: 1px solid #e7edfc; border-radius: 24px; background: #fdfdfd; box-shadow: 0 5px 10px #03102517; }
.contact-card > img { margin-inline: auto; }
.contact-card h3 { margin: 13px 0 22px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.12; letter-spacing: -.044em; text-align: center; }
.contact-card form { display: grid; gap: 12px; }
.contact-card label { display: grid; gap: 5px; font-size: 13px; font-weight: 550; }
.contact-card :is(input, select, textarea) { min-width: 0; width: 100%; padding: 10px; border: 1px solid #cdd4df; border-radius: 8px; background: #fff; color: var(--navy); font: inherit; }
.contact-card .button { width: 100%; margin-top: 4px; }
.contact-card small { display: block; margin-top: 15px; color: var(--muted); text-align: center; }
.contact-card [data-contact-result] p { font-size: 14px; line-height: 1.4; }
.contact-back { display: block; margin: 10px auto 0; padding: 5px; background: none; border: 0; color: #0956c5; text-decoration: underline; }

.network-footer { padding: 47px 0 24px; background: #071326; color: #f4f8ff; }
.footer-content { display: grid; grid-template-columns: minmax(120px,1fr) 4fr; gap: 32px; }
.footer-content .brand { align-self: start; color: #fff; }
.footer-content .brand img { filter: brightness(0) invert(1); }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.footer-links h2 { margin: 0 0 11px; font-size: 15px; }
.footer-links a { display: block; width: fit-content; margin: 0 0 8px; color: #c4cedb; font-size: 14px; line-height: 1.34; }
.footer-links a:hover, .footer-meta a:hover { color: #fff; text-decoration: underline; }
.footer-meta { display: flex; justify-content: space-between; gap: 10px; grid-column: 1 / -1; border-top: 1px solid #26354a; padding-top: 20px; color: #c4cedb; font-size: 13px; }

@media (max-width: 1000px) {
  .connection-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .panel-heading .button { min-height: 42px; padding-inline: 14px; font-size: 15px; }
}
@media (max-width: 830px) {
  .network-panel { --panel-padding: 21px; --panel-gap: 15px; width: calc(100% - 32px); border-radius: 16px; }
  .network-panel + .network-panel { margin-top: 28px; }
  .panel-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .production-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .network-contact { grid-template-columns: minmax(0,1fr); gap: 25px; min-height: 0; }
  .network-contact::after { top: -23%; right: -33%; width: 65%; }
  .footer-content { grid-template-columns: minmax(0,1fr); gap: 23px; }
}
@media (max-width: 560px) {
  .distribution-grid, .production-grid { grid-template-columns: minmax(0,1fr); }
  .distribution-mosaic { height: 220px; gap: 8px; padding: 13px; }
  .feature-copy { padding: 18px; gap: 14px; }
  .feature-copy p, .panel-heading p { font-size: 15px; }
  .production-art { aspect-ratio: 1.35; }
  .connection-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .connection-grid > div { min-height: 78px; font-size: 11px; }
  .examples-navigation { position: static; justify-content: end; transform: none; margin: 12px var(--panel-padding) 0 0; }
  .examples-navigation button { height: 38px; }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.rules-track, .examples-track) { scroll-behavior: auto; }
}

.rule-art .rule-brand { position: absolute; z-index: 2; top: 15px; left: 20px; padding: 5px 9px; border-radius: 20px; background: #ffffffdf; color: #1c2a3a; font-size: 11px; font-weight: 600; }
