:root {
  --sage: #a8c8d0;
  --sage-deep: #5c8a94;
  --sage-wash: #e4f1f4;
  --ink: #143844;
  --ink-soft: #3e6570;
  --page: #f3f7f8;
  --white: #ffffff;
  --line: #d5e4e8;
  --black: #102830;
  --muted: #6e8a92;
  --danger: #c2514a;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--sage);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sheet {
  width: min(480px, 100%);
  margin: 18px auto;
  min-height: calc(100vh - 36px);
  background: var(--page);
  border-radius: 36px;
  overflow: hidden;
}

.hero {
  position: relative;
  padding: 28px 22px 24px;
  background: linear-gradient(180deg, #7eaeb8 0%, #3a6a74 16%, #24525c 42%, #102830 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  color: #fff;
  overflow: hidden;
}

.hero-mark {
  position: absolute;
  top: 18px;
  inset-inline-end: -6px;
  width: 120px;
  opacity: 0.45;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.brand img {
  width: 54px;
  height: auto;
}

.brand h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.tagline {
  position: relative;
  margin: 14px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  position: relative;
}

.nav a {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
}

.content {
  padding: 18px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang {
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 19px;
  background: var(--sage-wash);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang[aria-pressed="true"] {
  background: var(--black);
  color: #fff;
}

.lead, .intro, .body, .contact {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

.lead, .body, .contact { color: var(--ink-soft); }

.contact a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  unicode-bidi: isolate;
}

.intro {
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.card, .block {
  background: var(--white);
  border-radius: 22px;
  padding: 16px;
}

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

.block { display: flex; flex-direction: column; gap: 6px; }

h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.email {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 26px;
  text-decoration: none;
  unicode-bidi: isolate;
}

.write {
  height: 56px;
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}

.topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.topics li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.topics li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--sage-deep);
  flex: none;
}

.label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .sheet {
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
  }
}
