/* Assignment Helper — FYP Ideas module (content-studio voxel design language) */
:root {
  --bg: #f4efe6;
  --tile: #e5dccb;
  --ink: #23283a;
  --naro: #6cbb5c;
  --suit: #4a7fd4;
  --exa: #e8896b;
  --accent: #e0803a;
  --error: #d84a3a;
  --paper: #fffdf9;
  --muted: #6b7080;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 32px 20px 64px; }

/* Header */
.site-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.brand { font-size: 22px; font-weight: 800; text-decoration: none; color: var(--ink); }
.brand .n { color: var(--naro); }
.brand .e { color: var(--exa); }
.site-head nav a { color: var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; margin-left: 16px; }
.site-head nav a:hover { color: var(--suit); }

/* Hero */
.hero {
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(35, 40, 58, 0.25);
  padding: 32px;
  margin-bottom: 32px;
}
.hero h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; }
.hero h1 .hl { color: var(--suit); }
.hero p.lead { font-size: 16px; margin: 0 0 8px; max-width: 720px; }

/* Chips */
.chip {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; border: 2px solid var(--ink); border-radius: 5px;
  padding: 2px 10px; margin: 2px 6px 2px 0; background: var(--tile);
}
.chip--blue { background: var(--suit); color: #fff; }
.chip--green { background: var(--naro); color: #fff; }
.chip--orange { background: var(--exa); color: #fff; }
.chip--amber { background: var(--accent); color: #fff; }

/* Cards grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border: 4px solid var(--ink); border-radius: 12px;
  box-shadow: 5px 5px 0 rgba(35, 40, 58, 0.25); padding: 22px;
  display: flex; flex-direction: column; transition: transform .12s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(35, 40, 58, 0.25); }
.card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.25; }
.card p { font-size: 14px; margin: 0 0 14px; color: #444a5c; flex: 1; }
.card .icon { font-size: 34px; }
.btn {
  display: inline-block; text-align: center; font-weight: 800; text-transform: uppercase;
  font-size: 13px; border: 3px solid var(--ink); border-radius: 8px; padding: 9px 18px;
  box-shadow: 3px 3px 0 rgba(35, 40, 58, 0.25); cursor: pointer;
  background: var(--suit); color: #fff; text-decoration: none;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(35,40,58,.25); }
.btn--ghost { background: var(--tile); color: var(--ink); }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }

/* Sections */
section.block {
  background: var(--paper); border: 4px solid var(--ink); border-radius: 12px;
  box-shadow: 5px 5px 0 rgba(35, 40, 58, 0.25); padding: 26px; margin-bottom: 26px;
}
section.block h2 {
  margin: 0 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px;
  border-bottom: 3px solid var(--tile); padding-bottom: 8px;
}
section.block h2 .num {
  display: inline-block; background: var(--ink); color: var(--paper);
  border-radius: 6px; padding: 0 8px; margin-right: 8px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.mini {
  background: var(--bg); border: 2px solid var(--tile); border-radius: 8px; padding: 14px 16px;
}
.mini h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.mini p, .mini li { font-size: 14px; margin: 4px 0; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 26px; position: relative; margin: 7px 0; font-size: 14px; }
ul.ticks li::before { content: "✅"; position: absolute; left: 0; font-size: 13px; }

/* Tables */
table.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.cmp th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 3px solid var(--ink); padding: 7px 9px; background: var(--bg);
}
table.cmp td { border-bottom: 1px solid var(--tile); padding: 8px 9px; vertical-align: top; }
table.cmp tr:last-child td { border-bottom: none; }
.tag { font-weight: 700; color: var(--suit); }

/* Callout / placeholder */
.callout {
  border: 3px dashed var(--accent); border-radius: 10px; background: #fdf4ea;
  padding: 16px 18px; font-size: 14px;
}
.callout h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }

.foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 36px; }
.crumb { font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--suit); font-weight: 700; text-decoration: none; }
