/* Decoy — marketing pages */

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
section { position: relative; }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; min-height: calc(100svh - 58px); padding-block: 2rem 3rem; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 8.2rem); }
.hero .lede { font-size: 1.2rem; color: var(--ink-2); max-width: 40ch; margin: 1.8rem 0 2.2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.hint { margin-top: 1.6rem; color: var(--ink-3); font-size: .95rem; line-height: 2; }
.hint kbd { margin: 0 .2rem; font-family: var(--lcd-font); font-size: 1.1rem; background: var(--card); border: 1.5px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 0 .45rem; color: var(--ink); }
.hero-stage { position: relative; min-height: 640px; }
.hero-stage .stage3d { position: absolute; inset: 0; }
.tray { position: absolute; right: 2%; bottom: 10%; transform: rotate(8deg); }
.tray .sim { --sw: 170px; }
.tray .sim.out { animation: simOut .9s cubic-bezier(.5,0,.8,.4) forwards; }
.tray .sim.in { animation: simIn .6s cubic-bezier(.2,.9,.3,1.2); }
@keyframes simOut {
  0% { transform: none; }
  20% { transform: translateX(-6px) rotate(-3deg); }
  35% { transform: translateX(6px) rotate(3deg); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 24%); }
  100% { transform: translate(40px, 260px) rotate(70deg); opacity: 0; }
}
@keyframes simIn { from { transform: translateX(140%) rotate(20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.tray .crack { position: absolute; inset: 0; pointer-events: none; }

/* ---------- section heads ---------- */
.sec { padding: 7rem 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.sec-head p { color: var(--ink-2); max-width: 42ch; margin: 0; }

/* ---------- three lines (mini screens) ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.line-card { background: var(--card); border-radius: 26px; padding: 1.2rem 1.2rem 1.6rem; box-shadow: 0 1px 0 var(--line); }
.line-card .lcd { height: 190px; font-size: 21px; margin-bottom: 1.4rem; transform: none; }
.line-card h3 { margin-bottom: .5rem; }
.line-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.line-card .key-num { font-family: var(--lcd-font); font-size: 1.3rem; color: var(--ink-3); float: right; }

/* ---------- dark band (dark in both themes) ---------- */
.band { background: #121416; color: #eceee9; padding: 7rem 0; overflow: hidden; }
.band p, .band li { color: #b4b9b5; }
.band .grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.band h2 { font-size: clamp(3rem, 7vw, 6.4rem); }
.band ul { list-style: none; padding: 0; margin: 2rem 0 2.4rem; display: grid; gap: .8rem; }
.band li { padding-left: 1.6rem; position: relative; }
.band li::before { content: ""; position: absolute; left: 0; top: .7em; width: 1rem; height: 3px; border-radius: 2px; background: var(--hot); }
.band .btn.ghost { background: #2a2e33; color: #eceee9; box-shadow: 0 3px 0 #0a0b0c; }
.snapped { position: relative; height: 320px; display: grid; place-items: center; }
.snapped .half { position: absolute; }
.snapped .half .sim { --sw: 260px; }
.snapped .a { clip-path: polygon(0 0, 54% 0, 46% 100%, 0 100%); transform: translate(-28px, -6px) rotate(-9deg); }
.snapped .b .sim > div:last-child { visibility: hidden; }
.snapped .b { clip-path: polygon(54% 0, 100% 0, 100% 100%, 46% 100%); transform: translate(30px, 18px) rotate(7deg); }

/* ---------- links to other pages ---------- */
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: 6rem; }
.next a { display: block; text-decoration: none; padding: 2rem 2rem 2.2rem; background: var(--card); border-radius: 26px; box-shadow: 0 4px 0 var(--line); transition: transform .06s, box-shadow .06s; }
.next a:hover { box-shadow: 0 4px 0 var(--hot); }
.next a:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.next h3 { font-stretch: 125%; font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: .95; letter-spacing: -.03em; margin: 0 0 .7rem; }
.next p { margin: 0; color: var(--ink-2); max-width: 40ch; }

/* ---------- inner page header ---------- */
.page-head { padding: 5rem 0 4rem; }
.page-head h1 { font-size: clamp(3.2rem, 9vw, 8rem); max-width: 13ch; }
.page-head p { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; margin: 1.6rem 0 0; }

/* ---------- ledger ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ledger h3 { font-size: 1.05rem; font-weight: 800; padding-bottom: .6rem; border-bottom: 3px solid var(--ink); margin: 0 0 .4rem; display: flex; gap: .6rem; align-items: center; }
.ledger h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--go); }
.ledger > div:last-child h3 i { background: var(--hot); }
.ledger dl { margin: 0; }
.ledger dl div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-weight: 700; }
.ledger dd { margin: .2rem 0 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- footer ---------- */
footer { background: #121416; color: #9aa09d; }
footer .wrap { padding-top: 4rem; padding-bottom: 2.4rem; }
.foot-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: end; }
footer .big { font-stretch: 125%; font-weight: 900; letter-spacing: -.05em; font-size: clamp(4rem, 15vw, 12rem); line-height: .8; color: #eceee9; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: .5rem 2.5rem; }
footer a { color: #eceee9; text-decoration: none; }
footer a:hover { color: var(--hot); }
.foot-bottom { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #2a2e33; font-size: .875rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 2.5rem 1rem; }
  .hero-stage { min-height: 600px; }
  .tray { right: 0; bottom: 2%; }
  .tray .sim { --sw: 130px; }
  .lines, .ledger, .next, .band .grid2 { grid-template-columns: 1fr; }
  .snapped { height: 220px; margin-top: -1rem; }
  .band { padding: 5rem 0; }
  .sec { padding: 5rem 0; }
  .next { padding-block: 4rem; }
  .snapped .half .sim { --sw: 200px; }
}
@media (max-width: 600px) {
  .tray { display: none; }
}
@media (max-width: 420px) {
  .phone { --w: 270px; padding: 22px 18px 24px; }
  .lcd { height: 210px; }
  .hero-stage { min-height: 560px; }
}
