/**************
 Apple-style CV
**************/
:root {
  --text: #333;
  --accent: #0a84ff;
  --heading: #666;
  --border: #e5e5e5;
  --max-width: 1200px;
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.tagline {
  margin: 0 0 1.5rem;
  color: var(--heading);
  font-size: 1rem;
}

.contact {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--heading);
  margin: 3rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.25rem;
  font-weight: 600;
}

.meta {
  font-weight: 400;
  color: var(--heading);
  font-size: 0.9rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1.2rem 1.2rem;
  padding: 0;
}

li {
  margin-bottom: 0.5rem;
}

.tech-list {
  columns: 2;
  column-gap: 2rem;
}

/* Action toolbar */
.actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.actions button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 1rem;
  cursor: pointer;
}

.actions button:hover {
  background: var(--border);
}

.hidden {
  display: none !important;
}

@media print {
  .actions {
    display: none !important;
  }
  /* Utility: hide elements like WhatsApp / Telegram links when printing */
  .no-print {
    display: none !important;
  }
}

@media (max-width: 600px) {
  main {
    padding: 32px 20px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .tech-list {
    columns: 1;
  }
}