*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --background: #0a0a0b;
  --text: #fafafa;
  --muted: #b4b4bc;
  --accent: #22d3ee;
  --font: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

button,
a {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero__blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
}

.hero__blob--one {
  width: 500px;
  height: 500px;
  top: -20%;
  left: 10%;
  background: radial-gradient(circle, rgba(34, 211, 238, .12), transparent 70%);
}

.hero__blob--two {
  width: 400px;
  height: 400px;
  top: -10%;
  right: 5%;
  background: radial-gradient(circle, rgba(167, 139, 250, .1), rgba(244, 114, 182, .04) 50%, transparent 75%);
}

.hero__blob--three {
  width: 350px;
  height: 350px;
  bottom: -15%;
  left: 35%;
  background: radial-gradient(circle, rgba(251, 146, 60, .08), transparent 70%);
}

.hero__glow {
  position: fixed;
  z-index: 20;
  top: var(--pointer-y, 50vh);
  left: var(--pointer-x, 50vw);
  width: 1760px;
  height: 960px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(34, 211, 238, .13) 0%,
    rgba(59, 130, 246, .13) 28%,
    rgba(167, 139, 250, .11) 48%,
    rgba(244, 114, 182, .07) 64%,
    transparent 80%
  );
  filter: blur(58px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .55s ease-in-out;
  will-change: left, top, opacity;
}

.hero__glow.is-active {
  opacity: .48;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 80px);
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 32px;
}

.portrait {
  position: relative;
  width: 360px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1c1c20;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

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

h1 {
  color: var(--text);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.hero__tagline {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding-top: 4px;
}

.about {
  width: min(100%, 620px);
}

@property --button-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: conic-gradient(from var(--button-angle), #22d3ee, #a78bfa, #f472b6, #fb923c, #22d3ee);
  color: inherit;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  animation: button-spin 3s linear infinite;
  transition: transform .2s ease, box-shadow .3s ease;
}

.button > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--background);
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}

.button:active {
  transform: none;
}

.button svg {
  transition: transform .2s ease;
}

.button--primary {
  font-size: 1rem;
}

.button--primary > span {
  padding: 13px 30px;
}

.button--secondary {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .035);
  animation: none;
}

.button--icon {
  flex: 0 0 auto;
}

.button--icon > span {
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  color: rgba(250, 250, 250, .82);
}


.accordion {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.accordion details {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 16px 2px;
  color: rgba(250, 250, 250, .86);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  list-style: none;
  transition: color .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.accordion details[open] summary {
  color: var(--accent);
}

.accordion__title {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}

.accordion__emoji {
  margin-right: 12px;
  transform-origin: center;
  transition: transform .25s ease;
}

.accordion__toggle {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.accordion__toggle::before,
.accordion__toggle::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease;
}

.accordion__toggle::after {
  transform: rotate(90deg);
}

.accordion details[open] summary .accordion__toggle::after {
  transform: rotate(0deg);
}

.accordion details[open] .accordion__emoji {
  transform: scale(1.08) rotate(-3deg);
}

.accordion__content {
  max-width: 590px;
  padding: 0 32px 20px 2px;
  color: rgba(250, 250, 250, .9);
  font-size: 1rem;
  line-height: 1.78;
  animation: accordion-in .35s ease-out both;
}

.accordion__content p + p {
  margin-top: 14px;
}

.accordion__content a {
  color: var(--accent);
  text-decoration-color: rgba(34, 211, 238, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}

.accordion__content a:hover {
  text-decoration-color: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .accordion summary:hover {
    color: var(--accent);
  }

  .accordion summary:hover .accordion__title {
    transform: translateX(3px);
  }

  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(34, 211, 238, .25), 0 0 48px rgba(167, 139, 250, .15);
  }

  .button:hover > span {
    background: transparent;
    color: var(--background);
  }

  .button--primary:hover svg {
    transform: translateX(3px);
  }

  .button--secondary:hover {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  }

  .button--secondary:hover > span {
    background: transparent;
    color: var(--text);
  }
}

@media (min-width: 1200px) {
  .hero__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    width: 100%;
    min-height: 100svh;
    max-width: none;
    padding: 0 clamp(32px, 5vw, 80px) 0 0;
  }

  .portrait {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: auto;
    height: 100svh;
  }

  .portrait img {
    width: auto;
    height: 100%;
  }

  .hero__content {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: center;
    width: min(100%, 680px);
    margin-top: max(80px, calc(50svh - 190px));
  }
}

@media (min-width: 601px) and (max-width: 1199px) {
  .hero {
    overflow-y: auto;
  }

  .hero__inner {
    grid-template-columns: clamp(220px, 36vw, 430px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    width: 100%;
    min-height: 100svh;
    padding: 0 clamp(24px, 4vw, 48px) 0 0;
  }

  .portrait {
    align-self: start;
    justify-self: start;
    width: 100%;
    height: 100svh;
    aspect-ratio: auto;
  }

  .portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
  }

  .hero__content {
    align-self: center;
    min-width: 0;
    gap: clamp(16px, 3vh, 22px);
    margin-top: 0;
  }

  .hero__tagline {
    font-size: 1.125rem;
    line-height: 1.45;
    white-space: normal;
  }

  .accordion summary {
    gap: 14px;
    font-size: 1.15rem;
  }

  .accordion__content {
    padding-right: 12px;
  }
}

@media (min-width: 1600px) {
  .hero__content {
    justify-self: start;
    margin-left: clamp(40px, 4vw, 96px);
  }
}

@media (min-width: 1200px) and (max-height: 820px) {
  .hero {
    overflow-y: auto;
  }

  .hero__content {
    align-self: center;
    gap: 16px;
    margin-top: 0;
  }

  .hero__headline {
    gap: 4px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero__tagline {
    font-size: 1.075rem;
    line-height: 1.4;
  }

  .accordion summary {
    min-height: 48px;
    padding: 11px 2px;
    font-size: 1.1rem;
  }

  .accordion__content {
    padding-bottom: 14px;
    font-size: .95rem;
    line-height: 1.65;
  }

  .accordion__content p + p {
    margin-top: 10px;
  }

  .actions {
    padding-top: 0;
  }

  .button--primary > span {
    padding: 11px 26px;
  }

  .button--icon > span {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 600px) {
  .hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 36px;
    min-height: 100svh;
    padding: 32px clamp(24px, 7vw, 56px) 48px;
  }

  .portrait {
    justify-self: center;
    width: min(100%, 420px);
  }

  .hero__content {
    justify-self: center;
    width: min(100%, 620px);
  }

  .hero__tagline {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .hero__inner {
    gap: 28px;
    padding: 0 18px 32px;
  }

  .portrait {
    width: calc(100% + 36px);
    max-width: none;
    margin-left: -18px;
  }

  .hero__content {
    width: 100%;
    gap: 20px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .hero__tagline {
    font-size: 1.125rem;
    line-height: 1.45;
  }

  .accordion__content {
    padding: 0 2px 22px;
    font-size: 1.05rem;
    line-height: 1.72;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .button--primary {
    flex: 1 1 auto;
  }

  .button--icon {
    flex: 0 0 auto;
    width: auto;
  }

  .button--primary > span {
    min-height: 50px;
    padding: 13px 22px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}

@media (prefers-contrast: more) {
  :root {
    --muted: #e4e4e7;
  }

  .accordion,
  .accordion details {
    border-color: rgba(255, 255, 255, .45);
  }
}

@media (forced-colors: active) {
  .button {
    border: 2px solid ButtonText;
    background: ButtonFace;
  }

  .button > span {
    background: ButtonFace;
    color: ButtonText;
  }

  .accordion__toggle::before,
  .accordion__toggle::after {
    background: ButtonText;
  }
}

@keyframes accordion-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes button-spin {
  to { --button-angle: 360deg; }
}
