
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

#contact h2 {
    font-family: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Merriweather", serif;
    line-height: 1.6;
    letter-spacing: .01em;
    font-size: 1.1em;
    color: #333;
    background-color: lch(88.32% 14.35 300.98);
    padding: 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: left;
}

header, section {
}

header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    max-width: 700px;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 700px;
}

li {
    margin-bottom: 10px;
}

a {
    color: #5921c3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 14px;
    background-color: #9b7ef2; /* lighter periwinkle */
    color: #fff;
    border: 1px solid #8b6fe0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: #9275e8;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-disabled,
.btn:disabled {
    background-color: #cfc3f6;
    border-color: #b8a4ef;
    color: #fff;
    cursor: not-allowed;
    transform: none;
}

.btn.btn-disabled:hover,
.btn:disabled:hover,
.btn.btn-disabled:active,
.btn:disabled:active {
    background-color: #c7b9f2;
    transform: none;
}

.badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

.badge-soon {
    background-color: #f3e9ff;
    color: #5a2fbb;
    border: 1px solid #c7b9f2;
}

#people .person {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

#people img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: 20px;
}

.person-info {
    max-width: 500px;
}

#services ul, #people .person-info, #mission p, #values p {
    max-width: 700px;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 10px 0;
}

#contact {
    max-width: 700px;
    margin: 0 auto 60px;
}

#contact h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

#contact p {
    margin-bottom: 20px;
    text-align: left;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    color: #333;
    margin-top: 10px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    padding: 10px 20px;
    width: 150px;
    color: #fff;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #f1f1f1;
}

.dictionary-entry {
    max-width: 600px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "Georgia", serif;
    line-height: 1.6;
    color: #333;
}

.dictionary-entry p {
    margin-bottom: 15px;
}

.dictionary-entry ol {
    margin-left: 20px;
    padding-left: 20px;
}

.dictionary-entry li {
    margin-bottom: 10px;
}

/* --- Publications list (APA-style) --- */
ol.references{
  margin: 0;
  padding-left: 1.25rem;              
  list-style: decimal;
  list-style-position: outside;
}
ol.references li{
  margin: 0 0 .85rem 0;
  line-height: 1.55;
  /* APA hanging indent ≈ 0.5" */
  padding-left: 2rem;
  text-indent: -2rem;
}
@media (max-width: 700px){
  ol.references li{ padding-left: 1.25rem; text-indent: -1.25rem; }
}
ol.references em{ font-style: italic; }
ol.references a{
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  word-break: break-word;             
}
ol.references a:hover{ border-bottom-color: transparent; }

.tag {
  margin-left: 0.3em;
  padding: 0.15em 0.5em;
  background-color: #E7ECF7;
  color: #2E3A59;
  border-radius: 4px;
  font-size: 0.8em;
}

.screenshots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 1em;
}

.screenshots figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 0;
  width: 200px;
}

.screenshots img {
  width: 200px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px;
  background-color: #f9f9f9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screenshots img:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.screenshots figcaption {
  font-size: 0.85em;
  color: #777;
  text-align: center;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.4;
}

.screenshots .fig-name {
  font-weight: 700;
  color: #555;
}

.screenshots .fig-description {
  font-size: 0.82em;
  color: #777;
}

.inline-logo {
  vertical-align: middle;
  margin-left: 8px;
}

