/* Address cards, guides and interactions for the homepage. */
/* ---------------- hero ---------------- */
.hero { padding: 76px 0 14px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--border-2);
  background: var(--surface); backdrop-filter: blur(8px);
  color: var(--t1); font-size: 13px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ping { position: relative; width: 8px; height: 8px; }
.ping i, .ping b { position: absolute; inset: 0; border-radius: 50%; background: var(--ok); }
.ping i { animation: ping 2s cubic-bezier(0,0,.2,1) infinite; opacity: .7; }
.ping b { box-shadow: 0 0 10px 1px rgba(52,211,153,.9); }
@keyframes ping { 75%,100% { transform: scale(2.6); opacity: 0; } }

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(36px, 7.4vw, 62px);
  font-weight: 800; letter-spacing: -.045em; line-height: 1.08;
  color: var(--t1);
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  margin: 20px auto 0; max-width: 480px;
  color: var(--t2); font-size: 17px; line-height: 1.72; letter-spacing: -.01em;
}

/* Single permanent-address card, centered at every screen size. */
.addr-sec { padding: 40px 0 4px; }
.glass {
  position: relative; border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, rgba(255,255,255,.5)),
    var(--bg-1);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px -24px rgba(32,74,131,.22);
  backdrop-filter: blur(10px);
}
.addr-grid { max-width: 560px; margin: 0 auto; }
.addr-card { display: flex; flex-direction: column; padding: 26px; overflow: hidden; }
.addr-card.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--accent-line), transparent 42%, transparent 68%, rgba(76,141,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.addr-card.featured::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -120px;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  opacity: .5; pointer-events: none;
}
.addr-card > * { position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; width: fit-content;
  border-radius: 999px; background: var(--accent-bg); border: 1px solid var(--accent-line);
  color: var(--accent-ink); font-size: 12.5px; font-weight: 800; letter-spacing: -.01em;
}

.addr-label { display: block; margin: 16px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--t3); letter-spacing: .02em; text-transform: uppercase; }
.addr-domain {
  display: block; font-size: clamp(27px, 6.4vw, 36px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.04; color: var(--t1);
}
.addr-card.featured .addr-domain { color: var(--accent); }
/* Emphasize the number within the complete domain. */
.addr-number { color: #e60012; font-size: 1.2em; font-weight: 900; }
.addr-desc { margin: 13px 0 0; color: var(--t2); font-size: 14px; line-height: 1.62; }

.addr-act { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 11px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 56px; padding: 0 20px; border-radius: var(--radius-sm);
  font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; border: 1px solid transparent;
  transition: transform .14s var(--ease), box-shadow .22s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), filter .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 26px rgba(76,141,255,.22), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 14px 38px rgba(76,141,255,.3), inset 0 1px 0 rgba(255,255,255,.4); }

.btn-glass { background: var(--surface-2); border-color: var(--border-2); color: var(--t1); }
.btn-glass:hover { background: var(--accent-bg); border-color: var(--border-2); }

.btn-copy { width: 56px; padding: 0; color: var(--t2); }
.btn-copy svg { width: 19px; height: 19px; }
.copy-tx { display: none; font-weight: 800; }

/* ---------------- sections ---------------- */
.sec { padding: 80px 0 0; }
.sec-head { text-align: center; max-width: 540px; margin: 0 auto 36px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent-ink); font-size: 13px; font-weight: 800; letter-spacing: .02em; margin-bottom: 14px;
}
.tag::before { content: ""; width: 16px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--accent)); }
.tag::after { content: ""; width: 16px; height: 1.5px; background: linear-gradient(90deg, var(--accent), transparent); }
.sec-head h2 {
  margin: 0; font-size: clamp(25px, 5vw, 34px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.22; color: var(--t1);
}
.sec-head p { margin: 14px 0 0; color: var(--t2); font-size: 15.5px; line-height: 1.66; }

/* steps */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--surface-2); }
.step-n {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: linear-gradient(150deg, rgba(76,141,255,.22), rgba(76,141,255,.06));
  border: 1px solid var(--accent-line); color: var(--accent-2);
  font-size: 20px; font-weight: 900; letter-spacing: -.04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.step h3 { margin: 4px 0 5px; font-size: 17.5px; font-weight: 800; letter-spacing: -.03em; color: var(--t1); }
.step p { margin: 0; color: var(--t2); font-size: 14.5px; line-height: 1.62; }
.step b { color: var(--accent-ink); font-weight: 800; }

/* devices */
.devices { display: grid; gap: 16px; }
.device {
  position: relative; display: flex; flex-direction: column; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.device::before {
  content: ""; position: absolute; width: 200px; height: 200px; top: -120px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--dev, var(--glow)), transparent 66%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.device:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 26px 50px -28px rgba(32,74,131,.2); }
.device:hover::before { opacity: .4; }
.device.android { --dev: rgba(61,220,132,.5); }
.device.ios { --dev: rgba(122,170,255,.5); }
.device.pc { --dev: rgba(76,141,255,.5); }

.device-ic {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 15px; margin-bottom: 16px; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--border-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.device-ic svg { width: 27px; height: 27px; }
.device-name { position: relative; z-index: 1; margin: 0; font-size: 18.5px; font-weight: 800; letter-spacing: -.03em; color: var(--t1); }
.device-sub { position: relative; z-index: 1; margin: 8px 0 18px; color: var(--t2); font-size: 13.5px; line-height: 1.6; }

.app-btns { position: relative; z-index: 1; margin-top: auto; display: grid; gap: 10px; }
.app-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 13px;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--t1);
  transition: transform .14s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.app-btn:hover { background: var(--accent-bg); border-color: var(--accent-line); }
.app-btn:active { transform: translateY(1px); }
.app-btn .meta { display: flex; flex-direction: column; line-height: 1.28; text-align: left; min-width: 0; }
.app-btn .app-name { font-size: 14.5px; font-weight: 800; letter-spacing: -.02em; color: var(--t1); }
.app-btn .app-store { font-size: 11.5px; font-weight: 600; color: var(--t3); letter-spacing: 0; }
.app-btn .go { flex: none; width: 17px; height: 17px; color: var(--t3); transition: transform .2s var(--ease), color .2s var(--ease); }
.app-btn:hover .go { transform: translateX(3px); color: var(--accent-2); }

/* reasons */
.reasons { display: grid; gap: 12px; }
.reason {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
}
.reason-ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-bg); border: 1px solid var(--accent-line); color: var(--accent-2);
}
.reason-ic svg { width: 21px; height: 21px; }
.reason b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.03em; color: var(--t1); }
.reason span { display: block; margin-top: 4px; color: var(--t2); font-size: 14px; line-height: 1.6; }
.reason em { font-style: normal; font-weight: 800; color: var(--accent-ink); }

/* note */
.note {
  position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 17px; align-items: start;
  margin-top: 28px; padding: 22px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #f2d9ab;
  background: #fffaf0;
}
.note-ic {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255,184,76,.14); border: 1px solid rgba(255,196,84,.3); color: #925e09;
}
.note-ic svg { width: 22px; height: 22px; }
.note b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.03em; color: #805409; margin-bottom: 5px; }
.note p { margin: 0; color: #735e3a; font-size: 14px; line-height: 1.66; }
.note em { font-style: normal; font-weight: 800; color: #805409; }

/* faq */
.faq { display: grid; gap: 11px; }
details {
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  overflow: hidden; transition: border-color .25s var(--ease), background .25s var(--ease);
}
details[open] { border-color: var(--accent-line); background: var(--surface-2); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none;
  padding: 19px 22px; font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; color: var(--t1);
}
summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 20px; height: 20px; color: var(--t3); transition: transform .26s var(--ease), color .2s var(--ease); }
details[open] .chev { transform: rotate(180deg); color: var(--accent-2); }
.faq-body { padding: 0 22px 20px; color: var(--t2); font-size: 14.5px; line-height: 1.76; }
.faq-body strong { color: var(--accent-ink); font-weight: 700; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px;
  background: rgba(16,21,34,.92); border: 1px solid var(--border-2); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 12px 36px rgba(23,32,51,.2); backdrop-filter: blur(14px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  white-space: normal; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .tic { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #06231a; box-shadow: 0 0 14px rgba(52,211,153,.7); }
.toast .tic svg { width: 12px; height: 12px; }

/* scroll reveal */
.motion-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.motion-ready .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .devices { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .addr-act { grid-template-columns: 1fr; }
  .btn-copy { width: 100%; height: 52px; }
  .btn-copy .copy-tx { display: inline; margin-left: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal { opacity: 1; transform: none; }
}
/* Temporary selection buffer for browsers without Clipboard API access. */
.copy-buffer { position: fixed; left: -9999px; top: 0; }
