/* Danh's Guides. A Mac desktop with personality: real Mac windows (traffic lights),
   Aqua-style glossy buttons, Finder folders, a Trash, 3D stickers and a few emoticons.
   Apple system type. Colour comes from the Mac itself: traffic lights, Aqua blue, Finder tag colours. */
:root {
  --bg: #f4f4f3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #8e8e93;
  --hair: rgba(0, 0, 0, .1);
  --blue: #0a84ff;
  --hl: #fff6b3;
  --win-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06), 0 26px 50px -20px rgba(0,0,0,.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.5, 0.64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font); letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(10,132,255,.5); outline-offset: 2px; border-radius: 8px; }
::selection { background: #b3d7ff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(56px, 8vw, 104px); }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.pill-label { display: table; margin: 0 auto 34px; padding: 6px 16px; border: 1px solid #b9b9b9; border-radius: 999px; font: 500 14px var(--font); letter-spacing: .04em; text-transform: uppercase; color: #4a4a4a; background: rgba(255,255,255,.6); }
.pill-label.left { margin: 0; }

/* ---------- menu bar (classic macOS) ---------- */
.menubar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: rgba(244,244,243,.75); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.menubar .l, .menubar .r { display: flex; align-items: center; gap: 20px; min-width: 0; }
.menubar .r { gap: 14px; color: #3a3a3c; }
.menubar .name { font-weight: 700; text-decoration: none; white-space: nowrap; }
.menubar nav { display: flex; gap: 18px; }
.menubar nav a { text-decoration: none; color: #3a3a3c; }
.menubar nav a:hover { color: #000; }
.menubar .clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menubar .signin-l { color: #3a3a3c; text-decoration: none; white-space: nowrap; }
.menubar .signin-l:hover { color: #000; }
.menubar .get { color: var(--blue); text-decoration: none; font-weight: 500; white-space: nowrap; }
.sys { width: 17px; height: 13px; }
.batt { width: 23px; height: 11px; border: 1.3px solid currentColor; border-radius: 3px; position: relative; opacity: .85; }
.batt::before { content: ""; position: absolute; inset: 1.5px; right: 30%; background: currentColor; border-radius: 1px; }
.batt::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 1.6px; height: 3.5px; background: currentColor; border-radius: 0 1px 1px 0; }
@media (max-width: 760px) { .menubar nav, .menubar .sys, .menubar .batt, .menubar .clock { display: none; } }

/* ---------- Mac window ---------- */
.win { position: relative; background: #fff; border-radius: 12px; box-shadow: var(--win-shadow); overflow: hidden; }
.tb { position: relative; height: 32px; display: flex; align-items: center; padding: 0 12px; background: linear-gradient(#f7f7f7, #e9e9e9); border-bottom: 1px solid #d5d5d5; }
.tb.dark { background: linear-gradient(#3a3a3c, #2c2c2e); border-bottom-color: #1c1c1e; }
.tb.blue { background: linear-gradient(#8fc1ff, #4d94f0); border-bottom-color: #3d7fd8; }
.lights { display: flex; gap: 8px; position: relative; z-index: 1; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.18); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tb .t { position: absolute; left: 0; right: 0; text-align: center; font: 500 13px var(--font); color: #4d4d4d; display: flex; align-items: center; justify-content: center; gap: 6px; pointer-events: none; white-space: nowrap; overflow: hidden; }
.tb.dark .t { color: #c7c7cc; }

/* ---------- Aqua buttons ---------- */
.aqua { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 999px; cursor: pointer; white-space: nowrap; text-decoration: none; isolation: isolate; gap: .3em;
  font: 500 18px/1 var(--font); letter-spacing: -0.02em; color: #1d1d1f; border: 1px solid #a7a7a7;
  background: linear-gradient(#ffffff 0%, #f1f1f1 48%, #e2e2e2 52%, #f4f4f4 100%);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,.08), 0 6px 14px -6px rgba(0,0,0,.35); transition: transform .25s var(--spring), filter .2s; }
.aqua::before { content: ""; position: absolute; left: 10px; right: 10px; top: 2px; height: 45%; border-radius: 999px 999px 12px 12px; background: linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.15)); pointer-events: none; z-index: -1; }
.aqua:hover { transform: translateY(-1px) scale(1.02); filter: brightness(1.02); }
.aqua:active { transform: scale(.98); filter: brightness(.96); }
.aqua.blue { color: #0b2a66; border-color: #2f6fd0; background: linear-gradient(#b9dcff 0%, #6eb0fb 46%, #3d8ef2 54%, #7cc0ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 1px rgba(0,0,0,.1), 0 8px 18px -6px rgba(29,111,224,.6); }
.aqua[disabled] { opacity: .65; cursor: default; transform: none; }

/* ---------- Mac icons (drawn in JS as SVG) ---------- */
.folder { display: block; width: 64px; height: 52px; }
.folder svg, .trash svg { width: 100%; height: 100%; display: block; overflow: visible; }
.folder.mini { width: 20px; height: 16px; flex: none; }
.trash { display: block; width: 48px; height: 56px; }
.trash.sm { width: 18px; height: 21px; }
.folder-i, .trash-i { display: grid; justify-items: center; gap: 5px; }
.folder-i small, .trash-i small { font: 500 12.5px var(--font); color: #3a3a3c; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.folder-i.sm .folder { width: 54px; height: 44px; }

/* ---------- hero desk ---------- */
.desk { position: relative; min-height: min(860px, max(660px, calc(100svh - 34px))); display: grid; place-items: center; padding: 40px 18px 60px; overflow: hidden; }
.hero { position: relative; z-index: 5; text-align: center; display: grid; justify-items: center; gap: 12px; pointer-events: none; }
.hero > * { pointer-events: auto; }
.hero h1 { font: 700 clamp(42px, 6.1vw, 88px)/1 var(--font); letter-spacing: -0.055em; }
.hero h1 .wd { display: inline-block; white-space: nowrap; }
.hero .sub { font: 400 clamp(19px, 2vw, 24px)/1.35 var(--font); color: #1d1d1f; letter-spacing: -0.02em; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; margin-top: 26px; }
.hero-cta > div { display: grid; justify-items: center; gap: 10px; }
.hero-cta small { font-size: 14px; color: var(--soft); }
.scatter { position: absolute; inset: 0; z-index: 2; }
.float { position: absolute; left: var(--x); top: var(--y); margin: 0; transform: rotate(var(--r, 0deg)); translate: calc(var(--dx, 0px) + var(--px, 0px)) calc(var(--dy, 0px) + var(--py, 0px) + var(--pmy, 0px)); will-change: translate; animation: drop 1s var(--ease) both; touch-action: none; }
.float:nth-child(2n) { animation-delay: .08s; } .float:nth-child(3n) { animation-delay: .16s; } .float:nth-child(5n) { animation-delay: .24s; }
@keyframes drop { from { opacity: 0; transform: translateY(16px) rotate(var(--r, 0deg)) scale(.95); } }
.scatter .float, .why-stage .float { cursor: grab; }
.float.dragging { cursor: grabbing; z-index: 30; }
.float figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 9px); text-align: center; font: 400 13.5px var(--font); color: var(--soft); }
.win.float { width: var(--w); overflow: visible; }
.win.float > .tb { border-radius: 12px 12px 0 0; }
.stk { width: var(--s, 72px); height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.16)); user-select: none; -webkit-user-drag: none; }
.stk.float:hover { transform: rotate(calc(var(--r, 0deg) + 8deg)) scale(1.08); transition: transform .4s var(--spring); }
.emo { font: 400 22px var(--font); color: #1d1d1f; white-space: nowrap; user-select: none; }
.term { margin: 0; padding: 14px 16px 16px; background: #1e1e1e; color: #e5e5ea; font: 12.5px/1.65 var(--mono); border-radius: 0 0 12px 12px; white-space: pre; }
.term .c { color: #8e8e93; } .term .y { color: #ffd60a; } .term .g { color: #32d74b; }
.notif { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; width: 290px; padding: 11px 13px; border-radius: 18px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 14px 30px -12px rgba(0,0,0,.3); font-size: 13.5px; line-height: 1.3; }
.notif b { display: block; font-weight: 600; } .notif small { align-self: start; color: var(--soft); font-size: 12px; }
.app-ico { width: 38px; height: 38px; border-radius: 9px; display: block; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.1); }
.app-ico.tf { background: radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%), conic-gradient(from 0deg, #2b8cf7, #5ac8fa, #2b8cf7); }
.app-ico.mine { background: linear-gradient(135deg, #ffd60a, #ff9f0a 60%, #ff375f); position: relative; }
.app-ico.mine::after { content: ""; position: absolute; inset: 30%; border-radius: 30%; border: 3px solid #fff; }
.hud { display: grid; justify-items: center; gap: 10px; width: 170px; padding: 22px 12px 18px; border-radius: 22px; background: rgba(40,40,40,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 14px; box-shadow: 0 18px 36px -14px rgba(0,0,0,.45); }
.hud-ok { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; position: relative; }
.hud-ok::after { content: ""; position: absolute; left: 16px; top: 11px; width: 14px; height: 24px; border-right: 3.5px solid #fff; border-bottom: 3.5px solid #fff; transform: rotate(45deg); }
.store { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 14px; font-size: 14px; line-height: 1.3; }
.store .app-ico { width: 52px; height: 52px; border-radius: 12px; }
.store b { display: block; font-weight: 600; font-size: 15px; } .store span { color: var(--soft); }
.get-pill { background: #e9e9eb; color: var(--blue) !important; font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 999px; }
.phone { width: 170px; aspect-ratio: 9/19; border-radius: 34px; background: #1d1d1f; padding: 6px; box-shadow: 0 26px 46px -18px rgba(0,0,0,.45); }
.phone .scr { height: 100%; border-radius: 28px; background: #fff; position: relative; overflow: hidden; padding: 36px 12px 14px; display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.isl { position: absolute; top: 8px; left: 50%; width: 34%; height: 15px; margin-left: -17%; background: #1d1d1f; border-radius: 10px; }
.phone b { font-size: 17px; letter-spacing: -0.03em; } .phone .c { text-align: center; }
.phone ul { list-style: none; margin: 2px 0 4px; padding: 0; display: grid; gap: 6px; font-weight: 600; }
.phone li::before { content: "✓"; color: var(--blue); margin-right: 6px; font-weight: 800; }
.plan { border: 1px solid #e5e5ea; border-radius: 11px; padding: 8px 9px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.plan.on { border: 1.5px solid var(--blue); background: #f0f7ff; }
.plan i { font-style: normal; font-size: 9px; font-weight: 800; background: var(--blue); color: #fff; border-radius: 6px; padding: 2px 5px; }
.pbtn { margin-top: auto; display: grid; place-items: center; height: 32px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; }
@media (max-width: 1100px) { .scatter .notif { --x: 36% !important; } .scatter .hud, .scatter .fi-guide { display: none; } }
@media (max-width: 860px) {
  .desk { display: flex; flex-direction: column; min-height: 0; padding: 56px 16px 40px; gap: 34px; }
  .hero { order: 1; }
  .scatter { position: relative; order: 2; inset: auto; width: min(420px, 100%); height: 330px; }
  .scatter > * { display: none; }
  .scatter > .term-w { display: block; --x: 0% !important; --y: 4% !important; --w: 236px !important; }
  .scatter > .phone-f { display: block; --x: 66% !important; --y: 16% !important; }
  .scatter > .phone-f .phone { width: 130px; }
  .scatter > .phone-f figcaption { display: none; }
  .scatter > .stk:nth-of-type(1) { display: block; --x: 4% !important; --y: 72% !important; --s: 64px !important; }
  .scatter > .stk:nth-of-type(2) { display: block; --x: 40% !important; --y: 76% !important; --s: 60px !important; }
  .scatter > .trash-i { display: grid; --x: 80% !important; --y: 82% !important; }
  .term { font-size: 11px; }
}

/* ---------- the note ---------- */
.why { padding-top: 24px; }
.why-stage { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 20px; display: grid; place-items: center; min-height: 560px; }
.notes { width: min(640px, 100%); z-index: 2; }
.notes-tb { background: linear-gradient(#f4ecc8, #e9dfb0); border-bottom-color: #d8cc98; }
.notes-ico { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(#ffe066 0 30%, #fff 30%); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.2); display: inline-block; }
.notes-body { padding: 30px 34px 30px; display: grid; gap: 18px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #6b6b6b; letter-spacing: -0.02em; }
.notes-body mark { background: var(--hl); color: #1d1d1f; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: #1d1d1f; vertical-align: -3px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sign { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 16px; line-height: 1.3; }
.sign img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.sign b { display: block; color: #1d1d1f; font-weight: 500; } .sign span { color: var(--soft); }
@media (max-width: 760px) { .why-stage .float { display: none; } .why-stage { min-height: 0; } .notes-body { padding: 24px 22px; } }

/* ---------- inside: Finder + Quick Look ---------- */
.inside { background: linear-gradient(#f4f4f3, #ecebe8); }
.finder-stage { position: relative; display: grid; grid-template-columns: 1fr; padding-right: 330px; }
.finder { z-index: 1; }
.fd { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.fd-side { background: #f2f2f0; border-right: 1px solid #e0e0de; padding: 12px 8px; display: grid; gap: 2px; align-content: start; font-size: 13.5px; }
.fd-side small { font-size: 11px; font-weight: 600; color: var(--soft); padding: 10px 10px 4px; }
.fd-side a { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; color: #1d1d1f; }
.fd-side a.on { background: rgba(0,0,0,.08); }
.fd-side a.dim { color: var(--soft); }
.fd-side em { font-style: normal; font-size: 10.5px; margin-left: auto; background: #e5e5ea; color: var(--muted); padding: 1px 6px; border-radius: 999px; }
.tag-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fd-main { min-width: 0; font-size: 14px; }
.fd-head { display: flex; justify-content: space-between; padding: 6px 16px 6px 46px; border-bottom: 1px solid #e5e5e5; font-size: 12px; color: var(--soft); font-weight: 500; }
.part summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 12px 22px 1fr auto; gap: 8px; align-items: center; padding: 6px 16px 6px 12px; }
.part summary::-webkit-details-marker { display: none; }
.part:nth-child(even) > summary { background: #f5f5f7; }
.part summary:hover { background: #e8f1fe !important; }
.part[open] > summary { background: var(--blue) !important; color: #fff; }
.part[open] > summary .pg { color: rgba(255,255,255,.8); }
.part[open] > summary .ch { border-color: #fff; }
.part .ch { width: 6px; height: 6px; border-right: 1.5px solid #8e8e93; border-bottom: 1.5px solid #8e8e93; transform: rotate(-45deg); transition: transform .3s var(--ease); justify-self: center; }
.part[open] .ch { transform: rotate(45deg); }
.part .pg { color: var(--soft); font-size: 12.5px; white-space: nowrap; }
.part .free-dot { margin-left: 8px; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; vertical-align: 1px; }
.part ul { margin: 0; padding: 6px 16px 10px 70px; display: grid; gap: 3px; color: var(--muted); font-size: 13.5px; list-style: none; }
.part ul li::before { content: ""; display: inline-block; width: 11px; height: 13px; margin-right: 8px; vertical-align: -2px; border-radius: 2px; background: linear-gradient(#fff, #f1f1f1); box-shadow: inset 0 0 0 1px #c7c7cc; }
.fd-foot { padding: 8px 16px; border-top: 1px solid #e5e5e5; font-size: 12px; color: var(--soft); text-align: center; }
.ql { position: absolute; right: -30px; top: 70px; width: 330px; z-index: 2; transform: rotate(2.5deg); }
.ql-body { padding: 20px 20px 22px; display: grid; gap: 10px; }
.ql-body small { color: var(--soft); font-size: 12px; }
.ql-body h3 { font: 700 23px/1.15 var(--font); letter-spacing: -0.03em; }
.ql-body p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.ql-code { font: 12px/1.55 var(--mono); background: #f5f5f7; border-radius: 10px; padding: 10px 12px; color: #3a3a3c; }
.ql-code em { display: block; font-style: normal; color: var(--soft); margin-bottom: 3px; }
.ql-stk { position: absolute; right: -10px; top: 20px; width: 70px; z-index: 3; transform: rotate(12deg); }
@media (max-width: 1160px) {
  .finder-stage { padding-right: 0; }
  .ql { position: relative; top: auto; right: auto; width: min(400px, 88%); margin: 18px 0 0 auto; transform: rotate(1.5deg); }
  .ql.rv.in { transform: rotate(1.5deg); }
  .ql-stk { top: auto; bottom: 150px; right: 0; }
}
@media (max-width: 860px) {
  .fd { grid-template-columns: 1fr; }
  .fd-side { display: none; }
}
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr 1fr; } }
.perk { background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 4px; align-content: start; box-shadow: 0 0 0 .5px rgba(0,0,0,.06), 0 8px 20px -14px rgba(0,0,0,.3); }
.perk img { width: 48px; height: 48px; margin-bottom: 8px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.12)); transition: transform .4s var(--spring); }
.perk:hover img { transform: rotate(-10deg) scale(1.12); }
.perk b { font-weight: 600; font-size: 16px; } .perk span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* ---------- pricing ---------- */
.pricing { background: linear-gradient(180deg, #dbe9fb, #eef4fc 60%, #f4f4f3); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin-inline: auto; }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } }
.price { overflow: visible; }
.price > .tb { border-radius: 12px 12px 0 0; }
.pb { padding: 30px 30px 32px; display: grid; justify-items: center; text-align: center; background: linear-gradient(#fff, #fbfcfe); border-radius: 0 0 12px 12px; }
.pb h3 { font: 600 34px/1.1 var(--font); letter-spacing: -0.04em; }
.p-art { width: min(280px, 100%); aspect-ratio: 300 / 124; height: auto; margin: -6px 0 14px; }
.p-art svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 14px rgba(0,0,0,.14)); transition: transform .5s var(--spring); }
.price:hover .p-art svg { transform: translateY(-4px) scale(1.04); }
.prices { perspective: 1400px; }
.price { transition: rotate .4s var(--ease); }
.pb .best-for { font-size: 15px; color: var(--soft); margin-top: 4px; }
.pb hr { width: 100%; border: 0; border-top: 1.5px dashed #e3e3e6; margin: 24px 0; }
.amt { font: 600 64px/1 var(--font); letter-spacing: -0.05em; }
.per { font-size: 16px; margin: 12px 0 20px; }
.pb small { justify-self: start; font-size: 17px; color: var(--soft); margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; justify-self: stretch; text-align: left; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16.5px; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #1d1d1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); z-index: 3; padding: 4px 16px; border-radius: 999px; font: 500 15px var(--font); color: #0b2a66; border: 1px solid #2f6fd0; background: linear-gradient(#e3f0ff, #b9d8ff); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.price-stk { position: absolute; right: -22px; top: -30px; width: 74px; transform: rotate(16deg); z-index: 4; filter: drop-shadow(0 10px 12px rgba(0,0,0,.18)); }
.term-bar { margin: 28px auto 0; max-width: 860px; background: #1e1e1e; }
.term-bar .tbody { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px 28px; flex-wrap: wrap; }
.term-bar .cmd { font: 500 22px var(--mono); color: #fff; letter-spacing: 0; }
.term-bar .out { font: 15px/1.6 var(--mono); color: #a1a1a6; letter-spacing: 0; margin-top: 8px; max-width: 46ch; }
.term-bar .aqua { font-family: var(--mono); font-size: 16px; letter-spacing: 0; }
.fine { margin-top: 22px; text-align: center; font-size: 14px; color: var(--soft); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.me-wrap { position: relative; justify-self: center; width: min(360px, 100%); }
.me { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 26px; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 26px 50px -22px rgba(0,0,0,.4); transform: rotate(-2deg); transition: transform .5s var(--spring); }
.me-wrap:hover .me { transform: rotate(0deg) scale(1.01); }
.me-stk { position: absolute; right: -26px; bottom: -22px; width: 92px; transform: rotate(-10deg); }
.letter { display: grid; gap: 16px; max-width: 54ch; justify-items: start; }
.letter h2 { font: 700 clamp(36px, 4.6vw, 54px)/1.05 var(--font); letter-spacing: -0.045em; }
.letter p { font-size: 19px; color: var(--muted); }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #1d1d1f; border: 1px solid #b5b5b5; background: linear-gradient(#fff 0%, #f1f1f1 48%, #e2e2e2 52%, #f6f6f6 100%); box-shadow: inset 0 1px 0 #fff, 0 6px 12px -6px rgba(0,0,0,.35); transition: transform .3s var(--spring); }
.socials a:hover { transform: translateY(-2px) scale(1.06); }
.socials svg { width: 21px; height: 21px; fill: currentColor; }

/* ---------- faq: Messages ---------- */
.msgs { max-width: 620px; margin-inline: auto; }
.msgs .t img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.chat { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.35; }
.chat .stamp { align-self: center; font-size: 12px; color: var(--soft); margin-bottom: 8px; }
.b { max-width: 78%; padding: 8px 14px; border-radius: 19px; position: relative; }
.b.ask { align-self: flex-end; background: var(--blue); color: #fff; margin-top: 10px; }
.b.ans { align-self: flex-start; background: #e9e9eb; color: #1d1d1f; }
.read { align-self: flex-end; font-size: 11.5px; color: var(--soft); }

/* ---------- newsletter: Mail ---------- */
.free { padding-top: 24px; }
.mail-stage { position: relative; max-width: 620px; margin-inline: auto; }
.mail-stk { position: absolute; left: -92px; top: -46px; width: 104px; z-index: 3; transform: rotate(-10deg); }
@media (max-width: 760px) { .mail-stk { left: auto; right: -6px; top: -54px; width: 80px; } }
.mail .tb { height: 40px; }
.send { position: absolute; right: 10px; top: 6px; z-index: 2; width: 28px; height: 28px; border-radius: 7px; border: 0; background: transparent; color: #8e8e93; cursor: pointer; display: grid; place-items: center; }
.send svg { width: 17px; height: 17px; }
.send:hover { color: var(--blue); background: rgba(0,0,0,.05); }
.mail .row { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-bottom: 1px solid #ececec; font-size: 15px; }
.mail .row > span { color: var(--soft); min-width: 62px; }
.mail .row b { font-weight: 500; }
.chip { background: #e5f0ff; color: #0a5ad6; padding: 2px 10px; border-radius: 999px; font-size: 14px; }
.mail input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 15px var(--font); color: var(--ink); padding: 2px 0; }
.mail-body { padding: 20px 18px 24px; display: grid; gap: 10px; font-size: 16px; color: #3a3a3c; justify-items: start; }
.mail-body .aqua { margin-top: 10px; height: 40px; font-size: 16px; padding: 0 30px; }
.msg { min-height: 1.4em; font-size: 15px; color: var(--muted); }
.msg a { color: var(--blue); font-weight: 600; }

footer { padding-block: 28px 44px; font-size: 13px; color: var(--soft); }
footer .wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--hair); padding-top: 22px; }
footer .wrap > span:last-child { margin-left: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg.bad { color: #d70015; }
.mail .row:has(input[aria-invalid=true]) { background: #fff5f5; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.ql.rv.in { transform: rotate(2.5deg); }
.pop { animation: drop .7s var(--ease) both; }
[data-par] { translate: 0 var(--py, 0px); }
.ltr { display: inline-block; animation: ltr .8s var(--spring) both; }
@keyframes ltr { from { opacity: 0; transform: translateY(.45em) rotate(6deg) scale(.9); } }
.b { transition: opacity .35s var(--ease), transform .45s var(--spring); transform-origin: bottom left; }
.b.ask { transform-origin: bottom right; }
.b.wait, .read.wait { opacity: 0; transform: translateY(8px) scale(.92); }
.read { transition: opacity .3s; }
.typing { display: flex; gap: 4px; padding: 12px 14px !important; animation: drop .3s var(--ease) both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: tdot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.rows-wait .part { opacity: 0; transform: translateX(-10px); }
.rows-in .part { animation: rowin .5s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } }

/* ---------- checkout ---------- */
.co { min-height: calc(100vh - 34px); display: grid; place-items: center; padding: 40px 0; background: linear-gradient(180deg, #dbe9fb, #f4f4f3); }
.co .win { width: min(470px, calc(100% - 32px)); }
.co .cb-body { padding: 24px; display: grid; gap: 16px; }
.inp { width: 100%; border: 1px solid #d1d1d6; border-radius: 9px; padding: 12px 13px; font: 400 16px var(--font); color: var(--ink); background: #fff; outline: none; }
.inp:focus { box-shadow: 0 0 0 3.5px rgba(10,132,255,.3); border-color: var(--blue); }
.pe { min-height: 120px; }
.pe[hidden], .cardg[hidden] { display: none; }
.cardg { border: 1px solid #d1d1d6; border-radius: 9px; overflow: hidden; }
.cardg .inp { border: 0; border-radius: 0; }
.cardg .two { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d1d1d6; }
.cardg .two .inp + .inp { border-left: 1px solid #d1d1d6; }
.lbl { font-size: 13px; font-weight: 500; color: var(--muted); display: block; margin-bottom: 6px; }
.choice { display: grid; gap: 8px; }
.choice label { position: relative; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid #d1d1d6; border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .3s var(--spring); }
.choice label:hover { transform: translateY(-1px); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label:has(input:checked) { border-color: var(--blue); background: #f0f7ff; box-shadow: 0 0 0 1px var(--blue); }
.choice label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(10,132,255,.35); }
.c-art { position: relative; display: grid; place-items: center; height: 66px; border-radius: 11px; background: linear-gradient(#f6f6f8, #ececf0); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.06); }
.choice label:has(input:checked) .c-art { background: linear-gradient(#e4f0ff, #d2e6ff); }
.c-art svg { width: 92%; height: 86%; overflow: visible; filter: drop-shadow(0 4px 5px rgba(0,0,0,.14)); transition: transform .4s var(--spring); }
.choice label:has(input:checked) .c-art svg { transform: scale(1.06) rotate(-2deg); }
.c-art::after { content: ""; position: absolute; top: -6px; left: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .35s var(--spring); }
.choice label:has(input:checked) .c-art::after { transform: scale(1); }
.c-t { display: grid; line-height: 1.25; min-width: 0; } .c-t b { font-weight: 600; font-size: 16px; } .c-t small { color: var(--soft); font-size: 13px; }
.c-p { font-weight: 600; font-size: 18px; white-space: nowrap; }
@media (max-width: 420px) { .choice label { grid-template-columns: 76px 1fr auto; gap: 11px; } .c-art { height: 56px; } .c-p { font-size: 16px; } }
.fld .err { color: #d70015; font-size: 13px; margin-top: 6px; min-height: 0; }
.fld .err:empty { display: none; }
.fld .hint { color: var(--soft); font-size: 12.5px; margin-top: 6px; }
.fld .err:not(:empty) + .hint { display: none; }
.inp[aria-invalid=true] { background: #fff5f5; }
.inp:not(.cardg .inp)[aria-invalid=true] { border-color: #ff3b30; }
.cardg:has([aria-invalid=true]) { border-color: #ff3b30; }
.choice input { accent-color: var(--blue); width: 17px; height: 17px; }
.choice label:has(input:checked) { border-color: var(--blue); background: #f0f7ff; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(1turn); } }
.small-print { font-size: 12.5px; color: var(--soft); text-align: center; text-wrap: balance; }
.small-print svg { display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; }

/* ---------- guide portal (read.html) ---------- */
.pt-page { overflow: hidden; }
.pt-win { margin: 12px auto 0; width: min(1260px, calc(100% - 24px)); height: calc(100svh - 34px - 24px); min-height: 520px; display: flex; flex-direction: column; }
.pt-win > .tb { flex: none; height: 46px; gap: 10px; }
.pt-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.pt-search { display: flex; align-items: center; gap: 6px; width: 230px; height: 30px; padding: 0 8px; border-radius: 8px; background: rgba(0,0,0,.06); color: var(--soft); }
.pt-search:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(10,132,255,.35); }
.pt-search svg { width: 14px; height: 14px; flex: none; }
.pt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 13.5px var(--font); color: var(--ink); }
.pt-search kbd { font: 500 11px var(--font); color: var(--soft); border: 1px solid #d1d1d6; border-radius: 4px; padding: 0 4px; }
.pt-iconbtn { display: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: #4d4d4d; cursor: pointer; place-items: center; position: relative; z-index: 1; }
.pt-iconbtn:hover { background: rgba(0,0,0,.06); }
.pt-iconbtn svg { width: 18px; height: 18px; }
.pt { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px minmax(0, 1fr); position: relative; }
.pt-side { overflow-y: auto; background: #f2f2f0; border-right: 1px solid #e0e0de; padding: 14px 10px 30px; overscroll-behavior: contain; }
.pt-book { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 4px 8px 16px; margin-bottom: 6px; border-bottom: 1px solid #e3e3e1; }
.pt-book .bk-art svg { width: 64px; height: auto; display: block; filter: drop-shadow(0 4px 5px rgba(0,0,0,.14)); }
.pt-book b { font-size: 14.5px; display: block; letter-spacing: -0.02em; }
.pt-book small { font-size: 12px; color: var(--soft); display: block; margin: 2px 0 7px; }
.pt-prog { height: 6px; border-radius: 3px; background: #e0e0e3; overflow: hidden; }
.pt-prog i { display: block; height: 100%; width: var(--p, 0%); border-radius: 3px; background: linear-gradient(90deg, #30d158, #34c759); transition: width .7s var(--ease); }
.pt-ch > button { width: 100%; display: grid; grid-template-columns: 12px 20px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border: 0; background: none; border-radius: 7px; font: 500 13.5px/1.3 var(--font); letter-spacing: -0.01em; text-align: left; cursor: pointer; color: var(--ink); }
.pt-ch > button:hover { background: rgba(0,0,0,.05); }
.pt-ch > button .ch { width: 6px; height: 6px; border-right: 1.5px solid #8e8e93; border-bottom: 1.5px solid #8e8e93; transform: rotate(-45deg); transition: transform .3s var(--ease); justify-self: center; }
.pt-ch.open > button .ch { transform: rotate(45deg); }
.pt-ch > button .folder { width: 20px; height: 16px; }
.pt-ch > button em { font-style: normal; font-size: 11.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.pt-ch > button em svg { width: 11px; height: 11px; vertical-align: -1px; }
.pt-ch ul { list-style: none; margin: 0; padding: 0 0 6px 28px; display: none; }
.pt-ch.open ul { display: grid; gap: 1px; animation: rowin .35s var(--ease) both; }
.pt-ch li a { display: grid; grid-template-columns: 15px 1fr; gap: 9px; align-items: center; padding: 5px 8px; border-radius: 7px; font-size: 13px; line-height: 1.3; color: #3a3a3c; text-decoration: none; }
.pt-ch li a:hover { background: rgba(0,0,0,.05); }
.pt-ch li a.on { background: var(--blue); color: #fff; }
.pt-ch li a.locked { color: var(--soft); }
.pt-ch li a.on.locked { color: #fff; }
.on.locked .dot { filter: brightness(0) invert(1); }
.pt-ch li[hidden] { display: none; }
.dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c7c7cc; display: block; transition: background .3s, border-color .3s, transform .35s var(--spring); }
.done .dot { border-color: #34c759; background: #34c759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.4' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
a.on .dot { border-color: rgba(255,255,255,.85); }
.locked .dot { border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2.2'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 018 0v4'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pt-empty { padding: 10px 12px; font-size: 13px; color: var(--soft); }
.pt-main { overflow-y: auto; position: relative; background: #fff; overscroll-behavior: contain; }
.pt-bar { position: sticky; top: 0; z-index: 3; height: 3px; width: var(--r, 0%); background: var(--blue); transition: width .1s linear; }
.pt-art { max-width: 720px; margin: 0 auto; padding: 30px clamp(20px, 5vw, 56px) 90px; display: grid; gap: 18px; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--soft); }
.crumb a { color: inherit; text-decoration: none; } .crumb a:hover { color: var(--blue); }
.pt-art h1 { font: 700 clamp(32px, 4.6vw, 46px)/1.06 var(--font); letter-spacing: -0.045em; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--soft); align-items: center; }
.meta-row .pill { background: #f2f2f7; color: #3a3a3c; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.meta-row .pill.g { background: #e3f9e8; color: #1a7f37; }
.prose { display: grid; gap: 16px; font-size: 18px; line-height: 1.62; color: #333336; }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 14px; letter-spacing: -0.03em; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose code { font: .86em var(--mono); background: #f2f2f0; padding: 2px 6px; border-radius: 6px; }
.prose a { color: var(--blue); text-decoration: none; font-weight: 500; }
.prose b { color: var(--ink); font-weight: 600; }
.cb { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--win-shadow); }
.cb pre { margin: 0; padding: 16px; overflow-x: auto; font: 13.5px/1.65 var(--mono); background: #1e1e1e; color: #e5e5ea; white-space: pre; letter-spacing: 0; }
.cb pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.copy { position: absolute; right: 8px; top: 5px; z-index: 2; font: 500 12px var(--font); padding: 3px 11px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #e5e5ea; cursor: pointer; transition: background .2s; }
.copy:hover { background: rgba(255,255,255,.24); }
.copy.ok { background: #30d158; color: #062b10; }
.callout { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; font-size: 16.5px; line-height: 1.55; background: #eef6ff; box-shadow: inset 0 0 0 1px #d3e6ff; }
.callout img { width: 36px; height: 36px; }
.callout b { display: block; color: var(--ink); }
.pt-art p.gap { padding: 10px 14px; border-radius: 12px; border: 1.5px dashed #e0b84a; background: #fff8e1; color: #6b5310; font-size: 15px; }
.callout.gotcha { background: #fff3f2; box-shadow: inset 0 0 0 1px #ffd6d2; }
.callout.idea { background: #fffbe6; box-shadow: inset 0 0 0 1px #f5e7a8; }
.steps { list-style: none; padding: 0 !important; counter-reset: st; gap: 12px !important; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(st); width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 600 13px var(--font); }
.checks { display: grid; gap: 8px; }
.checks label { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; border-radius: 11px; background: #f5f5f7; cursor: pointer; font-size: 16.5px; line-height: 1.45; transition: background .2s; }
.checks label:hover { background: #ededf0; }
.checks input { accent-color: #34c759; width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.checks label:has(input:checked) span { color: var(--soft); text-decoration: line-through; }
.done-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hair); }
.done-bar .prev, .done-bar .skip { color: var(--blue); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.lessons { display: grid; gap: 8px; }
.lc { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 6px 16px -12px rgba(0,0,0,.35); text-decoration: none; color: var(--ink); font-size: 16px; transition: transform .3s var(--spring), box-shadow .3s; }
.lc:hover { transform: translateY(-2px); box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 12px 22px -14px rgba(0,0,0,.4); }
.lc .n { font: 500 12px var(--mono); color: var(--soft); }
.lc small { color: var(--soft); font-size: 13px; white-space: nowrap; }
.lc.done small { color: #1a7f37; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 6px; }
.tile { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 8px 12px; border-radius: 12px; text-align: center; font-size: 13.5px; line-height: 1.3; text-decoration: none; color: var(--ink); transition: background .2s, transform .3s var(--spring); }
.tile:hover { background: rgba(10,132,255,.08); transform: translateY(-2px); }
.tile .folder { width: 62px; height: 50px; } .tile .folder svg { filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.tile small { color: var(--soft); font-size: 12px; }
.tile .pt-prog { width: 70%; height: 4px; }
.continue { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #eaf3ff, #f5f0ff); box-shadow: inset 0 0 0 1px rgba(10,132,255,.15); }
.continue small { color: var(--soft); font-size: 13px; display: block; } .continue b { font-size: 18px; letter-spacing: -0.02em; }
.lockc { overflow: visible; }
.lockc .lk { padding: 26px 26px 28px; display: grid; gap: 14px; justify-items: start; }
.lockc .lk-art { width: 170px; } .lockc .lk-art svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 12px rgba(0,0,0,.14)); }
.lockc hr { width: 100%; border: 0; border-top: 1.5px dashed #e3e3e6; margin: 6px 0; }
.signin { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.signin .inp { flex: 1 1 220px; height: 46px; }
.signin .err { flex-basis: 100%; color: #d70015; font-size: 13px; } .signin .err:empty { display: none; }
.demo-pill { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px; border-radius: 999px; background: rgba(28,28,30,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font-size: 12.5px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.demo-pill span { color: #aeaeb2; margin-right: 6px; }
.demo-pill, .demo-pill button { white-space: nowrap; }
.demo-pill button { border: 0; background: none; color: inherit; font: 500 12.5px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.demo-pill button.on { background: #fff; color: #000; }
.toast { position: fixed; left: 50%; bottom: 70px; z-index: 80; display: flex; width: max-content; max-width: min(440px, calc(100vw - 32px)); align-items: center; gap: 10px; translate: -50% 12px; opacity: 0; pointer-events: none; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(28,28,30,.92); color: #fff; font-size: 14.5px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: opacity .3s var(--ease), translate .45s var(--spring); }
.toast.show { opacity: 1; translate: -50% 0; }
.toast img { width: 26px; height: 26px; }
.pt-scrim { display: none; }
@media (max-width: 860px) {
  .pt-win { width: 100%; margin: 0; border-radius: 0; height: calc(100svh - 34px); min-height: 0; box-shadow: none; }
  .pt-win > .tb .lights, .pt-win > .tb .t { display: none; }
  .pt-iconbtn { display: grid; }
  .pt-tools { margin-left: auto; }
  .pt-search { width: min(200px, 46vw); }
  .pt-search kbd { display: none; }
  .pt { grid-template-columns: minmax(0, 1fr); }
  .pt-side { position: absolute; z-index: 6; inset: 0 auto 0 0; width: min(310px, 86%); transform: translateX(-102%); transition: transform .4s var(--ease); box-shadow: 10px 0 30px -12px rgba(0,0,0,.35); }
  .side-open .pt-side { transform: none; }
  .pt-scrim { display: block; position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .side-open .pt-scrim { opacity: 1; pointer-events: auto; }
  .pt-art { padding-top: 22px; }
  .demo-pill { right: 50%; translate: 50% 0; bottom: 12px; }
  .continue { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .price-stk { right: -6px; top: -36px; width: 60px; }
  .me-stk { right: -6px; width: 72px; }
}

/* ---------- portal accounts ---------- */
.pt-acct { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border: 1px solid #c7c7cc; border-radius: 999px; background: linear-gradient(#fff, #f1f1f1); font: 500 13px var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pt-acct:hover { background: #fff; }
.pt-acct.in { padding: 0 10px 0 3px; }
.pt-acct .nm { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: linear-gradient(135deg, #5ac8fa, #0a84ff); color: #fff; font: 600 12px var(--font); }
.acct-pop { position: absolute; right: 12px; top: 6px; z-index: 8; width: 250px; padding: 14px; display: grid; gap: 10px; justify-items: start; animation: drop .25s var(--ease) both; }
.acct-pop[hidden] { display: none; }
.ap-head { display: flex; gap: 10px; align-items: center; } .ap-head .av { width: 36px; height: 36px; font-size: 15px; }
.ap-head b { display: block; font-size: 14px; font-weight: 600; word-break: break-all; } .ap-head small { color: var(--soft); font-size: 12.5px; }
.linkbtn { border: 0; background: none; padding: 0; font: 500 14px var(--font); color: var(--blue); cursor: pointer; }
.sheet-wrap { position: absolute; inset: 0; z-index: 9; display: flex; justify-content: center; align-items: flex-start; background: rgba(0,0,0,0); transition: background .25s; }
.sheet-wrap[hidden] { display: none; }
.sheet-wrap.show { background: rgba(0,0,0,.18); }
.sheet { position: relative; width: min(400px, calc(100% - 24px)); max-height: calc(100% - 12px); overflow-y: auto; background: #fbfbfb; border-radius: 0 0 14px 14px; box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 24px 50px -16px rgba(0,0,0,.45); transform: translateY(-104%); transition: transform .38s var(--ease); }
.sheet-wrap.show .sheet { transform: none; }
.sheet form { padding: 26px 26px 16px; display: grid; gap: 11px; justify-items: center; text-align: center; }
.sheet form[hidden] { display: none; }
.sheet h2 { font: 700 21px/1.2 var(--font); letter-spacing: -0.03em; }
.sh-art { width: 110px; } .sh-art svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 10px rgba(0,0,0,.14)); }
.sh-ico img { width: 64px; height: 64px; }
.sh-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 4px; }
.sso { width: 100%; height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font: 500 15.5px var(--font); cursor: pointer; transition: transform .2s var(--spring), filter .2s; }
.sso svg { width: 18px; height: 18px; }
.sso.apple { background: #000; color: #fff; border: 1px solid #000; }
.sso.google { background: #fff; color: #1f1f1f; border: 1px solid #c7c7cc; }
.sso:hover { transform: translateY(-1px); } .sso:disabled { filter: opacity(.6); }
.or { width: 100%; display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 12.5px; margin: 2px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid #e0e0e3; }
.sheet .inp { text-align: left; height: 44px; }
.sheet .inp[aria-invalid=true] { border-color: #ff3b30; }
.sheet .inp.code { text-align: center; font: 600 24px var(--mono); letter-spacing: .4em; padding-left: calc(13px + .4em); }
.sheet .aqua { width: 100%; height: 44px; font-size: 16px; }
.sheet .err { color: #d70015; font-size: 13px; justify-self: start; text-align: left; } .sheet .err:empty { display: none; }
.sh-fine { font-size: 12.5px; color: var(--soft); }
.sh-x { display: block; margin: 0 auto 18px; border: 0; background: none; font: 500 14px var(--font); color: var(--muted); cursor: pointer; }
.sh-x:hover { color: var(--ink); }
@media (max-width: 860px) { .pt-acct .nm { display: none; } .pt-acct.in { padding: 0 3px; } .pt-search { width: min(170px, 38vw); } }
.sheet .gbtn { display: flex; justify-content: center; min-height: 44px; }
.sheet .gbtn[hidden], .sheet .sso[hidden] { display: none; }
