*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  background: #f5f5f3;
  color: #1b1b1b;
}

body {
  margin: 0;
  padding: 0;
  background: #f5f5f3;
}

main.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 20px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Rebuild styles for the task-only layout */
.app__header {
  background: #0f2b2b;
  color: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(15, 43, 43, 0.18);
}

.app__header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  margin: 0;
  opacity: 0.7;
}

.app__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.app__subtitle {
  margin: 0;
  font-size: 16px;
  max-width: 640px;
}

.panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.task {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.task__title {
  margin: 0;
  font-size: 24px;
}

.task__intro {
  margin: 0;
  color: #4d5a5a;
  font-size: 16px;
  max-width: 860px;
}

.task__previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.task__preview-card {
  border-radius: 18px;
  border: 1px solid #e6e6df;
  background: #ffffff;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.task__preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task__preview-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f2b2b;
}

.task__preview-link {
  font-size: 13px;
  color: #0f2b2b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.task__preview-link:hover {
  border-bottom-color: #0f2b2b;
}

.task__preview-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #efece7;
  background: #f8f6f2;
}

.task__preview-button {
  width: fit-content;
}

.task__block {
  border-radius: 18px;
  background: #f2f7f6;
  padding: 24px;
  border: 1px solid #d9e4e1;
}

.task__block-title {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #1b3b3b;
}

.task__block-body {
  display: grid;
  gap: 16px;
}

.task__block-body h4 {
  margin: 0;
  color: #0f2b2b;
}

.task__block-body ul {
  margin: 6px 0 0;
  padding-left: 20px;
  color: #344141;
}

.task__requirements,
.task__deliverables {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e6e6df;
  background: #ffffff;
}

.task__requirements h3,
.task__deliverables h3,
.task__submission h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0f2b2b;
}

.task__requirements ul,
.task__deliverables ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.task__submission {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e6e6df;
}

.task__submission-note {
  margin: 0 0 12px;
  color: #4d5a5a;
}

.asana-embed-container {
  width: 100%;
}

.asana-embed-iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

@media (max-width: 720px) {
  main.app {
    padding: 24px 16px 40px;
  }

  .panel,
  .app__header {
    padding: 24px;
  }

  .task__previews {
    grid-template-columns: 1fr;
  }

  .task__preview-image {
    height: 200px;
  }
}
