/* ============================================================
   Home page — R2026 release overview
   Builds on the tokens already used across the site:
   panel #15171A / #16171B, deep well #0D0E10, border #2A2E32,
   accent #E6FF2A, 24px section radius, 16px media radius.
   #Hero and #Logos keep their definitions in style.css.
   ============================================================ */

/* ---------- Shared section furniture ---------- */
.Home__Label {
  color: #E6FF2A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.Home__Heading {
  color: #FFF;
  font-size: 44px;
  font-weight: 500;
  line-height: 115%;
  letter-spacing: -1.4px;
  margin: 0;
}

.Home__Sub {
  color: #FFFFFF88;
  font-size: 19px;
  line-height: 150%;
  letter-spacing: -0.2px;
  margin: 16px 0 0;
  max-width: 720px;
}


/* ---------- Hero additions ----------
   The 72px headline and its two-tone colouring come from style.css;
   only the release pill and the supporting line are added here. */
.Hero__Release {
  display: flex;
  justify-content: center;
}

.Hero__Release a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #E6FF2A;
  color: #16171B;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 16px;
  transition: filter .2s ease-in-out;
}

.Hero__Release a:hover {
  filter: brightness(1.12);
}

.Hero__Release svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* The continuation of the headline. It stays inside .Hero__Text so it keeps
   the hero's centring, but drops out of the 72px size: at headline size this
   sentence runs to three more lines and pushes the whole hero past a laptop
   viewport. Same role, and the same #FFFFFF88, as the `h4` that style.css
   already defines for a reduced line in this block. */
.Hero__Text .Hero__Text__Sub {
  color: #FFFFFF88;
  display: block;
  font-size: 30px;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.6px;
  margin-top: 20px;
}


/* ---------- Protocols and software features ----------
   The section carries the original site's rock face full-bleed, and the
   cards sit on it as translucent glass — the same recipe .Hero__Grid__Item
   uses in style.css. The photo tops out at luminance 83/255, so white text
   and a light tint stay legible over every part of it. */
#HomeStack {
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  background-image: url(/images-optimized/1/Background.webp);
  background-image: -webkit-image-set(url(/images-optimized/1/Background.webp) 1x,
                                      url(/images-optimized/1/Background@2x.webp) 2x);
  background-image: image-set(url(/images-optimized/1/Background.webp) 1x,
                              url(/images-optimized/1/Background@2x.webp) 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fades the band into the black page above and below instead of cutting it
   off at a hard edge. Negative z-index keeps it over the section background
   but under the content; `isolation` stops it escaping the section. */
#HomeStack::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
              #000 0%, rgba(0, 0, 0, 0) 24%,
              rgba(0, 0, 0, 0) 74%, #000 100%);
}

#HomeStack .wrapper {
  padding: 96px 0 116px;
  gap: 0;
}

.HomeStack__Grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;   /* both rows equal, not each row to its own content */
  gap: 16px;
  margin-top: 44px;
}

.HomeStack__Card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(22, 24, 27, 0.24);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid #FFFFFF14;
  border-radius: 24px;
  padding: 28px;
  text-decoration: none;
  transition: background .2s ease-in-out, border-color .2s ease-in-out;
}

.HomeStack__Card:hover {
  background: rgba(22, 24, 27, 0.55);
  border-color: #E6FF2A66;
}

.HomeStack__Card__Name {
  color: #FFF;
  font-size: 22px;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -0.7px;
}

.HomeStack__Card:hover .HomeStack__Card__Name {
  color: #E6FF2A;
}

.HomeStack__Card__Text {
  color: #FFFFFFAA;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.1px;
}

/* ---------- New devices ---------- */
#HomeDevices {
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  background-image: url(/images-optimized/1/devices-background.webp);
  background-image: -webkit-image-set(url(/images-optimized/1/devices-background.webp) 1x);
  background-image: image-set(url(/images-optimized/1/devices-background.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#HomeDevices::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
              #000 0%, rgba(0, 0, 0, 0) 20%,
              rgba(0, 0, 0, 0) 80%, #000 100%);
}

#HomeDevices .wrapper {
  padding: 96px 0 116px;
  gap: 0;
}

/* Glass over the photograph, matching the other two photo bands. The media
   well inside stays opaque: the device covers are transparent PNGs and need
   a consistent dark ground to read against. */
#HomeDevices .HomeDevice {
  background: rgba(22, 24, 27, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-color: #FFFFFF1F;
}

#HomeDevices .HomeDevice:hover {
  background-color: rgba(31, 35, 40, 0.82);
  border-color: #E6FF2A66;
}

/* Two across rather than four: at a quarter of the wrapper the device
   photographs were too small to read. 2x2 on laptops and tablets, 1x4 on
   phones. */
.HomeDevices__Grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 44px;
}

.HomeDevice {
  background: #15171A;
  border: 1px solid #2A2E32;
  border-radius: 24px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  position: relative;
  text-decoration: none;
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out;
}

.HomeDevice::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: #E6FF2A;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.HomeDevice:hover {
  background-color: #1D2024;
  border-color: #3C4147;
}

.HomeDevice:hover::before {
  opacity: 1;
}

.HomeDevice__Media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #0D0E10;
  border: 1px solid #2A2E32;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.HomeDevice__Media picture,
.HomeDevice__Media img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.HomeDevice__Badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #E6FF2A;
  color: #16171B;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  padding: 6px 8px;
}

.HomeDevice__Badge.-updated {
  background: #2A2E32;
  color: #FFFFFFCC;
}

.HomeDevice__Name {
  font-size: 26px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}

.HomeDevice:hover .HomeDevice__Name {
  color: #E6FF2A;
}

.HomeDevice__Caption {
  color: #FFFFFF88;
  font-size: 16px;
  line-height: 155%;
  letter-spacing: -0.1px;
  max-width: 46ch;
}


/* ---------- Applications ----------
   Framed cards rather than bare images: the three screens have very
   different proportions (a portrait tablet render against two landscape
   screenshots), so floating them on black left them visibly unaligned.
   Equal-height cards with a fixed media box give them a common frame, and
   the caption is pushed to the bottom so all three line up. */
#HomeApps {
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  background-image: url(/images-optimized/1/apps-background.webp);
  background-image: -webkit-image-set(url(/images-optimized/1/apps-background.webp) 1x);
  background-image: image-set(url(/images-optimized/1/apps-background.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#HomeApps::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
              #000 0%, rgba(0, 0, 0, 0) 20%,
              rgba(0, 0, 0, 0) 80%, #000 100%);
}

#HomeApps .wrapper {
  padding: 96px 0 116px;
  gap: 0;
}

.HomeApps__Grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 44px;
}

/* Glass over the photograph, matching the other photo bands. Tinted to
   0.72 rather than 0.62: these panels hold UI screenshots, which need a
   steadier ground than a photograph or running text does. */
.HomeApps__Item {
  background: rgba(22, 24, 27, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid #FFFFFF1F;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px;
  text-decoration: none;
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out;
}

.HomeApps__Item:hover {
  background-color: rgba(31, 35, 40, 0.88);
  border-color: #E6FF2A66;
}

/* 16:10 rather than 4:3: it lets the two landscape screenshots fill more of
   the box, which brings all three rendered heights close together. */
.HomeApps__Media {
  align-items: center;
  aspect-ratio: 16 / 10;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* The builder wraps every <img> in a <picture>. Left as an auto-height
   block that wrapper breaks the percentage chain, so `max-height: 100%` on
   the image resolves against nothing and the tall tablet render overflows. */
.HomeApps__Media picture {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.HomeApps__Media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.5) contrast(1.05) brightness(0.9);
  transition: transform .3s ease-in-out;
}

.HomeApps__Item:hover img {
  transform: scale(1.03);
}

.HomeApps__Name {
  color: #FFFFFFCC;
  font-size: 18px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.3px;
  margin-top: auto;      /* equal-height cards, so captions share a baseline */
  text-align: center;
}

.HomeApps__Item:hover .HomeApps__Name {
  color: #E6FF2A;
}


/* ---------- Case studies and solutions ----------
   Alternating photo / text rows. Every second row swaps the media to the
   right and takes the lighter panel, the same alternation the solution
   blocks use elsewhere on the site. */
#HomeCases {
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  background-image: url(/images-optimized/1/cases-background.webp);
  background-image: -webkit-image-set(url(/images-optimized/1/cases-background.webp) 1x);
  background-image: image-set(url(/images-optimized/1/cases-background.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Same fade as the protocols band, so the photo never meets the page on a
   hard edge. */
#HomeCases::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
              #000 0%, rgba(0, 0, 0, 0) 20%,
              rgba(0, 0, 0, 0) 80%, #000 100%);
}

#HomeCases .wrapper {
  padding: 96px 0 116px;
  gap: 0;
}

/* Glass over the photograph, like the protocol cards, but tinted harder
   because these carry running text rather than a two-line caption. */
#HomeCases .HomeCase {
  background: rgba(22, 24, 27, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-color: #FFFFFF1F;
}

#HomeCases .HomeCase:hover,
#HomeCases .HomeCase:nth-child(even):hover {
  background-color: rgba(31, 35, 40, 0.82);
  border-color: #E6FF2A66;
}

.HomeCases__List {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 44px;
}

/* The whole row is the link, so it picks up the same hover language as the
   device cards: lifted panel, brighter border, lime title. */
.HomeCase {
  background: #16171B;
  border: 1px solid #2A2E32;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 40px;
  padding: 32px;
  align-items: center;
  text-decoration: none;
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out;
}

.HomeCase:hover {
  background-color: #1D2024;
  border-color: #3C4147;
}

.HomeCase:hover .HomeCase__Title {
  color: #E6FF2A;
}

/* The partner row carries no title, so the hover needs a second cue. */
.HomeCase:hover .HomeCase__Media {
  border-color: #3C4147;
}

/* Both are pinned to row 1. Without an explicit row the mirrored cards
   break: the media takes column 2, the auto-placement cursor has already
   passed column 1, and the body is pushed onto a second row. */
.HomeCase__Media { grid-column: 1; grid-row: 1; }
.HomeCase__Body  { grid-column: 2; grid-row: 1; }

/* Mirroring the row has to move the track, not just the item: with `order`
   alone the media lands in the 1fr column and grows to the text's width. */
.HomeCase:nth-child(even) {
  background: #1B1E22;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
}

.HomeCase:nth-child(even):hover {
  background-color: #22262B;
}

/* Over the photo the alternating panel tones read as inconsistent glass,
   so both rows take the same tint; the mirrored layout already tells them
   apart. */
#HomeCases .HomeCase:nth-child(even) {
  background: rgba(22, 24, 27, 0.62);
}

.HomeCase:nth-child(even) .HomeCase__Media { grid-column: 2; grid-row: 1; }
.HomeCase:nth-child(even) .HomeCase__Body  { grid-column: 1; grid-row: 1; }

/* The page has no global border-box, and the partner variant carries
   padding: without this its 4:3 would be measured on the content box and
   that one row would stand ~15px taller than the three photo rows. */
.HomeCase__Media {
  aspect-ratio: 4 / 3;
  background: #0D0E10;
  border: 1px solid #2A2E32;
  border-radius: 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.HomeCase__Media picture,
.HomeCase__Media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Half-desaturated rather than flat grey: enough to keep photographs from
   different sources sitting together and off the accent colour, but the
   card photos still separate from the fully grey section backgrounds. */
.HomeCase__Media img {
  filter: grayscale(0.5) contrast(1.05) brightness(0.9);
}

.HomeCase__Body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.HomeCase__Title {
  color: #FFF;
  font-size: 26px;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: -0.9px;
  margin: 0 0 20px;
}

.HomeCase__Points {
  color: #FFFFFFCC;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 17px;
  line-height: 145%;
  letter-spacing: -0.1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.HomeCase__Points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.HomeCase__Points li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: #E6FF2A;
}
/* ---------- Technology partners ----------
   Its one row reuses the .HomeCase component, so it keeps the media/text
   split and the stacking behaviour the case rows already have. */
#HomePartners {
  padding: 0 10px;
  position: relative;
  isolation: isolate;
  background-image: url(/images-optimized/1/partners-background.webp);
  background-image: -webkit-image-set(url(/images-optimized/1/partners-background.webp) 1x);
  background-image: image-set(url(/images-optimized/1/partners-background.webp) 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#HomePartners::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
              #000 0%, rgba(0, 0, 0, 0) 20%,
              rgba(0, 0, 0, 0) 80%, #000 100%);
}

#HomePartners .wrapper {
  padding: 96px 0 116px;
  gap: 0;
}

#HomePartners .HomeCase {
  background: rgba(22, 24, 27, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-color: #FFFFFF1F;
}

#HomePartners .HomeCase:hover {
  background-color: rgba(31, 35, 40, 0.82);
  border-color: #E6FF2A66;
}


/* ---------- Closing note ---------- */
#HomeOpen {
  padding: 0 10px;
}

#HomeOpen .wrapper {
  padding-bottom: 110px;
  gap: 0;
  align-items: center;
}

.HomeOpen__Text {
  color: #FFF;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: -0.4px;
  margin: 0;
  max-width: 860px;
  text-align: center;
}

.HomeOpen__Text a {
  color: #E6FF2A;
  text-decoration: underline;
  text-decoration-color: #E6FF2A55;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease-in-out;
}

.HomeOpen__Text a:hover {
  text-decoration-color: #E6FF2A;
}


/* ---------- Responsive ---------- */
@media (max-width: 1000px) {

  /* One column: every row reverts to photo above text, so the mirrored
     track assignment has to be undone as well. */
  .HomeCase,
  .HomeCase:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .HomeCase__Media,
  .HomeCase:nth-child(even) .HomeCase__Media { grid-column: 1; grid-row: 1; }
  .HomeCase__Body,
  .HomeCase:nth-child(even) .HomeCase__Body  { grid-column: 1; grid-row: 2; }

  /* Full-width now rather than a 440px column, so 4:3 would make the photo
     taller than the text it introduces. It becomes a banner instead. */
  .HomeCase__Media { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .HomeStack__Grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 750px) {
  .Home__Heading { font-size: 32px; letter-spacing: -0.9px; }
  .Home__Sub { font-size: 17px; }
  .Hero__Text .Hero__Text__Sub { font-size: 20px; margin-top: 16px; }

  #HomeStack .wrapper { padding: 64px 0 76px; }
  .HomeStack__Card { padding: 22px; }
  .HomeStack__Card__Name { font-size: 20px; }

  .HomeOpen__Text { font-size: 19px; }
  .HomeApps__Grid { grid-template-columns: 1fr; gap: 32px; }
  .HomeCase { padding: 22px; }
  .HomeCase__Title { font-size: 22px; }
  .HomeCase__Points { font-size: 16px; }
}

@media (max-width: 600px) {
  .HomeDevices__Grid { grid-template-columns: 1fr; }
  .HomeDevice { padding: 22px; }
  .HomeDevice__Name { font-size: 22px; }
  .HomeStack__Grid { grid-template-columns: 1fr; }

}
