/* AI Disty brand colors and layout adapted from the existing website preview. */
:root {
  --navy: #102c43;
  --teal: #006e66;
  --bright: #00a99a;
  --soft: #f2f6f7;
  --hero-gray: #e5eef5;
  --line: #d3e0e4;
  --muted: #496071;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--navy); font: 16px/1.65 system-ui, sans-serif; background: white; }
a { color: var(--teal); text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid #a45400; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.logo { display: block; width: 216px; max-width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; font-size: .92rem; font-weight: 650; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--navy); }
nav a:hover, nav [aria-current="page"] { text-decoration: underline; color: var(--teal); }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; margin: 0 0 1.4rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.15; margin: 0 0 .9rem; }
h3 { font-size: 1.05rem; line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.intro { font-size: clamp(1.12rem, 2vw, 1.45rem); line-height: 1.45; color: var(--muted); max-width: 38rem; margin-bottom: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--navy); border-radius: .3rem; background: var(--navy); color: white; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--teal); border-color: var(--teal); }
.button.secondary { background: white; color: var(--navy); }
.button.secondary:hover { background: var(--soft); }

.catalog-hero {
  width: min(1440px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  background: var(--hero-gray);
  border-bottom: 1px solid var(--line);
}
.catalog-hero-copy {
  align-self: center;
  padding: clamp(2.8rem, 6.5vw, 6.2rem) clamp(1.5rem, 5vw, 4.6rem);
}
.catalog-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 5.1vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.catalog-hero .intro {
  max-width: 36ch;
  margin-bottom: 1.75rem;
  color: var(--navy);
}
.catalog-hero .button:first-child { border-color: var(--teal); background: var(--teal); }
.catalog-hero .button:first-child:hover { border-color: var(--navy); background: var(--navy); }
.catalog-hero .button.secondary { background: transparent; }
.catalog-hero .button.secondary:hover { background: white; }
.catalog-hero-media { position: relative; min-width: 0; margin: 0; }
.catalog-hero-media figcaption {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .2rem .55rem;
  background: var(--navy);
  color: white;
  font-size: .75rem;
}
.catalog-image {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  isolation: isolate;
}
.catalog-image::before {
  position: absolute;
  inset-inline: 0;
  top: var(--photo-center, 50%);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("/technology-catalog.webp") var(--photo-position, left top) / 200% 200% no-repeat;
  content: "";
}
.photo-hero { height: 100%; min-height: 29rem; --photo-center: 55%; }
.photo-robotics { --photo-position: right top; }
.photo-devices { --photo-position: left bottom; --photo-center: 37%; }
.photo-hardware { --photo-position: right bottom; --photo-center: 32%; }
.photo-software { --photo-position: right bottom; --photo-center: 74%; }
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.technology h2 { margin-bottom: 1.6rem; }
.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.technology-grid article { padding-block: 1rem; padding-inline: 1.15rem; }
.technology-grid article:first-child { padding-inline-start: 0; }
.technology-grid article:last-child { padding-inline-end: 0; }
.technology-grid article + article { border-inline-start: 1px solid var(--line); }
.technology-grid .catalog-image { aspect-ratio: 4 / 3; margin-bottom: .95rem; }
.technology-grid h3 { font-size: 1.16rem; }
.technology-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.48; }
.distribution { background: var(--soft); border-block: 1px solid var(--line); }
.steps { display: grid; gap: 1.8rem; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-left: 1.5rem; }
.steps li { border-top: 2px solid var(--bright); padding-top: .8rem; }
.steps p { margin: 0; color: var(--muted); }
.notice { background: var(--soft); border-left: 3px solid var(--teal); padding: .85rem 1rem; margin: 1.5rem 0; }
.detail { max-width: 760px; }
.detail h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.detail h2 { margin-top: 1.75rem; }
.detail li { margin-block: .4rem; }
.event-date { color: var(--teal); font-weight: 700; }
.footer { display: flex; flex-wrap: wrap; gap: .25rem 1rem; border-top: 1px solid var(--line); color: var(--muted); padding-block: 1.4rem; font-size: .9rem; }
.footer strong { color: var(--navy); }
.footer a { margin-inline-start: auto; }
.skip { position: absolute; z-index: 2; left: .8rem; top: .8rem; padding: .6rem; background: white; transform: translateY(-250%); }
.skip:focus { transform: none; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .header { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .logo { width: 185px; }
  nav { gap: 0 .9rem; }
  .catalog-hero { grid-template-columns: 1fr; }
  .catalog-hero-copy { padding: 2.65rem 1rem; }
  .catalog-hero h1 { max-width: 14ch; }
  .photo-hero { min-height: 0; aspect-ratio: 4 / 3; }
  .technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technology-grid article:nth-child(3) { border-inline-start: 0; }
  .technology-grid article:nth-child(odd) { padding-inline-start: 0; }
  .technology-grid article:nth-child(even) { padding-inline-end: 0; }
  .technology-grid article:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .steps { grid-template-columns: 1fr; }
  .technology-grid article { padding-inline: .55rem; }
}
