/* Soft and rounded, with light blue accents (shared look with Word Search and Spider) */
:root {
  --bg: #f2f7fc;
  --paper: #ffffff;
  --ink: #2b3a4a;
  --line: #e1eaf3;
  --blue: #bfe6fb;
  --blue-hover: #a9dcf9;
  --blue-pressed: #93d2f6;
  --blue-ink: #1d5f8a;    /* text on light blue */
  --blue-strong: #3d97d3; /* big accent text */
  --shadow: 0 6px 20px rgba(43, 80, 120, 0.10), 0 1px 3px rgba(43, 80, 120, 0.08);
  --radius: 28px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.3;
}

:focus-visible {
  outline: 3px solid var(--blue-strong);
  outline-offset: 3px;
}

.layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 100vh;
}

/* LEFT COLUMN: app launcher */
.apps {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr;
  padding: 28px 0 28px 28px;
}

.app {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.15s, transform 0.1s;
}

.app:hover { background: var(--blue-hover); }
.app:active { background: var(--blue-pressed); transform: scale(0.98); }

.app-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* RIGHT COLUMN */
.content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 52px 60px;
  min-width: 0;
}

/* 1. Date header */
.date {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 3px solid var(--line);
}

.day {
  font-size: 180px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--blue-strong);
}

.date-text {
  display: flex;
  flex-direction: column;
}

.month {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
}

.weekday {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
}

/* 2 & 3. Today / This week cards */
.label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--blue-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.box {
  margin: 0;
  padding: 8px 32px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
}

.notes li,
.week > div {
  padding: 16px 0;
}

.notes li + li,
.week > div + div {
  border-top: 2px solid var(--line);
}

.week > div {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.week dt {
  font-weight: 700;
  color: var(--blue-ink);
}

.week dd { margin: 0; }

/* Phones: launcher becomes a row across the top */
@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }

  .apps {
    position: static;
    height: auto;
    grid-template-rows: 160px;
    padding: 16px 16px 0;
  }

  .app { border-radius: 22px; }
  .app-image { width: 120px; height: 120px; }

  .content { padding: 32px 16px; }

  .day { font-size: 120px; }
  .month { font-size: 40px; }
  .weekday { font-size: 32px; }

  .box { padding: 4px 22px; border-radius: 22px; }
  .week > div { grid-template-columns: 1fr; }
}
