@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f7f7;
  --bg-card: #ffffff;
  --text: #111111;
  --text-body: #1f1f1f;
  --text-secondary: #555555;
  --border: #dce3e3;
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-light: rgba(8, 145, 178, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: white;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }

.wrap { max-width: 660px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }

/* Header */
header { margin-bottom: 4rem; }
nav { display: flex; justify-content: space-between; align-items: center; }
.brand { 
  font-weight: 500; 
  font-size: 0.95rem; 
  color: var(--text-secondary);
  display: flex;
  gap: 0.35rem;
}
.brand a { 
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s;
}
.brand a:hover { 
  color: var(--text); 
  background: rgba(0,0,0,0.04);
}
.lang {
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.lang:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Typography */
h1 { 
  font-size: 2.75rem; 
  font-weight: 700; 
  letter-spacing: -0.03em; 
  margin-bottom: 1rem; 
  color: var(--text);
  line-height: 1.15;
}
h2 { 
  font-size: 1.35rem; 
  font-weight: 600; 
  margin: 3.5rem 0 1.5rem; 
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
h2::before {
  content: '';
  width: 4px;
  height: 1.1em;
  background: var(--accent);
  border-radius: 2px;
}
h3 { 
  font-size: 1.15rem; 
  font-weight: 600; 
  margin: 0 0 0.6rem; 
  color: var(--text);
}

p { margin: 1rem 0; }
.intro { 
  font-size: 1.2rem; 
  color: var(--text-secondary); 
  margin-bottom: 2rem;
  line-height: 1.7;
}

ul { margin: 0.75rem 0 1.25rem 0; padding-left: 1.5rem; }
li { margin: 0.7rem 0; position: relative; }
li::marker { color: var(--accent); }
li strong { color: var(--text); font-weight: 600; }

.small { font-size: 0.9rem; color: var(--text-secondary); }

hr { border: none; height: 1px; background: var(--border); margin: 3.5rem 0; }

/* Cards */
.cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.02);
  transition: all 0.25s ease;
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.5);
  transition: all 0.25s ease;
}
.card:hover { 
  border-color: #c5d0d0; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}
.card p { margin: 0.6rem 0; }
.card ul { margin: 0.5rem 0 1rem 0; }

/* Buttons */
.buttons { 
  display: flex; 
  gap: 0.75rem; 
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
  transition: all 0.2s ease;
}
.cta:hover { 
  background: var(--accent-hover); 
  color: #fff; 
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}
.cta.secondary { 
  background: var(--bg-card); 
  color: var(--text); 
  border: 1px solid var(--border);
  box-shadow: none;
}
.cta.secondary:hover { 
  border-color: var(--accent); 
  color: var(--accent); 
  background: var(--accent-light);
  box-shadow: none;
}

/* Links */
p a, li a, .card h3 a { 
  color: var(--text); 
  text-decoration: underline; 
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em; 
  text-decoration-thickness: 2px;
  transition: all 0.2s;
}
p a:hover, li a:hover, .card h3 a:hover { 
  color: var(--accent); 
}

/* Notes list */
.notes-list { 
  list-style: none; 
  margin: 0; 
  padding: 0;
}
.notes-list li { 
  padding: 1rem 0; 
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  margin: 0;
}
.notes-list li::before { display: none; }
.notes-list li:last-child { border-bottom: none; }
.notes-list .date { 
  font-size: 0.85rem; 
  color: var(--text-secondary); 
  min-width: 6rem;
  font-variant-numeric: tabular-nums;
}
.notes-list a {
  font-weight: 500;
}

/* Footer */
footer { 
  margin-top: 4rem; 
  padding-top: 2rem; 
  border-top: 1px solid var(--border); 
  color: var(--text-secondary); 
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 0.2em;
}
footer a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .wrap > * {
    animation: fadeUp 0.5s ease both;
  }
  header { animation-delay: 0s; }
  main > *:nth-child(1) { animation-delay: 0.05s; }
  main > *:nth-child(2) { animation-delay: 0.1s; }
  main > *:nth-child(3) { animation-delay: 0.15s; }
  main > *:nth-child(4) { animation-delay: 0.2s; }
  main > *:nth-child(5) { animation-delay: 0.25s; }
  main > *:nth-child(6) { animation-delay: 0.3s; }
  main > *:nth-child(7) { animation-delay: 0.35s; }
  main > *:nth-child(8) { animation-delay: 0.4s; }
  footer { animation-delay: 0.45s; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wrap { padding: 2.5rem 1.25rem 3rem; }
  h1 { font-size: 2rem; }
  .intro { font-size: 1.1rem; }
  .card { padding: 1.5rem; }
  .buttons { flex-direction: column; }
  .cta { width: 100%; justify-content: center; }
  .notes-list li { flex-direction: column; gap: 0.25rem; }
  .notes-list .date { min-width: auto; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}


/* --- Hybrid additions (proof, value cards, references, final CTA, copy button) --- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid rgba(8, 145, 178, 0.22);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.proof .item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.02);
}
.proof .metric {
  font-size: 1.55rem;
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.proof .label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card.compact { padding: 1.6rem; }
.card.compact h3 { margin-bottom: 0.45rem; }

.card.highlight {
  border-color: rgba(8, 145, 178, 0.35);
  background: linear-gradient(0deg, var(--accent-light), var(--bg-card));
}
.card.highlight::before {
  opacity: 1;
  transform: scaleY(1);
}

.callout {
  background: var(--accent-light);
  border: 1px solid rgba(8, 145, 178, 0.22);
  border-radius: 16px;
  padding: 1.25rem 1.25rem;
  margin-top: 1.25rem;
}

pre.template {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1rem;
  margin-top: 0.85rem;
  overflow: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}
.copy-btn {
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.media {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}
.media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.final-cta {
  margin-top: 3.5rem;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  background: #111111;
  color: rgba(255,255,255,0.92);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.final-cta h2 {
  margin: 0 0 0.75rem 0;
  color: #ffffff;
}
.final-cta h2::before { display: none; }
.final-cta p {
  color: rgba(255,255,255,0.72);
  margin: 0.75rem 0;
}
.final-cta .buttons { margin-top: 1.25rem; }
.final-cta .cta.secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: #ffffff;
}
.final-cta .cta.secondary:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .final-cta { padding: 1.75rem 1.25rem; }
  .proof .item { padding: 1rem; }
  .copy-row { justify-content: stretch; }
  .copy-btn { width: 100%; }
}


/* --- Hero photo --- */
.hero-row{
  display:flex;
  gap:1.5rem;
  align-items:flex-start;
  justify-content:space-between;
}
.hero-text{ flex:1; min-width:0; }
.avatar{
  width:120px;
  height:120px;
  border-radius:18px;
  border:1px solid var(--border);
  object-fit:cover;
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 6px 18px rgba(0,0,0,0.03);
}
@media (max-width: 600px){
  .hero-row{ flex-direction:column; }
  .avatar{ width:104px; height:104px; }
}
