* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #172b43;
  --muted: #475f78;
  --blue: #29588e;
  --line: #d3deea;
  --paper: #f3f6fa;
  --accent: #f2c84c;
  font: 100%/1.55 system-ui, "Segoe UI", sans-serif;
}
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { text-decoration: none; font-size: 1.25rem; font-weight: 650; letter-spacing: -.035em; white-space: nowrap; }
.brand strong { color: var(--blue); font-weight: 850; }
nav a, .back-link { color: var(--blue); font-weight: 650; text-underline-offset: .25em; }
.hero {
  position: relative;
  isolation: isolate;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(120deg, #fff 8%, #e1ecf8);
  min-height: 350px;
}
.hero-copy { padding: clamp(1.5rem, 4vw, 3.75rem); padding-right: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.hero p { color: var(--muted); margin-top: 1rem; max-width: 34ch; }
.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: #f7d976; }
.drawing {
  position: relative;
  align-self: stretch;
  min-height: 210px;
  background-image: linear-gradient(#6f97c42b 1px, transparent 1px), linear-gradient(90deg, #6f97c42b 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: center;
  mask-image: linear-gradient(90deg, transparent, #000 18%);
}
.drawing div { position: absolute; inset: 12% 12%; }
.part-top, .part-side, .part-shadow {
  clip-path: polygon(8% 47%, 46% 13%, 65% 27%, 74% 19%, 94% 35%, 94% 65%, 55% 96%, 8% 63%, 8% 47%, 55% 78%, 94% 47%, 94% 35%, 55% 66%, 8% 33%, 8% 47%);
}
.part-top { background: linear-gradient(145deg, #a6caed, #5585ba); }
.part-side { background: #234e80; translate: 0 8%; }
.part-shadow { translate: 2% 15%; background: #173d6a24; }
.catalog { margin-block: 2.5rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.035em; line-height: 1.2; }
.catalog > p { color: var(--muted); margin-top: .45rem; }
.cards { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
  text-decoration: none;
}
.card:hover { border-color: #7b9bc0; box-shadow: inset 0 3px var(--accent); }
.card h3 { margin-top: .75rem; font-size: 1.12rem; line-height: 1.25; }
.card p { margin-top: .4rem; color: var(--muted); }
.card-link { margin-top: auto; padding-top: .85rem; color: var(--blue); font-weight: 700; font-size: .9rem; }
.icon { width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: .55rem; background: #edf4fd; color: var(--blue); }
.icon::before { content: ""; width: 1.05rem; height: 1.05rem; border: 2px solid currentColor; }
.evo::before { rotate: 45deg; border-radius: 2px; box-shadow: inset 0 0 0 3px #edf4fd; background: #91b8e2; }
.box::before { border-top-width: 5px; border-radius: 2px; }
.mold::before { border-radius: 50%; box-shadow: 0 0 0 3px #a8c5e6; }
.slope::before { border: 0; background: currentColor; clip-path: polygon(0 100%, 100% 0, 100% 100%, 78% 100%, 78% 50%, 28% 100%); }
.patch::before { border-radius: 45% 45% 35% 35%; border-style: dashed; }
.light::before { border-radius: 100%; width: .76rem; height: .76rem; box-shadow: 0 0 0 3px #a8c5e6; }
.detail { margin-block: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); background: white; border: 1px solid var(--line); border-radius: 1.25rem; }
.detail .icon { margin-top: 1.8rem; }
.detail h1 { margin-top: .75rem; }
.detail p { margin-top: .8rem; color: var(--muted); }
.detail .status { margin-top: 1.5rem; padding: .85rem 1rem; border-inline-start: 4px solid var(--accent); background: var(--paper); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 800px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .hero, .cards { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-right: 1.5rem; }
  .drawing { mask-image: linear-gradient(180deg, transparent, #000 25%); }
}
