/* Homepage brand layer. Demo interaction styles remain in demo.css. */
:root {
  --bg: #1c1b17;
  --panel: #25251e;
  --card: #2d2a23;
  --line: rgb(207 177 130 / 22%);
  --gold: #cfb182;
  --sand: #cfb182;
  --text: #f2efe8;
  --muted: #bdb5a6;
  font-family: "Arrakis Site Sans", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--sand); outline-offset: 5px; }
button { min-height: 36px; border-radius: 4px; }
button:hover { background: #38352c; border-color: var(--sand); }
button.primary:hover, .circular-add:hover { background: #e1c69d; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.04em; }
.page-header { max-width: none; padding: 0 max(24px, calc((100% - 1160px) / 2)); height: 72px; background: var(--panel); border-bottom: 1px solid var(--line); }
.demo-brand { gap: 10px; }
.demo-brand strong { font-size: 15px; font-weight: 500; letter-spacing: -.035em; }
.back-home { display: inline-flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; min-height: 44px; }
.back-home:hover { color: var(--sand); }
.experience-intro, .stage, .demo-footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.experience-intro { padding-top: 48px; }
.experience-intro > .eyebrow { color: var(--sand); letter-spacing: .12em; display: flex; gap: 16px; }
.intro-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 20px 0 30px; }
.intro-heading h1 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.3; }
.intro-heading h1 span { color: var(--sand); }
.intro-heading > p { color: var(--muted); line-height: 1.9; font-size: 14px; padding-bottom: 4px; }
.demo-notice { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding: 12px 0; color: var(--muted); font-size: 12px; }
.demo-notice button { flex: none; border-color: transparent; }
.stage { max-width: 1160px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; padding: 0; margin-top: 36px; margin-bottom: 48px; }
.stage:focus { outline: none; }
.guide { padding: 24px 0; }
.guide h2 { font-size: 22px; margin: 12px 0; }
.guide-intro { font-size: 14px; }
.guide ul { gap: 20px; margin: 28px 0; }
.guide li { font-size: 13px; }
.guide-foot { font-size: 12px; color: var(--muted); max-width: 240px; }
.guide-count { border: none; padding-top: 8px; font-size: 12px; }
progress { appearance: none; display: block; height: 3px; width: 100%; border: 0; background: var(--line); color: var(--sand); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--sand); }
progress::-moz-progress-bar { background: var(--sand); }
.app-window { width: 100%; height: 570px; min-height: 490px; max-height: none; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 20px 50px #0002; }
.window-header { padding: 20px 24px; }
.tabs { padding-inline: 24px; }
.tabs button { font-size: 13px; }
.window-content { padding: 20px; }
.task-card { padding: 14px 12px; min-height: 70px; border-radius: 5px; gap: 12px; }
.task-name { font-size: 14px; }
.task-meta { font-size: 11px; margin-top: 5px; }
.status-badge { background: #413c2e; color: var(--sand); }
.section-heading, .section-heading .muted { font-size: 12px; }
.window-footer { padding: 12px 20px; }
.window-footer span { font-size: 11px; }
.circular-add { border-radius: 50%; }
.folder-tile, .widget-menu, dialog, .notification-toast, .status-toast { background: var(--panel); border-color: var(--line); }
.folder-tile[aria-pressed=true] { background: var(--card); border-color: var(--sand); }
input:not([type=checkbox]), textarea, select { background: var(--bg); border-color: #756b58; }
.move-select { width: auto; min-height: 36px; }
.widget { right: 24px; bottom: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: 72px; }
.widget:hover { background: var(--card); }
.widget-menu { bottom: 122px; right: 24px; }
.demo-footer { border-top: 1px solid var(--line); padding: 20px 100px 32px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 11px; color: var(--muted); }
.skip-link { position: fixed; left: 20px; top: 12px; z-index: 120; transform: translateY(-180%); padding: 10px 16px; color: var(--bg); background: var(--sand); }
.skip-link:focus { transform: translateY(0); }
.demo-noscript { padding: 24px; text-align: center; color: var(--sand); }
@media (max-width: 900px) {
  .stage { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .intro-heading { align-items: flex-start; }
  .intro-heading > p { max-width: 310px; }
  .demo-footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 740px) {
  .page-header { height: 64px; padding-inline: 20px; }
  .demo-brand strong { font-size: 13px; }
  .back-home { font-size: 12px; gap: 6px; }
  .experience-intro, .stage, .demo-footer { width: calc(100% - 32px); }
  .experience-intro { padding-top: 32px; }
  .intro-heading { flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .intro-heading > p { font-size: 13px; max-width: none; }
  .demo-notice { align-items: flex-start; gap: 10px; font-size: 11px; }
  .demo-notice button { font-size: 11px; padding: 4px; }
  .stage { display: flex; gap: 20px; max-width: none; margin-top: 24px; margin-bottom: 32px; }
  .app-window { height: 540px; min-height: 440px; max-height: none; }
  .guide { padding: 12px 4px; }
  .guide h2 { font-size: 22px; }
  .guide ul { gap: 14px; margin-block: 20px; }
  .guide-foot { max-width: none; }
  .window-header { padding: 16px; }
  .window-content { padding: 14px 10px; }
  .tabs { padding-inline: 12px; }
  .section-heading, .section-heading .muted { font-size: 10px; }
  .task-card { gap: 8px; padding: 12px 8px; }
  .task-name { font-size: 13px; }
  .task-meta { font-size: 10px; }
  .window-footer { padding: 10px; }
  .window-footer span { font-size: 10px; }
  .widget { right: 12px; bottom: 12px; width: 60px; }
  .widget img { width: 40px; height: 40px; }
  .widget-menu { right: 12px; bottom: 96px; }
  .demo-footer { padding-right: 70px; padding-bottom: 40px; }
}
/* Keep the add control clear of the floating companion on narrow screens. */
@media (max-width: 740px) {
  .add-row { justify-content: flex-start; }
  .window-footer { padding-right: 76px; }
  .window-footer span { display: none; }
}
