:root {
  color-scheme: dark;
  --bg: #03070c;
  --bg-deep: #010409;
  --panel: rgba(16, 19, 22, 0.7);
  --panel-solid: #121619;
  --card: rgba(151, 160, 167, 0.07);
  --card-hover: rgba(166, 175, 181, 0.12);
  --line: rgba(184, 194, 201, 0.21);
  --line-strong: rgba(211, 218, 223, 0.18);
  --text: #f2f3f3;
  --muted: #999fa4;
  --muted-strong: #c3c8cb;
  --metal: #929da5;
  --metal-bright: #c2c9ce;
  --radius-panel: 30px;
  --radius-card: 15px;
  --shadow-panel: 0 48px 130px rgba(0, 0, 0, 0.55), 0 16px 48px rgba(0, 0, 0, 0.32);
  --shadow-phone: 0 30px 58px rgba(0, 0, 0, 0.58), 0 5px 18px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(151, 160, 167, 0.12), transparent 30%),
    linear-gradient(135deg, #060708 0%, #15191c 48%, #090b0d 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.1), rgba(4, 5, 6, 0.36)),
    linear-gradient(90deg, rgba(3, 4, 5, 0.46), rgba(7, 8, 9, 0.05) 56%, rgba(3, 4, 5, 0.22));
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #06101b;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__photo {
  position: absolute;
  inset: -8px;
  opacity: 1;
  background-image: url("assets/ironar-background-v2.png");
  background-position: center;
  background-size: cover;
  filter: blur(2px) saturate(52%) brightness(64%);
  transform: scale(1.02);
}

.ambient__light {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ambient__light--metal {
  right: 6%;
  bottom: 0;
  width: 32vw;
  height: 32vw;
  background: rgba(112, 123, 132, 0.11);
}

.ambient__light--white {
  top: -2%;
  right: 2%;
  width: 24vw;
  height: 24vw;
  background: rgba(210, 221, 230, 0.12);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(89vw, 1490px);
  margin: 0 auto;
  padding: clamp(48px, 7svh, 66px) 0 108px;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  grid-template-areas:
    "copy phones"
    "features phones"
    "contact phones";
  grid-template-rows: auto 1fr auto;
  gap: 20px 24px;
  height: clamp(720px, 84svh, 820px);
  min-height: 0;
  padding: clamp(36px, 2.7vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  background: transparent;
  animation: panel-enter 620ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(5, 6, 7, 0.26)),
    linear-gradient(105deg, rgba(10, 12, 14, 0.79) 0%, rgba(16, 19, 21, 0.67) 48%, rgba(27, 30, 32, 0.52) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(76%);
  backdrop-filter: blur(24px) saturate(76%);
  content: "";
}

.hero-panel::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 54%;
  height: 58%;
  border-radius: 0 var(--radius-panel) 0 0;
  background: radial-gradient(circle at 68% 10%, rgba(221, 230, 235, 0.09), transparent 62%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
  animation: enter 700ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: clamp(1.55rem, 1.85vw, 1.9rem);
  font-weight: 630;
  letter-spacing: -0.035em;
}

.brand-name sup {
  position: relative;
  top: -0.6em;
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.3em;
  letter-spacing: 0;
}

.status-pill {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(181, 190, 197, 0.28);
  border-radius: 999px;
  color: var(--metal-bright);
  background: rgba(14, 17, 19, 0.48);
  font-size: 0.8rem;
  line-height: 1;
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d3d8dc, #65717a);
  box-shadow: 0 0 0 4px rgba(166, 177, 185, 0.08);
}

h1,
h2,
p,
figure {
  margin: 0;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.45rem, 3.2vw, 3.16rem);
  line-height: 1.05;
  letter-spacing: -0.047em;
  text-wrap: balance;
}

.accent-period {
  color: #aeb7bd;
}

.hero-description {
  max-width: 55ch;
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: clamp(0.92rem, 1.05vw, 1.04rem);
  line-height: 1.52;
}

.feature-grid {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: end;
  min-width: 0;
  animation: enter 700ms 90ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.feature-card {
  min-height: 136px;
  padding: 14px 13px;
  border: 1px solid rgba(214, 232, 255, 0.16);
  border-radius: var(--radius-card);
  background: var(--card);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  border-color: rgba(190, 199, 205, 0.4);
  background: var(--card-hover);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.feature-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  border: 0;
  border-radius: 8px;
}

.feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.86;
  filter: grayscale(1) brightness(1.38) contrast(0.9);
}

.feature-card h2 {
  min-height: 2.4em;
  color: var(--text);
  font-size: clamp(0.82rem, 0.92vw, 0.94rem);
  font-weight: 570;
  line-height: 1.2;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.8vw, 0.81rem);
  line-height: 1.42;
}

.contact-strip {
  grid-area: contact;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(214, 232, 255, 0.18);
  border-radius: var(--radius-card);
  background: rgba(3, 9, 16, 0.38);
  animation: enter 700ms 160ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.contact-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(214, 232, 255, 0.17);
  border-radius: 50%;
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1rem;
}

.contact-copy {
  min-width: 0;
}

.contact-copy p {
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-copy a {
  display: inline-block;
  margin-top: 4px;
  color: #b6c0c6;
  font-size: 0.82rem;
  text-decoration: none;
}

.contact-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 17px;
  border: 1px solid rgba(198, 207, 213, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #252a2e 0%, #616c74 52%, #353b40 100%);
  background-size: 180% 100%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, background-position 180ms ease, box-shadow 180ms ease;
}

.contact-button:hover {
  border-color: rgba(226, 231, 234, 0.72);
  background-position: 100% 50%;
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.18);
}

.contact-button:focus-visible,
.brand:focus-visible,
.contact-copy a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(181, 192, 199, 0.72);
  outline-offset: 4px;
}

.device-stage {
  position: relative;
  grid-area: phones;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
  animation: enter 820ms 100ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 1.5px solid rgba(207, 213, 217, 0.82);
  border-radius: clamp(32px, 3.2vw, 44px);
  background: #020304;
  box-shadow: 0 38px 82px rgba(0, 0, 0, 0.64), 0 7px 22px rgba(0, 0, 0, 0.52), inset 0 0 0 5px #0b0d0f;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.phone::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.1), inset -1px 0 rgba(255, 255, 255, 0.04);
  content: "";
  pointer-events: none;
}

.phone:hover {
  border-color: rgba(241, 246, 251, 0.92);
  box-shadow: 0 34px 65px rgba(0, 0, 0, 0.64), 0 7px 23px rgba(0, 0, 0, 0.5), inset 0 0 0 5px #0b0d0f;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.phone--primary {
  z-index: 4;
  top: 50%;
  left: 52%;
  width: clamp(300px, 23.5vw, 348px);
  transform: translate(-50%, -50%);
  box-shadow: 0 48px 102px rgba(0, 0, 0, 0.72), 0 8px 26px rgba(0, 0, 0, 0.56), inset 0 0 0 5px #0b0d0f;
}

.phone--left,
.phone--right {
  z-index: 1;
  top: 13%;
  width: clamp(235px, 18vw, 274px);
}

.phone--left {
  left: -2%;
  transform: rotate(-1.1deg);
}

.phone--right {
  right: -3%;
  transform: rotate(1deg);
}

.screen-section {
  width: min(100%, 1260px);
  margin: 112px auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 64px;
  align-items: end;
  padding: 0 12px;
}

.section-kicker {
  margin-bottom: 13px;
  color: #a1abb2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.screen-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.screen-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(214, 232, 255, 0.16);
  border-radius: 26px;
  background: rgba(13, 21, 31, 0.61);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.27);
}

.screen-card__image {
  max-height: 590px;
  overflow: hidden;
  padding: 28px 28px 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(148, 158, 166, 0.13), transparent 45%),
    rgba(255, 255, 255, 0.015);
}

.screen-card__image img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid rgba(229, 235, 241, 0.52);
  border-radius: 37px 37px 0 0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46);
}

.screen-card--featured .screen-card__image img {
  width: min(100%, 315px);
}

.screen-card figcaption {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 13px;
  align-items: center;
  padding: 20px 22px 23px;
  border-top: 1px solid rgba(214, 232, 255, 0.12);
}

.screen-card figcaption span {
  grid-row: 1 / 3;
  color: #a4aeb5;
  font-size: 0.7rem;
  font-weight: 700;
}

.screen-card figcaption strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.screen-card figcaption small {
  color: var(--muted);
  font-size: 0.77rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100% - 72px, 1260px);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 0 42px;
  color: #7f8b98;
  font-size: 0.82rem;
}

.site-footer a {
  text-decoration: none;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  .site-shell {
    width: min(92vw, 1080px);
    padding-top: clamp(32px, 5svh, 48px);
  }

  .hero-panel {
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    height: clamp(680px, 84svh, 760px);
    padding: 30px;
  }

  .device-stage {
    min-height: 0;
  }

  .phone--right {
    display: none;
  }

  .phone--left {
    left: 4%;
  }

  .phone--primary {
    left: 61%;
    width: clamp(270px, 25vw, 300px);
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 28px, 760px);
    padding: 14px 0 76px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "phones"
      "features"
      "contact";
    grid-template-rows: auto auto auto auto;
    gap: 26px;
    height: auto;
    min-height: 0;
    padding: clamp(24px, 6vw, 42px);
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .hero-description {
    max-width: 60ch;
  }

  .device-stage {
    min-height: 680px;
  }

  .phone--left,
  .phone--right {
    display: none;
  }

  .phone--primary {
    left: 50%;
    width: min(84%, 310px);
  }

  .feature-card h2 {
    font-size: 0.92rem;
  }

  .feature-card p {
    font-size: 0.8rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .screen-section {
    margin-top: 76px;
  }

  .screen-gallery {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    overflow-x: auto;
    margin-right: -15px;
    padding-right: 15px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .screen-card {
    scroll-snap-align: start;
  }

  .screen-card__image {
    max-height: 460px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 28px, 480px);
    padding-top: 14px;
  }

  .hero-panel {
    gap: 25px;
    padding: 24px 20px 20px;
    border-radius: 20px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .status-pill {
    margin-bottom: 21px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.16rem, 10.5vw, 2.85rem);
    line-height: 1.02;
  }

  .hero-description {
    margin-top: 19px;
    font-size: 0.95rem;
    line-height: 1.58;
  }

  .device-stage {
    min-height: 650px;
  }

  .phone--primary {
    width: min(92%, 300px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    min-height: 0;
    padding: 17px;
  }

  .feature-card h2 {
    min-height: 0;
    font-size: 1rem;
  }

  .feature-card p {
    max-width: 42ch;
    font-size: 0.86rem;
  }

  .contact-strip {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }

  .contact-copy p {
    white-space: normal;
  }

  .contact-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    margin-top: 3px;
  }

  .screen-section {
    margin-top: 68px;
  }

  .section-heading {
    padding: 0 4px;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .section-heading > p {
    font-size: 0.94rem;
  }

  .screen-gallery {
    grid-template-columns: repeat(3, minmax(248px, 76vw));
    gap: 12px;
    margin-top: 30px;
    margin-right: -10px;
    padding-right: 10px;
  }

  .screen-card__image {
    height: 475px;
    padding: 22px 22px 0;
  }

  .screen-card__image img,
  .screen-card--featured .screen-card__image img {
    width: 216px;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding-bottom: 28px;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .hero-panel {
    gap: 18px 22px;
    padding: 28px 34px;
  }

  .brand {
    margin-bottom: 17px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .status-pill {
    margin-bottom: 15px;
  }

  h1 {
    font-size: clamp(2.15rem, 3vw, 2.8rem);
  }

  .hero-description {
    margin-top: 14px;
    font-size: 0.93rem;
  }

  .feature-card {
    min-height: 138px;
    padding: 12px;
  }

  .feature-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 8px;
  }

  .feature-card p {
    margin-top: 7px;
  }

  .device-stage {
    min-height: 0;
  }

  .phone--primary {
    width: clamp(260px, 23vw, 316px);
  }

  .phone--left,
  .phone--right {
    width: clamp(210px, 17vw, 245px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
