:root {
  --bg: #F4F4F5;
  --card: #f6f7f9;
  --text: #121417;
  --muted: #5a6472;
  --muted2: #7a8594;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 28px;
}

@font-face {
  font-family: "Larken";
  src: url("fonts/Larken-Regular.otf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("fonts/Euclid_Circular_B_Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { 
  height: 100%;
  font-family: "Euclid Circular B", "sans-serif";
 }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
}

.card {
  width: min(1200px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 620px;
}

.left {
  padding: clamp(22px, 4.2vw, 58px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

h1 {
  margin: 0;
  margin-bottom: 18px;
  font-family: "Larken", "sans-serif";
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 35px;
}

p {
  color: var(--muted);
  font-size: 18px;
}

.right {
  position: relative;
}

.hero {
  background: url('./right-image.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  border-top-right-radius: calc(var(--radius) - 10px);
  border-bottom-right-radius: calc(var(--radius) - 10px);
  overflow: hidden;
}

.qr-stack {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.qr-box {
  background: #fff;
  border: 4px solid #0b1220;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

#qr {
  width: 132px;
  height: 132px;
}

#qr img,
#qr canvas {
  width: 132px !important;
  height: 132px !important;
  display: block;
}

.qr-caption {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 10px 12px;
  max-width: 240px;
  font-size: 13px;
  line-height: 1.25;
  color: #0b1220;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .right {
    min-height: 520px;
  }
  .qr-stack {
    right: 18px;
    bottom: 18px;
  }
}
