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

:root {
  color-scheme: light;
  --background: #fff;
  --foreground: lab(3.04863 0 0);
  --accent: lab(25.606 -24.1677 15.9492);
  --accent-decoration: oklab(0.349999 -0.0692791 0.0400046 / 0.3);
}

html[data-background="soft"] {
  --background: #f8f7f2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 220ms ease;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-color: var(--accent-decoration);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}

a:hover {
  text-decoration-color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-decoration);
  outline-offset: 4px;
}

.greeting-loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  color: var(--foreground);
  background: var(--background);
  font-size: clamp(30px, 6vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.greeting-loader[data-scale="smaller"] {
  font-size: clamp(22px, 4.2vw, 48px);
}

.greeting-loader span {
  display: inline-block;
  min-width: 7ch;
  text-align: center;
}

.greeting-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.profile {
  position: relative;
  min-height: 100vh;
  padding: 32px 24px 72px;
}

@media (prefers-reduced-motion: reduce) {
  body.is-loading {
    overflow: auto;
  }

  .greeting-loader {
    display: none;
  }

  .profile-photo-frame {
    animation: none;
  }
}

.top-controls {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 26px;
  padding: 0;
  color: var(--foreground);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle:focus:not(:focus-visible) {
  outline: none;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-decoration);
  outline-offset: 4px;
  border-radius: 999px;
}

.theme-toggle-track {
  position: relative;
  width: 40px;
  height: 22px;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 10px rgb(0 0 0 / 8%);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 180ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track {
  border-color: rgb(0 0 0 / 20%);
  background: #ebe7db;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(18px);
}

.profile-inner {
  width: 100%;
  max-width: 672px;
  margin: 0 auto;
}

.profile-photo-frame {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 2;
  width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: 0 14px 32px rgb(0 0 0 / 14%);
  animation: profile-float 3s ease-in-out infinite;
  isolation: isolate;
  will-change: transform;
}

.profile-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes profile-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

h1 {
  margin: 0 0 32px;
  color: var(--foreground);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0;
}

.copy {
  color: var(--foreground);
  font-size: 15px;
  line-height: 25px;
}

.copy p {
  margin: 0 0 24px;
}

.copy p:last-child {
  margin-bottom: 0;
}

.product-lines {
  margin: -12px 0 24px;
  padding: 0;
  list-style: none;
}

.product-lines li {
  margin: 0;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px 0 24px;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  color: #fff;
  border: 1px solid #171717;
  border-radius: 6px;
  background: #171717;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.call-button:hover {
  color: #fff;
  border-color: #000;
  background: #000;
  text-decoration: none;
  transform: translateY(-1px);
}

.fiverr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  color: rgb(0 0 0 / 68%);
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.fiverr-wordmark {
  color: #555;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.fiverr-wordmark::after {
  content: ".";
  color: #1dbf73;
}

.proof {
  margin-top: 24px;
  color: var(--foreground);
  font-size: 15px;
  line-height: 25px;
}

details {
  margin: 0 0 8px;
}

summary {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

summary::before {
  content: "›";
  display: inline-block;
  color: var(--foreground);
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
}

details[open] summary::before {
  transform: rotate(90deg) translateX(1px);
}

.detail-content {
  padding: 8px 0 12px 24px;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 4px;
}

.stack-list {
  margin: 0;
  padding-left: 18px;
}

.stack-list li + li {
  margin-top: 6px;
}

.footer,
.connect {
  margin-top: 32px;
}

.connect-title {
  margin: 0 0 16px;
  color: var(--foreground);
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--brand-color, var(--foreground));
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
  text-decoration: none;
  transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.social-link:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px -3px rgb(0 0 0 / 12%), 0 4px 6px -4px rgb(0 0 0 / 12%);
}

.social-link svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link[data-brand="x"] {
  --brand-color: #000;
}

.social-link[data-brand="linkedin"] {
  --brand-color: #0a66c2;
}

.social-link[data-brand="medium"] {
  --brand-color: #000;
}

.social-link[data-brand="substack"] {
  --brand-color: #ff6719;
}

.social-link[data-brand="github"] {
  --brand-color: #181717;
}

.local-time {
  margin: 0;
  color: rgb(0 0 0 / 54%);
  font-size: 12px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 18px;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .profile {
    padding: 92px 20px 56px;
  }

  .profile-photo-frame {
    top: 24px;
    left: 20px;
    width: 54px;
    height: 54px;
  }

  .top-controls {
    top: 24px;
    right: 20px;
  }

  .social-links {
    gap: 20px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }
}
