:root{
  --bg0: #07090d;
  --bg1: #0b0f16;
  --card: rgba(14, 18, 28, 0.72);
  --card2: rgba(14, 18, 28, 0.55);
  --stroke: rgba(140, 160, 210, 0.18);
  --stroke2: rgba(140, 160, 210, 0.10);
  --text: rgba(245, 247, 255, 0.92);
  --muted: rgba(245, 247, 255, 0.66);
  --accent: #4ea1ff;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 20px;
  --ring: 0 0 0 3px rgba(78, 161, 255, 0.32);
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 600px at 50% 10%, rgba(78,161,255,0.14), transparent 60%),
    radial-gradient(900px 600px at 10% 80%, rgba(78,161,255,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  letter-spacing: 0.2px;
}

a{ color: inherit; }
a:hover{ text-decoration: none; }

.skip-link{
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.75);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 10;
}

.skip-link:focus{ transform: translateY(0); }

.wrap{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card{
  width: min(720px, 100%);
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--stroke2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 22px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
}

.card::before{
  content:"";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 240px at 15% 10%, rgba(78,161,255,0.14), transparent 60%),
    radial-gradient(380px 220px at 90% 35%, rgba(78,161,255,0.10), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
}

.no-js .card{
  opacity: 1;
  transform: none;
}

.top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(0,0,0,0.22);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mark svg{
  width: 30px;
  height: 30px;
  stroke: rgba(245,247,255,0.72);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.title{ min-width: 0; }

.name{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.4px;
}

.tagline{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.avatar{
  margin: 0;
  flex: 0 0 auto;
  position: relative;
}

.avatar img{
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.avatar img:hover{
  box-shadow: 0 12px 34px rgba(0,0,0,0.45), 0 0 0 2px rgba(78,161,255,0.20);
  transform: translateY(-1px);
}

.about{
  position: relative;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke2);
}

.about p{
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.section-title{
  margin: 16px 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(0,0,0,0.22);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.btn.primary{
  background: linear-gradient(180deg, rgba(78,161,255,0.20), rgba(0,0,0,0.18));
  border-color: rgba(78,161,255,0.30);
}

.btn-ico{
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: rgba(245,247,255,0.90);
}

.btn-ico svg{
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.links{ margin-top: 6px; }

.link-row{
  list-style: none;
  padding: 4px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-row a{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.link-row a:hover{
  border-color: var(--stroke2);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.26);
}

.ico{
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: rgba(245,247,255,0.80);
}

.ico svg{
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-details{
  margin-top: 14px;
  border: 1px solid var(--stroke2);
  border-radius: 16px;
  background: rgba(0,0,0,0.16);
  overflow: hidden;
}

.contact-summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.contact-summary::-webkit-details-marker{ display: none; }

.contact-summary-left{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.contact-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(78,161,255,0.70);
  box-shadow: 0 0 0 3px rgba(78,161,255,0.16);
  flex: 0 0 auto;
}

.contact-summary-title{
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: rgba(245,247,255,0.86);
}

.contact-inner{
  padding: 0 14px 14px;
  border-top: 1px solid var(--stroke2);
}

@media (prefers-reduced-motion: no-preference){
  .contact-details .contact-inner{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
    padding-bottom: 0;
  }

  .contact-details[open] .contact-inner{
    max-height: 1100px;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 14px;
  }
}

.contact-note{
  margin: 12px 0;
  line-height: 1.45;
}

.form{
  border: 1px solid var(--stroke2);
  background: rgba(0,0,0,0.16);
  border-radius: 16px;
  padding: 14px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field{
  display: grid;
  gap: 8px;
}

.field-full{
  grid-column: 1 / -1;
}

label{
  font-size: 0.92rem;
  color: rgba(245,247,255,0.78);
}

input,
textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  line-height: 1.35;
}

textarea{
  resize: vertical;
  min-height: 110px;
}

input::placeholder,
textarea::placeholder{
  color: rgba(245,247,255,0.42);
}

.help{
  margin: 0;
  font-size: 0.9rem;
}

.human-row{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,0.03);
  color: rgba(245,247,255,0.80);
  font-size: 0.92rem;
  white-space: nowrap;
}

.hp{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.btn[disabled]{
  opacity: 0.75;
  cursor: not-allowed;
}

.status{
  margin-top: 10px;
  min-height: 1.2em;
  color: rgba(245,247,255,0.78);
}

.status .ok{ color: rgba(140, 255, 190, 0.85); }
.status .bad{ color: rgba(255, 160, 160, 0.90); }

.more{
  margin-top: 12px;
  border: 1px solid var(--stroke2);
  border-radius: 16px;
  background: rgba(0,0,0,0.16);
  overflow: hidden;
}

.more summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.more summary::-webkit-details-marker{ display: none; }

.chev{
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 160ms ease;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] > summary .chev{
  transform: rotate(90deg);
}

.more-body{
  padding: 0 14px 14px;
  border-top: 1px solid var(--stroke2);
}

.more-links{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.more-links a{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.more-links a:hover{
  border-color: var(--stroke2);
  transform: translateY(-1px);
}

.muted{ color: var(--muted); }

.sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus{ outline: none; }

:focus-visible{
  box-shadow: var(--ring);
  border-color: rgba(78,161,255,0.45) !important;
}

@media (max-width: 520px){
  .card{
    padding: 18px;
    border-radius: 18px;
  }

  .top{ align-items: flex-start; }

  .avatar img{
    width: 76px;
    height: 76px;
  }

  .name{ font-size: 1.22rem; }

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

  .human-row{ grid-template-columns: 1fr; }

  .pill{ justify-content: center; }
}

@media (prefers-reduced-motion: no-preference){
  .is-ready .card{
    opacity: 1;
    transform: translateY(0);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .btn:hover{
    transform: translateY(-1px);
    border-color: rgba(78,161,255,0.24);
    box-shadow: 0 12px 30px rgba(0,0,0,0.28), 0 0 0 2px rgba(78,161,255,0.08);
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .card{
    opacity: 1;
    transform: none;
  }
}