@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Space+Grotesk:wght@400;500;700&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #161616;
  --panel: #1a1a1a;
  --panel-soft: rgba(255, 255, 255, 0.02);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.56);
  --soft: rgba(255, 255, 255, 0.74);
  --button: #efefef;
  --button-text: #151515;
  --accent: #7f7f7f;
  --title-font: 'Space Grotesk', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --body-font: 'Instrument Sans', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --subtitle-font: 'Anonymous Pro', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: #111;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(7, 8, 14, 0.72), rgba(8, 8, 12, 0.9)),
    url('./img/bg.jpg') center center / cover no-repeat fixed;
  color: var(--text);
  font-family: var(--body-font);
}

a {
  color: inherit;
  text-decoration: none;
}

@property --cardBorderAngle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.layoutFrame {
  position: relative;
  width: min(1160px, calc(100vw - 96px));
  min-height: min(720px, calc(100vh - 96px));
  margin: 0 auto;
  padding: 44px 24px 28px;
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 82% 72%, rgba(236, 226, 182, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(41, 41, 41, 0.5), rgba(34, 34, 34, 0.5)),
    rgba(24, 24, 24, 0.34);
  backdrop-filter: blur(2px);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.56),
    0 0 140px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  overflow: hidden;
}

.layoutFrame::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from var(--cardBorderAngle),
    rgba(236, 226, 182, 0.06) 0deg,
    rgba(236, 226, 182, 0.04) 80deg,
    rgba(180, 170, 255, 0.82) 122deg,
    rgba(236, 226, 182, 0.22) 140deg,
    rgba(236, 226, 182, 0.04) 192deg,
    rgba(236, 226, 182, 0.03) 260deg,
    rgba(180, 170, 255, 0.58) 306deg,
    rgba(236, 226, 182, 0.06) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  animation: cardBorderOrbit 6.5s linear infinite;
}

.layoutFrame::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(180, 170, 255, 0.14), transparent 24%),
    radial-gradient(circle at 22% 56%, rgba(180, 170, 255, 0.08), transparent 18%);
  opacity: 0.78;
  filter: blur(10px);
  transform: translate3d(-10%, -3.5%, 0) scale(1.08);
  transform-origin: center;
  animation: cardAccentSweep 20s ease-in-out infinite;
  will-change: transform;
}

.gridOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.line {
  position: absolute;
  background: var(--line);
}

.line.v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.line.h {
  left: 0;
  right: 0;
  height: 1px;
}

.v1 {
  left: 6.8%;
}

.v2 {
  left: 39.4%;
}

.v3 {
  left: 55.5%;
}

.v4 {
  left: 92.4%;
}

.h1 {
  top: 18.2%;
}

.h2 {
  top: 37.2%;
}

.h3 {
  top: 74.1%;
}

.h4 {
  top: 90.2%;
}

.topBar,
.mainNav,
.heroArea,
.bottomBar {
  position: relative;
  z-index: 2;
}

.topBar {
  display: flex;
  align-items: center;
  min-height: 56px;
}

.mainNav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 28px;
  margin-top: 0;
}

.bottomBar,
.trustSubtitle {
  font-size: 0.67rem;
  line-height: 1.5;
}

.bottomBar,
.trustSubtitle {
  color: var(--muted);
}

.heroArea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  column-gap: 24px;
  min-height: 460px;
  padding-top: 0;
}

.heroCopy {
  max-width: 820px;
  padding-left: 74px;
  padding-top: 0;
}

.heroLead {
  display: flex;
  align-items: center;
  gap: 74px;
  width: min(100%, 812px);
  margin-top: 30px;
}

.heroTitleGraphic {
  flex: 0 0 372px;
  max-width: 372px;
  margin-top: 0;
}

.heroLogoDisplay {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.04);
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trustCopy {
  position: relative;
  max-width: 368px;
  padding-left: 56px;
}

.trustCopy::before {
  content: '';
  position: absolute;
  left: 0;
  top: -30px;
  bottom: -30px;
  width: 1px;
  background: linear-gradient(180deg, #ece2b6, rgba(236, 226, 182, 0.24));
}

.trustCopy::after {
  content: '';
  position: absolute;
  inset: -42px -38px -26px -44px;
  z-index: -1;
  background: radial-gradient(circle, rgba(10, 12, 20, 0.42), transparent 72%);
  filter: blur(6px);
}

.trustTitle {
  display: inline-block;
  margin: 0;
  color: #ece2b6;
  font-family: var(--title-font);
  max-width: none;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.titleLine {
  display: block;
}

.trustSubtitle {
  max-width: 32ch;
  margin: 18px 0 0;
  color: rgba(236, 226, 182, 0.86);
  font-family: var(--subtitle-font);
  font-size: 1.03rem;
  line-height: 1.75;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.trustSubtitle strong {
  color: #ece2b6;
  font-weight: 700;
}

.trustSubtitle .trustedWord {
  display: inline-block;
  padding: 0 6px;
  border-radius: 2px;
  background: #ece2b6;
  color: #222222;
}

.glowWord {
  display: inline-block;
}

.glowChar {
  display: inline-block;
  color: inherit;
  opacity: 0.72;
  animation: letterGlow 0.9s ease both;
  animation-delay: calc(var(--char-index) * var(--char-step, 0.03s));
  will-change: opacity, text-shadow;
}

.trustTitle.glowText {
  --char-step: 0.045s;
}

.trustTitle .glowChar {
  text-shadow: 0 0 1px rgba(236, 226, 182, 0.18);
}

.trustSubtitle.glowText {
  --char-step: 0.018s;
}

.trustSubtitle .glowChar {
  text-shadow: 0 0 1px rgba(236, 226, 182, 0.14);
}

.trustSubtitle .trustedWord .glowChar {
  animation-name: letterGlowInverted;
  text-shadow: 0 0 1px rgba(34, 34, 34, 0.12);
}

.heroMeta,
.heroAside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  padding-bottom: 10px;
}

.metaPrice,
.identityBadge {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--title-font);
  color: #b4aaff;
}

.metaPrice strong,
.identityBadge strong {
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: inherit;
}

.metaPrice span,
.identityBadge span {
  font-family: inherit;
  font-size: 0.62rem;
  color: inherit;
  line-height: 1.1;
}

.metaFooter,
.sideNotes {
  display: grid;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  justify-items: end;
  text-align: right;
}

.metaFooter p,
.sideNotes p {
  margin: 0;
  font-family: var(--subtitle-font);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.bottomBar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 70px;
  padding-left: 2px;
}

.footerNote {
  display: grid;
  gap: 2px;
  justify-items: end;
  text-align: right;
}

.footerNote span {
  font-family: var(--subtitle-font);
}

.footerNote span:first-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
}

.footerNote span:last-child {
  color: #ece2b6;
  font-size: 0.68rem;
}

@keyframes cardBorderOrbit {
  0% {
    --cardBorderAngle: 0deg;
  }

  100% {
    --cardBorderAngle: 360deg;
  }
}

@keyframes letterGlow {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgba(236, 226, 182, 0.08);
  }

  62% {
    opacity: 1;
    text-shadow:
      0 0 18px rgba(236, 226, 182, 0.92),
      0 0 36px rgba(236, 226, 182, 0.22);
  }

  100% {
    opacity: 1;
    text-shadow:
      0 0 8px rgba(236, 226, 182, 0.1),
      0 0 22px rgba(236, 226, 182, 0);
  }
}

@keyframes letterGlowInverted {
  0% {
    opacity: 0;
    text-shadow: 0 0 1px rgba(34, 34, 34, 0.08);
  }

  62% {
    opacity: 1;
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.38),
      0 0 22px rgba(34, 34, 34, 0.12);
  }

  100% {
    opacity: 1;
    text-shadow: none;
  }
}

@keyframes cardAccentSweep {
  0% {
    transform: translate3d(-10%, -3.5%, 0) scale(1.08);
    opacity: 0.72;
  }

  34% {
    transform: translate3d(-1%, -0.5%, 0) scale(1.1);
    opacity: 0.78;
  }

  50% {
    transform: translate3d(10%, 3.5%, 0) scale(1.12);
    opacity: 0.84;
  }

  68% {
    transform: translate3d(4%, 1.5%, 0) scale(1.1);
    opacity: 0.79;
  }

  100% {
    transform: translate3d(-10%, -3.5%, 0) scale(1.08);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .layoutFrame {
    animation: none;
  }

  .glowChar {
    animation: none;
    opacity: 1;
    text-shadow: none;
  }

  .layoutFrame::after {
    animation: none;
    transform: translate3d(0, 0, 0) scale(1.1);
  }
}

@media (max-width: 1180px) {
  .layoutFrame {
    width: min(100vw - 48px, 1080px);
    min-height: min(700px, calc(100vh - 48px));
    padding: 34px 22px 24px;
  }

  .heroArea {
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 18px;
    min-height: 420px;
  }

  .heroCopy {
    max-width: none;
    padding-left: 28px;
  }

  .heroLead {
    gap: 42px;
    width: 100%;
    margin-top: 16px;
  }

  .heroTitleGraphic {
    flex-basis: 332px;
    max-width: 332px;
  }

  .trustCopy {
    max-width: 336px;
    padding-left: 42px;
  }

  .trustTitle {
    font-size: clamp(3.35rem, 5.1vw, 4.35rem);
  }

  .trustSubtitle {
    max-width: 28ch;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .heroMeta,
  .heroAside {
    padding-top: 12px;
    padding-bottom: 4px;
  }

  .metaPrice strong,
  .identityBadge strong {
    font-size: 1.58rem;
  }

  .metaFooter p,
  .sideNotes p {
    font-size: 1.03rem;
    line-height: 1.42;
  }

  .bottomBar {
    min-height: 56px;
  }
}

@media (max-width: 980px) {
  .layoutFrame {
    width: min(100vw - 28px, 920px);
    min-height: auto;
    padding: 26px 20px 22px;
  }

  .mainNav {
    min-height: 0;
  }

  .heroArea {
    display: flex;
    flex-direction: column;
    min-height: auto;
    row-gap: 28px;
  }

  .heroCopy {
    max-width: 100%;
    padding-left: 0;
  }

  .heroLead {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    width: 100%;
    margin-top: 8px;
  }

  .heroTitleGraphic {
    width: min(100%, 338px);
    max-width: 338px;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .trustTitle {
    font-size: clamp(3.5rem, 8.8vw, 4.6rem);
    line-height: 0.86;
    letter-spacing: -0.06em;
  }

  .trustCopy {
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    padding-left: 0;
    padding-top: 24px;
    text-align: center;
  }

  .trustCopy::before {
    left: 50%;
    top: 0;
    bottom: auto;
    width: 110px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      90deg,
      rgba(236, 226, 182, 0.18),
      rgba(236, 226, 182, 0.95),
      rgba(236, 226, 182, 0.18)
    );
  }

  .trustSubtitle {
    width: fit-content;
    max-width: 28ch;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.7;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }

  .heroMeta,
  .heroAside {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 0;
  }

  .metaPrice,
  .identityBadge {
    justify-self: start;
  }

  .metaFooter,
  .sideNotes {
    width: max-content;
    justify-self: end;
    justify-items: end;
    text-align: right;
  }

  .metaFooter p,
  .sideNotes p {
    font-size: 1rem;
    line-height: 1.34;
  }

  .bottomBar {
    min-height: auto;
    margin-top: 18px;
    gap: 0;
    justify-content: center;
    padding-left: 0;
  }

  .footerNote {
    justify-items: center;
    text-align: center;
  }

  .footerNote span:first-child,
  .footerNote span:last-child {
    font-size: 0.72rem;
  }

  .v4,
  .h4 {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    min-height: 100svh;
    padding: 6px;
  }

  .layoutFrame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100vw - 12px);
    margin: 0;
    height: calc(100svh - 12px);
    min-height: calc(100svh - 12px);
    padding: 12px 18px 10px;
  }

  .v1 {
    left: 7%;
  }

  .v2 {
    left: 50%;
  }

  .v3 {
    display: block;
    left: 93%;
  }

  .h1 {
    top: 14%;
  }

  .h2 {
    top: 39%;
  }

  .h3 {
    display: block;
    top: 75%;
  }

  .h4 {
    display: none;
  }

  .topBar {
    display: none;
  }

  .mainNav {
    display: none;
  }

  .heroArea {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    justify-content: center;
    min-height: auto;
    row-gap: 0;
  }

  .heroCopy {
    max-width: 100%;
  }

  .heroLead {
    flex-direction: column;
    align-items: center;
    gap: 46px;
    margin-top: 0;
  }

  .heroTitleGraphic {
    width: min(100%, 286px);
    max-width: 286px;
    flex-basis: auto;
    margin: 0 auto;
  }

  .trustTitle {
    font-size: clamp(2.65rem, 10vw, 3.35rem);
    line-height: 0.88;
    letter-spacing: -0.06em;
    margin-top: 20px;
  }

  .trustCopy {
    width: min(100%, 320px);
    max-width: 320px;
    margin: 0 auto;
    padding-left: 0;
    padding-top: 22px;
    text-align: center;
  }

  .trustCopy::before {
    left: 50%;
    top: 0;
    bottom: auto;
    width: 96px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      90deg,
      rgba(236, 226, 182, 0.18),
      rgba(236, 226, 182, 0.95),
      rgba(236, 226, 182, 0.18)
    );
  }

  .trustSubtitle {
    width: fit-content;
    max-width: 23ch;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    line-height: 1.72;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }

  .heroMeta,
  .heroAside {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: flex-end;
    gap: 18px;
    padding-top: 8px;
    padding-bottom: 0;
  }

  .metaPrice,
  .identityBadge {
    display: none;
  }

  .metaFooter,
  .sideNotes {
    width: auto;
    justify-self: center;
    justify-items: center;
    gap: 3px;
    text-align: center;
  }

  .metaFooter p,
  .sideNotes p {
    font-size: 0.97rem;
    line-height: 1.28;
  }

  .bottomBar {
    min-height: auto;
    margin-top: 23px;
    justify-content: center;
    padding-left: 0;
  }

  .footerNote {
    justify-items: center;
    text-align: center;
  }

  .footerNote span:first-child,
  .footerNote span:last-child {
    font-size: 0.72rem;
  }

}
