/* ---- Instagram-native layer ---- */
:root { --paper:#FFFFFF; --card:#FFFFFF; --line:#EFEFEF; --soft:#F5F5F5; --gray-bubble:#EFEFEF; --ring1:#FF8A3D; --ring2:#E5402A; --ring3:#C0287A; }
@media (prefers-color-scheme: dark){ :root{ --paper:#000000; --card:#121212; --line:#262626; --soft:#1A1A1A; --gray-bubble:#262626; --ink:#F5F5F5; --ink-soft:#A8A8A8; } }
.ring { padding: 2.5px; border-radius: 50%; background: conic-gradient(from 200deg, var(--ring1), var(--ring2), var(--ring3), var(--ring1)); display: inline-block; }
.ring img { display:block; border-radius:50%; border: 2.5px solid var(--paper); }
.logo .ring img { width: 34px; height: 34px; }
/* hero DM phone */
.ig-phone { width: 340px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 44px; padding: 14px 0 0; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); overflow: hidden; }
.ig-bar { display:flex; align-items:center; gap:10px; padding: 6px 16px 12px; border-bottom:1px solid var(--line); }
.ig-bar .chev { font-size: 22px; line-height:1; margin-right: 2px; }
.ig-bar .ring img { width: 30px; height: 30px; }
.ig-bar b { font-size: 15px; display:block; line-height:1.2 }
.ig-bar small { color: var(--ink-soft); font-size: 12px; }
.ig-thread { padding: 14px 14px 8px; display:flex; flex-direction:column; gap:6px; }
.ig-time { text-align:center; color: var(--ink-soft); font-size: 11px; margin: 2px 0 6px; }
.ig-sent-reel { align-self:flex-end; width: 150px; border-radius: 18px; overflow:hidden; border: 1px solid var(--line); }
.ig-sent-reel .thumb { height: 190px; background: linear-gradient(170deg,#e8d6bf,#a7825f 55%,#3d2e24); position:relative; }
.ig-sent-reel .thumb::after { content:""; position:absolute; left:50%; top:50%; transform:translate(-40%,-50%); border-left:18px solid #fff; border-top:11px solid transparent; border-bottom:11px solid transparent; }
.ig-sent-reel .cap { font-size: 12px; padding: 8px 10px; background: var(--soft); display:flex; align-items:center; gap:6px; }
.ig-sent-reel .cap i { width:16px; height:16px; border-radius:50%; background: linear-gradient(135deg,#c9b39a,#7a5b45); display:block; }
.ig-row { display:flex; align-items:flex-end; gap:8px; }
.ig-row img { width: 24px; height: 24px; border-radius:50%; flex:none; }
.ig-in { background: var(--gray-bubble); color: var(--ink); border-radius: 22px; padding: 9px 14px; font-size: 14.5px; max-width: 230px; }
.ig-link { background: var(--gray-bubble); border-radius: 18px; overflow:hidden; max-width: 230px; }
.ig-link .pic { height: 110px; background: radial-gradient(circle at 50% 42%, #fff3d6 0 18%, #f2c27a 19% 26%, transparent 27%), linear-gradient(180deg,#f6efe6,#e7dccd); position:relative; }
.ig-link .pic::after { content:""; position:absolute; left:50%; bottom:16px; width:10px; height:34px; transform:translateX(-50%); background:#8d6e55; border-radius:3px; }
.ig-link .meta { padding: 8px 12px 10px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ig-link b { font-size: 13.5px; display:block; line-height:1.3 }
.ig-link small { color: var(--ink-soft); font-size: 12px; }
.ig-link .go { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color:#fff; display:grid; place-items:center; font-weight:800; font-size: 14px; flex:none; }
.ig-tiny { font-size: 11.5px; color: var(--ink-soft); padding-left: 32px; }
.ig-compose { margin: 8px 12px 14px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: var(--ink-soft); font-size: 14px; display:flex; justify-content:space-between; }
/* how-it-works phones */
.how { background: var(--soft); }
.how h2 { color: var(--ink); }
.phones { display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.ph { text-align:left; }
.screen { position:relative; height: 430px; border-radius: 36px; overflow:hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 50px -30px rgba(0,0,0,.4); }
.reelbg { position:absolute; inset:0; background: radial-gradient(circle at 48% 40%, #fff3d6 0 9%, #f2c27a 10% 14%, transparent 15%), linear-gradient(175deg,#efe3d2,#c9ab88 45%,#5a4434); }
.reelbg::after { content:""; position:absolute; left:48%; top:46%; width:9px; height:70px; transform:translateX(-50%); background:#7d5f49; border-radius:4px; }
.rail { position:absolute; right: 14px; bottom: 70px; display:flex; flex-direction:column; gap: 18px; align-items:center; color:#fff; }
.rail svg { width: 28px; height: 28px; display:block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.rail .hl { padding: 8px; border-radius: 50%; background: rgba(229,64,42,.25); outline: 3px solid var(--red); }
.who { position:absolute; left: 14px; bottom: 22px; color:#fff; font-size: 13px; font-weight: 700; display:flex; align-items:center; gap:8px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.who i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#c9b39a,#7a5b45); border: 2px solid #fff; display:block; }
.sheet { position:absolute; left:0; right:0; bottom:0; background: var(--card); color: var(--ink); border-radius: 22px 22px 0 0; padding: 10px 14px 16px; }
.dim { position:absolute; inset:0; background: rgba(0,0,0,.45); }
.grab { width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 10px; }
.search { background: var(--soft); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.ppl { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px 6px; }
.ppl div { display:flex; flex-direction:column; align-items:center; gap:4px; font-size: 11px; position:relative; }
.ppl .av { width: 52px; height: 52px; border-radius: 50%; display:block; }
.ppl .sel { position:absolute; top: 34px; left: calc(50% + 12px); width: 20px; height: 20px; border-radius:50%; background: var(--red); color:#fff; font-size: 12px; display:grid; place-items:center; border: 2px solid var(--card); font-weight: 900; }
.sendbtn { margin-top: 14px; background: var(--red); color:#fff; border-radius: 12px; text-align:center; padding: 10px; font-weight: 800; font-size: 14px; }
.dm { position:absolute; inset:0; background: var(--card); color: var(--ink); }
.dm .ig-bar { padding-top: 16px; }
.cap2 { margin-top: 16px; }
.cap2 b { display:block; font-size: 20px; letter-spacing: -0.02em; }
.cap2 span { color: var(--ink-soft); font-size: 15.5px; }
.cap2 em { font-style:normal; color: var(--red); font-weight: 900; margin-right: 6px; }
@media (max-width: 860px){ .ig-phone{ margin: 0 auto; width: 100%; max-width: 360px; } .phones{ grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
