/* Una paleta compartida para la costa y la ciudad. */
:root {
  --ink: #fff6e9;
  --muted: #d0c9dd;
  --pink: #ffcfe9;
  --background: #161626;
  --line: #d9c1e22c;
  --gold: #ffdfa5;
  --sea: #a8e4dc;
}
body {
  background: radial-gradient(ellipse at 14% 16%,#1c50566e,transparent 38%),
              radial-gradient(ellipse at 87% 56%,#673d6c5e,transparent 47%), #161626;
}
:focus-visible { outline-color: var(--sea); }
.topbar { background: #15162790; }
.button-primary, .application-submit { color: #2a2332; background: var(--gold); }
.button-primary:hover, .application-submit:hover { background: #fff0c6; }
.button-quiet { color: var(--gold); border-color: #ffdfa562; background: #ffdfa511; }
.button-quiet:hover { background: #ffdfa525; }
.hero, .mobile-section, .early { background: none; }
.hero .eyebrow, .mobile-section .eyebrow, .early .eyebrow { color: var(--gold); }
h1 { font-size: clamp(61px, 6.45vw, 103px); }
h1 em { color: var(--sea); }
.hero .lead { max-width: 39ch; }
.desktop-preview { border-color: #b9d6da65; box-shadow: 0 24px 60px #070b17a0; }
.frame-header { background: linear-gradient(105deg,#203f47,#2d243c); color: var(--ink); }
.frame-dots i { background: var(--gold); }
.desktop-screen { background: #242d42; }
.desktop-screen::before, .desktop-screen::after {
  content: ""; position: absolute; z-index: -1; inset-block: 0; pointer-events: none;
}
.desktop-screen::before {
  inset-inline: 0 18%;
  background: linear-gradient(0deg,#111f3548,transparent 72%), url("assets/kamakura.webp") center 38% / cover no-repeat;
}
.desktop-screen::after {
  inset-inline: 29% 0;
  background: linear-gradient(0deg,#26142e50,transparent 74%), url("assets/shibuya.webp") center 37% / cover no-repeat;
  mask-image: linear-gradient(112deg,transparent 2%,#0005 26%,#000 58%);
}
.work-window {
  color: #263b39; background: #fffaf0; top: auto; bottom: 11%; left: 6%; width: 42%;
  transform: rotate(-2deg); box-shadow: 0 15px 32px #10152772;
}
.work-title { background: #ecedd9; color: #385751; }
.work-content .work-label, .work-content p span { color: #397366; }
.avatar-control { width: 46%; right: 5%; }
.avatar-control img { filter: drop-shadow(0 8px 12px #170c27) drop-shadow(0 0 14px #f8d7ef8a); }
.taskbar { background: #1a2033e8; border-color: #d8baf13e; color: #fff1e4; }
.taskbar-app { border-color: var(--gold); }
.theme-row {
  margin-top: 13px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 12px; color: var(--muted); font-size: 12px; font-weight: 850;
}
.theme-switch { display: flex; gap: 4px; flex-wrap: wrap; }
.theme-switch button {
  min-height: 36px; border: 1px solid #efe0ff22; border-radius: 8px; padding: 3px 11px;
  background: #f3e9ff0d; color: var(--muted); font-weight: 850;
}
.theme-switch button:hover { border-color: #d7e4e78a; }
.theme-switch [data-demo-theme=kamakura][aria-pressed=true] { background: #a8e4dc; color: #163b43; }
.theme-switch [data-demo-theme=shibuya][aria-pressed=true] { background: #ffd1ea; color: #3d223d; }
.mobile-section { color: var(--ink); border-top: 1px solid var(--line); }
.mobile-section h2 em { color: var(--pink); }
.mobile-section .lead, .mobile-note, .mobile-figure figcaption { color: var(--muted); }
.demo-options button { color: var(--ink); border-color: #d6b7db54; background: #1b182f76; }
.demo-options button:hover { border-color: #e1c2e8a0; }
.demo-options button[aria-pressed=true] { color: #2f2137; background: #ffdfa5; border-color: #ffdfa5; }
.demo-options small, .option-arrow { color: #decfe6; }
.demo-options button[aria-pressed=true] small,
.demo-options button[aria-pressed=true] .option-arrow { color: #463648; }
.option-icon { color: #bde3e4; background: #315055; }
.demo-options button[aria-pressed=true] .option-icon { color: #214748; background: #f5edcd; }
.phone { border-color: #aabae878; box-shadow: 0 20px 44px #100b237d,0 0 64px #8cb5c32c; }
.early-panel { border-color: #f1c2e648; background: linear-gradient(120deg,#25414b,#272c44 47%,#442b48); }
@media (max-width: 760px) {
  h1 { font-size: clamp(54px, 12vw, 91px); }
  .work-window { width: 46%; }
  .desktop-screen::before { inset-inline-end: 15%; }
  .theme-switch button { min-height: 44px; }
}


.mobile-figure .theme-row { justify-content: center; margin-top: 10px; }

.phone-screen { position: relative; overflow: hidden; border-radius: 24px; }
/* Posición del retrato medida en la captura de Home de 390 × 780. */
#mobile-portrait {
  position: absolute;
  top: 10.024%;
  left: 41.921%;
  width: 59.643%;
  pointer-events: none;
  mask-image: linear-gradient(to bottom,#000 90%,transparent);
}
#mobile-portrait img {
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 8px #c9aff38c);
}
