:root {
  --gold: #f0b90b;
  --gold-bright: #f0b90b;
  --dim: #a8a8a8;
  --hair: rgba(255, 255, 255, 0.14);
  --pad: clamp(22px, 2.7vw, 44px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

::selection { background: var(--gold); color: #000; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- security strip ---------- */

.notice {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  flex: none;
  padding: 10px 20px 11px;
  border-bottom: 1px solid rgba(240, 185, 11, 0.35);
  background: #000;
  color: #eaecef;
  font-size: 11.5px;
  line-height: 1.45;
}

.notice__icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
  color: var(--gold);
}

.notice__body { max-width: 760px; }

.notice__title {
  margin: 0;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.notice__text { margin: 2px 0 0; color: #a9a9a9; }

.notice__text a {
  color: var(--gold);
  font-weight: 600;
  text-underline-offset: 2px;
}

/* ---------- shell ---------- */

.shell {
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
}

/* ---------- left panel ---------- */

.copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.4vw, 38px) var(--pad) clamp(16px, 2vw, 30px);
  background: #000;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--gold);
}

.brand__logo { display: block; height: 40px; width: auto; }

/* language */

.lang { position: relative; }

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: #fff;
  font: 500 12px/1 var(--font);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.lang__btn:hover { opacity: 1; }

.lang__chev { width: 11px; height: 11px; opacity: 0.7; transition: transform 0.18s ease; }

.lang[data-open="true"] .lang__chev { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 156px;
  padding: 6px;
  border: 1px solid #262626;
  border-radius: 12px;
  background: #101010;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.lang[data-open="true"] .lang__menu { display: block; }

.lang__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #d6d6d6;
  font: 500 12.5px/1 var(--font);
  text-align: left;
  cursor: pointer;
}

.lang__opt:hover { background: #1c1c1c; color: #fff; }

.lang__check { width: 11px; height: 11px; color: var(--gold); opacity: 0; }

.lang__opt[aria-selected="true"] { color: #fff; }
.lang__opt[aria-selected="true"] .lang__check { opacity: 1; }

/* hero */

.hero { margin-top: clamp(26px, 4.8vh, 62px); }

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 2.85vw, 3rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  text-wrap: balance;
}

.lede {
  margin: 22px 0 0;
  max-width: 38ch;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.58;
  color: var(--dim);
}

/* actions */

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 40px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.002em;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  gap: 38px;
  background: var(--gold-bright);
  color: #0b0b0b;
}

.btn--primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn__arrow { width: 15px; height: 15px; transition: transform 0.18s ease; }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.045); }

.textlink {
  align-self: flex-start;
  margin-top: 4px;
  color: #d8d8d8;
  font-size: 11.5px;
  font-weight: 400;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.textlink:hover { color: #fff; }

.legal {
  margin: 14px 0 0;
  max-width: 52ch;
  color: #6a6a6a;
  font-size: 9.5px;
  line-height: 1.55;
}

.legal a { color: #8a8a8a; text-underline-offset: 1px; }
.legal a:hover { color: #cfcfcf; }

/* ---------- right panel ---------- */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(105% 85% at 68% 8%, #ffe8a0 0%, #fbd45a 24%, #f0b90b 52%, #d9a406 76%, #b88900 100%);
  box-shadow: inset 0 0 220px rgba(120, 78, 0, 0.28);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

.stage__veil {
  position: absolute;
  inset: -25%;
  z-index: 0;
  background: radial-gradient(46% 40% at 56% 34%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 72%);
  filter: blur(12px);
  pointer-events: none;
}

.stage__arc {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.stage__arc--a {
  width: 126%;
  aspect-ratio: 1.45;
  top: -9%;
  right: -44%;
  transform: rotate(-21deg);
  opacity: 0.5;
}

.stage__arc--b {
  width: 98%;
  aspect-ratio: 1.3;
  top: 16%;
  right: -34%;
  transform: rotate(-21deg);
  opacity: 0.22;
}

.device-wrap {
  position: relative;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.device {
  position: relative;
  width: clamp(260px, min(30vw, 47vh), 490px);
  aspect-ratio: 0.64;
  padding: 13px;
  border-radius: 46px;
  background: linear-gradient(150deg, #232323 0%, #0a0a0a 26%, #050505 62%, #1b1b1b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 44px 90px rgba(0, 0, 0, 0.42),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transform: perspective(1800px) rotateX(calc(5deg + var(--rx, 0deg))) rotateY(calc(-9deg + var(--ry, 0deg))) rotateZ(-12.5deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: transform;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 16px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 34px;
  background:
    radial-gradient(80% 50% at 20% 0%, rgba(240, 185, 11, 0.07), rgba(240, 185, 11, 0) 70%),
    linear-gradient(180deg, #0b0b0c 0%, #050505 100%);
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 28%);
}

.screen__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px;
}

.screen__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e7e9ec;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.screen__logo {
  display: block;
  height: 30px;
  width: auto;
}

.screen__time {
  color: #6d7480;
  font-size: 8px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 9px;
  flex: 1;
  margin-top: 14px;
}

.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: linear-gradient(180deg, #1b1b1c 0%, #141415 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.app__icon { width: 26px; height: 26px; display: block; object-fit: contain; }

.app__icon--btc {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f7931a;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 1px;
}

.app__name {
  color: #a6adb8;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.screen__grab {
  width: 30%;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 3px;
  background: #2a2f37;
}

/* ---------- responsive ---------- */

@media (max-height: 820px) and (min-width: 901px) {
  .hero { margin-top: clamp(26px, 4.5vh, 52px); }
  .hero h1 { font-size: clamp(1.9rem, 2.6vw, 2.55rem); }
  .lede { margin-top: 16px; font-size: 12.5px; }
  .actions { padding-top: 24px; gap: 8px; }
  .btn { height: 46px; font-size: 12.5px; }
  .legal { margin-top: 10px; }
}

@media (max-width: 1100px) {
  .lede { max-width: 30ch; }
  .btn--primary { gap: 28px; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .copy { padding-bottom: 34px; }
  .hero { margin-top: 42px; }
  .actions { margin-top: 36px; padding-top: 0; }
  .hero h1 { font-size: clamp(1.8rem, 7.3vw, 2.9rem); }
  .stage { min-height: 0; padding: 64px 0 74px; }
  .device { width: min(66vw, 330px); }
  .btn { height: 50px; }
}

@media (max-width: 420px) {
  .notice { font-size: 11px; padding: 9px 14px; }
  .legal { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .device-wrap { animation: none; }
  .device { transition: none; }
  .btn, .btn__arrow, .lang__chev { transition: none; }
}